summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.Hirokazu Yamamoto2008-10-232-3/+3
|
* fix #4150: pdb's up command didn't work for generators in post-mortemBenjamin Peterson2008-10-222-6/+4
|
* return ArgInfo from inspect.getargvalues #4092Benjamin Peterson2008-10-211-1/+1
|
* #4157 move two test functions out of platform.py.Amaury Forgeot d'Arc2008-10-212-33/+34
| | | | | | Turn them into unit tests, and correct an obvious typo: (("a", "b") ("c", "d") ("e", "f")) compiles even with the missing commas, but does not execute very well...
* make sure to call iteritems()Benjamin Peterson2008-10-211-3/+1
|
* Fixed #4062, added import for _ast.__version__ to ast to match the ↵Armin Ronacher2008-10-201-0/+1
| | | | documented behavior.
* check for error conditions in _json #3623Benjamin Peterson2008-10-161-0/+7
|
* use new showwarnings signature for idle #3391Benjamin Peterson2008-10-162-6/+11
|
* Merged revisions 66805,66841,66860,66884-66886,66893,66907,66910 via ↵Benjamin Peterson2008-10-158-53/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66805 | benjamin.peterson | 2008-10-04 20:11:02 -0500 (Sat, 04 Oct 2008) | 1 line mention what the fixes directory is for ........ r66841 | benjamin.peterson | 2008-10-07 17:48:12 -0500 (Tue, 07 Oct 2008) | 1 line use assertFalse and assertTrue ........ r66860 | benjamin.peterson | 2008-10-08 16:05:07 -0500 (Wed, 08 Oct 2008) | 1 line instead of abusing the pattern matcher, use start_tree to find a next binding ........ r66884 | benjamin.peterson | 2008-10-13 15:50:30 -0500 (Mon, 13 Oct 2008) | 1 line don't print tokens to stdout when -v is given ........ r66885 | benjamin.peterson | 2008-10-13 16:28:57 -0500 (Mon, 13 Oct 2008) | 1 line add the -x option to disable fixers ........ r66886 | benjamin.peterson | 2008-10-13 16:33:53 -0500 (Mon, 13 Oct 2008) | 1 line cut down on some crud ........ r66893 | benjamin.peterson | 2008-10-14 17:16:54 -0500 (Tue, 14 Oct 2008) | 1 line add an optional set literal fixer ........ r66907 | benjamin.peterson | 2008-10-15 16:59:41 -0500 (Wed, 15 Oct 2008) | 1 line don't write backup files by default ........ r66910 | benjamin.peterson | 2008-10-15 17:43:10 -0500 (Wed, 15 Oct 2008) | 1 line add the -n option; it stops backupfiles from being written ........
* support the optional line argument for idleBenjamin Peterson2008-10-151-1/+2
|
* easter eggSkip Montanaro2008-10-151-0/+4
|
* remove set compat cruftBenjamin Peterson2008-10-142-12/+0
|
* give poplib a real test suiteBenjamin Peterson2008-10-111-23/+267
| | | | #4088 from Giampaolo Rodola'x
* #3935: properly support list subclasses in the C impl. of bisect.Georg Brandl2008-10-081-0/+11
| | | | Patch reviewed by Raymond.
* #4069: aSet.remove(otherSet) would always report the empty frozenset([]) as ↵Amaury Forgeot d'Arc2008-10-071-0/+11
| | | | | | | | the missing key. Now it correctly refers to the initial otherset. Reviewed by Raymond. Will backport to 2.6.
* more intensive test on dbm.Hirokazu Yamamoto2008-10-071-8/+10
|
* save/restore stdout/stderr instead of relying on __*__ versionsSkip Montanaro2008-10-071-2/+4
|
* Simplify individual tests by defining setUp and tearDown methods.Skip Montanaro2008-10-071-61/+27
|
* Per Greg Ward, optparse is no longer being externally maintained.Andrew M. Kuchling2008-10-061-10/+2
| | | | | I'll look at the bugs in the Optik bug tracker and copy them to the Python bug tracker if they're still relevant.
* More strict test. Consider the case sys.executable itself is symlink.Hirokazu Yamamoto2008-10-061-4/+5
|
* Added the test for issue3762.Hirokazu Yamamoto2008-10-061-0/+15
|
* #1415508 from Rocky Bernstein: add docstrings for ↵Andrew M. Kuchling2008-10-051-0/+10
| | | | enable_interspersed_args(), disable_interspersed_args()
* Merged revisions 66707,66775,66782 via svnmerge fromBenjamin Peterson2008-10-046-11/+2833
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66707 | benjamin.peterson | 2008-09-30 18:27:10 -0500 (Tue, 30 Sep 2008) | 1 line fix #4001: fix_imports didn't check for __init__.py before converting to relative imports ........ r66775 | collin.winter | 2008-10-03 12:08:26 -0500 (Fri, 03 Oct 2008) | 4 lines Add an alternative iterative pattern matching system that, while slower, correctly parses files that cause the faster recursive pattern matcher to fail with a recursion error. lib2to3 falls back to the iterative matcher if the recursive one fails. Fixes http://bugs.python.org/issue2532. Thanks to Nick Edds. ........ r66782 | benjamin.peterson | 2008-10-03 17:51:36 -0500 (Fri, 03 Oct 2008) | 1 line add Victor Stinner's fixer for os.getcwdu -> os.getcwd #4023 ........
* Typo fixAndrew M. Kuchling2008-10-031-1/+1
|
* Fixed following error when DocXMLRPCServer failed.Hirokazu Yamamoto2008-10-031-2/+2
| | | | UnboundLocalError: local variable 'serv' referenced before assignment
* update pydoc topicsBenjamin Peterson2008-10-021-32/+32
|
* Bumping to 2.6 final.Barry Warsaw2008-10-012-2/+2
|
* fix for issue 3862: test_array fails FreeBSD 7 amd64Andrew MacIntyre2008-10-011-4/+5
| | | | | | | | | FreeBSD 7's underlying malloc() is behaves differently to earlier versions and seriously overcommits available memory on amd64. This may affect other 64bit platforms in some circumstances, so the scale of the problematic test is wound back. Patch by Mark Dickinson, reviewed by Martin von Loewis.
* Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs whenGregory P. Smith2008-09-301-0/+6
| | | | | | | calling fork() from a child thread. This disables that unit test (with a note printed to stderr) on those platforms. A caveat about buggy platforms is added to the os.fork documentation.
* fix security issue 2: imageop's poor validation of arguments could result in ↵Benjamin Peterson2008-09-301-2/+63
| | | | | | | segfaults patch by Victor Stinner reviewed by myself and Brett
* issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick ↵Jesse Noller2008-09-303-0/+22
| | | | Coghlan, Damien Miller
* Issue #3965: Allow repeated calls to turtle.Screen, by making it aMartin v. Löwis2008-09-291-28/+31
| | | | | | true singleton object. Reviewed by Gregor Lingl.
* Fix issue #3547 for MingW, update comments.Thomas Heller2008-09-291-2/+3
|
* fix for release blocker 3910, 2.6 regression in socket.ssl methodBill Janssen2008-09-292-3/+28
|
* The _lsprof module could crash the interpreter if it was given an externalBrett Cannon2008-09-291-1/+15
| | | | | | | | timer that did not return a float and a timer was still running when the Profiler object was garbage collected. Fixes issue 3895. Code review by Benjamin Peterson.
* merge in the fix for test_ftplib on some bots [reviewed by Georg]Benjamin Peterson2008-09-281-0/+5
|
* backport r66656 so people using -Qnew aren't affectedBenjamin Peterson2008-09-271-1/+1
|
* enable refactor testsBenjamin Peterson2008-09-271-2/+2
|
* Merged revisions 66511,66548-66549,66644,66646-66652 via svnmerge fromBenjamin Peterson2008-09-2712-40/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66511 | benjamin.peterson | 2008-09-18 21:49:27 -0500 (Thu, 18 Sep 2008) | 1 line remove a useless if __name__ == '__main__' ........ r66548 | benjamin.peterson | 2008-09-21 21:14:14 -0500 (Sun, 21 Sep 2008) | 1 line avoid the perils of mutable default arguments ........ r66549 | benjamin.peterson | 2008-09-21 21:26:11 -0500 (Sun, 21 Sep 2008) | 1 line some places in RefactoringTool should raise an error instead of logging it ........ r66644 | benjamin.peterson | 2008-09-27 10:45:10 -0500 (Sat, 27 Sep 2008) | 1 line fix doctest refactoring ........ r66646 | benjamin.peterson | 2008-09-27 11:40:13 -0500 (Sat, 27 Sep 2008) | 1 line don't print to stdout when 2to3 is used as a library ........ r66647 | benjamin.peterson | 2008-09-27 12:28:28 -0500 (Sat, 27 Sep 2008) | 1 line let fixer modules and classes have different prefixes ........ r66648 | benjamin.peterson | 2008-09-27 14:02:13 -0500 (Sat, 27 Sep 2008) | 1 line raise errors when 2to3 is used as a library ........ r66649 | benjamin.peterson | 2008-09-27 14:03:38 -0500 (Sat, 27 Sep 2008) | 1 line fix docstring ........ r66650 | benjamin.peterson | 2008-09-27 14:22:21 -0500 (Sat, 27 Sep 2008) | 1 line make use of enumerate ........ r66651 | benjamin.peterson | 2008-09-27 14:24:13 -0500 (Sat, 27 Sep 2008) | 1 line revert last revision; it breaks things ........ r66652 | benjamin.peterson | 2008-09-27 16:03:06 -0500 (Sat, 27 Sep 2008) | 1 line add tests for lib2to3.refactor ........
* give ftplib a real test suiteBenjamin Peterson2008-09-271-36/+425
| | | | | | | A asyncore based mock ftp server is used to test the protocol. This is all thanks to Giampaolo Rodola #3939 (Barry gave me permission to do this before final on IRC.)
* #3967: Correct a crash in count() and find() methods of string-like objects.Amaury Forgeot d'Arc2008-09-261-0/+16
| | | | | | | | For example: "".count("xxxx", sys.maxint, 0) Reviewed by Benjamin Peterson. Will port to 2.5 and 3.0.
* Fix namedtuple bug reported by Glenn Linderman. Template did not form ↵Raymond Hettinger2008-09-252-1/+6
| | | | correctly if the field names were input in Unicode.
* #3965: on Windows, open() crashes if the filename or the mode is invalid,Amaury Forgeot d'Arc2008-09-251-0/+10
| | | | | | and if the filename is a unicode string. Reviewed by Martin von Loewis.
* #3950 fix missing scale factors in turtle.pyBenjamin Peterson2008-09-241-1/+1
| | | | reviewers: Georg, Benjamin
* Fix issue #3547: ctypes is confused by bitfields of varying integer typesThomas Heller2008-09-241-0/+15
| | | | Reviewed by Fredrik Lundh and Skip Montanaro.
* backport the atexit test for r66563Benjamin Peterson2008-09-231-0/+13
|
* Bugfix for issue3885 and 'DB.verify()' crash.Jesus Cea2008-09-231-16/+36
| | | | Reviewed by Nick Coghlan.
* use the new threading properties for multiprocessing (reviewed by Jesse #3927)Benjamin Peterson2008-09-221-6/+0
|
* build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config filesAndrew MacIntyre2008-09-221-1/+1
| | | | | | | | Part of source_os2emx.patch in issue 3868: Include/pystrcmp.h: OS/2 has same C APIs as Windows Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test Reviewed by Amaury Forgeot d'Arc
* #3879 fix a regression in urllib.getproxies_environmentBenjamin Peterson2008-09-212-3/+26
| | | | reviewers: Benjamin, Georg