summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7661: Allow ctypes to be built from a non-ASCII directory path.Antoine Pitrou2010-01-131-2/+0
| | | | Patch by Florent Xicluna.
* Issue #2333: Backport set and dict comprehensions syntax.Alexandre Vassalotti2010-01-111-32/+56
|
* Issue #2335: Backport set literals syntax from Python 3.x.Alexandre Vassalotti2010-01-091-23/+50
|
* Issue #7092: Remove py3k warning when importing cPickle. 2to3 handlesAntoine Pitrou2010-01-081-6/+0
| | | | | | renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna.
* Issue #7455: Fix possible crash in cPickle on invalid input. Patch byAntoine Pitrou2010-01-071-1/+1
| | | | Florent Xicluna.
* remove an obsolete file that should've gone with r77252Gregory P. Smith2010-01-031-28/+0
|
* Make use of PyLong_AsLongAndOverflow in math_ldexp.Mark Dickinson2010-01-031-20/+7
|
* Issue #3745: Undo the requirement for new buffer API only objects to be passedGregory P. Smith2010-01-025-149/+71
| | | | | | to hashlib functions in python 2.x. The module now uses the 's*' for argument parsing which auto encodes unicode objects to the system default encoding for us.
* Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDoubleMark Dickinson2010-01-021-12/+15
| | | | | | | | (the latter renamed to _PyLong_Frexp) now use the same core code. The exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the previously used int, and no longer needs scaling by PyLong_SHIFT. This frees the math module from having to know anything about the PyLong implementation. This closes issue #5576.
* More yearly updates.Georg Brandl2010-01-011-1/+1
|
* #7613: missing ) in flmodule.cEzio Melotti2009-12-311-1/+1
|
* #7413: Passing '\0' as the separator to datetime.datetime.isoformat()Amaury Forgeot d'Arc2009-12-291-9/+14
| | | | used to drop the time part of the result.
* #7595: fix typo in argument default constant.Georg Brandl2009-12-291-1/+1
|
* #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵Georg Brandl2009-12-281-0/+22
| | | | exceptions a docstring.
* Fix a typo in commentAmaury Forgeot d'Arc2009-12-271-2/+2
|
* Fix possible integer overflow in lchown and fchown functions. For issue1747858.Gregory P. Smith2009-12-231-4/+5
|
* Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.Mark Dickinson2009-12-211-4/+5
|
* Issue #7518: Move substitute definitions of C99 math functions fromMark Dickinson2009-12-215-11/+245
| | | | pymath.c to Modules/_math.c.
* Additional edge-case tests for test_long_and_overflow.Mark Dickinson2009-12-211-16/+107
|
* Fix reference counts for test_long_and_overflow.Mark Dickinson2009-12-211-0/+6
|
* Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.Mark Dickinson2009-12-211-0/+70
| | | | Thanks Case Van Horsen for the patch.
* Add missing tests for PyArg_Parse* with format 'h'Mark Dickinson2009-12-201-0/+10
|
* math.factorial depends on PyLong_AsLong correctly converting floats; rewriteMark Dickinson2009-12-201-2/+9
| | | | it to do the conversion explicitly instead. See issue #7550.
* Issue #7545: improve documentation of the `buffering` argument in io.open().Antoine Pitrou2009-12-191-4/+14
|
* Issue #3366: Add error function and complementary error function toMark Dickinson2009-12-191-0/+142
| | | | math module.
* Issue #3366: Add expm1 function to math module. Thanks Eric Smith forMark Dickinson2009-12-164-1/+47
| | | | testing on Windows.
* add a test of loading the datetime capiBenjamin Peterson2009-12-131-0/+16
|
* remove unused variableBenjamin Peterson2009-12-131-1/+1
|
* accept None as the same as having passed no argument in file types #7349Benjamin Peterson2009-12-136-25/+32
| | | | | | | This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods.
* Issue #3366: Add lgamma function to math module.Mark Dickinson2009-12-111-0/+57
|
* Add a reverse() method to collections.deque().Raymond Hettinger2009-12-101-0/+44
|
* Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)Raymond Hettinger2009-12-101-0/+40
|
* Issue #6986: Fix crash in the JSON C accelerator when called with theAntoine Pitrou2009-12-081-4/+17
| | | | wrong parameter types. Patch by Victor Stinner.
* 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
|