| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | 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 | |
| | | | | ||||||
| * | | | Issue #6477: Merge with 3.3. | Alexandre Vassalotti | 2013-12-01 | 1 | -1/+31 | |
| |\ \ \ | |/ / | ||||||
| | * | | Issue #6477: Added support for pickling the types of built-in singletons. | Alexandre Vassalotti | 2013-12-01 | 1 | -1/+31 | |
| | | | | ||||||
| * | | | Merge with 3.3. | Alexandre Vassalotti | 2013-11-30 | 1 | -1/+1 | |
| |\ \ \ | |/ / | ||||||
| | * | | Fixed _pickle.Unpickler to handle empty persistent IDs correctly. | Alexandre Vassalotti | 2013-11-30 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Issue #17897: Optimized unpickle prefetching. | Serhiy Storchaka | 2013-11-30 | 1 | -30/+22 | |
| | | | | ||||||
| * | | | Issue #3693: Fix array obscure error message when given a str. | Alexandre Vassalotti | 2013-11-30 | 1 | -18/+27 | |
| | | | | ||||||
| * | | | Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle. | Alexandre Vassalotti | 2013-11-29 | 1 | -12/+35 | |
| | | | | ||||||
| * | | | Remove explicit empty tuple reuse in cpickle. | Alexandre Vassalotti | 2013-11-28 | 1 | -12/+6 | |
| | | | | | | | | | | | | | | | | | | | PyTuple_New(0) always returns the same empty tuple from its free list anyway, so we are not saving much here. Plus, the code where this was used is on uncommon run paths. | |||||
| * | | | Remove the tuple reuse optimization in _Pickle_FastCall. | Alexandre Vassalotti | 2013-11-28 | 1 | -30/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have noticed a race-condition occurring on one of the buildbots because of this optimization. The function called may release the GIL which means multiple threads may end up accessing the shared tuple. I could fix it up by storing the tuple to the Pickler and Unipickler object again, but honestly it really not worth the trouble. I ran many benchmarks and the only time the optimization helps is when using a fin-memory file, like io.BytesIO on which reads are super cheap, combined with pickle protocol less than 4. Even in this contrived case, the speedup is a about 5%. For everything else, this optimization does not provide any noticable improvements. | |||||
| * | | | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -1/+4 | |
| |\ \ \ | |/ / | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | |||||
| | * | | Fix indentation from previous commit | Eli Bendersky | 2013-11-28 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -1/+4 | |
| | | | | | | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | |||||
| * | | | SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too | Christian Heimes | 2013-11-28 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Encapsulate cpickle global state in a dedicated object. | Alexandre Vassalotti | 2013-11-28 | 1 | -270/+426 | |
| | | | | | | | | | | | | | | | | This implements PEP 3121 module finalization as well. This change does not cause any significant impact on performance. | |||||
| * | | | Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames | Victor Stinner | 2013-11-27 | 1 | -21/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because structures are smaller). Use int instead of Py_ssize_t to store the number of frames to have smaller traceback_t objects. | |||||
| * | | | Close #19798: replace "maximum" term with "peak" in get_traced_memory() | Victor Stinner | 2013-11-27 | 1 | -12/+12 | |
| | | | | | | | | | | | | | documentation. Use also the term "current" for the current size. | |||||
| * | | | add SO_PRIORITY (closes #19802) | Benjamin Peterson | 2013-11-27 | 1 | -0/+3 | |
| | | | | | | | | | | | | | Patch by Claudiu Popa. | |||||
| * | | | Combine the FastCall functions in cpickle. | Alexandre Vassalotti | 2013-11-27 | 1 | -90/+42 | |
| | | | | | | | | | | | | | | | | I fixed the bug that was in my previous attempt of this cleanup. I ran the full test suite to verify I didn't introduce any obvious bugs. | |||||
| * | | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -19/+7 | |
| |\ \ \ | |/ / | ||||||
| | * | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -19/+7 | |
| | | | | ||||||
| * | | | tracemalloc: fix get_traced_memory() docstring for result type | Victor Stinner | 2013-11-26 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Issue #18874: Fix typo | Victor Stinner | 2013-11-26 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Issue #18874: make it more explicit than set_reentrant() only accept 0 or 1 | Victor Stinner | 2013-11-26 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Issue #18874: tracemalloc: Comment the trace_t structure | Victor Stinner | 2013-11-26 | 1 | -0/+4 | |
| | | | | ||||||
| * | | | Issue #18874: tracemalloc: explain the purpose of get_traces.tracebacks in a ↵ | Victor Stinner | 2013-11-25 | 1 | -0/+2 | |
| | | | | | | | | | | | | | comment | |||||
