- 21 Mar, 2016 1 commit
-
-
Victor Stinner authored
Issue #26588: hashtable.h now supports keys of any size, not only sizeof(void*). It allows to support key larger than sizeof(void*), but also to use less memory for key smaller than sizeof(void*).
-
- 19 Mar, 2016 1 commit
-
-
Victor Stinner authored
casting iobase_finalize to destructor is not needed
-
- 21 Mar, 2016 4 commits
-
-
Victor Stinner authored
Issue #26590: support.check_warnings() stores warnins, but ResourceWarning now comes with a reference to the socket object which indirectly keeps the socket alive.
-
Victor Stinner authored
Issue #26590: Implement a safe finalizer for the _socket.socket type. It now releases the GIL to close the socket. Use PyErr_ResourceWarning() to raise the ResourceWarning to pass the socket object to the warning logger, to get the traceback where the socket was created (allocated).
-
Victor Stinner authored
Change pushed by mistake, the patch is still under review :-/ """ _tracemalloc: add domain to trace keys * hashtable.h: key has now a variable size * _tracemalloc uses (pointer: void*, domain: unsigned int) as key for traces """
-
Victor Stinner authored
Issue #26574: Optimize bytes.replace(b'', b'.') and bytearray.replace(b'', b'.'): up to 80% faster. Patch written by Josh Snider.
-
- 18 Mar, 2016 1 commit
-
-
Victor Stinner authored
* hashtable.h: key has now a variable size * _tracemalloc uses (pointer: void*, domain: unsigned int) as key for traces
-
- 21 Mar, 2016 4 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 20 Mar, 2016 10 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Berker Peksag authored
uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
-
Berker Peksag authored
uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
-
Berker Peksag authored
Patch by jgauthier.
-
Berker Peksag authored
Patch by jgauthier.
-
Berker Peksag authored
Patch by Andrew Szeto.
-
Berker Peksag authored
Patch by Andrew Szeto.
-
- 19 Mar, 2016 12 commits
-
-
Berker Peksag authored
Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams.
-
Berker Peksag authored
Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams.
-
Berker Peksag authored
doesn't have privileges.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Issue #26567: normalize newlines in test_tracemalloc.
-
Berker Peksag authored
Initial patch by Peter Inglesby.
-
Berker Peksag authored
Initial patch by Peter Inglesby.
-
Victor Stinner authored
Issue #26567.
-
Victor Stinner authored
io.FileIO has a safe implementation of destructor, but not socket nor scandir.
-
Victor Stinner authored
Issue #26568: Fix implementation of showwarning() and formatwarning() for test_logging.
-
Victor Stinner authored
Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
-
- 18 Mar, 2016 7 commits
-
-
Victor Stinner authored
Issue #26568: add new _showwarnmsg() and _formatwarnmsg() functions to the warnings module. The C function warn_explicit() now calls warnings._showwarnmsg() with a warnings.WarningMessage as parameter, instead of calling warnings.showwarning() with multiple parameters. _showwarnmsg() calls warnings.showwarning() if warnings.showwarning() was replaced. Same for _formatwarnmsg(): call warnings.formatwarning() if it was replaced.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Ezio Melotti authored
-
Ezio Melotti authored
#26250: document the sqlite3.Cursor.connection attribute. Initial patches by Aviv Palivoda and Varpu Rantala.
-
Brett Cannon authored
-