Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move non-ascii test from test_run_code() to a new function: test_non_ascii() | Victor Stinner | 2010-10-20 | 1 | -7/+9 |
| | |||||
* | Move test_undecodable_code() from test_sys to test_cmd_line | Victor Stinner | 2010-10-20 | 2 | -38/+38 |
| | |||||
* | test_zipimport_support: use ascii() on bytes output to avoid BytesWarning | Victor Stinner | 2010-10-20 | 1 | -2/+2 |
| | | | | The test failed with python -bb. | ||||
* | logging: Made StreamHandler terminator configurable. | Vinay Sajip | 2010-10-20 | 1 | -3/+5 |
| | |||||
* | Fix r85728: use "" to mean the system default locale, which should work on ↵ | Georg Brandl | 2010-10-20 | 1 | -7/+4 |
| | | | | more systems. | ||||
* | logging: Documented usage of callables as filters. | Vinay Sajip | 2010-10-19 | 1 | -6/+1 |
| | |||||
* | logging: Allowed filters to be just callables. | Vinay Sajip | 2010-10-19 | 2 | -1/+43 |
| | |||||
* | logging: Added tests for _logRecordClass changes. | Vinay Sajip | 2010-10-19 | 2 | -2/+49 |
| | |||||
* | #10092: Properly reset locale in Locale*Calendar classes. The context ↵ | Georg Brandl | 2010-10-19 | 2 | -2/+19 |
| | | | | manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this. | ||||
* | Fixed the docstring for calendar.isleap() function. | Alexander Belopolsky | 2010-10-19 | 1 | -1/+1 |
| | | | | Thanks Boštjan Mejak for the patch. | ||||
* | logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to ↵ | Vinay Sajip | 2010-10-19 | 1 | -3/+23 |
| | | | | increase flexibility of LogRecord creation. | ||||
* | PyUnicode_FromFormatV(): Fix %A format | Victor Stinner | 2010-10-18 | 1 | -3/+6 |
| | | | | It was not completly implemented. Add a test. | ||||
* | Reverted inadvertent change that slipped into r85695 | Alexander Belopolsky | 2010-10-18 | 1 | -1/+0 |
| | |||||
* | Issue #10117: Tools/scripts/reindent.py now accepts source files that | Alexander Belopolsky | 2010-10-18 | 1 | -0/+1 |
| | | | | | use encoding other than ASCII or UTF-8. Source encoding is preserved when reindented code is written to a file. | ||||
* | Issue #5117: Case normalization was needed on ntpath.relpath(). And | Hirokazu Yamamoto | 2010-10-18 | 4 | -4/+23 |
| | | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath) | ||||
* | #1343: Add short_empty_elements option to XMLGenerator. | R. David Murray | 2010-10-17 | 2 | -7/+125 |
| | | | | Patch and tests by Neil Muller. | ||||
* | test_httpservers: Python CGI scripts have to be encoded to utf-8 | Victor Stinner | 2010-10-17 | 1 | -2/+2 |
| | | | | | And not the locale encoding. With this commit, the test finally pass on Windows with a non-ascii path :-) | ||||
* | test_httpservers: Fix skip test check, the python executable path have to be | Victor Stinner | 2010-10-17 | 1 | -7/+10 |
| | | | | encodable to utf-8, not to the file1 encoding. | ||||
* | test_httpservers: skip CGI tests if Python executable path is not encodable | Victor Stinner | 2010-10-17 | 1 | -3/+14 |
| | |||||
* | Fix Issue10119 - test_urllibnet failure when using support.transient_internet. | Senthil Kumaran | 2010-10-17 | 1 | -20/+10 |
| | |||||
* | Avoid hanging the test on netbsd5. | Gregory P. Smith | 2010-10-17 | 1 | -1/+2 |
| | |||||
* | skip test_itimer_virtual on NetBSD to prevent the test suite from hanging. | Gregory P. Smith | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | test_cmd_line_script: format paths with ascii() instead of repr() | Victor Stinner | 2010-10-17 | 1 | -8/+8 |
| | | | | | Fix the test if the native filesystem encoding is not utf-8 (eg. cp1250 on Windows). | ||||
* | use assertion methods | Benjamin Peterson | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | disable the garbage collector while collecting traces, so that __del__s ↵ | Benjamin Peterson | 2010-10-17 | 1 | -3/+12 |
| | | | | don't get caught | ||||
* | remove rather pointless test | Benjamin Peterson | 2010-10-17 | 1 | -8/+0 |
| | |||||
* | fix for netbsd. | Gregory P. Smith | 2010-10-17 | 1 | -2/+4 |
| | |||||
* | test_subprocess: use surrogateescape error handler to write shell scripts | Victor Stinner | 2010-10-16 | 1 | -2/+2 |
| | | | | | | test_args_string() and test_call_string() create shell scripts including the path to the Python executable: use surrogateescape to encode paths including surrogate characters. | ||||
* | Issue #10123: Don't use non-ascii filenames in test_doctest tests. Add a | Victor Stinner | 2010-10-16 | 1 | -12/+46 |
| | | | | new test specific to unicode (non-ascii name and filename). | ||||
* | don't identify the toplevel namespace by name #9997 | Benjamin Peterson | 2010-10-16 | 1 | -0/+8 |
| | |||||
* | First (uncontroversial) part of issue 9807. | Barry Warsaw | 2010-10-16 | 3 | -8/+26 |
| | | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues. | ||||
* | revert change in inappropiate branch | Benjamin Peterson | 2010-10-15 | 1 | -2/+2 |
| | |||||
* | #6098: Refrain from claiming DOM level 3 conformance in minidom. | Georg Brandl | 2010-10-15 | 1 | -2/+0 |
| | |||||
* | #5762: fix handling of empty namespace in minidom, which would result in ↵ | Georg Brandl | 2010-10-15 | 2 | -3/+11 |
| | | | | AttributeError on toxml(). | ||||
* | #4785: document strict argument of JSONDecoder, plus add object_pairs_hook ↵ | Georg Brandl | 2010-10-15 | 2 | -4/+34 |
| | | | | in the docstrings. | ||||
* | Issue #9308: Removed redundant coding cookies. Added tests for | Alexander Belopolsky | 2010-10-15 | 11 | -16/+54 |
| | | | | | importing encoded modules that do not depend on specific stdlib modules being encoded in a certain way. | ||||
* | #9683: remove broken dead code dealing with nested arguments removed from ↵ | Georg Brandl | 2010-10-15 | 1 | -28/+12 |
| | | | | Py3k, and update the docs and docstrings accordingly. | ||||
* | #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵ | Georg Brandl | 2010-10-15 | 6 | -20/+64 |
| | | | | library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning. | ||||
* | #5355 followup: add unit test for new dictionaries, and provide submodules ↵ | Georg Brandl | 2010-10-15 | 2 | -3/+27 |
| | | | | from xml.parsers.expat as advertised. | ||||
* | Fix #10098. Fix sporadic test_os failures. | Brian Curtin | 2010-10-15 | 1 | -1/+1 |
| | | | | | Amaury noticed that we're not waiting for the subprocess to be ready -- it should be checking for 1, not 0. | ||||
* | Revert debug printout | Antoine Pitrou | 2010-10-15 | 1 | -3/+0 |
| | |||||
* | Enable debug output at the start of the regression suite instead. | Antoine Pitrou | 2010-10-15 | 2 | -5/+3 |
| | | | | Sorry for the ephemeral inconvenience. | ||||
* | Temporary debug printout for buildbots | Antoine Pitrou | 2010-10-15 | 1 | -0/+5 |
| | |||||
* | remove empty file | Benjamin Peterson | 2010-10-15 | 1 | -0/+0 |
| | |||||
* | Merged revisions ↵ | Benjamin Peterson | 2010-10-14 | 59 | -50/+726 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83852-83853,83857,84042,84216,84274-84276,84375,85388,85478,85506-85508 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r83852 | benjamin.peterson | 2010-08-08 15:45:44 -0500 (Sun, 08 Aug 2010) | 1 line wrap with parens ........ r83853 | benjamin.peterson | 2010-08-08 15:46:31 -0500 (Sun, 08 Aug 2010) | 1 line use parens ........ r83857 | benjamin.peterson | 2010-08-08 15:59:49 -0500 (Sun, 08 Aug 2010) | 1 line things which use touch_import should be pre order ........ r84042 | george.boutsioukis | 2010-08-14 16:10:19 -0500 (Sat, 14 Aug 2010) | 2 lines This revision incorporates into the 2to3 tool the new, faster, tree matching algorithm developed during a GSOC project. The algorithm resides in the two added modules, btm_matcher and btm_utils. New code has been added to drive the new matching process in refactor.py and a few minor changes were made in other modules. A BM_compatible flag(False by default) has been added in fixer_base and it is set to True in most of the current fixers. ........ r84216 | benjamin.peterson | 2010-08-19 16:44:05 -0500 (Thu, 19 Aug 2010) | 1 line allow star_expr in testlist_gexp ........ r84274 | benjamin.peterson | 2010-08-22 18:40:46 -0500 (Sun, 22 Aug 2010) | 1 line wrap long line ........ r84275 | benjamin.peterson | 2010-08-22 18:42:22 -0500 (Sun, 22 Aug 2010) | 1 line cleanup ........ r84276 | benjamin.peterson | 2010-08-22 18:51:01 -0500 (Sun, 22 Aug 2010) | 1 line when there's a None value and a traceback, don't call type with it #9661 ........ r84375 | george.boutsioukis | 2010-08-31 08:38:53 -0500 (Tue, 31 Aug 2010) | 3 lines Idiomatic code changes & stylistic issues fixed in the BottomMatcher module. Thanks to Benjamin Peterson for taking the time to review the code. ........ r85388 | benjamin.peterson | 2010-10-12 17:27:44 -0500 (Tue, 12 Oct 2010) | 1 line fix urllib fixer with multiple as imports on a line #10069 ........ r85478 | benjamin.peterson | 2010-10-14 08:09:56 -0500 (Thu, 14 Oct 2010) | 1 line stop abusing docstrings ........ r85506 | benjamin.peterson | 2010-10-14 17:45:19 -0500 (Thu, 14 Oct 2010) | 1 line kill sibling import ........ r85507 | benjamin.peterson | 2010-10-14 17:54:15 -0500 (Thu, 14 Oct 2010) | 1 line remove trailing whitespace ........ r85508 | benjamin.peterson | 2010-10-14 17:55:28 -0500 (Thu, 14 Oct 2010) | 1 line typo ........ | ||||
* | More proper closing of files | Antoine Pitrou | 2010-10-14 | 7 | -58/+83 |
| | |||||
* | revert change that was in wrong branch | Benjamin Peterson | 2010-10-14 | 1 | -15/+7 |
| | |||||
* | Add test case for issue #9409, non-ascii char in doctest. It passes in 3.2 ↵ | Florent Xicluna | 2010-10-14 | 1 | -2/+5 |
| | | | | but needs fixing in 2.7. | ||||
* | Explicitly close some files (from issue #10093) | Antoine Pitrou | 2010-10-14 | 5 | -14/+25 |
| | |||||
* | Fix the regex to match all kind of filenames, for interactive debugging in ↵ | Florent Xicluna | 2010-10-14 | 2 | -12/+12 |
| | | | | doctests. (issue #9409) |