3424 Commits (e27faac45f5b55a22b15c4faff76c3ab676f190d)

Author SHA1 Message Date
Hynek Schlawack 5c6b3e214c Issue #15001: fix segfault on "del sys.module['__main__']" 13 years ago
Ezio Melotti 6c5f5210be #5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. 13 years ago
Ezio Melotti 540da76115 #16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka. 13 years ago
Philip Jenvey 45c41494bf bounds check for bad data (thanks amaury) 13 years ago
Nick Coghlan 557c76c136 Fix compilation on Windows 13 years ago
Nick Coghlan 34937ce249 Issue #6074: Forward port Windows read-only source file fix from 2.7 13 years ago
Christian Heimes 55ad6515c9 Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases. 13 years ago
Christian Heimes 1526582df6 Partly revert ad3824a90261 and add comment about reference ownership 13 years ago
Christian Heimes 5557a9c73f Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815 13 years ago
Christian Heimes 3d463393bb Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to. 13 years ago
Christian Heimes 48d8d21438 Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 13 years ago
Christian Heimes 837e53a7c2 Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases 13 years ago
Antoine Pitrou 7ff1822ec7 Issue #15340: Fix importing the random module when /dev/urandom cannot be opened. 13 years ago
Antoine Pitrou 56cd62c04a Issue #13992: The trashcan mechanism is now thread-safe. This eliminates 13 years ago
Benjamin Peterson c7dedb0945 put * in the normal place 13 years ago
Benjamin Peterson c5d7518a2e move variable decl to the top of the function 13 years ago
Benjamin Peterson 2e2c903700 prevert ast errors from being normalized before ast_error_finish is called (closes #15846) 13 years ago
Antoine Pitrou 75506e8b7c Issue #15726: Fix incorrect bounds checking in PyState_FindModule. 14 years ago
Stefan Krah 07795df683 Issue #15741: Fix potential NULL dereference. Found by Coverity. 14 years ago
Antoine Pitrou 6f430e4963 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Victor Stinner 90ef747e04 Close #13119: use "\r\n" newline for sys.stdout/err on Windows 14 years ago
Meador Inge 996ae04943 remove unused variable 14 years ago
Meador Inge f69e24e3c6 Issue #15368: fixing variable typo. 14 years ago
Meador Inge 2ca6315d15 Issue #15368: make bytecode generation deterministic. 14 years ago
Antoine Pitrou 01cca5e451 Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python". 14 years ago
Benjamin Peterson 8e8fbeae27 don't leak if the __class__ closure is set 14 years ago
Antoine Pitrou d576c711a5 Issue #14761: Fix potential leak on an error case in the import machinery. 14 years ago
Larry Hastings d9e4a414d7 Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. 14 years ago
Benjamin Peterson 32c59b6fc1 mangle keyword-only argname when loading defaults (closes #14607) 14 years ago
Benjamin Peterson 3bf01757b6 move outside WITH_THREAD conditional 14 years ago
Benjamin Peterson 43162b8a02 take linkage def outside of WITH_THREAD conditional (closes #14569) 14 years ago
Benjamin Peterson 80d50428ce fix parse_syntax_error to clean up its resources 14 years ago
Kristján Valur Jónsson c5d47d5ac3 Fix typo when "PyObject*" was changed to "identifier" 14 years ago
Benjamin Peterson 9faf5ee750 this should technicaly be identifier 14 years ago
Benjamin Peterson ab79c71f39 check for NULL 14 years ago
Benjamin Peterson a4e4e35783 check by equality for __future__ not identity (closes #14378) 14 years ago
Gregory P. Smith c809f98143 Fixes Issue #14331: Use significantly less stack space when importing modules by 14 years ago
Matthias Klose 0f4c16e29c - rename configure.in to configure.ac 14 years ago
Ned Deily 7ca97d5208 Issue #14184: Increase the default stack size for secondary threads on 14 years ago
Benjamin Peterson 3f3584695e kill this disabled code 14 years ago
Benjamin Peterson bc4665ebcb use correct naming convention 14 years ago
Antoine Pitrou 4a90ef0363 Issue #14177: marshal.loads() now raises TypeError when given an unicode string. 14 years ago
Antoine Pitrou 679e9d36f7 Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object). 14 years ago
Antoine Pitrou 4f22a8d739 Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding. 14 years ago
Antoine Pitrou 7214612443 In find_module(), do not silence fileno() and dup() errors. 14 years ago
Antoine Pitrou 86838b02f0 Fix test failure in test_cmd_line by initializing the hash secret at the earliest point. 14 years ago
Benjamin Peterson 69e9727657 ensure no one tries to hash things before the random seed is found 14 years ago
Georg Brandl 91e5c08fe8 Fix typo in conditional. 14 years ago
Georg Brandl 12897d7d39 Fix typo in conditional. 14 years ago
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 14 years ago