summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 67082 via svnmerge fromHirokazu Yamamoto2008-11-031-11/+13
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67082 | hirokazu.yamamoto | 2008-11-04 03:03:06 +0900 | 2 lines Issue #3774: Fixed an error when create a Tkinter menu item without command and then remove it. Written by Guilherme Polo (gpolo). ........
* Merged revisions 67077 via svnmerge fromBenjamin Peterson2008-11-031-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67077 | benjamin.peterson | 2008-11-03 09:14:51 -0600 (Mon, 03 Nov 2008) | 1 line #4048 make the parser module accept relative imports as valid ........
* Merged revisions 67066 via svnmerge fromBenjamin Peterson2008-10-312-0/+14
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67066 | benjamin.peterson | 2008-10-30 21:16:05 -0500 (Thu, 30 Oct 2008) | 5 lines make sure the parser flags and passed onto the compiler This fixes "from __future__ import unicode_literals" in an exec statment See #4225 ........
* Merged revisions 67052 via svnmerge fromChristian Heimes2008-10-301-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67052 | christian.heimes | 2008-10-30 22:26:15 +0100 (Thu, 30 Oct 2008) | 1 line Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient 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) Backport of r67049
* Merged revisions 67046 via svnmerge fromThomas Heller2008-10-302-1/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67046 | thomas.heller | 2008-10-30 21:18:13 +0100 (Do, 30 Okt 2008) | 2 lines Fixed a modulefinder crash on certain relative imports. ........
* Merged revisions 67030-67031 via svnmerge fromBenjamin Peterson2008-10-262-2/+27
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67030 | benjamin.peterson | 2008-10-26 15:21:13 -0500 (Sun, 26 Oct 2008) | 1 line fix __future__ imports when multiple features are given ........ r67031 | benjamin.peterson | 2008-10-26 15:33:19 -0500 (Sun, 26 Oct 2008) | 1 line add forgotten test for r67030 ........
* Merged revisions 67000 via svnmerge fromBenjamin Peterson2008-10-222-6/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r67000 | benjamin.peterson | 2008-10-22 16:16:34 -0500 (Wed, 22 Oct 2008) | 1 line fix #4150: pdb's up command didn't work for generators in post-mortem ........
* Merged revisions 66995-66996 via svnmerge fromBenjamin Peterson2008-10-211-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66995 | benjamin.peterson | 2008-10-21 17:18:29 -0500 (Tue, 21 Oct 2008) | 1 line return ArgInfo from inspect.getargvalues #4092 ........ r66996 | benjamin.peterson | 2008-10-21 17:20:31 -0500 (Tue, 21 Oct 2008) | 1 line add NEWs note for last change ........
* Merged revisions 66984 via svnmerge fromBenjamin Peterson2008-10-201-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66984 | armin.ronacher | 2008-10-20 16:29:08 -0500 (Mon, 20 Oct 2008) | 3 lines Fixed #4062, added import for _ast.__version__ to ast to match the documented behavior. ........
* Merged revisions 66922 via svnmerge fromBenjamin Peterson2008-10-162-6/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66922 | benjamin.peterson | 2008-10-16 14:40:14 -0500 (Thu, 16 Oct 2008) | 1 line use new showwarnings signature for idle #3391 ........
* Merged revisions 66809-66810,66835,66862-66863 via svnmerge fromHirokazu Yamamoto2008-10-092-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66809 | hirokazu.yamamoto | 2008-10-06 10:57:03 +0900 | 1 line Added the test for issue3762. ........ r66810 | hirokazu.yamamoto | 2008-10-06 11:41:59 +0900 | 1 line More strict test. Consider the case sys.executable itself is symlink. ........ r66835 | hirokazu.yamamoto | 2008-10-08 03:10:47 +0900 | 1 line more intensive test on dbm. ........ r66862 | hirokazu.yamamoto | 2008-10-09 19:00:30 +0900 | 3 lines On windows, os.chdir given unicode was not working if GetCurrentDirectoryW returned a path longer than MAX_PATH. (But It's doubtful this code path is really executed because I cannot move to such directory on win2k) ........ r66863 | hirokazu.yamamoto | 2008-10-09 19:11:21 +0900 | 1 line r66862 contained memory leak. ........
* #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. Backport of r66836.
* backportSkip Montanaro2008-10-071-2/+4
|
* backportSkip Montanaro2008-10-071-61/+27
|
* Merged revisions ↵Benjamin Peterson2008-10-048-14/+2836
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,66797 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ................ r66766 | benjamin.peterson | 2008-10-03 06:52:06 -0500 (Fri, 03 Oct 2008) | 1 line update the mac installer script ................ r66767 | andrew.kuchling | 2008-10-03 07:26:42 -0500 (Fri, 03 Oct 2008) | 1 line Docstring typo. ................ r66771 | hirokazu.yamamoto | 2008-10-03 11:18:42 -0500 (Fri, 03 Oct 2008) | 2 lines Fixed following error when DocXMLRPCServer failed. UnboundLocalError: local variable 'serv' referenced before assignment ................ r66772 | andrew.kuchling | 2008-10-03 11:29:19 -0500 (Fri, 03 Oct 2008) | 1 line Mention exception in docstring ................ r66774 | andrew.kuchling | 2008-10-03 11:42:52 -0500 (Fri, 03 Oct 2008) | 1 line Typo fix ................ r66776 | hirokazu.yamamoto | 2008-10-03 12:34:49 -0500 (Fri, 03 Oct 2008) | 2 lines Issue #1706863: Fixed "'NoneType' object has no attribute 'rfind'" error when sqlite libfile not found. ................ r66783 | andrew.kuchling | 2008-10-03 20:02:29 -0500 (Fri, 03 Oct 2008) | 1 line Use correct capitalization of NaN ................ r66784 | andrew.kuchling | 2008-10-03 20:03:42 -0500 (Fri, 03 Oct 2008) | 1 line Docstring change: Specify exception raised ................ r66785 | andrew.kuchling | 2008-10-03 20:04:24 -0500 (Fri, 03 Oct 2008) | 1 line Docstring changes: Specify exceptions raised ................ r66786 | andrew.kuchling | 2008-10-03 20:05:56 -0500 (Fri, 03 Oct 2008) | 3 lines Docstring change for *partition: use same tense as other docstrings. Hyphenate left- and right-justified. Fix 'registerd' typo ................ r66787 | andrew.kuchling | 2008-10-03 22:08:56 -0500 (Fri, 03 Oct 2008) | 1 line two corrections ................ r66790 | andrew.kuchling | 2008-10-04 11:52:01 -0500 (Sat, 04 Oct 2008) | 1 line Set svn:keywords ................ r66793 | georg.brandl | 2008-10-04 13:26:01 -0500 (Sat, 04 Oct 2008) | 2 lines #4041: don't refer to removed and outdated modules. ................ r66797 | benjamin.peterson | 2008-10-04 15:55:50 -0500 (Sat, 04 Oct 2008) | 19 lines Merged revisions 66707,66775,66782 via svnmerge from 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 ........ ................
* update pydoc-topics here, tooBenjamin 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
* Issue #3925: Ignores shutil.rmtree error on cygwin too.Hirokazu Yamamoto2008-09-211-2/+2
| | | | Reviewed by Benjamin Peterson.
* Issue #3838: TarFile object assigned to self.tar should be closed explicitly.Hirokazu Yamamoto2008-09-211-0/+1
| | | | Reviewed by Lars Gustäbel.
* Bumping to 2.6rc2v2.6rc2Barry Warsaw2008-09-182-2/+2
|
* avoid putting unicode objects in the environment causingMark Hammond2008-09-181-3/+4
| | | | later test failures. As discussed on #python-dev
* On Windows, temporarily disable the bsddb test referenced in bug 3892.Mark Hammond2008-09-181-1/+13
| | | | | We do yell to stderr and the bug is marked as a blocker. Reviewed by barry in #python-dev.
* fix possible integer overflows in _hashopenssl #3886Benjamin Peterson2008-09-181-2/+16
|
* Merged revisions 66470 via svnmerge fromBenjamin Peterson2008-09-151-4/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66470 | benjamin.peterson | 2008-09-15 18:29:43 -0500 (Mon, 15 Sep 2008) | 1 line don't use os.linesep for newlines; it breaks tests on windows ........
* Merged revisions 66191,66418,66438,66445 via svnmerge fromBenjamin Peterson2008-09-136-11/+452
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r66191 | benjamin.peterson | 2008-09-03 17:00:52 -0500 (Wed, 03 Sep 2008) | 1 line update the Grammar file after recent syntax changes ........ r66418 | benjamin.peterson | 2008-09-12 18:49:48 -0500 (Fri, 12 Sep 2008) | 1 line a trival fix to get a few more print corner cases #2899 ........ r66438 | benjamin.peterson | 2008-09-12 21:32:30 -0500 (Fri, 12 Sep 2008) | 5 lines add Jack Diederich's fixer for metaclass syntax #2366 my contribution to this was adding a few tests and fixing a few bugs I also reviewed it (Jack is a committer) ........ r66445 | benjamin.peterson | 2008-09-13 10:50:00 -0500 (Sat, 13 Sep 2008) | 1 line add a few more tests concerning int literals and weird spacing ........
* Bumping to 2.6rc1Barry Warsaw2008-09-122-2/+2
|