summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* raise a better errorBenjamin Peterson2008-11-231-1/+1
|
* Fix typo.Georg Brandl2008-11-221-1/+1
|
* backport r67325: make FileIO.mode always contain 'b'Benjamin Peterson2008-11-222-9/+9
|
* don't segfault when \N escapes are used and unicodedata fails to loadBenjamin Peterson2008-11-211-2/+25
| | | | Fixes #4367
* #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is ↵Amaury Forgeot d'Arc2008-11-211-2/+2
| | | | | | not present. Will backport to 2.6
* Fixed issue #4233.Amaury Forgeot d'Arc2008-11-201-0/+24
| | | | | | | | | | Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO object also got a new readonly attribute closefd. Approved by Barry Backport of r67106 from the py3k branch
* backport r67300Benjamin Peterson2008-11-202-9/+47
|
* oops! didn't mean to disable that testBenjamin Peterson2008-11-201-1/+1
|
* make sure that bytearray methods return a new bytearray even if there is no ↵Benjamin Peterson2008-11-191-0/+10
| | | | | | | change Fixes #4348 Reviewed by Brett
* Fix for issue 4332 in trunk.Josiah Carlson2008-11-191-1/+1
|
* Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__Martin v. Löwis2008-11-191-2/+2
|
* patch from issue 1108Skip Montanaro2008-11-191-2/+2
|
* #4317: Fix an Array Bounds Read in imageop.rgb2rgb8.Amaury Forgeot d'Arc2008-11-181-1/+2
| | | | Will backport to 2.4.
* when __getattr__ is a descriptor, call it correctly; fixes #4230Benjamin Peterson2008-11-171-0/+40
| | | | patch from Ziga Seilnacht
* The docs for httplib.HTTPConnection.putheader() have claimed for quite a whileBrett Cannon2008-11-151-6/+3
| | | | | that their could be an arbitrary number of values passed in. Turns out the code did not match that. The code now matches the docs.
* Merged revisions 66985,67170,67173,67177-67179 via svnmerge fromBenjamin Peterson2008-11-105-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66985 | benjamin.peterson | 2008-10-20 16:43:46 -0500 (Mon, 20 Oct 2008) | 1 line no need to use nested try, except, finally ........ r67170 | benjamin.peterson | 2008-11-08 12:28:31 -0600 (Sat, 08 Nov 2008) | 1 line fix #4271: fix_imports didn't recognize imports with parenthesis (ie from x import (a, b)) ........ r67173 | benjamin.peterson | 2008-11-08 17:42:08 -0600 (Sat, 08 Nov 2008) | 1 line consolidate test ........ r67177 | benjamin.peterson | 2008-11-09 21:52:52 -0600 (Sun, 09 Nov 2008) | 1 line let the metclass fixer handle complex assignments in the class body gracefully ........ r67178 | benjamin.peterson | 2008-11-10 15:26:43 -0600 (Mon, 10 Nov 2008) | 1 line the metaclass fixers shouldn't die when bases are not a simple name ........ r67179 | benjamin.peterson | 2008-11-10 15:29:58 -0600 (Mon, 10 Nov 2008) | 1 line allow the fix_import pattern to catch from imports with parenthesis ........
* fix commentBenjamin Peterson2008-11-091-3/+2
|
* check for assignment to __debug__ during AST generationBenjamin Peterson2008-11-081-10/+8
| | | | Also, give assignment to None a better error message
* move a FileIO test to test_fileioBenjamin Peterson2008-11-032-8/+9
|
* Issue #3774: Fixed an error when create a Tkinter menu item without commandHirokazu Yamamoto2008-11-031-11/+13
| | | | and then remove it. Written by Guilherme Polo (gpolo).
* #4048 make the parser module accept relative imports as validBenjamin Peterson2008-11-031-0/+2
|
* make sure the parser flags and passed onto the compilerBenjamin Peterson2008-10-312-0/+14
| | | | | This fixes "from __future__ import unicode_literals" in an exec statment See #4225
* Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient ↵Christian Heimes2008-10-301-0/+7
| | | | initialization of PyFileIOObject struct members.
* Issue #4176: Pickle would crash the interpreter when a __reduce__ functionAmaury Forgeot d'Arc2008-10-301-0/+23
| | | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) A list is not an iterator... Will backport to 2.6 and 2.5.
* Fixed a modulefinder crash on certain relative imports.Thomas Heller2008-10-302-1/+20
|
* Fix one of the tests: it relied on being present in an "output test" inArmin Rigo2008-10-281-7/+3
| | | | | | order to actually test what it was supposed to test, i.e. that the code in the __del__ method did not crash. Use instead the new helper test_support.captured_output().
* add forgotten test for r67030Benjamin Peterson2008-10-261-0/+21
|
* fix __future__ imports when multiple features are givenBenjamin Peterson2008-10-261-2/+6
|
* give a py3k warning when 'nonlocal' is used as a variable nameBenjamin Peterson2008-10-251-41/+23
|
* 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
|