summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Adding tests derived from the Jython project. These are primarily tests ofFrank Wierzbicki2009-08-021-0/+116
| | | | | | | 'single' statements with partial sentences (so they test things like "try:" in interactive mode). Others tests hit areas that previously failed in Jython. A couple still fail in Jython, mainly due to the difficulty of parsing partial sentences (but should be fixed by Jython 2.6).
* Issue #6619: Remove duplicate 'isgenerator' function from inspect module.Mark Dickinson2009-08-021-4/+0
| | | | Thanks Vincent Legoll.
* Issue #6595: Allow Decimal constructor to accept non-European decimalMark Dickinson2009-08-022-20/+19
| | | | | digits, as recommended by the specification. (Backport of r74279 from py3k.)
* #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,Amaury Forgeot d'Arc2009-07-282-1/+14
| | | | like it does for larger invalid files.
* "Fix" for the refleak report: the ABC classes are now in the _pyio moduleAmaury Forgeot d'Arc2009-07-281-2/+2
|
* Issue #6561: '\d' regular expression should not match characters ofMark Dickinson2009-07-281-0/+21
| | | | | category [No]; only those of category [Nd]. (Backport of r74237 from py3k.)
* Issue 6573: Fix set.union() for cases where self is in the argument chain.Raymond Hettinger2009-07-271-0/+4
|
* Issue 6581. Michael FoordMichael Foord2009-07-261-1/+4
|
* #6553: crash in cPickle.load(), when given a StringIO with incomplete data.Amaury Forgeot d'Arc2009-07-231-0/+5
| | | | Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
* use bools for autoraiseBenjamin Peterson2009-07-231-11/+11
|
* Backport of fix for issue 6542: make sureR. David Murray2009-07-221-1/+12
| | | | | test_os.TestInvalidFD.test_closerange does not close any valid file descriptors.
* Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.Georg Brandl2009-07-221-0/+5
|
* Issue #6545: Removed assert statements in distutils.Extension, so the ↵Tarek Ziadé2009-07-221-4/+5
| | | | behavior is similar when used with -O
* Revert rev 74134, as it does not completely fixx issue #6493.Thomas Heller2009-07-211-15/+0
|
* Issue #6493: Fix a ctypes problem setting bitfields more than 31 bitsThomas Heller2009-07-211-0/+15
| | | | wide.
* Merged revisions 74121-74122 via svnmerge fromBenjamin Peterson2009-07-203-1/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r74121 | benjamin.peterson | 2009-07-20 15:40:59 -0500 (Mon, 20 Jul 2009) | 1 line try to make warning tests more robust ........ r74122 | benjamin.peterson | 2009-07-20 15:44:14 -0500 (Mon, 20 Jul 2009) | 1 line platform compat ........
* the Slice in x[::] has to have step as None to help the interpreterBenjamin Peterson2009-07-201-1/+2
|
* Merged revisions 74116 via svnmerge fromBenjamin Peterson2009-07-201-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r74116 | benjamin.peterson | 2009-07-20 12:22:35 -0500 (Mon, 20 Jul 2009) | 1 line placate windows ........
* Merged revisions ↵Benjamin Peterson2009-07-2018-145/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73771,73811,73840,73842,73848-73849,73861,73957-73960,73964-73969,73972-73974,73977,73981,73984,74065,74113 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r73771 | benjamin.peterson | 2009-07-02 10:56:55 -0500 (Thu, 02 Jul 2009) | 1 line force the imports fixer to be run after the import one #6400 ........ r73811 | benjamin.peterson | 2009-07-03 09:03:14 -0500 (Fri, 03 Jul 2009) | 1 line check for sep, not pathsep when looking for a subpackage #6408 ........ r73840 | benjamin.peterson | 2009-07-04 09:52:28 -0500 (Sat, 04 Jul 2009) | 1 line don't print diffs by default; it's annoying ........ r73842 | benjamin.peterson | 2009-07-04 09:58:46 -0500 (Sat, 04 Jul 2009) | 1 line complain when not showing diffs or writing ........ r73848 | alexandre.vassalotti | 2009-07-04 23:38:19 -0500 (Sat, 04 Jul 2009) | 2 lines Fix test_refactor_stdin to handle print_output() method with 4 arguments. ........ r73849 | alexandre.vassalotti | 2009-07-04 23:43:18 -0500 (Sat, 04 Jul 2009) | 5 lines Issue 2370: Add fixer for the removal of operator.isCallable() and operator.sequenceIncludes(). Patch contributed by Jeff Balogh (and updated by me). ........ r73861 | benjamin.peterson | 2009-07-05 09:15:53 -0500 (Sun, 05 Jul 2009) | 1 line cleanup and use unicode where appropiate ........ r73957 | benjamin.peterson | 2009-07-11 15:49:56 -0500 (Sat, 11 Jul 2009) | 1 line fix calls to str() with unicode() ........ r73958 | benjamin.peterson | 2009-07-11 15:51:51 -0500 (Sat, 11 Jul 2009) | 1 line more str() -> unicode() ........ r73959 | benjamin.peterson | 2009-07-11 16:40:08 -0500 (Sat, 11 Jul 2009) | 1 line add tests for refactor_dir() ........ r73960 | benjamin.peterson | 2009-07-11 16:44:32 -0500 (Sat, 11 Jul 2009) | 1 line don't parse files just because they end with 'py' (no dot) ........ r73964 | benjamin.peterson | 2009-07-11 17:30:15 -0500 (Sat, 11 Jul 2009) | 1 line simplify ........ r73965 | benjamin.peterson | 2009-07-11 17:31:30 -0500 (Sat, 11 Jul 2009) | 1 line remove usage of get_prefix() ........ r73966 | benjamin.peterson | 2009-07-11 17:33:35 -0500 (Sat, 11 Jul 2009) | 1 line revert unintended change in 73965 ........ r73967 | benjamin.peterson | 2009-07-11 17:34:44 -0500 (Sat, 11 Jul 2009) | 1 line avoid expensive checks and assume the node did change ........ r73968 | benjamin.peterson | 2009-07-11 20:46:46 -0500 (Sat, 11 Jul 2009) | 1 line use a regular dict for the heads to avoid adding lists in the loop ........ r73969 | benjamin.peterson | 2009-07-11 20:50:43 -0500 (Sat, 11 Jul 2009) | 1 line prefix headnode functions with '_' ........ r73972 | benjamin.peterson | 2009-07-11 21:25:45 -0500 (Sat, 11 Jul 2009) | 1 line try to make the head node dict as sparse as possible ........ r73973 | benjamin.peterson | 2009-07-11 21:59:49 -0500 (Sat, 11 Jul 2009) | 1 line a better idea; add an option to *not* print diffs ........ r73974 | benjamin.peterson | 2009-07-11 22:00:29 -0500 (Sat, 11 Jul 2009) | 1 line add space ........ r73977 | benjamin.peterson | 2009-07-12 10:16:07 -0500 (Sun, 12 Jul 2009) | 1 line update get_headnode_dict tests for recent changes ........ r73981 | benjamin.peterson | 2009-07-12 12:06:39 -0500 (Sun, 12 Jul 2009) | 4 lines detect when "from __future__ import print_function" is given Deprecate the 'print_function' option and the -p flag ........ r73984 | benjamin.peterson | 2009-07-12 16:16:37 -0500 (Sun, 12 Jul 2009) | 1 line add tests for Call; thanks Joe Amenta ........ r74065 | benjamin.peterson | 2009-07-17 12:52:49 -0500 (Fri, 17 Jul 2009) | 1 line pathname2url and url2pathname are in urllib.request not urllib.parse #6496 ........ r74113 | benjamin.peterson | 2009-07-20 08:56:57 -0500 (Mon, 20 Jul 2009) | 1 line fix deprecation warnings in tests ........
* http://bugs.python.org/issue6499Kristján Valur Jónsson2009-07-191-1/+1
| | | | gzip.GzipFile may not exist as a parent class
* http://bugs.python.org/issue6499Kristján Valur Jónsson2009-07-193-6/+25
| | | | zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
* split unittest.py into a packageBenjamin Peterson2009-07-1913-902/+918
|
* Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-192-6/+10
| | | | auth handlers. Fixed tests to reflect the same.
* Issue #6431: Fix Fraction comparisons with unknown types, and withMark Dickinson2009-07-182-30/+158
| | | | float infinities and nans. Backport of r74078 from py3k.
* Issue #6415: Fixed warnings.warn sagfault on bad formatted string.Hirokazu Yamamoto2009-07-171-0/+13
|
* Revert r74028.Georg Brandl2009-07-161-2/+2
|
* #6482: simplify "except: raise" to "finally:".Georg Brandl2009-07-161-2/+2
|
* #6466 refactored distutils duplicate get_versions() functions (used to get ↵Tarek Ziadé2009-07-166-111/+231
| | | | gcc/ld/dllwrap versions)
* Issue 6433: multiprocessing.pool.map hangs on empty listJesse Noller2009-07-162-0/+8
|
* #5910: fix kqueue for calls with more than one event.Georg Brandl2009-07-161-0/+16
|
* #6076 Add a title to the IDLE Preferences window.Amaury Forgeot d'Arc2009-07-151-0/+1
|
* methods' names pep8ificationEzio Melotti2009-07-151-127/+127
|
* Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes ↵Michael Foord2009-07-142-11/+2
| | | | issue 6418.
* Use a different VER command output parser to address the localizationMarc-André Lemburg2009-07-131-2/+17
| | | | | | issues mentioned in #3410. Prepare for Windows 7 (still commented out).
* Use a new global DEV_NULL instead of hard-coding /dev/null into the systemMarc-André Lemburg2009-07-131-4/+20
| | | | | | command helper functions. See #6479 for some motivation.
* #1616979: Add the cp720 (Arabic DOS) encoding.Amaury Forgeot d'Arc2009-07-131-0/+311
| | | | | Since there is no official mapping file from unicode.org, the codec file is generated on Windows with the new genwincodec.py script.
* Issue #6314: logging: Extra checks on the "level" argument in more places.Vinay Sajip2009-07-131-8/+15
|
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-121-4/+41
| | | | Add more tests for the xlmrpc.ServerProxy
* Fixed distutils test.Hirokazu Yamamoto2009-07-121-1/+1
|
* put downloaded test support files in Lib/test/data instead of the cwdBenjamin Peterson2009-07-111-5/+4
|
* reverted changes for #6459 (doesn't apply on 2.x)Tarek Ziadé2009-07-112-4/+4
|
* #2622 Import errors in email.message, from a py2app standalone application.Amaury Forgeot d'Arc2009-07-118-18/+18
| | | | Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
* fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'Tarek Ziadé2009-07-112-4/+4
|
* cleaned up distutils.build_ext moduleTarek Ziadé2009-07-111-26/+16
|
* Add basic tests for the return value of os.popen().close().Amaury Forgeot d'Arc2009-07-111-0/+7
| | | | According to #6358, python 3.0 has a different implementation that behaves differently.
* http://bugs.python.org/issue6460Kristján Valur Jónsson2009-07-111-2/+8
| | | | Need to be careful with thread switching when testing the xmlrpc server. The server thread may not have updated stats when the client thread tests them.
* more cleanups and if zlib -> skipUnless(zlib)Ezio Melotti2009-07-101-90/+94
|
* #6447: typo in subprocess docstringAmaury Forgeot d'Arc2009-07-101-2/+2
|
* cleaned up distutils.command.buildTarek Ziadé2009-07-101-15/+5
|
* Added test coverage for distutils.command.buildTarek Ziadé2009-07-101-0/+54
|