summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* #6544: fix refleak in kqueue, occurring in certain error conditions.Georg Brandl2010-02-231-16/+15
|
* ctypes CThunkObject was not registered correctly with the cycleThomas Heller2010-02-231-3/+4
| | | | | garbage collector, leading to possible leaks when using callback functions.
* #7706: add include guards where they're missing; required for Windows CEAndrew M. Kuchling2010-02-222-1/+12
|
* Fix comment typoAndrew M. Kuchling2010-02-221-1/+1
|
* #7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru ChenAndrew M. Kuchling2010-02-221-2/+0
|
* Silence more 'comparison between signed and unsigned' warnings.Mark Dickinson2010-02-141-2/+2
|
* Add guard around the prototype for completion_matches to enableRonald Oussoren2010-02-111-0/+3
| | | | compilition with libedit on OSX 10.5
* Issue #4772: Raise a ValueError when an unknown Bluetooth protocol isAntoine Pitrou2010-02-041-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` whenAntoine Pitrou2010-02-021-0/+95
| | | | `PyObject_GetBuffer` fails. Patch by Florent Xicluna.
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-315-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 Peterson2010-01-301-3/+13
|
* move test outside WITH_THREAD sectionBenjamin Peterson2010-01-301-2/+3
|
* Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, aMark Dickinson2010-01-301-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 hugeMark Dickinson2010-01-291-2/+3
| | | | step value. Patch by Marcin Bachry.
* - Expat: Fix DoS via XML document with malformed UTF-8 sequencesMatthias Klose2010-01-221-0/+3
| | | | (CVE_2009_3560).
* Do not compile stubs for the sha2 series hashes in the openssl hashlibGregory P. Smith2010-01-191-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.4Ronald Oussoren2010-01-171-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 trunkAntoine Pitrou2010-01-161-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 aAntoine Pitrou2010-01-151-1/+1
| | | | 1-byte argument. Patch by Victor Stinner.
* Issue #3299: Fix possible crash in the _sre module when given badAntoine Pitrou2010-01-141-3/+8
| | | | argument values in debug mode. Patch by Victor Stinner.
* Issue #7703: Add support for the new buffer API to functions of theAntoine Pitrou2010-01-141-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 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.