summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23524: Change back to using Windows errors for _Py_fstat instead of ↵Steve Dower2015-03-071-3/+5
| | | | the errno shim.
* Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() nowVictor Stinner2015-03-061-19/+11
| | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka.
* Issue #23524: Replace _PyVerify_fd function with calling ↵Steve Dower2015-03-062-5/+114
| | | | _set_thread_local_invalid_parameter_handler on every thread.
* Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵Steve Dower2015-03-022-47/+10
| | | | remove unnecessary version checks.
* Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵Steve Dower2015-02-211-4/+2
| | | | removes unused struct win32_stat and return value
* Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_statSteve Dower2015-02-211-2/+2
|
* Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵Steve Dower2015-02-215-15/+157
| | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer.
* Issue #22883: Got rid of outdated references to PyInt and PyString in comments.Serhiy Storchaka2015-02-171-1/+1
|
* Issue #23450: Silenced compiler warnings and added asserts in peephole ↵Serhiy Storchaka2015-02-161-3/+9
| | | | optimizer.
* Issue #23450: Fixed possible integer overflows.Serhiy Storchaka2015-02-162-2/+2
|
* Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-2/+2
|\ | | | | | | overflows. Added few missed PyErr_NoMemory().
| * Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-2/+2
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | Fixed few compiler warnings.Serhiy Storchaka2015-02-163-5/+5
| |
* | merge 3.4 (#22633)Benjamin Peterson2015-02-141-6/+9
|\ \ | |/
| * avoid reading unallocated memory when argc == 0 (closes #22633)Benjamin Peterson2015-02-141-6/+9
| |
* | Splitted the WFILE structure to WFILE and RFILE.Serhiy Storchaka2015-02-111-6/+11
| |
* | Issue #23344: marshal.dumps() is now 20-25% faster on average.Serhiy Storchaka2015-02-111-21/+62
| |
* | Issue #20416: marshal.dumps() with protocols 3 and 4 is now 40-50% faster onSerhiy Storchaka2015-02-111-40/+55
| | | | | | | | average.
* | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-031-14/+22
|\ \ | |/ | | | | and PyObject_AsWriteBuffer().
| * Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-031-13/+21
| | | | | | | | and PyObject_AsWriteBuffer().
* | merge 3.4 (#21295)Benjamin Peterson2015-02-022-371/+362
|\ \ | |/
| * revert lineno and col_offset changes from #16795 (closes #21295)Benjamin Peterson2015-02-022-3917/+3908
| |
* | Merge 3.4 (generator)Victor Stinner2015-01-311-3/+4
|\ \ | |/
| * Issue #23353: Fix the exception handling of generators in PyEval_EvalFrameEx().Victor Stinner2015-01-311-3/+4
| | | | | | | | | | | | | | At entry, save or swap the exception state even if PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception state is now always restored or swapped, not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine Pitrou.
* | Fixed memory leak in marshal.Serhiy Storchaka2015-01-281-1/+3
|\ \ | |/
| * Fixed memory leak in marshal.Serhiy Storchaka2015-01-281-1/+3
| |
* | Issue #22286: The "backslashreplace" error handlers now works withSerhiy Storchaka2015-01-251-53/+91
| | | | | | | | decoding and translating.
* | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
|\ \ | |/
| * Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
| |
* | Issue #23014: Make importlib.abc.Loader.create_module() required whenBrett Cannon2015-01-091-2330/+2375
| | | | | | | | | | | | | | | | | | importlib.abc.Loader.exec_module() is also defined. Before this change, create_module() was optional **and** could return None to trigger default semantics. This change now reduces the options for choosing default semantics to one and in the most backporting-friendly way (define create_module() to return None).
* | merge 3.4 (#23165)Benjamin Peterson2015-01-041-3/+13
|\ \ | |/
| * merge 3.3 (closes #23165)Benjamin Peterson2015-01-041-3/+13
| |\
| | * merge 3.2 (closes #23165)Benjamin Peterson2015-01-041-3/+13
| | |\
| | | * add some overflow checks before multiplying (closes #23165)Benjamin Peterson2015-01-041-3/+13
| | | |
* | | | merge 3.4Benjamin Peterson2014-12-311-1/+1
|\ \ \ \ | |/ / /
| * | | merge 3.3Benjamin Peterson2014-12-311-1/+1
| |\ \ \ | | |/ /
| | * | merge 3.2Benjamin Peterson2014-12-311-1/+1
| | |\ \ | | | |/
| | | * update for copyright for 2015Benjamin Peterson2014-12-311-1/+1
| | | |
| | | * Copyright year update, add version to licenses.v3.2.6rc1Georg Brandl2014-10-041-1/+1
| | | |
| | | * Copyright update to 2013.Georg Brandl2013-03-231-1/+1
| | | |
| | * | Issue #22518: Fixed integer overflow issues in "backslashreplace",v3.3.6rc1Serhiy Storchaka2014-10-041-2/+6
| | | | | | | | | | | | | | | | "xmlcharrefreplace", and "surrogatepass" error handlers.
| * | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-7/+41
| | | | | | | | | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes.
* | | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-4/+35
| | | | | | | | | | | | | | | | instead of reading /dev/urandom, to get pseudo-random bytes.
* | | | #22980 Adds platform and version tags to .pyd filesSteve Dower2014-12-151-4/+17
| | | |
* | | | Update Python/importlib.hZachary Ware2014-12-151-3763/+3763
| | | |
* | | | merge 3.4 (#23048)Benjamin Peterson2014-12-131-3/+2
|\ \ \ \ | |/ / /
| * | | pop the loop block even for infinite while loops (closes #23048)Benjamin Peterson2014-12-131-3/+2
| | | |
* | | | Merge 3.4 (ceval.c)Victor Stinner2014-12-121-3/+5
|\ \ \ \ | |/ / /
| * | | Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64,Victor Stinner2014-12-121-3/+5
| | | | | | | | | | | | | | | | when Python is configure with --with-tsc. Patch written by Christian Heimes.
* | | | Issue #22696: Add function :func:`sys.is_finalizing` to know about ↵Antoine Pitrou2014-12-071-0/+11
| | | | | | | | | | | | | | | | interpreter shutdown.