summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed test failure on Win64 machines.Robert Schuppenies2008-07-141-8/+5
|
* remove sys.version_info check for 3.0Benjamin Peterson2008-07-131-5/+1
|
* remove bytes aliasBenjamin Peterson2008-07-131-7/+0
|
* Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError ↵Nick Coghlan2008-07-131-3/+33
| | | | when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
* Make test.test_support.catch_warnings more robust as discussed on ↵Nick Coghlan2008-07-134-63/+94
| | | | python-dev. Also add explicit tests for itto test_warnings.
* dummy_thread.acquire() would return None if no waitflag argument was given. ItBrett Cannon2008-07-132-6/+4
| | | | | | | should have returned True. Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi for attempting a patch.
* #1778443 robotparser fixes from Aristotelis MikropoulosBenjamin Peterson2008-07-121-6/+3
|
* Fixed test for asyncore.Josiah Carlson2008-07-111-3/+3
|
* Fix for the AttributeError in test_asynchat.Josiah Carlson2008-07-111-1/+1
|
* #3342: In tracebacks, printed source lines were not indented since r62555.Amaury Forgeot d'Arc2008-07-111-1/+1
| | | | #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
* #3317 in zipfile module, restore the previous names of global variables:Amaury Forgeot d'Arc2008-07-111-55/+27
| | | | | | some applications relied on them. Also remove duplicated lines.
* Added garbage collector overhead and optional default return value toRobert Schuppenies2008-07-101-0/+23
| | | | sys.getsizeof.
* Suppress -3 warnings in unittest.pyRaymond Hettinger2008-07-101-5/+12
|
* Clear the -3 warnings in optparse.pyRaymond Hettinger2008-07-101-15/+9
|
* Added additional __sizeof__ implementations and addressed comments made inRobert Schuppenies2008-07-101-18/+47
| | | | Issue3122.
* Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.Raymond Hettinger2008-07-102-10/+10
|
* Issue 3301: Bisect functions behaved badly when lo was negative.Raymond Hettinger2008-07-102-0/+16
|
* Fixed Issue3122 and extended sys.getsizeof tests for built-in types.Robert Schuppenies2008-07-101-67/+172
|
* Use operator.index() instead of n.__index__().Raymond Hettinger2008-07-101-5/+2
|
* Issue 3287: Raise correct exception for float inputs.Raymond Hettinger2008-07-102-7/+9
|
* Issue 2517: Allow unicode messages in Exceptions again by correctly ↵Nick Coghlan2008-07-081-0/+1
| | | | bypassing the instance dictionary when looking up __unicode__ on new-style classes
* Issue 3306. Better control for a lenght in findmax() function.Facundo Batista2008-07-071-0/+4
|
* - Issue #3094: httplib.HTTPSConnection Host: headers no longer include theGregory P. Smith2008-07-071-1/+1
| | | | | redundant ":443" port number designation when the connection is using the default https port (443).
* Fixed bugs 760475, 953599, and 1519.Josiah Carlson2008-07-073-6/+14
|
* - Issue #3309: Fix bz2.BZFile itererator to release its internal lockGregory P. Smith2008-07-071-0/+11
| | | | | properly when raising an exception due to the bz2file being closed. Prevents a deadlock.
* Issue839496: SimpleHTTPServer should open all files in binary mode.Amaury Forgeot d'Arc2008-07-061-5/+4
| | | | | | | | Forward-port of 38255 (2005/01/15!) This was already fixed in 2.4, but never merged into trunk... py3k is already right, thanks to the bytes/str distinction! Should be backported to 2.5.
* remove test_compact_freelists from test_sysBenjamin Peterson2008-07-061-19/+0
|
* - Issue #2113: Fix error in subprocess.Popen if the select system call isGregory P. Smith2008-07-061-1/+6
| | | | interrupted by a signal.
* Issue #3239. Differentiate the ascii call from the curses one andFacundo Batista2008-07-051-18/+19
| | | | the builtin one.
* Keep below 80 chars.Georg Brandl2008-07-051-2/+2
|
* make regrtest aware of the lib2to3 resourceBenjamin Peterson2008-07-051-1/+3
|
* Disable lib2to3 by default, unless run explicitly.Martin v. Löwis2008-07-051-1/+5
|
* Merged revisions 64285-64735 via svnmerge fromMartin v. Löwis2008-07-052-4/+6
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r64493 | benjamin.peterson | 2008-06-24 04:14:14 +0200 (Di, 24 Jun 2008) | 1 line add a fix_import mapping for cPickle -> pickle ........ r64651 | brett.cannon | 2008-07-02 04:00:11 +0200 (Mi, 02 Jul 2008) | 3 lines Update fix_imports for urllib. Had to change the fixer itself to handle modules that are split across several renames in 3.0. ........ r64669 | brett.cannon | 2008-07-02 21:43:48 +0200 (Mi, 02 Jul 2008) | 4 lines Backing out last change until fix_imports is working again. Also re-enable the testing for fix_imports; if it is deemed that it takes too long to run then a random sample should be taken and used to test it. ........
* Issue 3188: accept float('infinity') as well as float('inf'). ThisMark Dickinson2008-07-051-1/+17
| | | | | | makes the float constructor behave in the same way as specified by various other language standards, including C99, IEEE 754r, and the IBM Decimal standard.
* #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.Georg Brandl2008-07-052-2/+109
| | | | This is a new feature, but Barry authorized adding it in the beta period.
* Patch #1622: Correct interpretation of various ZIP header fields.Martin v. Löwis2008-07-033-100/+277
| | | | | | | | | Also fixes - Issue #1526: Allow more than 64k files to be added to Zip64 file. - Issue #1746: Correct handling of zipfile archive comments (previously archives with comments over 4k were flagged as invalid). Allow writing Zip files with archives by setting the 'comment' attribute of a ZipFile.
* Revert r64673 and instead just change the file encoding.Brett Cannon2008-07-021-3/+3
|
* FIx some Latin-1 characters to be UTF-8 as the file encoding specifies.Brett Cannon2008-07-021-2/+2
| | | | Closes issue #3261. THankjs Leo Soto for the bug report.
* Add #!/usr/bin/env python for benJesse Noller2008-07-021-0/+2
|
* Issue #449227: Now with the rlcompleter module, callable objects areFacundo Batista2008-07-021-6/+14
| | | | added a '(' when completed.
* Reenable the manager tests with Amaury's threading fixJesse Noller2008-07-021-17/+13
|
* Issue 3190: pydoc now hides module __package__ attributesNick Coghlan2008-07-022-4/+3
|
* Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sureMark Dickinson2008-07-022-10/+13
| | | | | | | | that the behaviour of Decimal doesn't change if/when re.UNICODE becomes assumed in Python 3.0. Also add a check that alternative Unicode digits (e.g. u'\N{FULLWIDTH DIGIT ONE}') are *not* accepted in a numeric string.
* Handle urllib's renaming for Python 3.0:Brett Cannon2008-07-023-14/+27
| | | | | | | | * Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0. * Update docs to mention split/rename of the module and deprecation of urlopen(). Changes to lib2to3 are in a separate commit. Work is for issue #2885.
* #3242: fix a crash in "print", if sys.stdout is set to a custom object,Amaury Forgeot d'Arc2008-07-011-1/+19
| | | | | | whose write() method installs another sys.stdout. Will backport.
* #3219 repeated keyword arguments aren't allowed in function calls anymoreBenjamin Peterson2008-07-011-0/+5
|
* #Issue3088 in-progress: Race condition with instances of classes derived ↵Amaury Forgeot d'Arc2008-06-301-0/+26
| | | | | | | | | | | | | from threading.local: When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Also a 2.5 backport candidate.
* Fix #2702, with a correct accounting of recursion.Facundo Batista2008-06-301-15/+11
|
* Removed out-of-date comment in _install_handlers andVinay Sajip2008-06-291-2/+1
| | | | used issubclass in place of equality comparison of classes.
* fix typoBenjamin Peterson2008-06-281-1/+1
|