summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* test_zipimport_support: use ascii() on bytes output to avoid BytesWarningVictor Stinner2010-10-201-2/+2
| | | | The test failed with python -bb.
* logging: Made StreamHandler terminator configurable.Vinay Sajip2010-10-201-3/+5
|
* Fix r85728: use "" to mean the system default locale, which should work on ↵Georg Brandl2010-10-201-7/+4
| | | | more systems.
* logging: Documented usage of callables as filters.Vinay Sajip2010-10-191-6/+1
|
* logging: Allowed filters to be just callables.Vinay Sajip2010-10-192-1/+43
|
* logging: Added tests for _logRecordClass changes.Vinay Sajip2010-10-192-2/+49
|
* #10092: Properly reset locale in Locale*Calendar classes. The context ↵Georg Brandl2010-10-192-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 Belopolsky2010-10-191-1/+1
| | | | Thanks Boštjan Mejak for the patch.
* logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to ↵Vinay Sajip2010-10-191-3/+23
| | | | increase flexibility of LogRecord creation.
* PyUnicode_FromFormatV(): Fix %A formatVictor Stinner2010-10-181-3/+6
| | | | It was not completly implemented. Add a test.
* Reverted inadvertent change that slipped into r85695Alexander Belopolsky2010-10-181-1/+0
|
* Issue #10117: Tools/scripts/reindent.py now accepts source files thatAlexander Belopolsky2010-10-181-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(). AndHirokazu Yamamoto2010-10-184-4/+23
| | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath)
* #1343: Add short_empty_elements option to XMLGenerator.R. David Murray2010-10-172-7/+125
| | | | Patch and tests by Neil Muller.
* test_httpservers: Python CGI scripts have to be encoded to utf-8Victor Stinner2010-10-171-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 beVictor Stinner2010-10-171-7/+10
| | | | encodable to utf-8, not to the file1 encoding.
* test_httpservers: skip CGI tests if Python executable path is not encodableVictor Stinner2010-10-171-3/+14
|
* Fix Issue10119 - test_urllibnet failure when using support.transient_internet.Senthil Kumaran2010-10-171-20/+10
|
* Avoid hanging the test on netbsd5.Gregory P. Smith2010-10-171-1/+2
|
* skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.Gregory P. Smith2010-10-171-2/+2
|
* test_cmd_line_script: format paths with ascii() instead of repr()Victor Stinner2010-10-171-8/+8
| | | | | Fix the test if the native filesystem encoding is not utf-8 (eg. cp1250 on Windows).
* use assertion methodsBenjamin Peterson2010-10-171-2/+2
|
* disable the garbage collector while collecting traces, so that __del__s ↵Benjamin Peterson2010-10-171-3/+12
| | | | don't get caught
* remove rather pointless testBenjamin Peterson2010-10-171-8/+0
|
* fix for netbsd.Gregory P. Smith2010-10-171-2/+4
|
* test_subprocess: use surrogateescape error handler to write shell scriptsVictor Stinner2010-10-161-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 aVictor Stinner2010-10-161-12/+46
| | | | new test specific to unicode (non-ascii name and filename).
* don't identify the toplevel namespace by name #9997Benjamin Peterson2010-10-161-0/+8
|
* First (uncontroversial) part of issue 9807.Barry Warsaw2010-10-163-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 branchBenjamin Peterson2010-10-151-2/+2
|
* #6098: Refrain from claiming DOM level 3 conformance in minidom.Georg Brandl2010-10-151-2/+0
|
* #5762: fix handling of empty namespace in minidom, which would result in ↵Georg Brandl2010-10-152-3/+11
| | | | AttributeError on toxml().
* #4785: document strict argument of JSONDecoder, plus add object_pairs_hook ↵Georg Brandl2010-10-152-4/+34
| | | | in the docstrings.
* Issue #9308: Removed redundant coding cookies. Added tests forAlexander Belopolsky2010-10-1511-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 Brandl2010-10-151-28/+12
| | | | Py3k, and update the docs and docstrings accordingly.
* #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵Georg Brandl2010-10-156-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 Brandl2010-10-152-3/+27
| | | | from xml.parsers.expat as advertised.
* Fix #10098. Fix sporadic test_os failures.Brian Curtin2010-10-151-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 printoutAntoine Pitrou2010-10-151-3/+0
|
* Enable debug output at the start of the regression suite instead.Antoine Pitrou2010-10-152-5/+3
| | | | Sorry for the ephemeral inconvenience.
* Temporary debug printout for buildbotsAntoine Pitrou2010-10-151-0/+5
|
* remove empty fileBenjamin Peterson2010-10-151-0/+0
|
* Merged revisions ↵Benjamin Peterson2010-10-1459-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 filesAntoine Pitrou2010-10-147-58/+83
|
* revert change that was in wrong branchBenjamin Peterson2010-10-141-15/+7
|
* Add test case for issue #9409, non-ascii char in doctest. It passes in 3.2 ↵Florent Xicluna2010-10-141-2/+5
| | | | but needs fixing in 2.7.
* Explicitly close some files (from issue #10093)Antoine Pitrou2010-10-145-14/+25
|
* Fix the regex to match all kind of filenames, for interactive debugging in ↵Florent Xicluna2010-10-142-12/+12
| | | | doctests. (issue #9409)
* Increase timeouts in test_ftplib (for very slow buildbots)Antoine Pitrou2010-10-141-13/+13
|
* OopsAntoine Pitrou2010-10-141-1/+1
|