summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue 2264: empty float presentation type needs to have at least one digit ↵Eric Smith2008-03-173-18/+76
| | | | | | | | | past the decimal point. Added "Z" format_char to PyOS_ascii_formatd to support empty float presentation type. Renamed buf_size in PyOS_ascii_formatd to more accurately reflect it's meaning. Modified format.__float__ to use the new "Z" format as the default. Added test cases.
* Added a footnote to each pointing out that for XML output if an encodingMark Summerfield2008-03-173-5/+29
| | | | | string is given it should conform to the appropriate XML standards---for example, "UTF-8" is okay, but "UTF8" is not.
* Clarified documentation on use of shutdown().Vinay Sajip2008-03-161-1/+2
|
* #2299: typos in newtypes.rst.Georg Brandl2008-03-161-3/+3
|
* Update docs to reflect removal of Exact/InexactRaymond Hettinger2008-03-161-26/+4
|
* Handle memory allocation failure. Found by Adam OlsenNeal Norwitz2008-03-151-2/+3
|
* Add a warning for code like:Neal Norwitz2008-03-152-0/+10
| | | | | | | | | | assert (0, 'message') An empty tuple does not create a warning. While questionable usage: assert (), 'message' should not display a warning. Tested manually. The warning message could be improved. Feel free to update it.
* Zap one more use of Exact/Inexact.Raymond Hettinger2008-03-151-1/+1
|
* Removed Exact/Inexact after discussion with Yasskin.Raymond Hettinger2008-03-152-63/+4
| | | | | | | | | | | | | | | Unlike Scheme where exactness is implemented as taints, the Python implementation associated exactness with data types. This created inheritance issues (making an exact subclass of floats would result in the subclass having both an explicit Exact registration and an inherited Inexact registration). This was a problem for the decimal module which was designed to span both exact and inexact arithmetic. There was also a question of use cases and no examples were found where ABCs for exactness could be used to improve code. One other issue was having separate tags for both the affirmative and negative cases. This is at odds with the approach taken elsewhere in the Python (i.e. we don't have an ABC both Hashable and Unhashable).
* .Skip Montanaro2008-03-151-0/+4
|
* add %f format to datetime - issue 1158Skip Montanaro2008-03-156-80/+181
|
* note that fork and forkpty raise OSError on failureSkip Montanaro2008-03-151-2/+4
|
* Fix lots of broken links in the docs, found by Sphinx' external link checker.Georg Brandl2008-03-1527-65/+45
|
* Remove obsolete paragraph. #2288.Georg Brandl2008-03-141-4/+0
|
* Run debug version, cd to PCbuild.Martin v. Löwis2008-03-141-2/+2
|
* Remove unneeded initializer.Thomas Heller2008-03-141-1/+1
|
* Issue 705836: Fix struct.pack(">f", 1e40) to behave consistentlyMark Dickinson2008-03-143-9/+13
| | | | | | | | | | across platforms: it should now raise OverflowError on all platforms. (Previously it raised OverflowError only on non IEEE 754 platforms.) Also fix the (already existing) test for this behaviour so that it actually raises TestFailed instead of just referencing it.
* Remove a bad test.Brett Cannon2008-03-141-1/+0
|
* Use -x64 flag.Martin v. Löwis2008-03-141-2/+2
|
* Patch #2284: add -x64 option to rt.bat.Martin v. Löwis2008-03-142-4/+14
|
* Leave heapreplace() unchanged.Raymond Hettinger2008-03-141-5/+0
|
* Convert test_fcntl to unittest.Brett Cannon2008-03-132-63/+85
| | | | Closes issue #2055. Thanks Giampaolo Rodola.
* Move test_gdbm to use unittest.Brett Cannon2008-03-133-42/+82
| | | | Closes issue #1960. Thanks Giampaolo Rodola.
* Convert test_contains, test_crypt, and test_select to unittest.Brett Cannon2008-03-134-77/+68
| | | | Patch from GHOP 294 by David Marek.
* Move test_tokenize to doctest.Brett Cannon2008-03-134-845/+501
| | | | Done as GHOP 238 by Josip Dzolonga.
* Move test_thread over to unittest. Commits GHOP 237.Brett Cannon2008-03-133-165/+153
| | | | Thanks Benjamin Peterson for the patch.
* Simplify the nlargest() code using heappushpop().Raymond Hettinger2008-03-131-6/+2
|
* Issue 2274: Add heapq.heappushpop().Raymond Hettinger2008-03-135-2/+95
|
* Consistent tense.Raymond Hettinger2008-03-131-1/+1
|
* Add 2-to-3 support for the itertools moved to builtins or renamed.Raymond Hettinger2008-03-131-0/+25
|
* Add class decoratorsAndrew M. Kuchling2008-03-131-1/+8
|
* #1720705: add docs about import/threading interaction, wording by Nick.Georg Brandl2008-03-131-0/+23
|
* #2270: fix typo.Georg Brandl2008-03-131-1/+1
|
* #2265: fix example.Georg Brandl2008-03-131-1/+1
|
* Improve docs for itemgetter(). Show that it works with slices.Raymond Hettinger2008-03-111-12/+33
|
* Fix the overflows in expandtabs(). "This time for sure!"Guido van Rossum2008-03-112-50/+65
| | | | (Exploit at request.)
* Add recipe to docs.Raymond Hettinger2008-03-112-0/+14
|
* Introduce a lock to fix a race condition which caused an exception in the test.Neal Norwitz2008-03-091-6/+16
| | | | | Some buildbots were consistently failing (e.g., amd64). Also remove a couple of semi-colons.
* Update for newest Sphinx.Georg Brandl2008-03-091-3/+4
|
* #2249: document assertTrue and assertFalse.Georg Brandl2008-03-091-0/+2
|
* Well that was dumb. platform.python_implementation returns a function, not aJeffrey Yasskin2008-03-081-2/+3
| | | | string.
* Fix pybench for pythons < 2.6, tested back to 2.3.Jeffrey Yasskin2008-03-081-2/+2
|
* Add tests for with and finally performance to pybench.Jeffrey Yasskin2008-03-082-0/+194
|
* Issue 1106316. post_mortem()'s parameter, traceback, is nowFacundo Batista2008-03-083-3/+20
| | | | | optional: it defaults to the traceback of the exception that is currently being handled.
* #1533486: fix types in refcount intro.Georg Brandl2008-03-081-1/+1
|
* Add new name for Mandrake: Mandriva.Marc-André Lemburg2008-03-081-3/+4
|
* #2253: fix continue vs. finally docs.Georg Brandl2008-03-081-6/+5
|
* Grammar fixAndrew M. Kuchling2008-03-071-1/+1
|
* Speed up with statements by storing the __exit__ method on the stack instead ↵Nick Coghlan2008-03-076-55/+77
| | | | of in a temp variable (bumps the magic number for pyc files)
* Progress on issue #1193577 by adding a polling .shutdown() method toJeffrey Yasskin2008-03-074-86/+118
| | | | | | SocketServers. The core of the patch was written by Pedro Werneck, but any bugs are mine. I've also rearranged the code for timeouts in order to avoid interfering with the shutdown poll.