summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* fix poor spellingBenjamin Peterson2014-04-141-1/+1
|
* disallow a negative idx parameterBenjamin Peterson2014-04-141-4/+5
|
* in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-1/+4
| | | | | | index Bug reported by Guido Vranken.
* complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-141-0/+6
|\
| * complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-141-0/+4
| |
| * Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-091-2/+5
| | | | | | | | asked for.
| * fix zipimport ref leakBenjamin Peterson2014-01-091-3/+1
| |
| * cleanup for the issue 19081 fix - pull the file open and close outside of theGregory P. Smith2014-01-081-8/+8
| | | | | | | | | | zip_searchorder scanning loop in get_module_code(). [already done in 3.3 and 3.4]
| * Should fix the issue19081 fix on Windows. Don't let the previousGregory P. Smith2014-01-071-1/+4
| | | | | | | | posix module ImportError cause the nt module import to fail.
| * Fixes issue19081: When a zipimport .zip file in sys.path being importedGregory P. Smith2014-01-061-53/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | from is modified during the lifetime of the Python process after zipimport has already opened and cached the zip's table of contents it now fstat's the file after opening it upon every attempt to access anything within and will re-read the table of contents if the .zip file inode, size or mtime have changed. It would've been nicer to hold any .zip file used by zipimport open for the duration of the process but that would be more invasive and add an additional open file descriptor to all zipimport using processes. It also would likely not fix the problem on Windows due to different filesystem semantics.
| * 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-14/+20
| | | | | | | | 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 PyInt_FromLong() inSerhiy Storchaka2013-12-171-8/+1
| | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
| * Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-7/+25
| |
| * Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
| |
| * Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-131-0/+94
| | | | | | | | | | | | | | 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.
| * Issue #19099: The struct module now supports Unicode format strings.Serhiy Storchaka2013-12-081-4/+19
| |
| * Closes #19878: Fix segfault in bz2 module.Nadeem Vawda2013-12-081-7/+10
| | | | | | | | Initial patch by Vajrasky Kok.
| * Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle.Alexandre Vassalotti2013-12-011-63/+1
| |
| * Issue #6477: Added pickling support for singletons and their types.Alexandre Vassalotti2013-12-011-1/+63
| |
| * 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-36/+13
| |
| * backport #18985: Improve fcntl documentation.R David Murray2013-11-071-11/+13
| |
| * Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes2013-10-291-65/+0
| | | | | | | | | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
| * 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 #18739: Fix inconsistent results from math.log(n) and math.log(long(n))Mark Dickinson2013-10-131-12/+22
| |
| * 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.
| * Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.Ned Deily2013-10-021-1/+1
| |
| * Properly initialize all fields of a SSL object after allocation.Antoine Pitrou2013-09-291-0/+1
| |
| * Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+22
| | | | | | | | the _sre moduel.
| * Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
| |\ | | | | | | | | | GEN_EMAIL/GEN_URI/GEN_DNS case
| | * Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
| | | | | | | | | | | | GEN_EMAIL/GEN_URI/GEN_DNS case
| | * - Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytesBarry Warsaw2013-08-231-3/+61
| | | | | | | | | | | | | | | | | | | | | inside subjectAltName correctly. Formerly the module has used OpenSSL's GENERAL_NAME_print() function to get the string represention of ASN.1 strings for `rfc822Name` (email), `dNSName` (DNS) and `uniformResourceIdentifier` (URI).
| | * - Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hashBarry Warsaw2012-03-154-59/+130
| | | | | | | | | | | | | | | | | | table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
| * | Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't castVictor Stinner2013-09-041-1/+1
| | | | | | | | | | | | 64-bit pointer to long (32 bits).
| * | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵Antoine Pitrou2013-09-041-10/+13
| | | | | | | | | | | | | | | | | | under which the file was opened. Patch by Erik Bray.
| * | Close #18912: Fix indentation in docstringEli Bendersky2013-09-031-4/+4
| | | | | | | | | | | | Contributed by Jeroen Van Goey
| * | #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
| | |
| * | Issue #11973: Fix a problem in kevent. The flags and fflags fields are nowChristian Heimes2013-08-251-1/+1
| | | | | | | | | | | | properly handled as unsigned.
| * | Issue #18747: Fix spelling errors in my commit message and comments,Christian Heimes2013-08-251-2/+2
| | | | | | | | | | | | thanks to Vajrasky Kok for proof-reading.
| * | Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka2013-08-221-12/+53
| | | | | | | | | | | | | | | | | | argument. This is needed for support Tcl/Tk 8.6.
| * | Issue #18747: Use a parent atfork handler instead of a child atfork handler.Christian Heimes2013-08-221-12/+9
| | | | | | | | | | | | fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
| * | Issue #17119: Fixed integer overflows when processing large Unicode stringsSerhiy Storchaka2013-08-211-10/+33
| | | | | | | | | | | | and tuples in the tkinter module.
| * | Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+72
| | | | | | | | | | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
| * | Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-0/+13
| | | | | | | | | | | | RuntimeError exception. Patch by Christian Schubert.
| * | Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"Serhiy Storchaka2013-08-201-1/+1
| | | | | | | | | | | | error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
| * | Issue #18777: The ssl module now uses the new CRYPTO_THREADID API ofChristian Heimes2013-08-191-1/+17
| | | | | | | | | | | | OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.