Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is | Antoine Pitrou | 2010-02-04 | 1 | -1/+5 |
| | | | | | | specified, rather than fall through to AF_PACKET (in the `socket` module). Also, raise ValueError rather than TypeError when an unknown TIPC address type is specified. Patch by Brian Curtin. | ||||
* | Issue #7385: Fix a crash in `MemoryView_FromObject` when | Antoine Pitrou | 2010-02-02 | 1 | -0/+95 |
| | | | | `PyObject_GetBuffer` fails. Patch by Florent Xicluna. | ||||
* | - Issue #6939: Fix file I/O objects in the `io` module to keep the original | Antoine Pitrou | 2010-01-31 | 5 | -35/+55 |
| | | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon. | ||||
* | be robust against test being run over and over (such as -R) | Benjamin Peterson | 2010-01-30 | 1 | -3/+13 |
| | |||||
* | move test outside WITH_THREAD section | Benjamin Peterson | 2010-01-30 | 1 | -2/+3 |
| | |||||
* | Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a | Mark Dickinson | 2010-01-30 | 1 | -0/+167 |
| | | | | | long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen. | ||||
* | Issue #7788: Fix a crash produced by deleting a list slice with huge | Mark Dickinson | 2010-01-29 | 1 | -2/+3 |
| | | | | step value. Patch by Marcin Bachry. | ||||
* | - Expat: Fix DoS via XML document with malformed UTF-8 sequences | Matthias Klose | 2010-01-22 | 1 | -0/+3 |
| | | | | (CVE_2009_3560). | ||||
* | Do not compile stubs for the sha2 series hashes in the openssl hashlib | Gregory P. Smith | 2010-01-19 | 1 | -0/+12 |
| | | | | | | | module when the openssl version is too old to support them. That leads both compiled code bloat and to unittests attempting to test implementations that don't exist for comparison purposes on such platforms. | ||||
* | - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4 | Ronald Oussoren | 2010-01-17 | 1 | -0/+4 |
| | | | | | | | | | | | | - Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on MacOSX. - Make configure look for util.h as well as libutil.h. The former is the header file that on OSX contains the defition of openpty. (Needed to compile for OSX 10.4 on OSX 10.6) - Use the correct definition of CC to compile the pythonw executable | ||||
* | Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunk | Antoine Pitrou | 2010-01-16 | 1 | -3/+14 |
| | | | | nor in py3k). Patch by Florent Xicluna as well as additional tests. | ||||
* | Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a | Antoine Pitrou | 2010-01-15 | 1 | -1/+1 |
| | | | | 1-byte argument. Patch by Victor Stinner. | ||||
* | Issue #3299: Fix possible crash in the _sre module when given bad | Antoine Pitrou | 2010-01-14 | 1 | -3/+8 |
| | | | | argument values in debug mode. Patch by Victor Stinner. | ||||
* | Issue #7703: Add support for the new buffer API to functions of the | Antoine Pitrou | 2010-01-14 | 1 | -70/+189 |
| | | | | | binascii module. Backported from py3k by Florent Xicluna, with some additional tests. | ||||
* | 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 |
| |