summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641Christian Heimes2012-09-101-0/+1
|
* Closed reference leak of variable 'k' in function ste_new which wasn't ↵Christian Heimes2012-09-101-1/+2
| | | | decrefed in error cases
* Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵Antoine Pitrou2012-09-071-1/+2
| | | | | | opened. This was a regression caused by the hash randomization patch.
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-051-0/+3
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 2.7.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 2.7.3 and earlier. However, extension modules compiled for 2.7.3 and earlier will be loadable by 2.7.4.
* Issue #15741: Fix potential NULL dereference. Found by Coverity.Stefan Krah2012-08-201-0/+2
|
* Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-152-8/+27
| | | | | | errors correctly. Patch by Serhiy Storchaka.
* - Issue #15647: Make isdir static for windows and posixMatthias Klose2012-08-141-2/+2
|
* Fix whitespaceRaymond Hettinger2012-07-211-20/+16
|
* Closes #9254: backport __import__ docstring/doc mentions of importlib.R David Murray2012-07-181-2/+6
| | | | Patch by Éric Araujo.