Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Issue #19972: Add rarely used freefunc. This fixes a leak if sys.exit() | Stefan Krah | 2013-12-14 | 1 | -8/+14 | |
| | | | | | | | | | | | | is used in a program. | |||||
* | | | Merge from 3.3. | Stefan Krah | 2013-12-14 | 1 | -9/+11 | |
|\ \ \ | |/ / | ||||||
| * | | Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subverted | Stefan Krah | 2013-12-14 | 1 | -9/+11 | |
| | | | | | | | | | | | | | | | by including stdint.h before mpdecimal.h. In that case the only option left is to compile with -D_STDC_LIMIT_MACROS. | |||||
* | | | Merge: #19970: Fix some comment typos. | R David Murray | 2013-12-14 | 2 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | #19970: Fix some comment typos. | R David Murray | 2013-12-14 | 2 | -3/+3 | |
| | | | | | | | | | | | | Report and patch by Vajrasky Kok. | |||||
* | | | Issue #19787: PyThread_set_key_value() now always set the value | Victor Stinner | 2013-12-13 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3.3, PyThread_set_key_value() did nothing if the key already exists (if the current value is a non-NULL pointer). When _PyGILState_NoteThreadState() is called twice on the same thread with a different Python thread state, it still keeps the old Python thread state to keep the old behaviour. Replacing the Python thread state with the new state introduces new bugs: see issues #10915 and #15751. | |||||
* | | | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 1 | -3/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 1 | -3/+2 | |
| | | | ||||||
* | | | Backout changeset 46393019b650 | Victor Stinner | 2013-12-13 | 2 | -7/+6 | |
| | | | | | | | | | | | | test_capi is failing and the fix is not trivial, I prefer to revert | |||||
* | | | Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3, | Victor Stinner | 2013-12-13 | 2 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | the function did nothing if the key already exists (if the current value is a non-NULL pointer). _testcapi.run_in_subinterp() now correctly sets the new Python thread state of the current thread when a subinterpreter is created. | |||||
* | | | (Merge 3.3) Issue #14432: Fix compilation when thread support is disabled | Victor Stinner | 2013-12-13 | 1 | -0/+5 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #14432: Fix compilation when thread support is disabled | Victor Stinner | 2013-12-13 | 1 | -0/+4 | |
| | | | ||||||
| * | | Issue #14432: Generator now clears the borrowed reference to the thread state | Victor Stinner | 2013-12-13 | 1 | -0/+89 | |
| | | | | | | | | | | | | | | | | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | |||||
* | | | Issue #14432: Remove the thread state field from the frame structure. Fix a | Victor Stinner | 2013-12-13 | 1 | -0/+89 | |
| | | | | | | | | | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | |||||
* | | | Merge from 3.3. | Stefan Krah | 2013-12-12 | 1 | -7/+7 | |
|\ \ \ | |/ / | ||||||
| * | | Do not discard const qualifier without a reason. | Stefan Krah | 2013-12-12 | 1 | -7/+7 | |
| | | | ||||||
* | | | Merge 3.3. | Stefan Krah | 2013-12-09 | 35 | -36/+36 | |
|\ \ \ | |/ / | ||||||
| * | | Fix two typos. | Stefan Krah | 2013-12-08 | 2 | -2/+2 | |
| | | | ||||||
| * | | Missed one copyright. | Stefan Krah | 2013-12-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | Update copyright. The four year increment is intentional (to save work). | Stefan Krah | 2013-12-08 | 33 | -33/+33 | |
| | | | ||||||
* | | | Issue #15475: Add __sizeof__ implementations for itertools objects. | Serhiy Storchaka | 2013-12-09 | 1 | -0/+51 | |
| | | | ||||||
* | | | - Issue #19736: Add module-level statvfs constants defined for GNU/glibc | doko@ubuntu.com | 2013-12-08 | 1 | -0/+29 | |
| | | | | | | | | | | | | based systems. | |||||
* | | | Issue #19343: Expose FreeBSD-specific APIs in resource module. Original ↵ | Christian Heimes | 2013-12-08 | 1 | -0/+14 | |
| | | | | | | | | | | | | patch by Koobs. | |||||
* | | | Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. | Alexandre Vassalotti | 2013-12-07 | 1 | -189/+217 | |
| | | | | | | | | | | | | | | | | | | | | | Initial patch by Merlijn van Deen. I've added a few unrelated docstring fixes in the patch while I was at it, which makes the documentation for pickle a bit more consistent. | |||||
* | | | Fix indentation of switch cases. | Guido van Rossum | 2013-12-07 | 1 | -11/+11 | |
| | | | ||||||
* | | | Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. | Christian Heimes | 2013-12-06 | 3 | -10/+10 | |
| | | | | | | | | | | | | This silences the pre-processor warning '_POSIX_C_SOURCE redefined'. | |||||
* | | | Issue #19881: Fix bad pickling of large bytes in cpickle. | Alexandre Vassalotti | 2013-12-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #19296: Silence compiler warning in dbm_open. | Christian Heimes | 2013-12-05 | 1 | -1/+2 | |
| | | | | | | | | | | | | Some dbm header files declare the first argument as char * instead of a const char *. | |||||
* | | | exclude _hashopenssl.c:_setException() from LCOV coverage | Christian Heimes | 2013-12-05 | 1 | -0/+2 | |
| | | | ||||||
* | | | Fix broken docstring continuation line for detach(). | Guido van Rossum | 2013-12-04 | 1 | -2/+2 | |
| | | | ||||||
* | | | silence unused-value warnings in libffi's dlmalloc.c | Christian Heimes | 2013-12-04 | 2 | -4/+40 | |
| | | | ||||||
* | | | Silence more PyObject_INIT() unused value warnings. | Christian Heimes | 2013-12-04 | 1 | -2/+2 | |
| | | | ||||||
* | | | make char* const | Christian Heimes | 2013-12-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | readline() takes a const char* and the other readline_until_enter_or_signal() implementation already has const char*. | |||||
* | | | ncurses' winch and mvwinch return an unsigned long | Christian Heimes | 2013-12-04 | 1 | -2/+3 | |
|\ \ \ | |/ / | ||||||
| * | | ncurses' winch and mvwinch return an unsigned long | Christian Heimes | 2013-12-04 | 1 | -2/+3 | |
| | | | ||||||
| * | | Make a couple of parameters constant. | Stefan Krah | 2013-12-03 | 2 | -14/+14 | |
| | | | ||||||
| * | | Fixes issue #15798: subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-02 | 1 | -6/+42 | |
| | | | | | | | | | | | | | | | descriptor 0, 1 or 2 is closed. The errpipe_write fd will always be >= 3. | |||||
* | | | Close #19741: tracemalloc_realloc() does not release the table lock anymore | Victor Stinner | 2013-12-04 | 1 | -10/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | between tracemalloc_remove_trace() and tracemalloc_add_trace() to reduce the risk of race condition. tracemalloc_add_trace() cannot fail anymore in tracemalloc_realloc() when tracemalloc_realloc() resizes a memory block. | |||||
* | | | Close #19757: Cleanup tracemalloc, move | Victor Stinner | 2013-12-04 | 1 | -98/+129 | |
| | | | | | | | | | | | | | | | | | | | | | | | | PyGILState_Ensure()/PyGILState_Release() calls to the raw wrappers to simplify the code. Rename also tracemalloc_log_alloc/log_free() to tracemalloc_add_trace/remove_trace(). | |||||
* | | | Close #19827: On UNIX, setblocking() and settimeout() methods of socket.socket | Victor Stinner | 2013-12-03 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | can now avoid a second syscall if the ioctl() function can be used, or if the non-blocking flag of the socket is unchanged. | |||||
* | | | Make a couple of parameters constant. | Stefan Krah | 2013-12-03 | 2 | -14/+14 | |
| | | | ||||||
* | | | Issue #19509: Add SSLContext.check_hostname to match the peer's certificate | Christian Heimes | 2013-12-02 | 1 | -0/+35 | |
| | | | | | | | | | | | | with server_hostname on handshake. | |||||
* | | | Issue #18994: Add a missing check for a return value in fcntmodule. Patch by | Charles-François Natali | 2013-12-01 | 1 | -1/+3 | |
| | | | | | | | | | | | | Vajrasky Kok. | |||||
* | | | Closes #19831: Stop tracemalloc later at Python shutdown to be able to use | Victor Stinner | 2013-12-01 | 1 | -67/+10 | |
| | | | | | | | | | | | | | | | | | | tracemalloc in objects destructor Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini(). | |||||
* | | | Undo supposed fix for Issue #15798 until I understand why this is | Gregory P. Smith | 2013-12-01 | 1 | -1/+5 | |
|\ \ \ | |/ / | | | | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4). | |||||
| * | | Undo supposed fix for Issue #15798 until I understand why this is | Gregory P. Smith | 2013-12-01 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4). | |||||
* | | | Fixes Issue #15798 - subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-01 | 1 | -5/+1 | |
|\ \ \ | |/ / | | | | | | | descriptor 0, 1 or 2 is closed. | |||||
| * | | Fixes Issue #15798 - subprocess.Popen() no longer fails if file | Gregory P. Smith | 2013-12-01 | 1 | -5/+1 | |
| | | | | | | | | | | | | descriptor 0, 1 or 2 is closed. | |||||
* | | | Issue #6477: Merge with 3.3. | Alexandre Vassalotti | 2013-12-01 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private. | Alexandre Vassalotti | 2013-12-01 | 1 | -2/+2 | |
| | | |