Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 2264: empty float presentation type needs to have at least one digit ↵ | Eric Smith | 2008-03-17 | 3 | -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 encoding | Mark Summerfield | 2008-03-17 | 3 | -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 Sajip | 2008-03-16 | 1 | -1/+2 |
| | |||||
* | #2299: typos in newtypes.rst. | Georg Brandl | 2008-03-16 | 1 | -3/+3 |
| | |||||
* | Update docs to reflect removal of Exact/Inexact | Raymond Hettinger | 2008-03-16 | 1 | -26/+4 |
| | |||||
* | Handle memory allocation failure. Found by Adam Olsen | Neal Norwitz | 2008-03-15 | 1 | -2/+3 |
| | |||||
* | Add a warning for code like: | Neal Norwitz | 2008-03-15 | 2 | -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 Hettinger | 2008-03-15 | 1 | -1/+1 |
| | |||||
* | Removed Exact/Inexact after discussion with Yasskin. | Raymond Hettinger | 2008-03-15 | 2 | -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 Montanaro | 2008-03-15 | 1 | -0/+4 |
| | |||||
* | add %f format to datetime - issue 1158 | Skip Montanaro | 2008-03-15 | 6 | -80/+181 |
| | |||||
* | note that fork and forkpty raise OSError on failure | Skip Montanaro | 2008-03-15 | 1 | -2/+4 |
| | |||||
* | Fix lots of broken links in the docs, found by Sphinx' external link checker. | Georg Brandl | 2008-03-15 | 27 | -65/+45 |
| | |||||
* | Remove obsolete paragraph. #2288. | Georg Brandl | 2008-03-14 | 1 | -4/+0 |
| | |||||
* | Run debug version, cd to PCbuild. | Martin v. Löwis | 2008-03-14 | 1 | -2/+2 |
| | |||||
* | Remove unneeded initializer. | Thomas Heller | 2008-03-14 | 1 | -1/+1 |
| | |||||
* | Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently | Mark Dickinson | 2008-03-14 | 3 | -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 Cannon | 2008-03-14 | 1 | -1/+0 |
| | |||||
* | Use -x64 flag. | Martin v. Löwis | 2008-03-14 | 1 | -2/+2 |
| | |||||
* | Patch #2284: add -x64 option to rt.bat. | Martin v. Löwis | 2008-03-14 | 2 | -4/+14 |
| | |||||
* | Leave heapreplace() unchanged. | Raymond Hettinger | 2008-03-14 | 1 | -5/+0 |
| | |||||
* | Convert test_fcntl to unittest. | Brett Cannon | 2008-03-13 | 2 | -63/+85 |
| | | | | Closes issue #2055. Thanks Giampaolo Rodola. | ||||
* | Move test_gdbm to use unittest. | Brett Cannon | 2008-03-13 | 3 | -42/+82 |
| | | | | Closes issue #1960. Thanks Giampaolo Rodola. | ||||
* | Convert test_contains, test_crypt, and test_select to unittest. | Brett Cannon | 2008-03-13 | 4 | -77/+68 |
| | | | | Patch from GHOP 294 by David Marek. | ||||
* | Move test_tokenize to doctest. | Brett Cannon | 2008-03-13 | 4 | -845/+501 |
| | | | | Done as GHOP 238 by Josip Dzolonga. | ||||
* | Move test_thread over to unittest. Commits GHOP 237. | Brett Cannon | 2008-03-13 | 3 | -165/+153 |
| | | | | Thanks Benjamin Peterson for the patch. | ||||
* | Simplify the nlargest() code using heappushpop(). | Raymond Hettinger | 2008-03-13 | 1 | -6/+2 |
| | |||||
* | Issue 2274: Add heapq.heappushpop(). | Raymond Hettinger | 2008-03-13 | 5 | -2/+95 |
| | |||||
* | Consistent tense. | Raymond Hettinger | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | Add 2-to-3 support for the itertools moved to builtins or renamed. | Raymond Hettinger | 2008-03-13 | 1 | -0/+25 |
| | |||||
* | Add class decorators | Andrew M. Kuchling | 2008-03-13 | 1 | -1/+8 |
| | |||||
* | #1720705: add docs about import/threading interaction, wording by Nick. | Georg Brandl | 2008-03-13 | 1 | -0/+23 |
| | |||||
* | #2270: fix typo. | Georg Brandl | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | #2265: fix example. | Georg Brandl | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | Improve docs for itemgetter(). Show that it works with slices. | Raymond Hettinger | 2008-03-11 | 1 | -12/+33 |
| | |||||
* | Fix the overflows in expandtabs(). "This time for sure!" | Guido van Rossum | 2008-03-11 | 2 | -50/+65 |
| | | | | (Exploit at request.) | ||||
* | Add recipe to docs. | Raymond Hettinger | 2008-03-11 | 2 | -0/+14 |
| | |||||
* | Introduce a lock to fix a race condition which caused an exception in the test. | Neal Norwitz | 2008-03-09 | 1 | -6/+16 |
| | | | | | Some buildbots were consistently failing (e.g., amd64). Also remove a couple of semi-colons. | ||||
* | Update for newest Sphinx. | Georg Brandl | 2008-03-09 | 1 | -3/+4 |
| | |||||
* | #2249: document assertTrue and assertFalse. | Georg Brandl | 2008-03-09 | 1 | -0/+2 |
| | |||||
* | Well that was dumb. platform.python_implementation returns a function, not a | Jeffrey Yasskin | 2008-03-08 | 1 | -2/+3 |
| | | | | string. | ||||
* | Fix pybench for pythons < 2.6, tested back to 2.3. | Jeffrey Yasskin | 2008-03-08 | 1 | -2/+2 |
| | |||||
* | Add tests for with and finally performance to pybench. | Jeffrey Yasskin | 2008-03-08 | 2 | -0/+194 |
| | |||||
* | Issue 1106316. post_mortem()'s parameter, traceback, is now | Facundo Batista | 2008-03-08 | 3 | -3/+20 |
| | | | | | optional: it defaults to the traceback of the exception that is currently being handled. | ||||
* | #1533486: fix types in refcount intro. | Georg Brandl | 2008-03-08 | 1 | -1/+1 |
| | |||||
* | Add new name for Mandrake: Mandriva. | Marc-André Lemburg | 2008-03-08 | 1 | -3/+4 |
| | |||||
* | #2253: fix continue vs. finally docs. | Georg Brandl | 2008-03-08 | 1 | -6/+5 |
| | |||||
* | Grammar fix | Andrew M. Kuchling | 2008-03-07 | 1 | -1/+1 |
| | |||||
* | Speed up with statements by storing the __exit__ method on the stack instead ↵ | Nick Coghlan | 2008-03-07 | 6 | -55/+77 |
| | | | | of in a temp variable (bumps the magic number for pyc files) | ||||
* | Progress on issue #1193577 by adding a polling .shutdown() method to | Jeffrey Yasskin | 2008-03-07 | 4 | -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. |