summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7333: The `posix` module gains an `initgroups()` function providingAntoine Pitrou2009-12-027-3/+69
| | | | | 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 Smith2009-12-021-0/+35
|
* Issue #7406: Fix some occurrences of potential signed overflow in intMark Dickinson2009-12-022-5/+12
| | | | arithmetic.
* Markup fixesAndrew M. Kuchling2009-12-021-3/+3
|
* #7419: Fix a crash on Windows in locale.setlocale() when the categoryAmaury Forgeot d'Arc2009-12-013-1/+23
| | | | is outside the allowed range.
* Fix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring aRonald Oussoren2009-12-011-0/+6
| | | | | | | | | | multi-architecture build (in particular when the architectures don't share a common pointer size). Fixed the same issue for SIZEOF_PTHREAD_T. (No update to the NEWS file because this is a bugfix for an as yet unreleased feature)
* Add dtoa.c and dtoa.h to the relevant project files.Mark Dickinson2009-11-303-0/+11
|
* Update project file for new file: dtoa.cRaymond Hettinger2009-11-301-0/+4
|
* Handle step values other than one.Raymond Hettinger2009-11-301-1/+2
|
* Issue 7410: deepcopy of itertools.count resets the countRaymond Hettinger2009-11-302-1/+25
|
* now that deepcopy can handle instance methods, this hack can be removed #7409Benjamin Peterson2009-11-291-13/+2
| | | | Thanks Robert Collins
* Fixed #7408: dropped group ownership checking because it relies on ↵Tarek Ziadé2009-11-292-1/+8
| | | | os-specific rules
* Issue #3382: Make '%F' and float.__format__('F') convert results to upper ↵Eric Smith2009-11-297-20/+59
| | | | case. Much of the patch came from Mark Dickinson.
* Issue #1678380: When distinguishing between -0.0 and 0.0 inMark Dickinson2009-11-281-26/+15
| | | | | | compiler_add_o, use copysign instead of examining the first and last bytes of the double. The latter method fails for little-endian ARM, OABI, where doubles are little-endian but with the words swapped.
* Issue #1515: Enable use of deepcopy() with instance methods. Patch by ↵Antoine Pitrou2009-11-284-0/+19
| | | | Robert Collins.
* Multiprocessing configure checks don't need LIBMMark Dickinson2009-11-282-203/+201
|
* Include ieeefp.h (when available) in pyport.h instead of individually inMark Dickinson2009-11-283-8/+4
| | | | | | Objects/floatobject.c and Objects/complexobject.c. This should silence compiler warnings about implicit declaration of the 'finite' function on Solaris.
* Fix versions and spacing.Georg Brandl2009-11-281-4/+10
|
* Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORESMark Dickinson2009-11-286-8/+11
| | | | | to indicate that semaphores aren't available; define a new variable POSIX_SEMAPHORES_NOT_ENABLED instead.
* fix typoGregory P. Smith2009-11-271-2/+2
|
* Issue #7403: Fixed possible race condition in lock creation.Vinay Sajip2009-11-272-4/+6
|
* Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.Martin v. Löwis2009-11-277-7/+195
|
* Add ACKS entry for Pablo MouzoAntoine Pitrou2009-11-271-0/+1
|
* Issue #6845: Add restart support for binary upload in ftplib. TheAntoine Pitrou2009-11-274-7/+41
| | | | | | | `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())
* #7400: typo.Georg Brandl2009-11-261-1/+1
|
* When open_urlresource() fails, HTTPException is another possible errorAntoine Pitrou2009-11-262-2/+4
|
* Fix typo.Martin v. Löwis2009-11-261-1/+1
|
* Forgot to add a `versionadded` tagAntoine Pitrou2009-11-251-0/+2
|
* Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ↵Antoine Pitrou2009-11-254-1/+33
| | | | | | 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 Warsaw2009-11-251-1/+2
|
* Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge fromBenjamin Peterson2009-11-2510-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 Sajip2009-11-251-1/+1
|
* logging: made _handlers a WeakValueDictionary.Vinay Sajip2009-11-251-1/+1
|
* Issue #6615: logging: Used weak references in internal handler list. Thanks ↵Vinay Sajip2009-11-252-15/+34
| | | | to flox (Florent Xicluna) for the patch.
* Issue #7228: Fix format mismatch when printing something of type off_t.Mark Dickinson2009-11-242-3/+21
| | | | (Should silence some compiler warnings.)
* Issue 7128: Removed reference to the non-existent copyreg module.Alexandre Vassalotti2009-11-242-3/+12
| | | | | | | | | 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 Sajip2009-11-241-16/+33
|
* Issue #7117: Update float formatting testcases to match those in py3k.Mark Dickinson2009-11-241-21/+21
|
* Fix some documentation examples involving the repr of a float.Mark Dickinson2009-11-248-19/+22
|
* comment out test added in r76438, which caused refleaksJesse Noller2009-11-241-18/+18
|
* round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.Mark Dickinson2009-11-242-4/+9
|
* Issue #7117, continued: Remove substitution of %g-style formatting forMark Dickinson2009-11-236-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 Brandl2009-11-231-2/+2
|
* Remove restriction on precision when formatting floats. This is theMark Dickinson2009-11-234-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 tabSenthil Kumaran2009-11-233-4/+15
| | | | characters.
* Issue #7369: Fibonacci series should start at 0 in tutorial example.Mark Dickinson2009-11-231-9/+9
|
* Issue #7379: Fix incorrect doctest for Fraction.limit_denominator.Mark Dickinson2009-11-231-2/+2
|
* Add a testcase that checks if the TarFile constructor successfullyLars Gustäbel2009-11-231-0/+18
| | | | closes the internal file object in case of an error (issue #7341).
* Issue #6123: Fix opening empty archives and files.Lars Gustäbel2009-11-223-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 multiprocessingJesse Noller2009-11-211-0/+20
|