| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a26f8ca commit e1b5ac6
22 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -231,8 +231,6 @@ always available. | |||
| 231 | 231 | +------------------------------+------------------------------------------+ | |
| 232 | 232 | | :const:`ignore_environment` | -E | | |
| 233 | 233 | +------------------------------+------------------------------------------+ | |
| 234 | - | :const:`tabcheck` | -t or -tt | | ||
| 235 | - +------------------------------+------------------------------------------+ | ||
| 236 | 234 | | :const:`verbose` | -v | | |
| 237 | 235 | +------------------------------+------------------------------------------+ | |
| 238 | 236 | | :const:`unicode` | -U | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -222,13 +222,6 @@ Miscellaneous options | |||
| 222 | 222 | manipulations of :data:`sys.path` that it entails. | |
| 223 | 223 | ||
| 224 | 224 | ||
| 225 | - .. cmdoption:: -t | ||
| 226 | - | ||
| 227 | - Issue a warning when a source file mixes tabs and spaces for indentation in a | ||
| 228 | - way that makes it depend on the worth of a tab expressed in spaces. Issue an | ||
| 229 | - error when the option is given twice (:option:`-tt`). | ||
| 230 | - | ||
| 231 | - | ||
| 232 | 225 | .. cmdoption:: -u | |
| 233 | 226 | ||
| 234 | 227 | Force stdin, stdout and stderr to be totally unbuffered. On systems where it | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,6 @@ PyAPI_DATA(int) Py_NoSiteFlag; | |||
| 14 | 14 | PyAPI_DATA(int) Py_BytesWarningFlag; | |
| 15 | 15 | PyAPI_DATA(int) Py_UseClassExceptionsFlag; | |
| 16 | 16 | PyAPI_DATA(int) Py_FrozenFlag; | |
| 17 | - PyAPI_DATA(int) Py_TabcheckFlag; | ||
| 18 | 17 | PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; | |
| 19 | 18 | PyAPI_DATA(int) Py_DivisionWarningFlag; | |
| 20 | 19 | PyAPI_DATA(int) Py_DontWriteBytecodeFlag; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,10 +80,10 @@ def testRaising(self): | |||
| 80 | 80 | self.raise_catch(IndentationError, "IndentationError") | |
| 81 | 81 | ||
| 82 | 82 | self.raise_catch(TabError, "TabError") | |
| 83 | - # can only be tested under -tt, and is the only test for -tt | ||
| 84 | - #try: compile("try:\n\t1/0\n \t1/0\nfinally:\n pass\n", '<string>', 'exec') | ||
| 85 | - #except TabError: pass | ||
| 86 | - #else: self.fail("TabError not raised") | ||
| 83 | + try: compile("try:\n\t1/0\n \t1/0\nfinally:\n pass\n", | ||
| 84 | + '<string>', 'exec') | ||
| 85 | + except TabError: pass | ||
| 86 | + else: self.fail("TabError not raised") | ||
| 87 | 87 | ||
| 88 | 88 | self.raise_catch(SystemError, "SystemError") | |
| 89 | 89 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,22 +6,22 @@ | |||
| 6 | 6 | PYVER="@PYVER@" | |
| 7 | 7 | FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@" | |
| 8 | 8 | ||
| 9 | - "${FWK}/bin/python" -Wi -tt \ | ||
| 9 | + "${FWK}/bin/python" -Wi \ | ||
| 10 | 10 | "${FWK}/lib/python${PYVER}/compileall.py" \ | |
| 11 | 11 | -x badsyntax -x site-packages \ | |
| 12 | 12 | "${FWK}/lib/python${PYVER}" | |
| 13 | 13 | ||
| 14 | - "${FWK}/bin/python" -Wi -tt -O \ | ||
| 14 | + "${FWK}/bin/python" -Wi -O \ | ||
| 15 | 15 | "${FWK}/lib/python${PYVER}/compileall.py" \ | |
| 16 | 16 | -x badsyntax -x site-packages \ | |
| 17 | 17 | "${FWK}/lib/python${PYVER}" | |
| 18 | 18 | ||
| 19 | - "${FWK}/bin/python" -Wi -tt \ | ||
| 19 | + "${FWK}/bin/python" -Wi \ | ||
| 20 | 20 | "${FWK}/lib/python${PYVER}/compileall.py" \ | |
| 21 | 21 | -x badsyntax -x site-packages \ | |
| 22 | 22 | "${FWK}/Mac/Tools" | |
| 23 | 23 | ||
| 24 | - "${FWK}/bin/python" -Wi -tt -O \ | ||
| 24 | + "${FWK}/bin/python" -Wi -O \ | ||
| 25 | 25 | "${FWK}/lib/python${PYVER}/compileall.py" \ | |
| 26 | 26 | -x badsyntax -x site-packages \ | |
| 27 | 27 | "${FWK}/Mac/Tools" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -226,8 +226,8 @@ installmacsubtree: | |||
| 226 | 226 | ||
| 227 | 227 | ||
| 228 | 228 | $(RUNSHARED) $(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST) | |
| 229 | - $(RUNSHARED) $(BUILDPYTHON) -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST) | ||
| 230 | - $(RUNSHARED) $(BUILDPYTHON) -O -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST) | ||
| 229 | + $(RUNSHARED) $(BUILDPYTHON) -Wi $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST) | ||
| 230 | + $(RUNSHARED) $(BUILDPYTHON) -O -Wi $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST) | ||
| 231 | 231 | ||
| 232 | 232 | $(INSTALLED_PYTHONAPP): install_Python | |
| 233 | 233 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -664,7 +664,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) | |||
| 664 | 664 | ||
| 665 | 665 | TESTOPTS= -l $(EXTRATESTOPTS) | |
| 666 | 666 | TESTPROG= $(srcdir)/Lib/test/regrtest.py | |
| 667 | - TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -E -tt -bb | ||
| 667 | + TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -E -bb | ||
| 668 | 668 | test: all platform | |
| 669 | 669 | -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | |
| 670 | 670 | -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) | |
@@ -687,7 +687,7 @@ testuniversal: all platform | |||
| 687 | 687 | -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f | |
| 688 | 688 | -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall | |
| 689 | 689 | $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall | |
| 690 | - $(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) $(TESTOPTS) -uall | ||
| 690 | + $(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E $(TESTPROG) $(TESTOPTS) -uall | ||
| 691 | 691 | ||
| 692 | 692 | ||
| 693 | 693 | # Like testall, but with a single pass only | |
@@ -872,23 +872,23 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) | |||
| 872 | 872 | done | |
| 873 | 873 | $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt | |
| 874 | 874 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | |
| 875 | - ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 875 | + ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 876 | 876 | -d $(LIBDEST) -f \ | |
| 877 | 877 | -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) | |
| 878 | 878 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | |
| 879 | - ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 879 | + ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 880 | 880 | -d $(LIBDEST) -f \ | |
| 881 | 881 | -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) | |
| 882 | 882 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | |
| 883 | - ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 883 | + ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 884 | 884 | -d $(LIBDEST)/site-packages -f \ | |
| 885 | 885 | -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | |
| 886 | 886 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | |
| 887 | - ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 887 | + ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
| 888 | 888 | -d $(LIBDEST)/site-packages -f \ | |
| 889 | 889 | -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | |
| 890 | 890 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | |
| 891 | - ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram" | ||
| 891 | + ./$(BUILDPYTHON) -Wi -c "import lib2to3.pygram" | ||
| 892 | 892 | ||
| 893 | 893 | # Create the PLATDIR source directory, if one wasn't distributed.. | |
| 894 | 894 | $(srcdir)/Lib/$(PLATDIR): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,6 +12,8 @@ What's new in Python 3.0b1? | |||
| 12 | 12 | Core and Builtins | |
| 13 | 13 | ----------------- | |
| 14 | 14 | ||
| 15 | + - Removed the already-defunct ``-t`` option. | ||
| 16 | + | ||
| 15 | 17 | - Issue #2957: Corrected a ValueError "recursion limit exceeded", when | |
| 16 | 18 | unmarshalling many code objects, which happens when importing a | |
| 17 | 19 | large .pyc file (~1000 functions). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,7 +59,7 @@ RSYNC_OPTS="-aC -e ssh" | |||
| 59 | 59 | PYTHON=$INSTALL_DIR/bin/python | |
| 60 | 60 | ||
| 61 | 61 | # Python options and regression test program that should always be run. | |
| 62 | - REGRTEST_ARGS="-E -tt $INSTALL_DIR/lib/python3.0/test/regrtest.py" | ||
| 62 | + REGRTEST_ARGS="-E $INSTALL_DIR/lib/python3.0/test/regrtest.py" | ||
| 63 | 63 | ||
| 64 | 64 | REFLOG="build/reflog.txt.out" | |
| 65 | 65 | # These tests are not stable and falsely report leaks sometimes. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,6 @@ Option Effect | |||
| 46 | 46 | -OO remove doc-strings in addition to the -O optimizations | |
| 47 | 47 | -Q arg division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew | |
| 48 | 48 | -S Don't perform 'import site' on initialization | |
| 49 | - -t Issue warnings about inconsistent tab usage (-tt: issue errors) | ||
| 50 | 49 | -u Unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x). | |
| 51 | 50 | -v Verbose (trace import statements) (also PYTHONVERBOSE=x) | |
| 52 | 51 | -W arg : warning control (arg is action:message:category:module:lineno) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments