summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7333: The `posix` module gains an `initgroups()` function providingAntoine Pitrou2009-12-021-0/+27
| | | | | access to the initgroups(3) C library call on Unix systems which implement it. Patch by Jean-Paul Calderone.
* #7419: Fix a crash on Windows in locale.setlocale() when the categoryAmaury Forgeot d'Arc2009-12-011-0/+8
| | | | is outside the allowed range.
* Handle step values other than one.Raymond Hettinger2009-11-301-1/+2
|
* Issue 7410: deepcopy of itertools.count resets the countRaymond Hettinger2009-11-301-1/+16
|
* Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORESMark Dickinson2009-11-282-3/+3
| | | | | to indicate that semaphores aren't available; define a new variable POSIX_SEMAPHORES_NOT_ENABLED instead.
* Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.Martin v. Löwis2009-11-271-0/+89
|
* Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ↵Antoine Pitrou2009-11-251-1/+12
| | | | | | returning the total number of seconds in the duration. Patch by Brian Quinlan.
* 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-241-3/+2
| | | | | | | | | 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.
* Issue #7272: Add configure test to detect whether sem_open worksMark Dickinson2009-11-202-3/+4
| | | | | | 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.
* Fix docstrings for itertools combinatoric functions.Raymond Hettinger2009-11-191-4/+4
|
* Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,Mark Dickinson2009-11-151-0/+6
| | | | PyFormat_FromStringV and PyErr_Format.
* Issue #7211: Allow 64-bit values for the `ident` and `data` fields of keventAntoine Pitrou2009-11-041-12/+42
| | | | | | objects on 64-bit systems. Patch by Michael Broghton. I will revert this checkin if it causes problems on our BSD buildbots.
* #7259: show correct equivalent for operator.i* operations in docstring; fix ↵Georg Brandl2009-11-041-16/+16
| | | | minor issues in operator docs.
* Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-35/+37
|
* Buffered I/O: optimize lock taking in the common non-contended case.Antoine Pitrou2009-11-011-3/+5
|
* Define TCSASOFT if the flag exists.Gregory P. Smith2009-10-311-0/+3
|
* Remove official documentation entry for thread._count() and make theAntoine Pitrou2009-10-301-2/+8
| | | | docstring more descriptive instead.
* Issue #7222: Make thread "reaping" more reliable so that referenceAntoine Pitrou2009-10-301-1/+19
| | | | | | | leak-chasing test runs give sensible results. The previous method of reaping threads could return successfully while some Thread objects were still referenced. This also introduces a new private function: :func:hread._count().
* Use a single style for all the docstrings in the math module.Georg Brandl2009-10-291-15/+19
|
* Use the correct function name in docstring.Georg Brandl2009-10-291-1/+1
|
* Roll back ill-considered attempts to fix printf specifier mismatch for off_t.Mark Dickinson2009-10-292-26/+9
| | | | | The sensible solution seems to be to implement %lld for PyString_FromFormat(V) and PyErr_Format. See issue #7228.
* Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c ↵Eric Smith2009-10-281-1/+5
| | | | as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
* Fix format specifier for MSVCMark Dickinson2009-10-281-1/+1
|
* Replace long long with PY_LONG_LONGMark Dickinson2009-10-281-2/+2
|
* Silence gcc warnings when trying to print an off_t using "lld", on platformsMark Dickinson2009-10-272-3/+14
| | | | where off_t has type long (e.g., 64-bit Linux).
* Issue #7205: Fix a possible deadlock when using a BZ2File object from ↵Antoine Pitrou2009-10-271-1/+6
| | | | several threads at once.
* Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in ↵Eric Smith2009-10-271-8/+4
| | | | stropmodule as part of short float repr.
* Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle ↵Eric Smith2009-10-271-4/+4
| | | | as part of short float repr.
* Use correct conversion specifier and length modifier when printing anMark Dickinson2009-10-262-8/+14
| | | | integer of type off_t. Also, don't assume that long long is available.
* Some platforms have rl_completion_append_character but not ↵Antoine Pitrou2009-10-261-0/+2
| | | | | | rl_completion_suppress_append. Reported by Mark D.
* Continue removing _PyOS_double_to_string, as mentioned in issue 7117.Eric Smith2009-10-261-8/+22
|
* Fix compilation error in debug mode.Antoine Pitrou2009-10-241-3/+0
|
* Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept ↵Antoine Pitrou2009-10-241-1/+3
| | | | arbitrary keywords
* Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and ↵Antoine Pitrou2009-10-242-9/+260
| | | | io.StringIO picklable.
* Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of ↵Antoine Pitrou2009-10-242-6/+10
| | | | io.StringIO and io.BytesIO
* Issue #1722344: threading._shutdown() is now called in Py_Finalize(), whichAntoine Pitrou2009-10-201-29/+0
| | | | | fixes the problem of some exceptions being thrown at shutdown when the interpreter is killed. Patch by Adam Olsen.
* Issue #5833: Fix extra space character in readline completion with theAntoine Pitrou2009-10-191-3/+4
| | | | GNU readline library version 6.0.
* Issue #7133: SSL objects now support the new buffer API.Antoine Pitrou2009-10-191-11/+16
| | | | This fixes the test_ssl failure.
* Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in ↵Georg Brandl2009-10-171-3/+3
| | | | test___all__.
* Make cPickle.Unpickler.noload() handle dict subclasses. noload() isNeil Schemenauer2009-10-141-4/+31
| | | | | an obscure, undocumentated feature so no test was added. Closes issue #1101399.
* Issue #7078: _struct.__doc__ was being ignored. Import it into struct.Mark Dickinson2009-10-081-8/+10
| | | | | Also add description of '?' struct format character. Thanks Gabriel Genellina for the patch.
* #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,Amaury Forgeot d'Arc2009-10-062-131/+245
| | | | | | _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace. It now also parses the Unihan.txt for numeric values.
* Fix compilation warning on Windows, where size_t is 32bit but file offsets ↵Amaury Forgeot d'Arc2009-10-051-6/+7
| | | | are 64bit.
* #6990: clear threading.local's key only after its thread state is removed:Philip Jenvey2009-09-291-1/+1
| | | | | fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals
* Issue #3366: Add gamma function to math module.Mark Dickinson2009-09-281-35/+325
| | | | (lgamma, erf and erfc to follow).
* Eliminate unnecessary get_wrapped_(u)long defines in struct module.Mark Dickinson2009-09-271-9/+6
|
* #6243: fix segfault when keyname() returns a NULL pointer.Andrew M. Kuchling2009-09-251-4/+7
| | | | Bug noted by Trundle, patched by Trundle and Jerry Chen.
* http://bugs.python.org/issue6971Kristján Valur Jónsson2009-09-251-15/+39
| | | | Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
* Fix whitespace.Brett Cannon2009-09-221-42/+43
|