Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #24266: Merge readline Ctrl+C handling from 3.5 | Martin Panter | 2016-03-22 | 2 | -0/+6 |
|\ | |||||
| * | Issue #24266: Cancel history search mode with Ctrl+C in Readline 7 | Martin Panter | 2016-03-22 | 2 | -0/+6 |
| | | |||||
* | | merge 3.5 (#17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | merge 3.4 (#17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
| |\ | |||||
| | * | remove useless $ keyword (closes #17167) | Benjamin Peterson | 2016-03-22 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #15699: Merge readline fixup from 3.5 | Martin Panter | 2016-03-22 | 1 | -16/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #15699: Reunite comment with variable | Martin Panter | 2016-03-22 | 1 | -16/+3 |
| | | | |||||
* | | | Issue #26588: Fix compilation warning on Windows | Victor Stinner | 2016-03-21 | 1 | -1/+1 |
| | | | |||||
* | | | hashtable.h now supports keys of any size | Victor Stinner | 2016-03-21 | 4 | -138/+294 |
| | | | | | | | | | | | | | | | | | | 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*). | ||||
* | | | cleanup iobase.c | Victor Stinner | 2016-03-19 | 1 | -1/+1 |
| | | | | | | | | | | | | casting iobase_finalize to destructor is not needed | ||||
* | | | Fix test_ssl.test_refcycle() | Victor Stinner | 2016-03-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Issue #26590: support.check_warnings() stores warnins, but ResourceWarning now comes with a reference to the socket object which indirectly keeps the socket alive. | ||||
* | | | Add socket finalizer | Victor Stinner | 2016-03-21 | 2 | -18/+56 |
| | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | | Ooops, revert changeset ea9efa06c137 | Victor Stinner | 2016-03-21 | 4 | -270/+121 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 """ | ||||
* | | | Optimize bytes.replace(b'', b'.') | Victor Stinner | 2016-03-21 | 5 | -18/+45 |
| | | | | | | | | | | | | | | | Issue #26574: Optimize bytes.replace(b'', b'.') and bytearray.replace(b'', b'.'): up to 80% faster. Patch written by Josh Snider. | ||||
* | | | _tracemalloc: add domain to trace keys | Victor Stinner | 2016-03-18 | 4 | -121/+270 |
| | | | | | | | | | | | | | | | * hashtable.h: key has now a variable size * _tracemalloc uses (pointer: void*, domain: unsigned int) as key for traces | ||||
* | | | Merge with 3.5 | Terry Jan Reedy | 2016-03-21 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #26525: Change ord example from nu to more easily recognized Euro sign. | Terry Jan Reedy | 2016-03-21 | 1 | -2/+2 |
| | | | |||||
* | | | Merge with 3.5 | Terry Jan Reedy | 2016-03-21 | 1 | -2/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #15660: Further clarify 0 prefix for width specifier in formats. | Terry Jan Reedy | 2016-03-21 | 1 | -2/+4 |
| | | | |||||
* | | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 8 | -6/+10 |
|\ \ \ | |/ / | |||||
| * | | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 8 | -6/+10 |
| | | | |||||
* | | | Issues #25643, #26581: Added new tests for detecting Python source code ↵ | Serhiy Storchaka | 2016-03-20 | 1 | -2/+81 |
|\ \ \ | |/ / | | | | | | | encoding. | ||||
| * | | Added new tests for detecting Python source code encoding. | Serhiy Storchaka | 2016-03-20 | 1 | -2/+81 |
| | | | |||||
* | | | Issue #12813: uuid.uuid4() no longer depends on ctypes | Berker Peksag | 2016-03-20 | 1 | -1/+0 |
|\ \ \ | |/ / | | | | | | | uuid.uuid4() always uses os.urandom() after 756d040aa8e8. | ||||
| * | | Issue #12813: uuid.uuid4() no longer depends on ctypes | Berker Peksag | 2016-03-20 | 1 | -1/+0 |
| | | | | | | | | | | | | uuid.uuid4() always uses os.urandom() after 756d040aa8e8. | ||||
* | | | Issue #19164: Improve exception message of uuid.UUID() | Berker Peksag | 2016-03-20 | 1 | -1/+2 |
|\ \ \ | |/ / | | | | | | | Patch by jgauthier. | ||||
| * | | Issue #19164: Improve exception message of uuid.UUID() | Berker Peksag | 2016-03-20 | 1 | -1/+2 |
| | | | | | | | | | | | | Patch by jgauthier. | ||||
* | | | Issue #26593: Fix typo in logging HOWTO | Berker Peksag | 2016-03-20 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | Patch by Andrew Szeto. | ||||
| * | | Issue #26593: Fix typo in logging HOWTO | Berker Peksag | 2016-03-20 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Andrew Szeto. | ||||
* | | | Issue #19265: Improve test coverage of datetime.tzinfo | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams. | ||||
| * | | Issue #19265: Improve test coverage of datetime.tzinfo | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams. | ||||
* | | | Issue #18787: spwd.getspnam() now raises a PermissionError if the user | Berker Peksag | 2016-03-19 | 5 | -1/+22 |
| | | | | | | | | | | | | doesn't have privileges. | ||||
* | | | fix indentation in Py_DECREF() | Victor Stinner | 2016-03-19 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #26567: enhance ResourceWarning example | Victor Stinner | 2016-03-19 | 1 | -9/+12 |
| | | | |||||
* | | | Try again to fix test_warnings on Windows | Victor Stinner | 2016-03-19 | 1 | -0/+2 |
| | | | | | | | | | | | | Issue #26567: normalize newlines in test_tracemalloc. | ||||
* | | | Issue #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 3 | -1/+25 |
|\ \ \ | |/ / | | | | | | | Initial patch by Peter Inglesby. | ||||
| * | | Issue #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 3 | -1/+25 |
| | | | | | | | | | | | | Initial patch by Peter Inglesby. | ||||
* | | | Try to fix test_warnings on Windows | Victor Stinner | 2016-03-19 | 1 | -8/+10 |
| | | | | | | | | | | | | Issue #26567. | ||||
* | | | ResourceWarning: Revert change on socket and scandir | Victor Stinner | 2016-03-19 | 2 | -3/+4 |
| | | | | | | | | | | | | io.FileIO has a safe implementation of destructor, but not socket nor scandir. | ||||
* | | | Fix test_logging | Victor Stinner | 2016-03-19 | 1 | -27/+33 |
| | | | | | | | | | | | | | | | Issue #26568: Fix implementation of showwarning() and formatwarning() for test_logging. | ||||
* | | | On ResourceWarning, log traceback where the object was allocated | Victor Stinner | 2016-03-19 | 11 | -40/+175 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Add _showwarnmsg() and _formatwarnmsg() to warnings | Victor Stinner | 2016-03-18 | 3 | -41/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge for issue #26095 | Brett Cannon | 2016-03-18 | 1 | -0/+46 |
|\ \ \ | |/ / | |||||
| * | | Suggest people use feature detection in porting guide | Brett Cannon | 2016-03-18 | 1 | -0/+46 |
| | | | |||||
* | | | Issue #26252: Add an example on how to register a finder | Brett Cannon | 2016-03-18 | 1 | -2/+32 |
| | | | |||||
* | | | #26250: merge with 3.5. | Ezio Melotti | 2016-03-18 | 2 | -0/+13 |
|\ \ \ | |/ / | |||||
| * | | #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵ | Ezio Melotti | 2016-03-18 | 2 | -0/+13 |
| | | | | | | | | | | | | by Aviv Palivoda and Varpu Rantala. | ||||
* | | | Merge for issue #26271 | Brett Cannon | 2016-03-18 | 3 | -2/+6 |
|\ \ \ | |/ / | |||||
| * | | Issue #26271: Fix the Freeze tool to use variables passed in from the | Brett Cannon | 2016-03-18 | 3 | -2/+6 |
| | | | | | | | | | | | | | | | | | | configure script related to compiler flags. Thanks to Daniel Shaulov for the bug report and patch. | ||||
* | | | Doc: fix typos, patch written by Stefan Behnel | Victor Stinner | 2016-03-18 | 3 | -6/+6 |
| | | |