Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #23758: Improve num_params docs of create_{function,aggregate} functions | Berker Peksag | 2016-03-27 | 2 | -3/+36 | |
| | | | | | | | | | | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier. | |||||
* | | Document sqlite3.Cursor.close() | Berker Peksag | 2016-03-27 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73. | |||||
* | | sqlite3 documentation: Connection.iterdump() is a method | Berker Peksag | 2016-03-27 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #26644: Raise ValueError for negative SSLSocket.recv() and read() | Martin Panter | 2016-03-27 | 3 | -0/+19 | |
| | | ||||||
* | | _pickle: Fix load_counted_tuple(), use Py_ssize_t for size | Victor Stinner | 2016-03-14 | 1 | -1/+1 | |
| | | | | | | | | Fix a warning on Windows 64-bit. | |||||
* | | Issue#26616:Fixed a bug in datetime.astimezone() method. | Alexander Belopolsky | 2016-03-25 | 3 | -1/+16 | |
| | | ||||||
* | | doctest: fix _module_relative_path() error message | Victor Stinner | 2016-03-25 | 1 | -2/+3 | |
| | | | | | | | | | | Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package). | |||||
* | | Issue #25654: | Victor Stinner | 2016-03-25 | 5 | -19/+39 | |
| | | | | | | | | | | | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka. | |||||
* | | Issue #21925: Fix test_warnings for release mode | Victor Stinner | 2016-03-25 | 1 | -2/+2 | |
| | | | | | | | | Use -Wd comment line option to log the ResourceWarning. | |||||
* | | Use Py_uintptr_t for atomic pointers | Victor Stinner | 2016-01-22 | 3 | -30/+31 | |
| | | | | | | | | | | | | | | | | Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used. | |||||
* | | pystate.h: fix _PyThreadState_UncheckedGet() | Victor Stinner | 2016-03-24 | 1 | -2/+0 | |
| | | | | | | | | Declare the function even if thread support is disabled. | |||||
* | | warnings.formatwarning(): catch exceptions | Victor Stinner | 2016-03-24 | 3 | -2/+29 | |
| | | | | | | | | | | | | Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process. | |||||
* | | Fix test_warnings.test_improper_option() | Victor Stinner | 2016-03-24 | 1 | -6/+9 | |
| | | | | | | | | | | test_warnings: only run test_improper_option() and test_warnings_bootstrap() once. The unit test doesn't depend on self.module. | |||||
* | | Issue #26621: Remove unnecessary test. | Stefan Krah | 2016-03-23 | 1 | -1/+0 | |
| | | ||||||
* | | Issue #26525: Change chr example to match change in ord example. | Terry Jan Reedy | 2016-03-23 | 1 | -1/+1 | |
| | | ||||||
* | | Makefile.pre.in (profile-opt): Fix bashism. | doko@ubuntu.com | 2016-03-23 | 1 | -1/+1 | |
| | | ||||||
* | | Enhance _tracemalloc debug mode | Victor Stinner | 2016-03-22 | 1 | -1/+1 | |
| | | | | | | | | Issue #26588: Enhance assertion in set_reentrant() | |||||
* | | Fix _tracemalloc start/stop | Victor Stinner | 2016-03-22 | 1 | -14/+0 | |
| | | | | | | | | | | | | | | | | | | Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag. set_reentrant(1) fails with an assertion error if tracemalloc_init() is called first in a thread A and tracemalloc_start() is called second in a thread B. The tracemalloc is imported in a thread A. Importing the module calls tracemalloc_init(). tracemalloc.start() is called in a thread B. | |||||
* | | Issue #24266: Cancel history search mode with Ctrl+C in Readline 7 | Martin Panter | 2016-03-22 | 2 | -0/+6 | |
| | | ||||||
* | | 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: Reunite comment with variable | Martin Panter | 2016-03-22 | 1 | -16/+3 | |
| | | ||||||
* | | Issue #26525: Change ord example from nu to more easily recognized Euro sign. | Terry Jan Reedy | 2016-03-21 | 1 | -2/+2 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 #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 #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 #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 3 | -1/+25 | |
| | | | | | | | | Initial patch by Peter Inglesby. | |||||
* | | Suggest people use feature detection in porting guide | Brett Cannon | 2016-03-18 | 1 | -0/+46 | |
| | | ||||||
* | | #26250: document the sqlite3.Cursor.connection attribute. Initial patches ↵ | Ezio Melotti | 2016-03-18 | 2 | -0/+13 | |
| | | | | | | | | by Aviv Palivoda and Varpu Rantala. | |||||
* | | 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. | |||||
* | | Fixed a typo. | Serhiy Storchaka | 2016-03-18 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #26580: Remove outdated reference to ftpmirror | Berker Peksag | 2016-03-18 | 1 | -6/+0 | |
| | | | | | | | | Patch by SilentGhost. | |||||
* | | Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵ | Steve Dower | 2016-03-17 | 2 | -1/+5 | |
| | | | | | | | | is empty. Patch by Baji. | |||||
* | | Issue #26583: Skip test_timestamp_overflow in test_import if bytecode | Ned Deily | 2016-03-17 | 2 | -0/+4 | |
| | | | | | | | | files cannot be written. | |||||
* | | Merge 3.4 into 3.5 | Donald Stufft | 2016-03-17 | 3 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3 | Donald Stufft | 2016-03-17 | 3 | -2/+2 | |
| | | ||||||
* | | Fix pyclbr to support importing packages | Victor Stinner | 2016-03-17 | 2 | -3/+8 | |
| | | | | | | | | | | Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages. | |||||
* | | Issue #17603: Check for st_blocks field without requiring fileblocks.o | Martin Panter | 2016-03-18 | 4 | -15/+4 | |
| | | ||||||
* | | Py_FatalError: disable faulthandler earlier | Victor Stinner | 2016-03-16 | 1 | -5/+5 | |
| | | | | | | | | | | Issue #26563: Py_FatalError: disable faulthandler before trying to flush sys.stdout and sys.stderr. | |||||
* | | Fix usage of PyMem_Malloc() in overlapped.c | Victor Stinner | 2016-03-16 | 1 | -3/+6 | |
| | | | | | | | | | | | | Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new C thread which doesn't hold the GIL. | |||||
* | | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 4 | -9/+86 | |
| | | ||||||
* | | _tracemalloc: store lineno as unsigned int | Victor Stinner | 2016-03-15 | 1 | -17/+7 | |
| | | | | | | | | Issue #26564. Cleanup the code, lineno is never negative. | |||||
* | | faulthandler: Test Py_FatalError() with GIL released | Victor Stinner | 2016-03-15 | 2 | -2/+18 | |
| | | | | | | | | Issue #26558. | |||||
* | | Fix Py_FatalError() if called without the GIL | Victor Stinner | 2016-03-14 | 1 | -34/+50 | |
| | | | | | | | | | | | | Issue #26558: If Py_FatalError() is called without the GIL, don't try to print the current exception, nor try to flush stdout and stderr: only dump the traceback of Python threads. | |||||
* | | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵ | Antoine Pitrou | 2016-03-15 | 2 | -9/+19 | |
| | | | | | | | | was untested. | |||||
* | | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 4 | -0/+46 | |
| | | | | | | | | Patch from Victor van den Elzen. |