Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | | | | going out of scope leaks the storage it points to. | ||||
* | Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | |||||
* | Closed reference leak of variable 'k' in function ste_new which wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | decrefed in error cases | ||||
* | Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵ | Antoine Pitrou | 2012-09-07 | 1 | -1/+2 |
| | | | | | | opened. This was a regression caused by the hash randomization patch. | ||||
* | Issue #13992: The trashcan mechanism is now thread-safe. This eliminates | Antoine Pitrou | 2012-09-05 | 1 | -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 place | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | move variable decl to the top of the function | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | |||||
* | prevert ast errors from being normalized before ast_error_finish is called ↵ | Benjamin Peterson | 2012-09-02 | 1 | -0/+8 |
| | | | | (closes #15846) | ||||
* | Issue #15726: Fix incorrect bounds checking in PyState_FindModule. | Antoine Pitrou | 2012-08-20 | 1 | -1/+1 |
| | | | | Patch by Robin Schreiber. | ||||
* | Issue #15741: Fix potential NULL dereference. Found by Coverity. | Stefan Krah | 2012-08-20 | 1 | -0/+2 |
| | |||||
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 2 | -3/+14 |
| | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
* | Close #13119: use "\r\n" newline for sys.stdout/err on Windows | Victor Stinner | 2012-08-03 | 1 | -5/+8 |
| | | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2. | ||||
* | remove unused variable | Meador Inge | 2012-07-18 | 1 | -1/+1 |
| | |||||
* | Issue #15368: fixing variable typo. | Meador Inge | 2012-07-18 | 1 | -1/+1 |
| | |||||
* | Issue #15368: make bytecode generation deterministic. | Meador Inge | 2012-07-18 | 1 | -2/+22 |
| | |||||
* | Issue #15020: The program name used to search for Python's path is now ↵ | Antoine Pitrou | 2012-07-05 | 1 | -0/+4 |
| | | | | "python3" under Unix, not "python". | ||||
* | don't leak if the __class__ closure is set | Benjamin Peterson | 2012-06-02 | 1 | -4/+2 |
| | |||||
* | Issue #14761: Fix potential leak on an error case in the import machinery. | Antoine Pitrou | 2012-05-09 | 1 | -1/+2 |
| | |||||
* | Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. | Larry Hastings | 2012-05-08 | 1 | -0/+1 |
| | |||||
* | mangle keyword-only argname when loading defaults (closes #14607) | Benjamin Peterson | 2012-04-17 | 1 | -1/+5 |
| | |||||
* | move outside WITH_THREAD conditional | Benjamin Peterson | 2012-04-13 | 1 | -2/+2 |
| | |||||
* | take linkage def outside of WITH_THREAD conditional (closes #14569) | Benjamin Peterson | 2012-04-13 | 1 | -4/+3 |
| | |||||
* | fix parse_syntax_error to clean up its resources | Benjamin Peterson | 2012-04-03 | 1 | -20/+31 |
| | |||||
* | Fix typo when "PyObject*" was changed to "identifier" | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 |
| | |||||
* | this should technicaly be identifier | Benjamin Peterson | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | check for NULL | Benjamin Peterson | 2012-03-22 | 1 | -1/+2 |
| | |||||
* | check by equality for __future__ not identity (closes #14378) | Benjamin Peterson | 2012-03-22 | 1 | -8/+2 |
| | |||||
* | Fixes Issue #14331: Use significantly less stack space when importing modules by | Gregory P. Smith | 2012-03-18 | 1 | -39/+127 |
| | | | | allocating path buffers on the heap instead of the stack. | ||||
* | Issue #14184: Increase the default stack size for secondary threads on | Ned Deily | 2012-03-13 | 1 | -8/+12 |
| | | | | Mac OS X to prevent interpreter crashes when compiled on 10.7. | ||||
* | kill this disabled code | Benjamin Peterson | 2012-03-12 | 1 | -6/+0 |
| | |||||
* | use correct naming convention | Benjamin Peterson | 2012-03-12 | 1 | -2/+2 |
| | |||||
* | Issue #14177: marshal.loads() now raises TypeError when given an unicode string. | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 |
| | | | | Patch by Guilherme Gonçalves. | ||||
* | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 |
| | | | | (other than a bytes object). | ||||
* | Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵ | Antoine Pitrou | 2012-02-22 | 1 | -1/+3 |
| | | | | encoding. | ||||
* | In find_module(), do not silence fileno() and dup() errors. | Antoine Pitrou | 2012-02-22 | 1 | -0/+2 |
| | |||||
* | Fix test failure in test_cmd_line by initializing the hash secret at the ↵ | Antoine Pitrou | 2012-02-21 | 2 | -2/+10 |
| | | | | earliest point. | ||||
* | merge 3.2 | Benjamin Peterson | 2012-02-21 | 1 | -4/+8 |
|\ | |||||
| * | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 1 | -4/+8 |
| | | |||||
| * | Fix typo in conditional. | Georg Brandl | 2012-02-20 | 1 | -1/+1 |
| | | |||||
* | | Fix typo in conditional. | Georg Brandl | 2012-02-20 | 1 | -1/+1 |
| | | |||||
* | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 3 | -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 Brandl | 2012-02-20 | 3 | -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.executable | Petri Lehtinen | 2012-02-02 | 1 | -1/+1 |
| | | | | | | | | Closes #13402. | ||||
* | | Port import fixes from 2.7. | Antoine Pitrou | 2012-01-25 | 1 | -10/+10 |
| | | |||||
* | | Issue #11235: Fix OverflowError when trying to import a source file whose ↵ | Antoine Pitrou | 2012-01-24 | 1 | -7/+4 |
| | | | | | | | | modification time doesn't fit in a 32-bit timestamp. | ||||
* | | Issue #13722: Avoid silencing ImportErrors when initializing the codecs ↵ | Antoine Pitrou | 2012-01-18 | 1 | -9/+0 |
| | | | | | | | | registry. | ||||
* | | Fix the builtin module initialization code to store the init function for ↵ | Antoine Pitrou | 2012-01-18 | 1 | -0/+4 |
| | | | | | | | | future reinitialization. | ||||
* | | Fix a memory leak when initializing the standard I/O streams. | Antoine Pitrou | 2012-01-18 | 1 | -1/+2 |
| | | |||||
* | | Issue #13629: Renumber the tokens in token.h to match the ↵ | Meador Inge | 2012-01-16 | 1 | -15/+15 |
| | | | | | | | | _PyParser_TokenNames indexes. | ||||
* | | fold into one if statement | Benjamin Peterson | 2012-01-12 | 1 | -3/+1 |
| | |