summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 66006 via svnmerge fromNeal Norwitz2008-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes) ........ r66006 | neal.norwitz | 2008-08-23 22:04:52 -0700 (Sat, 23 Aug 2008) | 25 lines Fix: * crashes on memory allocation failure found with failmalloc * memory leaks found with valgrind * compiler warnings in opt mode which would lead to invalid memory reads * problem using wrong name in decimal module reported by pychecker Update the valgrind suppressions file with new leaks that are small/one-time leaks we don't care about (ie, they are too hard to fix). TBR=barry TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes) in opt mode: valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \ -x test_logging test_ssl test_multiprocessing valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing for i in `seq 1 4000` ; do LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \ ./python -c pass done At least some of these fixes should probably be backported to 2.5. ........
* add NEWS note and test for last commitBenjamin Peterson2008-08-231-0/+6
|
* #1276: Add temporary encoding aliases for non-supported Mac CJKHye-Shik Chang2008-08-231-0/+5
| | | | | encodings that are detected as system defaults in MacOS with CJK locales. Will be replaced by properly-implemented codecs in 3.1.
* Merged revisions 65971 via svnmerge fromRobert Schuppenies2008-08-221-5/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65971 | robert.schuppenies | 2008-08-22 10:03:43 +0200 (Fri, 22 Aug 2008) | 2 lines Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson. ........
* Merged revisions 65958 via svnmerge fromMark Dickinson2008-08-211-1/+7
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65958 | mark.dickinson | 2008-08-21 21:02:24 +0100 (Thu, 21 Aug 2008) | 5 lines Fix float.fromhex test to give additional information on failure. This change is aimed at diagnosing issue 3633 (test_float fails on Solaris). Reviewed by Benjamin Peterson ........
* move test to a better locationBenjamin Peterson2008-08-212-21/+22
|
* Bumping to 3.0b3v3.0b3Barry Warsaw2008-08-212-2/+2
|
* apply a fix for #3611 where the current exception context was deleted with a ↵Benjamin Peterson2008-08-201-0/+22
| | | | generator causing a segfault
* #3614: Correct a typo in xmlrpc.client.Amaury Forgeot d'Arc2008-08-201-2/+2
|
* Reverted r65901 and uses GetVolumeInformationW because string in py3k is ↵Hirokazu Yamamoto2008-08-201-6/+2
| | | | | | unicode. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
* Merged revisions 65908 via svnmerge fromHirokazu Yamamoto2008-08-201-11/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65908 | hirokazu.yamamoto | 2008-08-20 22:14:07 +0900 | 1 line Issue #3612: Added some missing basic types in ctypes.wintypes. ........
* revert 65897Benjamin Peterson2008-08-202-8/+8
|
* For some reason sys.stdin may be None on Windows, and makes ↵Amaury Forgeot d'Arc2008-08-201-4/+5
| | | | | | | | test_multiprocessing fail. Since we are closing the fileno anyway, the best is to skip this part. Now test_multiprocessing should pass on Windows.
* Partially revert r65883 to let the tests pass.Amaury Forgeot d'Arc2008-08-201-0/+2
| | | | | I am working on the proper fix, which is to use the custom pickler in connection.send(), instead of the standard pickle.dumps().
* Merged revisions 65900 via svnmerge fromHirokazu Yamamoto2008-08-201-5/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65900 | hirokazu.yamamoto | 2008-08-20 13:13:28 +0900 | 1 line fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk) ........
* Merged revisions 65885,65892,65894,65898 via svnmerge fromBenjamin Peterson2008-08-202-6/+6
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65885 | benjamin.peterson | 2008-08-19 17:06:11 -0500 (Tue, 19 Aug 2008) | 1 line check that the parser module can handle the new keyword syntax ........ r65892 | benjamin.peterson | 2008-08-19 20:27:30 -0500 (Tue, 19 Aug 2008) | 1 line add a NEWS note for new args syntax ........ r65894 | benjamin.peterson | 2008-08-19 20:44:45 -0500 (Tue, 19 Aug 2008) | 2 lines newSymbolTable is not public API ........ r65898 | benjamin.peterson | 2008-08-19 21:15:42 -0500 (Tue, 19 Aug 2008) | 1 line fix silly errors of mine ........
* return sets instead of tuples from some symtable methodsBenjamin Peterson2008-08-202-8/+8
|
* kill the obsolete symtable.Symbol methodsBenjamin Peterson2008-08-201-10/+0
|
* disable test_nis; it hangsBenjamin Peterson2008-08-192-0/+3
|
* Issue #2394: implement more of the memoryview API.Antoine Pitrou2008-08-192-3/+191
|
* Merged revisions 65658,65869,65882 via svnmerge fromBenjamin Peterson2008-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r65658 | bill.janssen | 2008-08-12 12:09:57 -0500 (Tue, 12 Aug 2008) | 1 line update ssl documentation ................ r65869 | benjamin.peterson | 2008-08-19 14:27:53 -0500 (Tue, 19 Aug 2008) | 1 line fix a little typo ................ r65882 | benjamin.peterson | 2008-08-19 16:07:15 -0500 (Tue, 19 Aug 2008) | 9 lines Merged revisions 65876 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line apply a fix I think will help Windows ........ ................
* Issue #3125: Remove copy_reg in multiprocessing and replace it withAmaury Forgeot d'Arc2008-08-195-58/+66
| | | | ForkingPickler.register() to resolve conflict with ctypes.
* Remove four uu-encoded image files that were once useful for testingGuido van Rossum2008-08-194-4858/+0
| | | | imgfile, rgbimg and imageop. None of those modules exist any more...
* Fix a failure in bsddb tests, following the changes in regular expression ↵Antoine Pitrou2008-08-191-2/+2
| | | | semantics
* allow keyword args after *args in a function callBenjamin Peterson2008-08-192-1/+9
|
* Merged revisions 65868,65870 via svnmerge fromThomas Heller2008-08-191-1/+6
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65868 | thomas.heller | 2008-08-19 21:25:04 +0200 (Di, 19 Aug 2008) | 3 lines Fix a regression introduced by rev. 63792: ctypes function pointers that are COM methods must have a boolean True value. ........ r65870 | thomas.heller | 2008-08-19 21:40:23 +0200 (Di, 19 Aug 2008) | 1 line COM method code is windows specific ........
* Merged revisions 65864 via svnmerge fromBenjamin Peterson2008-08-199-72/+66
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65864 | jesse.noller | 2008-08-19 14:06:19 -0500 (Tue, 19 Aug 2008) | 2 lines issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included. ........
* Merged revisions 65780,65782,65785,65809,65812,65834,65846,65859,65861 via ↵Benjamin Peterson2008-08-192-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65780 | antoine.pitrou | 2008-08-17 15:15:07 -0500 (Sun, 17 Aug 2008) | 3 lines #3580: fix a failure in test_os ........ r65782 | benjamin.peterson | 2008-08-17 15:33:45 -0500 (Sun, 17 Aug 2008) | 1 line set svn:executable on a script ........ r65785 | amaury.forgeotdarc | 2008-08-17 16:05:18 -0500 (Sun, 17 Aug 2008) | 3 lines Fix a refleak in bytearray.split and bytearray.rsplit, detected by regrtest.py -R:: test_bytes ........ r65809 | nick.coghlan | 2008-08-18 07:42:46 -0500 (Mon, 18 Aug 2008) | 1 line Belated NEWS entry for r65642 ........ r65812 | nick.coghlan | 2008-08-18 08:32:19 -0500 (Mon, 18 Aug 2008) | 1 line Fix typo ........ r65834 | amaury.forgeotdarc | 2008-08-18 14:23:47 -0500 (Mon, 18 Aug 2008) | 4 lines #2234 distutils failed with mingw binutils 2.18.50.20080109. Be less strict when parsing these version numbers, they don't necessarily follow the python numbering scheme. ........ r65846 | georg.brandl | 2008-08-18 18:09:49 -0500 (Mon, 18 Aug 2008) | 2 lines Fix grammar. ........ r65859 | thomas.heller | 2008-08-19 12:47:13 -0500 (Tue, 19 Aug 2008) | 2 lines Fix strange character in the docstring. ........ r65861 | benjamin.peterson | 2008-08-19 12:59:23 -0500 (Tue, 19 Aug 2008) | 1 line get unparse to at least unparse its self ........
* #2834: Change re module semantics, so that str and bytes mixing is forbidden,Antoine Pitrou2008-08-1933-110/+170
| | | | | and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead.
* Merged revisions 65855 via svnmerge fromBenjamin Peterson2008-08-191-3/+5
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r65855 | benjamin.peterson | 2008-08-19 11:41:34 -0500 (Tue, 19 Aug 2008) | 13 lines Merged revisions 65853-65854 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r65853 | benjamin.peterson | 2008-08-19 11:09:09 -0500 (Tue, 19 Aug 2008) | 1 line apply a patch for #3131. this solves the problem for the moment, but we should do some refactoring to get display logic out of RefactoringTool ........ r65854 | benjamin.peterson | 2008-08-19 11:37:38 -0500 (Tue, 19 Aug 2008) | 1 line another quick fix to get lib2to3 to work ........ ................
* fix possible errorBenjamin Peterson2008-08-191-1/+4
|
* make test_threading more robust for realBenjamin Peterson2008-08-191-3/+1
|
* Merged revisions 65681-65682,65684 via svnmerge fromThomas Heller2008-08-192-2/+12
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65681 | thomas.heller | 2008-08-14 21:10:48 +0200 (Do, 14 Aug 2008) | 4 lines issue #3554: ctypes.string_at and ctypes.wstring_at must use the pythonapi calling convention so that the GIL is held and error return values are checked. ........ r65682 | thomas.heller | 2008-08-14 22:04:38 +0200 (Do, 14 Aug 2008) | 2 lines Try to fix the test on 64-bit platforms. ........ r65684 | thomas.heller | 2008-08-14 22:19:18 +0200 (Do, 14 Aug 2008) | 2 lines Disable the test until I have one that works. ........
* Fix and enable a test that now works.Thomas Heller2008-08-191-3/+3
|
* make test more robustBenjamin Peterson2008-08-191-1/+2
|
* fix get_name usageBenjamin Peterson2008-08-181-10/+10
|
* add full deprecation warnings for old threading APIsBenjamin Peterson2008-08-182-1/+66
|
* - Issue #3300: make urllib.parse.[un]quote() default to UTF-8.Guido van Rossum2008-08-186-72/+376
| | | | | | | | Code contributed by Matt Giuca. quote() now encodes the input before quoting, unquote() decodes after unquoting. There are new arguments to change the encoding and errors settings. There are also new APIs to skip the encode/decode steps. [un]quote_plus() are also affected.
* Merged revisions 65829 via svnmerge fromBenjamin Peterson2008-08-181-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65829 | benjamin.peterson | 2008-08-18 13:39:57 -0500 (Mon, 18 Aug 2008) | 1 line fix old API names in test_ssl ........
* fix set_daemon usage in subprocessBenjamin Peterson2008-08-181-2/+2
|
* fix bsddb get_name and set_daemon usageBenjamin Peterson2008-08-181-2/+2
|
* Merged revisions 65828 via svnmerge fromBenjamin Peterson2008-08-184-12/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65828 | benjamin.peterson | 2008-08-18 13:31:58 -0500 (Mon, 18 Aug 2008) | 1 line patch up multiprocessing until it's API can be changed too ........
* Merged revisions 65826 via svnmerge fromBenjamin Peterson2008-08-181-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65826 | benjamin.peterson | 2008-08-18 13:13:17 -0500 (Mon, 18 Aug 2008) | 1 line bring back the old API ........
* Merged revisions 65824 via svnmerge fromBenjamin Peterson2008-08-186-16/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65824 | benjamin.peterson | 2008-08-18 13:01:43 -0500 (Mon, 18 Aug 2008) | 1 line change a few uses of the threading APIs ........
* change is_daemon, set_daemon, get_name, and set_name to propertiesBenjamin Peterson2008-08-182-18/+22
| | | | I'm add add warnings and backport this to 2.6 soon
* Merged revisions 65818 via svnmerge fromBenjamin Peterson2008-08-182-3/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65818 | benjamin.peterson | 2008-08-18 11:40:03 -0500 (Mon, 18 Aug 2008) | 4 lines change threading.getIdent to a property This is new in 2.6 so now need to worry about backwards compatibility :) ........
* Forward port only Py3k relevant change in r65642 (giving it a Py3k NEWS ↵Nick Coghlan2008-08-181-0/+2
| | | | entry anyway because of the difference in the changes between the two branches)
* ReferenceError is undefined. causes test___all__.py to fail. remove it ↵Gregory P. Smith2008-08-181-1/+1
| | | | from __all__
* Partially revert r65795 by undoing change to 'os'.Brett Cannon2008-08-181-1/+1
|
* Merged revisions 65795 via svnmerge fromBrett Cannon2008-08-183-3/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65795 | brett.cannon | 2008-08-17 17:46:22 -0700 (Sun, 17 Aug 2008) | 3 lines Update __all__ for cookielib, csv, os, and urllib2 for objects imported into the module but exposed as part of the API. ........