summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* parser: fix usage of Py_BuildValue() to build a parser errorVictor Stinner2014-01-021-1/+1
| | | | Fix typo: "os" format => "Os"
* Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise aVictor Stinner2013-12-191-0/+5
| | | | ValueError if num is negative (instead of raising a SystemError).
* Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner2013-12-191-1/+4
| | | | (wrong type).
* Issue #18829: csv.Dialect() now checks type for delimiter, escapechar andSerhiy Storchaka2013-12-191-1/+8
| | | | quotechar fields. Original patch by Vajrasky Kok.
* remove trailing spaces.Gregory P. Smith2013-12-181-7/+7
|
* Issue #16404: Add checks for return value of PyLong_FromLong() inSerhiy Storchaka2013-12-171-8/+1
| | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
* Issue #19986: Avoid an incorrect warning of older gcc versions.Stefan Krah2013-12-151-3/+4
|
* Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-11/+29
|
* Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subvertedStefan Krah2013-12-141-9/+11
| | | | | by including stdint.h before mpdecimal.h. In that case the only option left is to compile with -D_STDC_LIMIT_MACROS.
* #19970: Fix some comment typos.R David Murray2013-12-142-3/+3
| | | | Report and patch by Vajrasky Kok.
* Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
|
* Issue #14432: Fix compilation when thread support is disabledVictor Stinner2013-12-131-0/+4
|
* Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-131-0/+89
| | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
* Do not discard const qualifier without a reason.Stefan Krah2013-12-121-7/+7
|
* Fix two typos.Stefan Krah2013-12-082-2/+2
|
* Missed one copyright.Stefan Krah2013-12-081-1/+1
|
* Update copyright. The four year increment is intentional (to save work).Stefan Krah2013-12-0833-33/+33
|
* ncurses' winch and mvwinch return an unsigned longChristian Heimes2013-12-041-2/+3
|
* Make a couple of parameters constant.Stefan Krah2013-12-032-14/+14
|
* Fixes issue #15798: subprocess.Popen() no longer fails if fileGregory P. Smith2013-12-021-6/+42
| | | | | descriptor 0, 1 or 2 is closed. The errpipe_write fd will always be >= 3.
* Undo supposed fix for Issue #15798 until I understand why this isGregory P. Smith2013-12-011-1/+5
| | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
* Fixes Issue #15798 - subprocess.Popen() no longer fails if fileGregory P. Smith2013-12-011-5/+1
| | | | descriptor 0, 1 or 2 is closed.
* Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.Alexandre Vassalotti2013-12-011-2/+2
|
* Issue #6477: Added support for pickling the types of built-in singletons.Alexandre Vassalotti2013-12-011-1/+31
|
* Fixed _pickle.Unpickler to handle empty persistent IDs correctly.Alexandre Vassalotti2013-11-301-1/+1
|
* Fix indentation from previous commitEli Bendersky2013-11-281-2/+2
|
* Issue #19815: Fix segfault when parsing empty namespace declaration.Eli Bendersky2013-11-281-1/+4
| | | | Based on patches by Christian Heimes and Vajrasky Kok
* Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka2013-11-261-19/+7
|
* 1) Prepare libmpdec for the 2.4.0 release. None of the following changes ↵Stefan Krah2013-11-243-36/+326
| | | | | | | | | | | | | | | | | | affects _decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
* Fix compilation error under gcc of the ctypes module bundled libffi for arm.Gregory P. Smith2013-11-171-7/+7
| | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration!
* Issue13674 Correct crash with strftime %y format under WindowsTim Golden2013-11-121-0/+7
|
* Move PyErr_NoMemory() closer to the failure.Stefan Krah2013-11-081-1/+1
|
* Change style to match the surrounding code (no early returns).Stefan Krah2013-11-081-4/+3
|
* Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()Victor Stinner2013-10-291-0/+1
| | | | failure (memory allocation failure): raise a MemoryError exception
* Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handleVictor Stinner2013-10-291-10/+17
| | | | PyObject_IsInstance() failure
* #18985: Improve fcntl documentation.R David Murray2013-11-071-11/+13
| | | | Original patch by Vajrasky Kok, further improved (I hope) by me.
* #19411: Clarify that b2a_hex/hexlify returns a bytes object.R David Murray2013-11-031-1/+2
| | | | Initial patch by Vajrasky Kok.
* Issue #19418 Fix some warnings on Win64Tim Golden2013-10-311-2/+5
|
* Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes2013-10-291-67/+0
| | | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
* #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-282-2/+38
| | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.
* Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSLGeorg Brandl2013-10-271-7/+8
| | | | pseudo-random number generator on fork().
* Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka2013-10-271-2/+1
|
* just return toplevel symbol table rather than all blocks (closes #19393)Benjamin Peterson2013-10-261-1/+1
|
* Issue #19288: Fixed the "in" operator of dbm.gnu databases for stringSerhiy Storchaka2013-10-241-4/+13
| | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
* Issue #19287: Fixed the "in" operator of dbm.ndbm databases for stringSerhiy Storchaka2013-10-241-2/+2
| | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
* Issue #19327: Fixed the working of regular expressions with too big charset.Serhiy Storchaka2013-10-241-2/+2
|
* Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵Antoine Pitrou2013-10-234-50/+50
| | | | in some C compilers.
* Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily2013-10-121-15/+25
| | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
* replace hardcoded versionBenjamin Peterson2013-10-111-1/+1
|
* make sure the docstring is never out of date wrt unicode data versionBenjamin Peterson2013-10-111-1/+1
|