summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove the redundant #define: PY_STRUCT_FLOAT_COERCEMark Dickinson2010-03-051-13/+0
|
* Fix incorrect stacklevel for DeprecationWarnings originating from the struct ↵Mark Dickinson2010-03-051-1/+1
| | | | | | | module. Also clean up related tests in test_struct. The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
* Merged code from pysqlite 2.6.0.Gerhard Häring2010-03-0517-65/+323
|
* Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public ReviewVictor Stinner2010-03-041-1/+1
| | | | | | Issue #29. PR #29 was released in february 2004!
* Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler,Victor Stinner2010-03-041-1/+6
| | | | reset also the pointer to the current pointer context.
* Issue #7544: Preallocate thread memory before creating the thread to avoid aVictor Stinner2010-03-031-2/+10
| | | | fatal error in low memory condition.
* Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL()Victor Stinner2010-03-031-5/+8
| | | | | | by Py_DECREF() to avoid a crash in pydebug mode. Use po->wo==NULL to detect than the panel is in the lop list or not.
* Issue #3299: fix thread.allocate_lock() error handler, replace PyObject_Del()Victor Stinner2010-03-031-8/+9
| | | | by Py_DECREF() to fix a crash in pydebug mode.
* Issue #2973: Fix gcc warning on the 2nd argument of ASN1_item_d2i() andVictor Stinner2010-03-021-0/+5
| | | | | method->d2i(): OpenSSL API changed in OpenSSL 0.9.6m. Patch written by Daniel Black.
* remove CVS idBenjamin Peterson2010-03-011-2/+0
|
* #7808: Fix reference leaks in _bsddb and related tests.Florent Xicluna2010-03-011-3/+4
|
* Fixes issue #7999: os.setreuid() and os.setregid() would refuse to acceptGregory P. Smith2010-03-011-6/+20
| | | | a -1 parameter on some platforms such as OS X.
* Fix for r78527. It left out updating forkpty.Gregory P. Smith2010-03-011-4/+7
|
* Issue #7242: On Solaris 9 and earlier calling os.fork() from within aGregory P. Smith2010-03-011-10/+19
| | | | | thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork.
* #4852: Remove dead code in every thread implementation, unused for many years.Amaury Forgeot d'Arc2010-02-231-16/+0
|
* #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.