Tim Golden
6e51b8ff0f
Issue13674 Correct crash with strftime %y format under Windows
12 years ago
Stefan Krah
2fdf4e7b9b
Move PyErr_NoMemory() closer to the failure.
12 years ago
Stefan Krah
a0fd1f5a18
Change style to match the surrounding code (no early returns).
12 years ago
Victor Stinner
ac470854b8
Issue #19437 : Fix dec_format() of the _decimal module, handle dec_strdup()
failure (memory allocation failure): raise a MemoryError exception
12 years ago
Victor Stinner
a992e11fe3
Issue #19437 : Fix convert_op_cmp() of decimal.Decimal rich comparator, handle
PyObject_IsInstance() failure
12 years ago
R David Murray
d5a2f0b3a1
#18985 : Improve fcntl documentation.
Original patch by Vajrasky Kok, further improved (I hope) by me.
12 years ago
R David Murray
5fdb64b5a0
#19411 : Clarify that b2a_hex/hexlify returns a bytes object.
Initial patch by Vajrasky Kok.
12 years ago
Tim Golden
6374120750
Issue #19418 Fix some warnings on Win64
12 years ago
Christian Heimes
fb6b44e830
Issue #19227 / Issue #18747 : Remove pthread_atfork() handler to remove OpenSSL re-seeding
It is causing trouble like e.g. hanging processes.
12 years ago
Nadeem Vawda
3797065ac5
#19395 : Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
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.
12 years ago
Georg Brandl
81be27d53e
Issue #19227 : Try to fix deadlocks caused by re-seeding then OpenSSL
pseudo-random number generator on fork().
12 years ago
Serhiy Storchaka
efa5a39fa5
Issue #19405 : Fixed outdated comments in the _sre module.
12 years ago
Benjamin Peterson
89d8cd943b
just return toplevel symbol table rather than all blocks ( closes #19393 )
12 years ago
Serhiy Storchaka
7d6392c517
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
12 years ago
Serhiy Storchaka
9da33ab193
Issue #19287 : Fixed the "in" operator of dbm.ndbm databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
12 years ago
Serhiy Storchaka
be80fc9a84
Issue #19327 : Fixed the working of regular expressions with too big charset.
12 years ago
Antoine Pitrou
09fcb72048
Issue #19356 : Avoid using a C variabled named "_self", it's a reserved word in some C compilers.
12 years ago
Ned Deily
5d4121a631
Issue #18458 : Prevent crashes with newer versions of libedit. Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
12 years ago
Benjamin Peterson
8aa7b89983
replace hardcoded version
12 years ago
Benjamin Peterson
577dd61ff2
make sure the docstring is never out of date wrt unicode data version
12 years ago
Benjamin Peterson
a4cf1c87d0
remove url from docstring ( closes #19220 )
12 years ago
Raymond Hettinger
cb1d96f782
Issue #18594 : Make the C code more closely match the pure python code.
12 years ago
Ned Deily
2a8b3f26b9
Issue #19147 : Fix docstring for fcntl.flock to refer to correct man section.
12 years ago
Raymond Hettinger
224c87d60c
Issue #18594 : Fix the fallback path in collections.Counter().
12 years ago
Raymond Hettinger
2ff2190b62
Issue #18594 : Fix the fast path for collections.Counter().
The path wasn't being taken due to an over-restrictive type check.
12 years ago
Antoine Pitrou
860aee75b8
Properly initialize all fields of a SSL object after allocation.
12 years ago
Serhiy Storchaka
369606df2f
Issue #19028 : Fixed tkinter.Tkapp.merge() for non-string arguments.
12 years ago
Serhiy Storchaka
31f477c7eb
Issue #3015 : Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
13 years ago
doko@ubuntu.com
0648bf795c
- followup for issue #18997 , make _clear_joined_ptr static.
13 years ago
Eli Bendersky
dd3661e782
Issue #18997 : fix ElementTree crash with using pickle and __getstate__.
Based on report and initial patch from Germán M. Bravo
13 years ago
Raymond Hettinger
fb92f393b0
Issue 18752: Make chain.from_iterable() more visible in the documentation.
13 years ago
Serhiy Storchaka
134f0de66d
Issue #18672 : Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
13 years ago
Christian Heimes
60bf2fc25b
Issue #18709 : GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
13 years ago
Victor Stinner
e1040e276b
Issue #18909 : Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
13 years ago
Antoine Pitrou
e93b63b74b
Issue #18876 : The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
Patch by Erik Bray.
13 years ago
Tim Peters
9edb168dd7
cwr_next(): move invariants out of loops.
This simplifies and clarifies the code, and gives a small speedup.
13 years ago
Eli Bendersky
c554f725a0
Issue #18912 : Fix indentation in docstring
Contributed by Jeroen Van Goey
13 years ago
Victor Stinner
b84fc0fd9f
Fix compilation of the _sqlite module if threads are disabled
13 years ago
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
error messages and comments.
13 years ago
Ezio Melotti
7c4a7e6f3c
#18803 : fix more typos. Patch by Févry Thibault.
13 years ago
Charles-François Natali
249cdc39fc
Issue #18763 : subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.
13 years ago
Christian Heimes
f1fe159822
Issue #11973 : Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
13 years ago
Christian Heimes
61636e7105
Issue #18747 : Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.
13 years ago
Serhiy Storchaka
203eb317d2
Issue #16809 : Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.
This is needed for support Tcl/Tk 8.6.
13 years ago
Christian Heimes
80c5de93f9
Issue #18747 : Use a parent atfork handler instead of a child atfork handler.
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
13 years ago
Serhiy Storchaka
9e6b97502f
Issue #17119 : Fixed integer overflows when processing large strings and tuples
in the tkinter module.
13 years ago
Christian Heimes
f77b4b20e9
Issue #18747 : Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.
13 years ago
Serhiy Storchaka
b1973c252c
Issue #8865 : Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception. Patch by Christian Schubert.
13 years ago
Serhiy Storchaka
ec67d187ee
Issue #13461 : Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.
13 years ago
Christian Heimes
4d98ca9ff6
Issue #18777 : The ssl module now uses the new CRYPTO_THREADID API of
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
13 years ago