summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | bring Python into 2013Benjamin Peterson2013-01-011-1/+1
|/
* Make PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)Trent Nelson2012-12-131-3/+11
|
* Closes #16588: Silence unused-but-set warnings in Python/thread_pthread.hJesus Cea2012-12-051-0/+3
|
* Issue #9011: AST creation no longer modifies CST for negated numeric literals.Mark Dickinson2012-11-251-10/+15
|
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-1/+1
| | | | Serhiy Storchaka.
* #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-181-6/+8
| | | | where passed to the interpreter. Patch by Hieu Nguyen.
* Issue #15001: fix segfault on "del sys.modules['__main__']"Hynek Schlawack2012-11-071-5/+5
| | | | Patch by Victor Stinner.
* #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-041-20/+7
| | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
* Issue #6074: Restore the long-broken support for running with read-only ↵Nick Coghlan2012-10-191-0/+6
| | | | source files on Windows
* Issue #14783: Backport changes from 3.2.Chris Jerdonek2012-10-081-1/+2
|
* Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵Christian Heimes2012-09-121-1/+3
| | | | decref 'k' in too many error cases.
* Partly revert ad3824a90261 and add comment about reference ownershipChristian Heimes2012-09-121-2/+1
|