summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵Christian Heimes2012-09-101-0/+1
| | | | going out of scope leaks the storage it points to.
* 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 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.
* put * in the normal placeBenjamin Peterson2012-09-021-2/+2
|
* move variable decl to the top of the functionBenjamin Peterson2012-09-021-2/+2
|
* prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-021-0/+8
| | | | (closes #15846)
* Issue #15726: Fix incorrect bounds checking in PyState_FindModule.Antoine Pitrou2012-08-201-1/+1
| | | | Patch by Robin Schreiber.
* 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-3/+14
| | | | | | errors correctly. Patch by Serhiy Storchaka.
* Close #13119: use "\r\n" newline for sys.stdout/err on WindowsVictor Stinner2012-08-031-5/+8
| | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
* 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 #15020: The program name used to search for Python's path is now ↵Antoine Pitrou2012-07-051-0/+4
| | | | "python3" under Unix, not "python".
* don't leak if the __class__ closure is setBenjamin Peterson2012-06-021-4/+2
|
* Issue #14761: Fix potential leak on an error case in the import machinery.Antoine Pitrou2012-05-091-1/+2
|
* Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c.Larry Hastings2012-05-081-0/+1
|
* mangle keyword-only argname when loading defaults (closes #14607)Benjamin Peterson2012-04-171-1/+5
|
* 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-20/+31
|
* Fix typo when "PyObject*" was changed to "identifier"Kristján Valur Jónsson2012-03-231-1/+1
|
* this should technicaly be identifierBenjamin Peterson2012-03-221-1/+1
|
* check for NULLBenjamin Peterson2012-03-221-1/+2
|
* check by equality for __future__ not identity (closes #14378)Benjamin Peterson2012-03-221-8/+2
|
* Fixes Issue #14331: Use significantly less stack space when importing modules byGregory P. Smith2012-03-181-39/+127
| | | | allocating path buffers on the heap instead of the stack.
* Issue #14184: Increase the default stack size for secondary threads onNed Deily2012-03-131-8/+12
| | | | Mac OS X to prevent interpreter crashes when compiled on 10.7.
* kill this disabled codeBenjamin Peterson2012-03-121-6/+0
|
* use correct naming conventionBenjamin Peterson2012-03-121-2/+2
|
* Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-031-4/+4
| | | | Patch by Guilherme Gonçalves.
* Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-4/+4
| | | | (other than a bytes object).
* Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵Antoine Pitrou2012-02-221-1/+3
| | | | encoding.
* In find_module(), do not silence fileno() and dup() errors.Antoine Pitrou2012-02-221-0/+2
|
* Fix test failure in test_cmd_line by initializing the hash secret at the ↵Antoine Pitrou2012-02-212-2/+10
| | | | earliest point.
* merge 3.2Benjamin Peterson2012-02-211-4/+8
|\
| * ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
| |
| * Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| |
* | Fix typo in conditional.Georg Brandl2012-02-201-1/+1
| |
* | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-203-2/+314
|\ \ | |/ | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-203-2/+314
| | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-1/+1
| | | | | | | | Closes #13402.
* | Port import fixes from 2.7.Antoine Pitrou2012-01-251-10/+10
| |
* | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-7/+4
| | | | | | | | modification time doesn't fit in a 32-bit timestamp.
* | Issue #13722: Avoid silencing ImportErrors when initializing the codecs ↵Antoine Pitrou2012-01-181-9/+0
| | | | | | | | registry.
* | Fix the builtin module initialization code to store the init function for ↵Antoine Pitrou2012-01-181-0/+4
| | | | | | | | future reinitialization.
* | Fix a memory leak when initializing the standard I/O streams.Antoine Pitrou2012-01-181-1/+2
| |
* | Issue #13629: Renumber the tokens in token.h to match the ↵Meador Inge2012-01-161-15/+15
| | | | | | | | _PyParser_TokenNames indexes.
* | fold into one if statementBenjamin Peterson2012-01-121-3/+1
| |