Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #7661: Allow ctypes to be built from a non-ASCII directory path. | Antoine Pitrou | 2010-01-13 | 1 | -2/+0 |
| | | | | Patch by Florent Xicluna. | ||||
* | Issue #2333: Backport set and dict comprehensions syntax. | Alexandre Vassalotti | 2010-01-11 | 1 | -32/+56 |
| | |||||
* | Issue #2335: Backport set literals syntax from Python 3.x. | Alexandre Vassalotti | 2010-01-09 | 1 | -23/+50 |
| | |||||
* | Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles | Antoine Pitrou | 2010-01-08 | 1 | -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 by | Antoine Pitrou | 2010-01-07 | 1 | -1/+1 |
| | | | | Florent Xicluna. | ||||
* | remove an obsolete file that should've gone with r77252 | Gregory P. Smith | 2010-01-03 | 1 | -28/+0 |
| | |||||
* | Make use of PyLong_AsLongAndOverflow in math_ldexp. | Mark Dickinson | 2010-01-03 | 1 | -20/+7 |
| | |||||
* | Issue #3745: Undo the requirement for new buffer API only objects to be passed | Gregory P. Smith | 2010-01-02 | 5 | -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_AsScaledDouble | Mark Dickinson | 2010-01-02 | 1 | -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 Brandl | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | #7613: missing ) in flmodule.c | Ezio Melotti | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | #7413: Passing '\0' as the separator to datetime.datetime.isoformat() | Amaury Forgeot d'Arc | 2009-12-29 | 1 | -9/+14 |
| | | | | used to drop the time part of the result. | ||||
* | #7595: fix typo in argument default constant. | Georg Brandl | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵ | Georg Brandl | 2009-12-28 | 1 | -0/+22 |
| | | | | exceptions a docstring. | ||||
* | Fix a typo in comment | Amaury Forgeot d'Arc | 2009-12-27 | 1 | -2/+2 |
| | |||||
* | Fix possible integer overflow in lchown and fchown functions. For issue1747858. | Gregory P. Smith | 2009-12-23 | 1 | -4/+5 |
| | |||||
* | Inverse hyperbolic trigonometric functions should call m_log1p, not log1p. | Mark Dickinson | 2009-12-21 | 1 | -4/+5 |
| | |||||
* | Issue #7518: Move substitute definitions of C99 math functions from | Mark Dickinson | 2009-12-21 | 5 | -11/+245 |
| | | | | pymath.c to Modules/_math.c. | ||||
* | Additional edge-case tests for test_long_and_overflow. | Mark Dickinson | 2009-12-21 | 1 | -16/+107 |
| | |||||
* | Fix reference counts for test_long_and_overflow. | Mark Dickinson | 2009-12-21 | 1 | -0/+6 |
| | |||||
* | Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. | Mark Dickinson | 2009-12-21 | 1 | -0/+70 |
| | | | | Thanks Case Van Horsen for the patch. | ||||
* | Add missing tests for PyArg_Parse* with format 'h' | Mark Dickinson | 2009-12-20 | 1 | -0/+10 |
| | |||||
* | math.factorial depends on PyLong_AsLong correctly converting floats; rewrite | Mark Dickinson | 2009-12-20 | 1 | -2/+9 |
| | | | | it to do the conversion explicitly instead. See issue #7550. | ||||
* | Issue #7545: improve documentation of the `buffering` argument in io.open(). | Antoine Pitrou | 2009-12-19 | 1 | -4/+14 |
| | |||||
* | Issue #3366: Add error function and complementary error function to | Mark Dickinson | 2009-12-19 | 1 | -0/+142 |
| | | | | math module. | ||||
* | Issue #3366: Add expm1 function to math module. Thanks Eric Smith for | Mark Dickinson | 2009-12-16 | 4 | -1/+47 |
| | | | | testing on Windows. | ||||
* | add a test of loading the datetime capi | Benjamin Peterson | 2009-12-13 | 1 | -0/+16 |
| | |||||
* | remove unused variable | Benjamin Peterson | 2009-12-13 | 1 | -1/+1 |
| | |||||
* | accept None as the same as having passed no argument in file types #7349 | Benjamin Peterson | 2009-12-13 | 6 | -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 Dickinson | 2009-12-11 | 1 | -0/+57 |
| | |||||
* | Add a reverse() method to collections.deque(). | Raymond Hettinger | 2009-12-10 | 1 | -0/+44 |
| | |||||
* | Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) | Raymond Hettinger | 2009-12-10 | 1 | -0/+40 |
| | |||||
* | Issue #6986: Fix crash in the JSON C accelerator when called with the | Antoine Pitrou | 2009-12-08 | 1 | -4/+17 |
| | | | | wrong parameter types. Patch by Victor Stinner. | ||||
* | Issue #7333: The `posix` module gains an `initgroups()` function providing | Antoine Pitrou | 2009-12-02 | 1 | -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 category | Amaury Forgeot d'Arc | 2009-12-01 | 1 | -0/+8 |
| | | | | is outside the allowed range. | ||||
* | Handle step values other than one. | Raymond Hettinger | 2009-11-30 | 1 | -1/+2 |
| | |||||
* | Issue 7410: deepcopy of itertools.count resets the count | Raymond Hettinger | 2009-11-30 | 1 | -1/+16 |
| | |||||
* | Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES | Mark Dickinson | 2009-11-28 | 2 | -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öwis | 2009-11-27 | 1 | -0/+89 |
| | |||||
* | Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method ↵ | Antoine Pitrou | 2009-11-25 | 1 | -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 Dickinson | 2009-11-24 | 2 | -3/+21 |
| | | | | (Should silence some compiler warnings.) | ||||
* | Issue 7128: Removed reference to the non-existent copyreg module. | Alexandre Vassalotti | 2009-11-24 | 1 | -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 works | Mark Dickinson | 2009-11-20 | 2 | -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 Hettinger | 2009-11-19 | 1 | -4/+4 |
| | |||||
* | Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString, | Mark Dickinson | 2009-11-15 | 1 | -0/+6 |
| | | | | PyFormat_FromStringV and PyErr_Format. | ||||
* | Issue #7211: Allow 64-bit values for the `ident` and `data` fields of kevent | Antoine Pitrou | 2009-11-04 | 1 | -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 Brandl | 2009-11-04 | 1 | -16/+16 |
| | | | | minor issues in operator docs. | ||||
* | Fix exception handling in itertools.izip_longest(). | Raymond Hettinger | 2009-11-01 | 1 | -35/+37 |
| | |||||
* | Buffered I/O: optimize lock taking in the common non-contended case. | Antoine Pitrou | 2009-11-01 | 1 | -3/+5 |
| | |||||
* | Define TCSASOFT if the flag exists. | Gregory P. Smith | 2009-10-31 | 1 | -0/+3 |
| |