Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23571: _Py_CheckFunctionResult() now gives the name of the function | Victor Stinner | 2015-03-21 | 1 | -2/+3 |
| | | | | | | | | | | | which returned an invalid result (result+error or no result without error) in the exception message. Add also unit test to check that the exception contains the name of the function. Special case: the final _PyEval_EvalFrameEx() check doesn't mention the function since it didn't execute a single function but a whole frame. | ||||
* | Removed trailing tabs. | Serhiy Storchaka | 2015-03-21 | 2 | -2/+2 |
| | |||||
* | Issue #23646: Enhance precision of time.sleep() and socket timeout when | Victor Stinner | 2015-03-20 | 1 | -7/+5 |
| | | | | | | | | interrupted by a signal Add a new _PyTime_AddDouble() function and remove _PyTime_ADD_SECONDS() macro. The _PyTime_ADD_SECONDS only supported an integer number of seconds, the _PyTime_AddDouble() has subsecond resolution. | ||||
* | Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle | Victor Stinner | 2015-03-19 | 1 | -0/+10 |
| | | | | | | | | EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux. | ||||
* | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 3 | -5/+5 |
| | |||||
* | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-17 | 1 | -0/+4 |
| | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | ||||
* | Issue #23644: Fix issues with C++ when compiling Python extensions | Victor Stinner | 2015-03-17 | 2 | -12/+10 |
| | | | | | | | | Disable completly pyatomic.h on C++, because <stdatomic.h> is not compatible with C++. <pyatomic.h> is only needed by the optimized PyThreadState_GET() macro in pystate.h. Instead, declare PyThreadState_GET() as an alias to PyThreadState_Get(), as done for limited API. | ||||
* | Issue #23644, #22038: Move #include <stdatomic.c> inside the extern "C" { ... } | Victor Stinner | 2015-03-12 | 1 | -4/+4 |
| | | | | block in pyatomic.h | ||||
* | Post-release changes for 3.5.0a2. | Larry Hastings | 2015-03-09 | 1 | -1/+1 |
| | |||||
* | Release bump for 3.5.0a2.v3.5.0a2 | Larry Hastings | 2015-03-08 | 1 | -2/+2 |
| | |||||
* | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 1 | -0/+5 |
| | | | | | | | | | | | 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 Dower | 2015-03-06 | 2 | -11/+12 |
| | | | | _set_thread_local_invalid_parameter_handler on every thread. | ||||
* | Issue #23152: Move declarations back to posixmodule.c. | Serhiy Storchaka | 2015-02-22 | 1 | -4/+0 |
| | | | | | | | Declarations of Windows-specific auxilary functions need Windows types from windows.h. Instead of including windows.h in Python.h and making it available to all Windows users, it is simpler and safer just move declarations to the single file that needs them. | ||||
* | Issue #23152: Move declaration into a header and exclude from stable API. | Serhiy Storchaka | 2015-02-22 | 1 | -0/+6 |
| | |||||
* | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 1 | -1/+30 |
| | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
* | Merge 3.4 (typo) | Victor Stinner | 2015-02-11 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo: PyMem_Alloc => PyMem_Malloc | Victor Stinner | 2015-02-11 | 1 | -1/+1 |
| | | |||||
| * | Post-release updates for Python 3.4.3rc1. | Larry Hastings | 2015-02-08 | 1 | -1/+1 |
| | | |||||
| * | Version bump for 3.4.3rc1. | Larry Hastings | 2015-02-08 | 1 | -4/+4 |
| | | |||||
* | | Post-release updates for Python 3.5.0a1. | Larry Hastings | 2015-02-08 | 1 | -1/+1 |
| | | |||||
* | | Release bump for 3.5.0a1. | Larry Hastings | 2015-02-08 | 1 | -2/+2 |
| | | |||||
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -1/+1 |
|\ \ | |/ | | | | | and PyObject_AsWriteBuffer(). | ||||
* | | merge | Raymond Hettinger | 2015-01-30 | 1 | -4/+0 |
|\ \ | |||||
| * \ | Closes #22668: Merge from 3.4. | Stefan Krah | 2015-01-29 | 1 | -4/+0 |
| |\ \ | | |/ | |||||
| | * | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 | 1 | -2/+2 |
| | | | |||||
* | | | Move the set search finger before the smalltable. | Raymond Hettinger | 2015-01-30 | 1 | -2/+2 |
|/ / | |||||
* | | Remove unneeded dummy test from the set search loop (when the hashes match ↵ | Raymond Hettinger | 2015-01-27 | 1 | -1/+4 |
| | | | | | | | | we know the key is not a dummy). | ||||
* | | Issue #23119: Simplify setobject by inlining the special case for unicode ↵ | Raymond Hettinger | 2015-01-26 | 1 | -2/+1 |
| | | | | | | | | equality testing. | ||||
* | | Issue20284: Implement PEP461 | Ethan Furman | 2015-01-24 | 2 | -0/+3 |
| | | |||||
* | | Issue 23261: Clean-up the hack to store the set.pop() search finger in a ↵ | Raymond Hettinger | 2015-01-18 | 1 | -3/+2 |
| | | | | | | | | hash field instead of the setobject. | ||||
* | | merge 3.4 (#23221) | Benjamin Peterson | 2015-01-13 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 2 | -2/+2 |
| | | | | | | | | Patch by Karan Goel. | ||||
* | | Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions for | Victor Stinner | 2015-01-09 | 1 | -3/+77 |
| | | | | | | | | | | atomic memory access if available. Patch written by Vitor de Lima and Gustavo Temple. | ||||
* | | Minor comment clean-up | Raymond Hettinger | 2014-12-29 | 1 | -2/+1 |
| | | |||||
* | | Neaten-up setobject.h | Raymond Hettinger | 2014-12-27 | 1 | -45/+39 |
| | | | | | | | | | | | | - Move all Py_LIMITED_API exclusions together under one #ifndef - Group PyAPI_FUNC functions and PyAPI_DATA together. - Bring related comments together and put them in the appropriate section. | ||||
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -1/+1 |
| | | |||||
| * | Issue #22453: Warn against the use of leaking macro PyObject_REPR(). | Serhiy Storchaka | 2014-11-18 | 1 | -2/+6 |
| | | |||||
* | | Issue #19676: Added the "namereplace" error handler. | Serhiy Storchaka | 2014-11-25 | 1 | -0/+3 |
| | | |||||
* | | Issue #22869: Split pythonrun into two modules | Nick Coghlan | 2014-11-20 | 6 | -110/+135 |
| | | | | | | | | | | | | | | - interpreter startup and shutdown code moved to a new pylifecycle.c module - Py_OptimizeFlag moved into the new module with the other global flags | ||||
* | | Issue #22453: Removed non-documented macro PyObject_REPR(). | Serhiy Storchaka | 2014-11-18 | 1 | -3/+0 |
| | | |||||
* | | Issue #18637: Fixed an error in _PyNode_SizeOf declaration. | Serhiy Storchaka | 2014-11-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Roumen Petrov. | ||||
| * | Issue #18637: Fixed an error in _PyNode_SizeOf declaration. | Serhiy Storchaka | 2014-11-18 | 1 | -1/+1 |
| | | | | | | | | Patch by Roumen Petrov. | ||||
* | | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -1/+1 |
|\ \ | |/ | | | | | Fixed an error in _PySys_GetSizeOf declaration. | ||||
| * | Issue #22193: Fixed integer overflow error in sys.getsizeof(). | Serhiy Storchaka | 2014-11-15 | 1 | -1/+1 |
| | | | | | | | | Fixed an error in _PySys_GetSizeOf declaration. | ||||
* | | Issue #22591: Drop support of MS-DOS | Victor Stinner | 2014-10-10 | 1 | -4/+1 |
| | | | | | | | | | | | | Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of GCC). Today is a sad day. Good bye MS-DOS, good bye my friend :'-( | ||||
* | | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -1/+3 |
|\ \ | |/ | | | | | _PyErr_ChainExceptions() function. | ||||
| * | Issue #21715: Extracted shared complicated code in the _io module to new | Serhiy Storchaka | 2014-10-08 | 1 | -1/+3 |
| | | | | | | | | _PyErr_ChainExceptions() function. | ||||
* | | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
| * | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -0/+1 |
| | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. |