Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this. | Mark Dickinson | 2009-11-24 | 2 | -4/+9 |
| | |||||
* | Issue #7117, continued: Remove substitution of %g-style formatting for | Mark Dickinson | 2009-11-23 | 6 | -23/+25 |
| | | | | | %f-style formatting, which used to occur at high precision. Float formatting should now be consistent between 2.7 and 3.1. | ||||
* | #7345: fix arguments of formatyear(). | Georg Brandl | 2009-11-23 | 1 | -2/+2 |
| | |||||
* | Remove restriction on precision when formatting floats. This is the | Mark Dickinson | 2009-11-23 | 4 | -122/+47 |
| | | | | | first step towards removing the %f -> %g switch (see issues 7117, 5859). | ||||
* | Fix for issue1488943 - difflib.Differ() doesn't always add hints for tab | Senthil Kumaran | 2009-11-23 | 3 | -4/+15 |
| | | | | characters. | ||||
* | Issue #7369: Fibonacci series should start at 0 in tutorial example. | Mark Dickinson | 2009-11-23 | 1 | -9/+9 |
| | |||||
* | Issue #7379: Fix incorrect doctest for Fraction.limit_denominator. | Mark Dickinson | 2009-11-23 | 1 | -2/+2 |
| | |||||
* | Add a testcase that checks if the TarFile constructor successfully | Lars Gustäbel | 2009-11-23 | 1 | -0/+18 |
| | | | | closes the internal file object in case of an error (issue #7341). | ||||
* | Issue #6123: Fix opening empty archives and files. | Lars Gustäbel | 2009-11-22 | 3 | -32/+143 |
| | | | | | | | | | | | | | | | | | | | | | | | (Note that an empty archive is not the same as an empty file. An empty archive contains no members and is correctly terminated with an EOF block full of zeros. An empty file contains no data at all.) The problem was that although tarfile was able to create empty archives, it failed to open them raising a ReadError. On the other hand, tarfile opened empty files without error in most read modes and presented them as empty archives. (However, some modes still raised errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even raised EOFError.) In order to get a more fine-grained control over the various internal error conditions I now split up the HeaderError exception into a number of meaningful sub-exceptions. This makes it easier in the TarFile.next() method to react to the different conditions in the correct way. The visible change in its behaviour now is that tarfile will open empty archives correctly and raise ReadError consistently for empty files. | ||||
* | issue6615: Additional test for logging support in multiprocessing | Jesse Noller | 2009-11-21 | 1 | -0/+20 |
| | |||||
* | revert unintended change to multiprocessing/queues.py | Jesse Noller | 2009-11-21 | 1 | -18/+2 |
| | |||||
* | issue5738: The distribution example was confusing, and out of date. It's too ↵ | Jesse Noller | 2009-11-21 | 3 | -373/+18 |
| | | | | large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing. | ||||
* | Issue #7272: Add configure test to detect whether sem_open works | Mark Dickinson | 2009-11-20 | 6 | -5/+127 |
| | | | | | | properly, and use this to skip test_multiprocessing on platforms where sem_open raises a signal. This should fix some FreeBSD buildbot failures for test_multiprocessing. | ||||
* | Regenerate configure with GNU autoconf 2.61. | Mark Dickinson | 2009-11-20 | 1 | -16/+16 |
| | |||||
* | Issue 7363: fix indentation in socketserver udpserver example. | R. David Murray | 2009-11-20 | 1 | -3/+3 |
| | |||||
* | avoid doing an uneeded import in a function | Benjamin Peterson | 2009-11-20 | 1 | -4/+4 |
| | |||||
* | turn goto into do while loop | Benjamin Peterson | 2009-11-20 | 1 | -36/+31 |
| | |||||
* | genexps have linenos | Benjamin Peterson | 2009-11-20 | 1 | -1/+1 |
| | |||||
* | provide line number for lambdas | Benjamin Peterson | 2009-11-20 | 1 | -2/+1 |
| | |||||
* | spelling | Benjamin Peterson | 2009-11-19 | 1 | -1/+1 |
| | |||||
* | add news notes for r76416 | Benjamin Peterson | 2009-11-19 | 1 | -0/+4 |
| | |||||
* | improve several corner cases related with argument names in parenthesis | Benjamin Peterson | 2009-11-19 | 3 | -2/+33 |
| | | | | | | | | | - Fix #7362: give a good error message for parenthesized arguments with defaults. - Add a py3k warning for any parenthesized arguments since those are not allowed in Py3. This warning is not given in tuple unpacking, since that incurs the tuple unpacking warning. | ||||
* | Misc/NEWS entries for issue 7117. | Mark Dickinson | 2009-11-19 | 1 | -4/+33 |
| | |||||
* | Don't use the '==' operator with test, that's an unportable bash-ism. | Ronald Oussoren | 2009-11-19 | 1 | -2/+2 |
| | | | | (Issue 7179) | ||||
* | Fix for issue #7085 | Ronald Oussoren | 2009-11-19 | 3 | -16/+29 |
| | | | | | | | | | | | | | | On MacOSX 10.6 the CoreFoundation framework must be initialized on the main thread, the constructor function in that framework will cause an SIGABRT when it is called on any other thread. Because a number of extension link (indirectly) to CoreFoundation and the Python core itself didn't the interpreter crashed when importing some extensions, such as _locale, on a secondary thread. This fix ensures that Python is linked to CoreFoundation on OSX, which results in the CoreFoundation constructor being called when Python is loaded. This does not require code changes. | ||||
* | dragfullwindows can have value 2 | Tarek Ziadé | 2009-11-19 | 2 | -1/+4 |
| | |||||
* | #5037 proxy __unicode__ correctly | Benjamin Peterson | 2009-11-19 | 3 | -0/+31 |
| | |||||
* | Fix docstrings for itertools combinatoric functions. | Raymond Hettinger | 2009-11-19 | 2 | -6/+6 |
| | |||||
* | Issue 7263: Fix set.intersection() docstring. | Raymond Hettinger | 2009-11-18 | 1 | -2/+2 |
| | |||||
* | Issue #7341: Close the internal file object in the TarFile | Lars Gustäbel | 2009-11-18 | 2 | -21/+30 |
| | | | | constructor in case of an error. | ||||
* | Mention Giampolo R's new FTP TLS support in the what's new file | Antoine Pitrou | 2009-11-18 | 1 | -0/+6 |
| | |||||
* | Enable short float repr! | Mark Dickinson | 2009-11-18 | 1 | -8/+0 |
| | |||||
* | Fix markup. | Georg Brandl | 2009-11-18 | 1 | -5/+4 |
| | |||||
* | upcase Python | Georg Brandl | 2009-11-18 | 1 | -1/+1 |
| | |||||
* | Issue #7117, continued: Change round implementation to use the ↵ | Mark Dickinson | 2009-11-18 | 5 | -20/+389 |
| | | | | | | | | correctly-rounded string <-> float conversions; this makes sure that the result of the round operation is correctly rounded, and hence displays nicely using the new float repr. | ||||
* | Make separate section for deprecations in 2.7 whatsnew. | Georg Brandl | 2009-11-18 | 1 | -2/+10 |
| | |||||
* | Make separate section for deprecations in 2.6 whatsnew. | Georg Brandl | 2009-11-18 | 1 | -62/+71 |
| | |||||
* | Correctly escape arbitrary error message text in the runpy unit tests | Nick Coghlan | 2009-11-18 | 1 | -2/+2 |
| | |||||
* | #7293: distutils.test_msvc9compiler now uses a key that exists on any fresh ↵ | Tarek Ziadé | 2009-11-18 | 2 | -5/+8 |
| | | | | windows install | ||||
* | a better callable replacement | Benjamin Peterson | 2009-11-17 | 1 | -1/+1 |
| | |||||
* | #1757126: fix typo with the cyrillic_asian alias | Philip Jenvey | 2009-11-17 | 2 | -1/+3 |
| | |||||
* | Silence another MSVC warning about unary minus. | Mark Dickinson | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Silence MSVC warning about unary minus applied to unsigned type. | Mark Dickinson | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | #7302: fix link. | Georg Brandl | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Allow for backslashes in file paths passed to the regex engine | Nick Coghlan | 2009-11-16 | 1 | -0/+2 |
| | |||||
* | Account for another cache when hunting ref leaks | Nick Coghlan | 2009-11-16 | 1 | -3/+16 |
| | |||||
* | Issue #7328: don't corrupt sys.path when running pydoc with the -m switch | Nick Coghlan | 2009-11-15 | 2 | -5/+9 |
| | |||||
* | Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using | Antoine Pitrou | 2009-11-15 | 4 | -5/+450 |
| | | | | TLS or SSL. Patch by Giampaolo Rodola'. | ||||
* | Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString, | Mark Dickinson | 2009-11-15 | 9 | -13/+266 |
| | | | | PyFormat_FromStringV and PyErr_Format. | ||||
* | Issue #4969: The mimetypes module now reads the MIME database from | Antoine Pitrou | 2009-11-15 | 4 | -5/+102 |
| | | | | the registry under Windows. Patch by Gabriel Genellina. |