summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is nowVictor Stinner2015-02-241-0/+9
| | | | set to non inheritable
* Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-3/+5
| | | | overflows. Added few missed PyErr_NoMemory().
* Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7).Serhiy Storchaka2015-02-161-1/+1
|
* avoid reading unallocated memory when argc == 0 (closes #22633)Benjamin Peterson2015-02-141-1/+2
|
* update for copyright for 2015Benjamin Peterson2015-01-011-1/+1
|
* use getentropy when available (backport of 75ede5bec8db) (closes #23115)Benjamin Peterson2014-12-261-6/+35
|
* pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson2014-12-131-3/+2
|
* Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64,Victor Stinner2014-12-121-3/+5
| | | | when Python is configure with --with-tsc. Patch written by Christian Heimes.
* Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-013-3/+3
|
* Issue #21963: backout issue #1856 patch (avoid crashes and lockups whenAntoine Pitrou2014-11-213-22/+3
| | | | | | daemon threads run while the interpreter is shutting down; instead, these threads are now killed when they try to take the GIL), as it seems to break some existing code.
* Issue #22453: Fexed reference leaks when format error messages in ceval.c.Serhiy Storchaka2014-11-182-10/+22
| | | | Warn against the use of leaking macro PyObject_REPR().
* Issue #22193: Fixed integer overflow error in sys.getsizeof().Serhiy Storchaka2014-11-151-4/+9
| | | | Fixed an error in _PySys_GetSizeOf declaration.
* Fixed compilation error introduced in 3f7519f633ed (issue #22518).Serhiy Storchaka2014-10-041-2/+1
|
* Issue #22518: Fixed integer overflow issues in "backslashreplace" andSerhiy Storchaka2014-10-041-2/+12
| | | | "xmlcharrefreplace" error handlers.
* Fixed reference leak in the "backslashreplace" error handler.Serhiy Storchaka2014-09-231-1/+3
|
* PEP 466: backport persistent urandom fd (closes #21305)Benjamin Peterson2014-08-282-16/+79
| | | | Patch from Alex Gaynor.
* Issue #22193: Added private function _PySys_GetSizeOf() needed to implementSerhiy Storchaka2014-08-141-33/+42
| | | | some __sizeof__() methods.
* remove castsBenjamin Peterson2014-08-101-4/+4
|
* restore runtime exec test (#21591)Benjamin Peterson2014-08-101-0/+9
|
* Issue #21591: Handle exec backwards compatibility in the AST builder.Dirkjan Ochtman2014-07-292-9/+12
| | | | | | | Instead of deferring until runtime. This makes sure we hit the right conditions in dealing with unqualified exec statements. Reviewed by Victor Stinner. Test follows in a later commit.
* correct ref counting of default_action (closes #22017)Benjamin Peterson2014-07-201-0/+1
|
* add missing 'because' (closes #22008)Benjamin Peterson2014-07-181-1/+1
| | | | Patch from A Kaptur.
* revert tstate_delete_common, since it's pretty much wrongBenjamin Peterson2014-06-171-8/+1
|
* avoid a deadlock with the interpreter head lock and the GIL during finalizationBenjamin Peterson2014-06-171-1/+8
|
* check if the thread is finalizing after retaking the GILBenjamin Peterson2014-06-171-0/+7
|
* avoid crashes and lockups from daemon threads during interpreter shutdown ↵Benjamin Peterson2014-06-173-3/+16
| | | | (#1856)
* Issue #19362: Tweek len() doc and docstring to expand the indicated range ofTerry Jan Reedy2014-06-161-1/+1
| | | | arguments. Original patch by Gareth Rees.
* Issue #19656: Running Python with the -3 option now also warns aboutSerhiy Storchaka2014-06-011-5/+17
| | | | non-ascii bytes literals.
* Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-2/+6
| | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators.
* Issue #20437: Fixed 43 potential bugs when deleting objects references.Serhiy Storchaka2014-02-092-4/+2
|
* fix error checkBenjamin Peterson2014-01-161-1/+1
|
* update copyright yearBenjamin Peterson2014-01-011-1/+1
|
* Issue #16404: Add checks for return value of PyInt_FromLong() inSerhiy Storchaka2013-12-171-0/+4
| | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
* Fixed leak in sys.flags initialization.Serhiy Storchaka2013-12-171-0/+1
|
* Issue #19638: Raise ValueError instead of crashing when converting billion ↵Mark Dickinson2013-11-261-17/+48
| | | | character strings to float.
* Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in theChristian Heimes2013-10-221-0/+5
| | | | Python executable and not removed by the linker's optimizer.
* Closes #15213: update comment for _PyOS_URandomGeorg Brandl2013-10-061-2/+3
|
* #18839: document that sys.exit() will not accept a non-integer numeric value ↵Ezio Melotti2013-08-261-1/+1
| | | | as exit status.
* 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 #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
| | | | due to something else than /dev/urandom not existing.
* Issue #15866: The xmlcharrefreplace error handler no more produces two XMLSerhiy Storchaka2013-08-061-30/+36
| | | | entities for a non-BMP character on narrow build.
* Fix reference leaks introduced by the patch for issue #5308.Serhiy Storchaka2013-07-111-9/+11
|
* #18424: PEP8ify the tense of the sum docstring.R David Murray2013-07-101-2/+2
|
* Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.Antoine Pitrou2013-06-181-0/+3
|
* Issue #17645: convert an assert() into a proper exception in _Py_Mangle().Antoine Pitrou2013-04-061-2/+5
|
* #17178: update any()/all() docstrings to document their behavior with empty ↵Ezio Melotti2013-02-151-2/+4
| | | | iterables. Patch by Ankur Ankan.
* Issue #5308: Raise ValueError when marshalling too large object (a sequenceSerhiy Storchaka2013-02-131-56/+56
| | | | with size >= 2**31), instead of producing illegal marshal data.
* remove unnecessary clearing of listBenjamin Peterson2013-01-191-7/+0
|
* merge headsBenjamin Peterson2013-01-011-6/+46
|\
| * Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently ↵Mark Dickinson2012-12-241-6/+46
| | | | | | | | due to buggy fstat)