summaryrefslogtreecommitdiff
path: root/Python
AgeCommit message (Collapse)AuthorLines
2013-10-22Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in theChristian Heimes-0/+4
Python executable and not removed by the linker's optimizer.
2013-10-13Issue #18776: atexit callbacks now display their full traceback when they ↵Antoine Pitrou-0/+10
raise an exception.
2013-10-07Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou-2/+2
least one place so as to avoid regressions.
2013-10-06Closes #15213: update comment for _PyOS_URandomGeorg Brandl-2/+3
2013-10-03[issue19152] Revert 832579dbafd6.Eric Snow-210/+192
2013-10-03[issue19152] Add ExtensionFileLoader.get_filename().Eric Snow-192/+210
2013-10-03[issue19151] Fix docstring and use of _get_suppported_file_loaders() to ↵Eric Snow-2613/+2611
reflect 2-tuples.
2013-09-26don't scale compiler stack frames if the recursion limit is huge (closes #19098)Benjamin Peterson-2/+6
2013-09-03Issue #16826: Revert fix while Windows issues are being worked out.Meador Inge-4206/+4201
2013-09-03Issue #16826: Don't check for PYTHONCASEOK when using -E.Meador Inge-4201/+4206
This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable.
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-6/+5
error messages and comments.
2013-08-26#18839: document that sys.exit() will not accept a non-integer numeric value ↵Ezio Melotti-1/+1
as exit status.
2013-08-16Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou-2/+6
due to something else than /dev/urandom not existing.
2013-07-27Issue #15893: Remove dead codeVictor Stinner-5/+0
2013-07-27Issue #15893: frozenmain.c now handles PyMem_Malloc() failureVictor Stinner-2/+9
2013-07-27Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes-3/+7
2013-07-27Parser/asdl_c.py: use Py_CLEAR()Victor Stinner-268/+134
2013-07-27According to the PEP 7, C code must "use 4-space indents"Victor Stinner-5739/+5694
Replace 8 spaces with 4.
2013-07-26Issue #18560: Fix potential NULL pointer dereference in sum()Christian Heimes-0/+5
2013-07-24Fix potential NULL pointer dereferencing in ast moduleChristian Heimes-1/+1
CID 719690
2013-07-22return NULL hereBenjamin Peterson-1/+2
2013-07-22Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],Christian Heimes-3/+4
prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
2013-07-21fix spacingBenjamin Peterson-1/+1
2013-07-21let's not return NULL from functions that should return intsBenjamin Peterson-2/+2
2013-07-21Check return value of lseek() in _Py_DisplaySourceLine().Christian Heimes-1/+7
Also use portable SEEK_SET instead of 0. CID 1040639
2013-07-21Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() ↵Christian Heimes-0/+5
for error CID 486768
2013-07-20Check return value of fstat() in _PyImport_GetDynLoadFunc()Christian Heimes-1/+3
CID 486250
2013-07-20Add missing check of PyDict_SetItem()'s return value in ↵Christian Heimes-1/+4
_PyImport_FindExtensionObject() CID 486649
2013-07-20Add missing check of PyDict_SetItem()'s return value in PyEval_EvalCodeEx()Christian Heimes-1/+3
CID 486647
2013-07-11Issue #17872: Fix a segfault in marshal.load() when input stream returnsSerhiy Storchaka-15/+20
more bytes than requested.
2013-07-11Fix reference leaks introduced by the patch for issue #5308.Serhiy Storchaka-12/+11
2013-07-11Issue #18426: improve exception message. Courtesy of AmauryChristian Heimes-1/+5
2013-07-11Issue #18426: Fix NULL pointer dereference in C extension import whenChristian Heimes-0/+2
PyModule_GetDef() returns an error.
2013-07-10#18424: PEP8ify the tense of the sum docstring.R David Murray-2/+2
2013-07-06Issue #18351: Fix various issues withBrett Cannon-3369/+3367
importlib._bootstrap._get_sourcefile(). Thanks to its only use by the C API, it was never properly tested until now. Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
2013-07-01Issue #18328: Reorder ops in PyThreadState_Delete*() functions. Now theChristian Heimes-2/+2
tstate is first removed from TLS and then deallocated. CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE) use_after_free: Using freed pointer tstate.
2013-06-23Issue #18137: Detect integer overflow on precision in float.__format__() andVictor Stinner-2/+14
complex.__format__().
2013-06-18Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.Antoine Pitrou-0/+3
2013-06-16Fix a misnaming of a method and an argumentBrett Cannon-1071/+1071
2013-06-10Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().Richard Oudkerk-2/+3
2013-05-16move definition to top of blockBenjamin Peterson-1/+2
2013-05-15complain about "global __class__" in a class body (closes #17983)Benjamin Peterson-0/+6
2013-05-14when arguments are cells clear the locals slot (backport of #17927)Benjamin Peterson-2/+6
2013-05-05Fix crash caused by 8c1385205a35Antoine Pitrou-6/+8
(thanks Arfrever for reporting).
2013-05-04Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou-3/+1
the interpreter is shutdown and then started again.
2013-04-29ignore errors when trying to fetch sys.stdin.encoding (closes #17863)Benjamin Peterson-9/+8
2013-04-29raise an ImportError (rather than fatal) when __import__ is not found in ↵Benjamin Peterson-1/+2
__builtins__ (closes #17867)
2013-04-19#17413: make sure settrace funcs get passed exception instances for 'value'.R David Murray-0/+1
Patch by Ingrid Cheung and Brendan McLoughlin.
2013-04-19Fix indentation.Ezio Melotti-6/+6
2013-04-06Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka-21/+9