summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3708: os.urandom no longer goes into an infinite loop when passed aGregory P. Smith2008-09-022-5/+11
| | | | non-integer floating point number.
* Improve compatibility with Python3.0 testsuiteJesus Cea2008-09-022-6/+11
|
* Move test.test_support.catch_warning() to the warnings module, rename itBrett Cannon2008-09-028-122/+143
| | | | | | | | | | | catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.
* remove py3k warnings about the threading api; update docsBenjamin Peterson2008-09-012-66/+21
| | | | Reviewer: Benjamin Peterson
* In Python3.0, "test.test_support" is renamed to "test.support".Jesus Cea2008-09-011-1/+4
|
* Issue #3751: str.rpartition would perform a left-partition when called withAmaury Forgeot d'Arc2008-09-011-0/+5
| | | | | | a unicode argument. will backport.
* Merged revisions 65887,65889,65967-65968,65981 via svnmerge fromBenjamin Peterson2008-09-016-13/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r65887 | benjamin.peterson | 2008-08-19 17:45:04 -0500 (Tue, 19 Aug 2008) | 1 line allow the raw_input fixer to handle calls after the raw_input (ie. raw_input().split()) ........ r65889 | benjamin.peterson | 2008-08-19 18:11:03 -0500 (Tue, 19 Aug 2008) | 1 line no need for 2.4 compatibility now ........ r65967 | benjamin.peterson | 2008-08-21 18:43:37 -0500 (Thu, 21 Aug 2008) | 1 line allow a Call to have no arguments ........ r65968 | benjamin.peterson | 2008-08-21 18:45:13 -0500 (Thu, 21 Aug 2008) | 1 line add a fixer for sys.exc_info etc by Jeff Balogh #2357 ........ r65981 | benjamin.peterson | 2008-08-22 15:41:30 -0500 (Fri, 22 Aug 2008) | 1 line add a fixer to add parenthese for list and gen comps #2367 ........
* revert r66114 for JesseBenjamin Peterson2008-09-015-39/+146
|
* Submit Nick's patch for issue 3589, reviewed by jnollerJesse Noller2008-09-014-132/+32
|
* Issue #3748: platform.architecture() printed vogus message on windows.Hirokazu Yamamoto2008-09-011-0/+3
| | | | Reviewed by Marc-Andre Lemburg.
* logging: fixed lack of use of encoding attribute specified on a stream.Vinay Sajip2008-09-011-5/+10
|
* Issue #3732: Backported r53335 to supress deprecation warning.Hirokazu Yamamoto2008-09-011-5/+5
| | | | Reviewed by Benjamin Peterson.
* #3703 unhelpful _fileio.FileIO error message when trying to open a directoryBenjamin Peterson2008-09-011-0/+11
| | | | Reviewer: Gregory P. Smith
* issue3715: docstring representation of hex escaped string needs to be doubleGregory P. Smith2008-08-311-1/+1
| | | | escaped.
* Update bsddb code to version 4.7.3pre2. This code shouldJesus Cea2008-08-3124-405/+899
| | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
* #3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.Georg Brandl2008-08-301-3/+3
|
* A collection of crashers, all variants of the ideaArmin Rigo2008-08-291-0/+53
| | | | of issue #3720.
* Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as toAntoine Pitrou2008-08-263-6/+62
| | | | | | | | | | match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger.
* Try to reduce the flakiness of this testNeal Norwitz2008-08-251-0/+4
|
* Use bytes as return type from recv_bytes() methods. Not sure why this onlyNeal Norwitz2008-08-251-3/+3
| | | | | | | affects some buildbots. R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
* Fix problem reported by pychecker where AuthenticationError wasn't imported.Neal Norwitz2008-08-252-2/+34
| | | | | | | Add some test coverage to this code. More tests should be added (TODO added). R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
* #3662: Fix segfault introduced when fixing memory leaks.Neal Norwitz2008-08-241-0/+4
| | | | | TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin
* #3654: fix duplicate test method name. Review by Benjamin P.Georg Brandl2008-08-241-4/+2
|
* generate py3k warnings on __getslice__, __delslice__, and __setslice__Benjamin Peterson2008-08-241-0/+22
| | | | Reviewer: Brett Cannon
* Fix:Neal Norwitz2008-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix bug 3625: test issues on 64bit windows. r=pitrouMark Hammond2008-08-233-3/+3
|
* fix a few get_name() calls and turn then to .nameBenjamin Peterson2008-08-221-4/+4
| | | | Reviewer: Christian Heimes
* Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson.Robert Schuppenies2008-08-221-5/+7
|
* Fix float.fromhex test to give additional information on failure. ThisMark Dickinson2008-08-211-1/+7
| | | | | | change is aimed at diagnosing issue 3633 (test_float fails on Solaris). Reviewed by Benjamin Peterson
* Bump to 2.6b3.v2.6b3Barry Warsaw2008-08-212-2/+2
|
* Reverted r65900. See ↵Hirokazu Yamamoto2008-08-201-7/+3
| | | | http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
* Issue #3612: Added some missing basic types in ctypes.wintypes.Hirokazu Yamamoto2008-08-201-11/+18
|
* fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on ↵Hirokazu Yamamoto2008-08-201-5/+8
| | | | trunk)
* fix silly errors of mineBenjamin Peterson2008-08-201-3/+3
|
* newSymbolTable is not public APIBenjamin Peterson2008-08-201-3/+2
|
* deprecate some useless, noop methods in symtableBenjamin Peterson2008-08-202-7/+27
|
* follow-up of issue3473: update the compiler package to recognize the new syntax.Amaury Forgeot d'Arc2008-08-202-26/+33
|
* check that the parser module can handle the new keyword syntaxBenjamin Peterson2008-08-191-0/+1
|
* Merged revisions 65876 via svnmerge fromBenjamin Peterson2008-08-191-0/+2
| | | | | | | | | | 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 ........
* allow keyword args to be passed in after *args #3473Benjamin Peterson2008-08-191-0/+8
|
* Fix a regression introduced by rev. 63792: ctypes function pointersThomas Heller2008-08-191-1/+6
| | | | that are COM methods must have a boolean True value.
* silence callable warning in hmacBenjamin Peterson2008-08-191-1/+1
|
* issue3352: clean up the multiprocessing API to remove many get_/set_ methods ↵Jesse Noller2008-08-199-72/+66
| | | | and convert them to properties. Update the docs and the examples included.
* Merged revisions 65853-65854 via svnmerge fromBenjamin Peterson2008-08-191-3/+5
| | | | | | | | | | | | | | 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 ........
* add py3k warnings for old threading APIsBenjamin Peterson2008-08-182-1/+45
| | | | they will still live in 3.0 but it can't hurt
* #2234 distutils failed with mingw binutils 2.18.50.20080109.Amaury Forgeot d'Arc2008-08-181-4/+4
| | | | | Be less strict when parsing these version numbers, they don't necessarily follow the python numbering scheme.
* fix old API names in test_sslBenjamin Peterson2008-08-181-4/+4
|
* patch up multiprocessing until it's API can be changed tooBenjamin Peterson2008-08-184-11/+17
|
* bring back the old APIBenjamin Peterson2008-08-181-0/+12
|
* change a few uses of the threading APIsBenjamin Peterson2008-08-186-16/+16
|