summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* #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 Peterson2012-12-311-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 Peterson2012-12-311-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-051-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-071-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-061-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-201-20/+16
|
* Closes #9254: backport __import__ docstring/doc mentions of importlib.R David Murray2012-07-181-2/+6
| | | | Patch by Éric Araujo.
* remove unused variableMeador Inge2012-07-181-1/+1
|
* Issue #15368: fixing variable typo.Meador Inge2012-07-181-1/+1
|
* Issue #15368: make bytecode generation deterministic.Meador Inge2012-07-181-2/+22
|
* Issue #8767: Restore building with --disable-unicode.Martin v. Löwis2012-05-202-0/+4
| | | | Original patch by Stefano Taschini.
* Issue #14761: Fix potential leak on an error case in the import machinery.Antoine Pitrou2012-05-091-1/+2
|
* Fix compiler warning related to issue #14331. harmless.Gregory P. Smith2012-04-181-1/+2
|
* move outside WITH_THREAD conditionalBenjamin Peterson2012-04-131-2/+2
|
* take linkage def outside of WITH_THREAD conditional (closes #14569)Benjamin Peterson2012-04-131-4/+3
|
* fix parse_syntax_error to clean up its resourcesBenjamin Peterson2012-04-031-19/+31
|
* Issue #10538. Put a reference to the source object in the Py_buffer whenKristján Valur Jónsson2012-03-221-1/+1
| | | | converting the old buffer for PyArgs_ParseTuple with *s
* this should technicaly be identifierBenjamin Peterson2012-03-221-1/+1
|
* check for NULLBenjamin Peterson2012-03-221-1/+1
|
* check by equality for __future__ not identity (closes #14378)Benjamin Peterson2012-03-221-8/+3
|
* Fixes Issue #14331: Use significantly less stack space when importing modules byGregory P. Smith2012-03-181-31/+95
| | | | allocating path buffers on the heap instead of the stack.
* - rename configure.in to configure.acMatthias Klose2012-03-141-1/+1
| | | | - change references from configure.in to configure.ac
* Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now ↵Jason R. Coombs2012-03-081-1/+1
| | | | #ifdef again.
* Fix indentationJason R. Coombs2012-01-131-16/+16
|
* Extracted Windows directory detection from NullImporter.__init__. This ↵Jason R. Coombs2012-01-131-47/+24
| | | | greatly simplifies the code and fixes issue6727.
* Moved directory detection into an isdir functionJason R. Coombs2012-01-131-28/+14
|
* Fix crash at startup with -W options.Antoine Pitrou2012-02-212-2/+9
|
* merge 2.6Benjamin Peterson2012-02-211-4/+8
|\
| * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
| |
* | merge 2.6 with hash randomization fixBenjamin Peterson2012-02-203-2/+314
|\ \ | |/
| * - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEEDBarry Warsaw2012-02-203-2/+314
| | | | | | | | | | | | environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner.