Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Issue #7457: added a read_pkg_file method to ↵ | Tarek Ziadé | 2009-12-08 | 2 | -19/+103 | |
| | | | | distutils.dist.DistributionMetadata so we can read back PKG-INFO files | |||||
* | fix test_parser from tokenizer tweak | Benjamin Peterson | 2009-12-06 | 1 | -4/+4 | |
| | ||||||
* | logging: Improved support for SMTP over TLS. | Vinay Sajip | 2009-12-06 | 1 | -5/+8 | |
| | ||||||
* | logging: Added optional 'secure' parameter to SMTPHandler. | Vinay Sajip | 2009-12-06 | 1 | -2/+10 | |
| | ||||||
* | Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO ↵ | Tarek Ziadé | 2009-12-06 | 2 | -2/+18 | |
| | | | | Description field | |||||
* | bump version to 2.7a1v2.7a1 | Benjamin Peterson | 2009-12-05 | 2 | -2/+2 | |
| | ||||||
* | regenerate pydoc_topics | Benjamin Peterson | 2009-12-05 | 1 | -29/+29 | |
| | ||||||
* | Issue 7431: use TESTFN in test_linecache instead of trying to create a | R. David Murray | 2009-12-03 | 1 | -36/+32 | |
| | | | | | file in the Lib/test directory, which might be read-only for the user running the tests. | |||||
* | Issue #4120: Drop reference to CRT from manifest when building | Martin v. Löwis | 2009-12-03 | 1 | -0/+23 | |
| | | | | extensions with msvc9compiler. | |||||
* | actually close files | Philip Jenvey | 2009-12-03 | 1 | -6/+3 | |
| | ||||||
* | Issue #7333: The `posix` module gains an `initgroups()` function providing | Antoine Pitrou | 2009-12-02 | 1 | -0/+22 | |
| | | | | | access to the initgroups(3) C library call on Unix systems which implement it. Patch by Jean-Paul Calderone. | |||||
* | Issue #4482: Add tests for special float value formatting. | Eric Smith | 2009-12-02 | 1 | -0/+35 | |
| | ||||||
* | #7419: Fix a crash on Windows in locale.setlocale() when the category | Amaury Forgeot d'Arc | 2009-12-01 | 1 | -0/+11 | |
| | | | | is outside the allowed range. | |||||
* | Issue 7410: deepcopy of itertools.count resets the count | Raymond Hettinger | 2009-11-30 | 1 | -0/+9 | |
| | ||||||
* | now that deepcopy can handle instance methods, this hack can be removed #7409 | Benjamin Peterson | 2009-11-29 | 1 | -13/+2 | |
| | | | | Thanks Robert Collins | |||||
* | Fixed #7408: dropped group ownership checking because it relies on ↵ | Tarek Ziadé | 2009-11-29 | 1 | -1/+4 | |
| | | | | os-specific rules | |||||
* | Issue #3382: Make '%F' and float.__format__('F') convert results to upper ↵ | Eric Smith | 2009-11-29 | 3 | -2/+55 | |
| | | | | case. Much of the patch came from Mark Dickinson. | |||||
* | Issue #1515: Enable use of deepcopy() with instance methods. Patch by ↵ | Antoine Pitrou | 2009-11-28 | 2 | -0/+15 | |
| | | | | Robert Collins. | |||||
* | Issue #7403: Fixed possible race condition in lock creation. | Vinay Sajip | 2009-11-27 | 1 | -4/+4 | |
| | ||||||
* | Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. | Martin v. Löwis | 2009-11-27 | 1 | -0/+42 | |
| | ||||||
* | Issue #6845: Add restart support for binary upload in ftplib. The | Antoine Pitrou | 2009-11-27 | 2 | -5/+32 | |
| | | | | | | | `storbinary()` method of FTP and FTP_TLS objects gains an optional `rest` argument. Patch by Pablo Mouzo. (note: the patch also adds a test for the rest argument in retrbinary()) | |||||
* | When open_urlresource() fails, HTTPException is another possible error | Antoine Pitrou | 2009-11-26 | 2 | -2/+4 | |
| | ||||||
* | Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ↵ | Antoine Pitrou | 2009-11-25 | 1 | -0/+7 | |
| | | | | | | returning the total number of seconds in the duration. Patch by Brian Quinlan. | |||||
* | Add mktime_tz to __all__. It's documented as being available in email.utils. | Barry Warsaw | 2009-11-25 | 1 | -1/+2 | |
| | ||||||
* | Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from | Benjamin Peterson | 2009-11-25 | 10 | -50/+68 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r76160 | benjamin.peterson | 2009-11-08 18:53:48 -0600 (Sun, 08 Nov 2009) | 1 line undeprecate the -p option; it's useful for converting python3 sources ........ r76161 | benjamin.peterson | 2009-11-08 19:05:37 -0600 (Sun, 08 Nov 2009) | 1 line simplify condition ........ r76250 | benjamin.peterson | 2009-11-13 16:56:48 -0600 (Fri, 13 Nov 2009) | 1 line fix handling of a utf-8 bom #7313 ........ r76252 | benjamin.peterson | 2009-11-13 16:58:36 -0600 (Fri, 13 Nov 2009) | 1 line remove pdb turd ........ r76447 | benjamin.peterson | 2009-11-22 18:17:40 -0600 (Sun, 22 Nov 2009) | 1 line #7375 fix nested transformations in fix_urllib ........ r76506 | benjamin.peterson | 2009-11-24 18:34:31 -0600 (Tue, 24 Nov 2009) | 1 line use generator expressions in any() ........ | |||||
* | logging: Issue 6615: Changed handler prepend to append. | Vinay Sajip | 2009-11-25 | 1 | -1/+1 | |
| | ||||||
* | logging: made _handlers a WeakValueDictionary. | Vinay Sajip | 2009-11-25 | 1 | -1/+1 | |
| | ||||||
* | Issue #6615: logging: Used weak references in internal handler list. Thanks ↵ | Vinay Sajip | 2009-11-25 | 1 | -13/+30 | |
| | | | | to flox (Florent Xicluna) for the patch. | |||||
* | Issue 7128: Removed reference to the non-existent copyreg module. | Alexandre Vassalotti | 2009-11-24 | 1 | -0/+10 | |
| | | | | | | | | | The reference to copyreg was a unnoticed leftover from the compatibility support for the grand renaming of the standard library in Python 3. The compatibility support was reverted in r63493, but not completely as this patch shows. Based on a patch by Amaury Forgeot d'Arc. | |||||
* | Made logging classes new-style and added name property to handlers. | Vinay Sajip | 2009-11-24 | 1 | -16/+33 | |
| | ||||||
* | Issue #7117: Update float formatting testcases to match those in py3k. | Mark Dickinson | 2009-11-24 | 1 | -21/+21 | |
| | ||||||
* | comment out test added in r76438, which caused refleaks | Jesse Noller | 2009-11-24 | 1 | -18/+18 | |
| | ||||||
* | round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this. | Mark Dickinson | 2009-11-24 | 1 | -0/+5 | |
| | ||||||
* | Issue #7117, continued: Remove substitution of %g-style formatting for | Mark Dickinson | 2009-11-23 | 1 | -4/+19 | |
| | | | | | %f-style formatting, which used to occur at high precision. Float formatting should now be consistent between 2.7 and 3.1. | |||||
* | Remove restriction on precision when formatting floats. This is the | Mark Dickinson | 2009-11-23 | 1 | -8/+1 | |
| | | | | | 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 | 2 | -4/+13 | |
| | | | | characters. | |||||
* | 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 | 2 | -32/+140 | |
| | | | | | | | | | | | | | | | | | | | | | | | (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 | 1 | -2/+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 | 1 | -1/+1 | |
| | | | | | | 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. | |||||
* | avoid doing an uneeded import in a function | Benjamin Peterson | 2009-11-20 | 1 | -4/+4 | |
| | ||||||
* | improve several corner cases related with argument names in parenthesis | Benjamin Peterson | 2009-11-19 | 2 | -1/+17 | |
| | | | | | | | | | - 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. | |||||
* | dragfullwindows can have value 2 | Tarek Ziadé | 2009-11-19 | 1 | -1/+1 | |
| | ||||||
* | #5037 proxy __unicode__ correctly | Benjamin Peterson | 2009-11-19 | 1 | -0/+11 | |
| | ||||||
* | Issue #7341: Close the internal file object in the TarFile | Lars Gustäbel | 2009-11-18 | 1 | -21/+27 | |
| | | | | constructor in case of an error. | |||||
* | Issue #7117, continued: Change round implementation to use the ↵ | Mark Dickinson | 2009-11-18 | 1 | -1/+139 | |
| | | | | | | | | 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. | |||||
* | Correctly escape arbitrary error message text in the runpy unit tests | Nick Coghlan | 2009-11-18 | 1 | -2/+2 | |
| |