- 24 Mar, 2016 1 commit
-
-
Victor Stinner authored
Issue #25911: Use support.check_warnings() to expect or ignore DeprecationWarning in test_os.
-
- 23 Mar, 2016 36 commits
-
-
Victor Stinner authored
Issue #26588: Optimize memory footprint of _tracemalloc before non-zero domain is used. Start with compact key (Py_uintptr_t) and also switch to pointer_t key when the first memory block with a non-zero domain is tracked.
-
Victor Stinner authored
On Windows, socket.setsockopt() raises an OverflowError if the socket option is larger than INT_MAX bytes.
-
Victor Stinner authored
Issue #18787: restore "bin" name in test_spwd but catch KeyError.
-
Victor Stinner authored
Ignore empty lines in stderr.
-
Stefan Krah authored
-
Stefan Krah authored
-
Stefan Krah authored
-
Victor Stinner authored
Issue #18787: try to get the "root" entry which should exist on all UNIX instead of "bin" which doesn't exist on OpenIndiana.
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Victor Stinner authored
-
Terry Jan Reedy authored
-
Victor Stinner authored
We know that Py_SIZE(b) is -1 or 1 an so fits into the sdigit type.
-
Terry Jan Reedy authored
-
Victor Stinner authored
-
Victor Stinner authored
Don't check if the dict key exists before getting the key. Instead get the key and handle error.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Restore the previous code for stack_overflow().
-
Victor Stinner authored
Issue #23848, #26622: * faulthandler now only logs fatal Windows exceptions. * write error code as decimal, not as hexadecimal * replace "Windows exception" with "Windows fatal exception"
-
doko@ubuntu.com authored
-
doko@ubuntu.com authored
-
Victor Stinner authored
-
Victor Stinner authored
Only display duration if a test takes more than 30 seconds.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
wcsnlen_s() result type is size_t.
-
Victor Stinner authored
Don't return a void value.
-
Victor Stinner authored
Issue #23848: On Windows, faulthandler.enable() now also installs an exception handler to dump the traceback of all Python threads on any Windows exception, not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
-
Victor Stinner authored
This function will be reused by faulthandler.
-
Victor Stinner authored
Issue #26588: * Pass the hash table rather than the key size to hash and compare functions * _Py_HASHTABLE_READ_KEY() and _Py_HASHTABLE_ENTRY_READ_KEY() macros now expect the hash table as the first parameter, rather than the key size * tracemalloc_get_traces_fill(): use _Py_HASHTABLE_ENTRY_READ_DATA() rather than pointer dereference * Remove the _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro * Move "PKEY" and "PDATA" macros inside hashtable.c
-
Victor Stinner authored
* Optimize tracemalloc_add_trace(): modify hashtable entry data (trace) if the memory block is already tracked, rather than trying to remove the old trace and then add a new trace. * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
-
Victor Stinner authored
* _Py_HASHTABLE_ENTRY_DATA: change type from "char *" to "const void *" * Add _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro * Rename _Py_HASHTABLE_ENTRY_WRITE_DATA() macro to _Py_HASHTABLE_ENTRY_WRITE_PDATA() * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
-
Victor Stinner authored
No need to remove the old trace if the memory block didn't move.
-
Victor Stinner authored
The whole test suite takes 6 minutes on my laptop. It takes less than 30 minutes on most buildbots. The TESTTIMEOUT is the timeout for a single test file.
-
Victor Stinner authored
libregrtest: add a watchdog to run_tests_multiprocess() using faulthandler.dump_traceback_later().
-
- 22 Mar, 2016 3 commits
-
-
Victor Stinner authored
Issue #26592: _warnings.warn_explicit() now tries to import the warnings module (Python implementation) if the source parameter is set to be able to log the traceback where the source was allocated.
-
Victor Stinner authored
Issue #26603: * Implement finalizer for os.scandir() iterator * Set the source parameter when emitting the ResourceWarning warning * Close the iterator before emitting the warning
-
Victor Stinner authored
Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning
-