summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed test for asyncore.Josiah Carlson2008-07-111-3/+3
|
* #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.
* Added garbage collector overhead and optional default return value toRobert Schuppenies2008-07-101-0/+23
| | | | sys.getsizeof.
* 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-101-8/+4
|
* Issue 3301: Bisect functions behaved badly when lo was negative.Raymond Hettinger2008-07-101-0/+8
|
* Fixed Issue3122 and extended sys.getsizeof tests for built-in types.Robert Schuppenies2008-07-101-67/+172
|
* Issue 3287: Raise correct exception for float inputs.Raymond Hettinger2008-07-101-4/+4
|
* 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
|
* Fixed bugs 760475, 953599, and 1519.Josiah Carlson2008-07-071-2/+8
|
* - 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.
* remove test_compact_freelists from test_sysBenjamin Peterson2008-07-061-19/+0
|
* 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
|
* 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-051-0/+76
| | | | 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-032-1/+73
| | | | | | | | | 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
|
* Reenable the manager tests with Amaury's threading fixJesse Noller2008-07-021-17/+13
|
* Issue 3190: pydoc now hides module __package__ attributesNick Coghlan2008-07-021-2/+0
|
* Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sureMark Dickinson2008-07-021-0/+3
| | | | | | | | 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-022-13/+21
| | | | | | | | * 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
|
* fix typoBenjamin Peterson2008-06-281-1/+1
|
* convert test_audioop to unittest. Thanks to Giampaolo Rodola.Benjamin Peterson2008-06-281-264/+147
|
* make sure we close the active channels when eof is received on themBill Janssen2008-06-281-0/+1
|
* various SSL fixes; issues 1251, 3162, 3212Bill Janssen2008-06-282-33/+245
|
* Remove trailing 'L's from numerator and denominator in theMark Dickinson2008-06-271-0/+4
| | | | repr() of a Fraction instance.
* warnings.warn_explicit() did not have the proper TypeErrors in place to preventBrett Cannon2008-06-271-0/+15
| | | | | | | | bus errors or SystemError being raised. As a side effect of fixing this, a bad DECREF that could be triggered when 'message' and 'category' were both None was fixed. Closes issue 3211. Thanks JP Calderone for the bug report.
* Corrected inconsistencies in sizeof tests and addressed issue pointedRobert Schuppenies2008-06-261-12/+12
| | | | out by Jean Brouwers.
* Reverting the patch from #3165, as it broke otherFacundo Batista2008-06-251-10/+22
| | | | | | | | | behaviours. I left the original test commented out (note that that test came from #2702, which seems to have a problem in FreeBSD and Windows, but not in Linux). I included a new test, to watch over the now-broken behaviour, I took it from #3179.
* Issue 3147: Fixed SizeofTest failure for LLP64 systems.Robert Schuppenies2008-06-251-71/+60
|
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-242-28/+1
|
* Fixed formatting with thousands separator and padding. Resolves issue 3140.Eric Smith2008-06-241-0/+8
|
* Issue 3161: Missing import and test.Raymond Hettinger2008-06-231-0/+15
|
* Fixing the problem stated in issue 2702 with the patch submittedFacundo Batista2008-06-221-2/+18
| | | | | in the issue 3165. Now cPickle does not fails with uncontrolled behaviour when pickling into a very deep nested structure.
* Just returning nothing instead of rising TestSkipped, becauseFacundo Batista2008-06-221-1/+5
| | | | it makes the test fail in the trunk.loewis-sun buildbot.
* Trying to see if the problem in Martin's buildot is atFacundo Batista2008-06-221-1/+4
| | | | directory creation time...
* Trying to see if the @ in a path is causing the issue in theFacundo Batista2008-06-221-1/+1
| | | | shutil.rmtree() in the trunk.loewis-sun buildbot.
* Issue #2722. Now the char buffer to support the path string hasFacundo Batista2008-06-221-0/+33
| | | | | not fixed length, it mallocs memory if needed. As a result, we don't have a maximum for the getcwd() method.
* Now a from submitted via POST that also has a query stringFacundo Batista2008-06-211-0/+88
| | | | | | will contain both FieldStorage and MiniFieldStorage items. Fixes #1817.
* Fixed issue #2888. Now the behaviour of pprint when working with nestedFacundo Batista2008-06-211-0/+11
| | | | structures follows the common sense (and works like in 2.5 and 3.0).
* Use repr() for bad input strings; this makes the empty string or binary ↵Andrew M. Kuchling2008-06-211-9/+9
| | | | characters more visible