summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue 3395, update _debugInfo to be _debug_infoJesse Noller2008-07-171-1/+1
|
* Backed out r65069, pending fixing it in Windows.Eric Smith2008-07-172-22/+2
|
* catch socket.error errors in badCertTestBill Janssen2008-07-171-0/+3
|
* Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.Eric Smith2008-07-172-2/+22
|
* try to fix test_threading on the Windows botBenjamin Peterson2008-07-171-1/+2
|
* Byte items *can* be chars in 2.6.Georg Brandl2008-07-161-1/+2
|
* #3156: fix consistency in what type bytearray methods accept as items.Georg Brandl2008-07-161-16/+25
| | | | Also rename confusing "item" parameters to "index".
* #3305: self->stream can be NULL.Georg Brandl2008-07-161-0/+9
|
* Apply patch for 874900: threading module can deadlock after forkJesse Noller2008-07-161-1/+79
|
* lib2to3 isn't broken anymore, so we can run the testBenjamin Peterson2008-07-161-2/+1
|
* Issue #3360: Fix incorrect parsing of "020000000000.0".Mark Dickinson2008-07-161-0/+4
|
* disable lib2to3 in the trunk. It's broken just for 2.6Benjamin Peterson2008-07-161-1/+2
|
* Complete issue 3083: add alternate (#) formatting to bin, oct, hex in ↵Eric Smith2008-07-161-1/+12
| | | | str.format().
* Fix float.from_hex tests. It appears that Linux/ia64 doesn't likeMark Dickinson2008-07-151-4/+4
| | | | | computing 2.0**-1074 accurately. Using ldexp(1.0, -1074) should be safer.
* Issue #3008: add instance method float.hex and class method float.fromhexMark Dickinson2008-07-151-1/+386
| | | | to convert floats to and from hexadecimal strings respectively.
* Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵Nick Coghlan2008-07-154-66/+89
| | | | be blocked explicitly so that collections.Hashable remains meaningful
* Added '#' formatting to integers. This adds the 0b, 0o, or 0x prefix for ↵Eric Smith2008-07-152-0/+45
| | | | bin, oct, hex. There's still one failing case, and I need to finish the docs. I hope to finish those today.
* fix test_py3kwarnsBenjamin Peterson2008-07-141-18/+19
| | | | The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
* 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-131-0/+1
| | | | | | | should have returned True. Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi for attempting a patch.
* 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.