Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | 2017-11-11 | 23 | -41/+46 | |
| | | | | (#4370) | |||||
* | bpo-31824: Document default value of 'errors' parameters (GH-4328) | Pablo Galindo | 2017-11-10 | 1 | -2/+2 | |
| | ||||||
* | bpo-31976: Fix race condition when flushing a file is slow. (#4331) | benfogle | 2017-11-10 | 4 | -8/+58 | |
| | ||||||
* | Rewrite asyncio test to be more meaningful (#4363) | Yury Selivanov | 2017-11-10 | 1 | -11/+16 | |
| | ||||||
* | bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) | Brian Curtin | 2017-11-10 | 12 | -6/+48 | |
| | | | | | | | | | | The openfp functions of aifp, sunau, and wave had pointed to the open function of each module since 1993 as a matter of backwards compatibility. In the case of aifc.openfp, it was both undocumented and untested. This change begins the formal deprecation of those openfp functions, with their removal coming in 3.9. This additionally adds a TODO in test_pyclbr around using aifc.openfp, though it shouldn't be changed until removal in 3.9. | |||||
* | bpo-31999: Fix test_venv in case the zlib module is not available. (#4359) | Serhiy Storchaka | 2017-11-10 | 1 | -1/+2 | |
| | ||||||
* | bpo-31998: Fix test_zipapp in case the zlib module is not available. (#4358) | Serhiy Storchaka | 2017-11-10 | 1 | -0/+2 | |
| | ||||||
* | bpo-31222: Make (datetime|date|time).replace return subclass type in Pure ↵ | Paul Ganssle | 2017-11-09 | 2 | -3/+17 | |
| | | | | Python (#4176) | |||||
* | Fix phrasing in Doc/whatsnew/3.7.rst (GH-4318) | Cody Scott | 2017-11-09 | 1 | -3/+3 | |
| | ||||||
* | Correct the location of a function mentioned in a comment (GH-4327) | Ned Batchelder | 2017-11-09 | 1 | -1/+1 | |
| | ||||||
* | bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (#4235) | Serhiy Storchaka | 2017-11-09 | 3 | -65/+74 | |
| | | | | | | | * Fix compilation of the socket module on NetBSD 8. * Fix the assertion failure or reading arbitrary data when parse a AF_BLUETOOTH address on NetBSD and DragonFly BSD. * Fix other potential errors and make the code more reliable. | |||||
* | Silence error output in test_concurrent_futures (bpo-21423) (#4347) | Antoine Pitrou | 2017-11-09 | 1 | -22/+47 | |
| | | | | * Silence error output in test_concurrent_futures (bpo-21423) | |||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 38 | -76/+76 | |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | |||||
* | bpo-11063: Use more reliable way to check if uuid function exists (GH-4343) | Berker Peksag | 2017-11-08 | 2 | -4/+2 | |
| | ||||||
* | bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287) | Berker Peksag | 2017-11-08 | 4 | -9/+48 | |
| | ||||||
* | bpo-31810: added missing keywords to docs. (#4140) | Tom Floyer | 2017-11-08 | 1 | -7/+7 | |
| | | | | | async and await keywords has been merged into upstream, but they are all missing in the lexical analysis docs. This change adds them to the appropriate keywords section in documentation. | |||||
* | bpo-29179: Document the Py_UNUSED macro (#4341) | Petr Viktorin | 2017-11-08 | 1 | -0/+7 | |
| | | | | | | Py_UNUSED has a public name, and is used in the wild outside CPython, but was not documented. Rectify that. The macro was added in bpo-19976 and referenced in bpo-26179. | |||||
* | bpo-31934: Abort when building out of a not clean source tree (GH-4255) | xdegaye | 2017-11-08 | 2 | -4/+15 | |
| | ||||||
* | bpo-31884 subprocess: add Windows constants for process priority (#4150) | James | 2017-11-08 | 4 | -6/+119 | |
| | ||||||
* | bpo-31338: C API intro: add missing versionadded (#4339) | Victor Stinner | 2017-11-08 | 1 | -0/+10 | |
| | ||||||
* | Fix broken link in Doc/whatsnew/3.7.rst (GH-4335) | Berker Peksag | 2017-11-08 | 1 | -3/+3 | |
| | ||||||
* | Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337) | Petr Viktorin | 2017-11-08 | 1 | -0/+2 | |
| | | | The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f | |||||
* | bpo-21862: Add -m option to cProfile for profiling modules (#4297) | Sanyam Khurana | 2017-11-08 | 5 | -13/+51 | |
| | | | | * bpo-21862: Add -m option to cProfile for profiling modules | |||||
* | Remove unused var from CheckCancelOperation test (GH-4317) | Simon Willison | 2017-11-07 | 1 | -2/+0 | |
| | | | It looks like this was copied from one of the previous tests, which did use it. | |||||
* | Added :const:`mmap.ACCESS_DEFAULT` constant. (#4093) | Justus Schwabedal | 2017-11-07 | 3 | -10/+16 | |
| | ||||||
* | bpo-31620: have asyncio/queues not leak memory when you've exceptions during ↵ | Suren Nihalani | 2017-11-07 | 3 | -0/+25 | |
| | | | | waiting (#3813) | |||||
* | Fix a typo (#4323) | Barry Warsaw | 2017-11-07 | 1 | -2/+2 | |
| | ||||||
* | bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006) | Julien Palard | 2017-11-07 | 1 | -0/+2 | |
| | ||||||
* | bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314) | Antoine Pitrou | 2017-11-07 | 7 | -6/+38 | |
| | | | | * bpo-31970: Reduce performance overhead of asyncio debug mode. | |||||
* | bpo-31965: fix doc for multiprocessing.connection.Client and Listener (#4304) | Jelle Zijlstra | 2017-11-07 | 1 | -19/+11 | |
| | | | | | | | | | | | | | * fix doc for multiprocessing.connection.Client The authenticate argument does not exist on either Client or Listener: - https://github.com/python/cpython/blob/master/Lib/multiprocessing/connection.py#L483 (master) - https://github.com/python/cpython/blob/3.6/Lib/multiprocessing/connection.py#L478 (3.6) - https://github.com/python/cpython/blob/3.5/Lib/multiprocessing/connection.py#L478 (3.5) - https://github.com/python/cpython/blob/3.4/Lib/multiprocessing/connection.py#L487 (3.4) The documentation also claimed that these functions will call `current_process().auth_key`, for which I could find no evidence in the code. I rewrote the documentation to reflect the actual behavior. Also made some small changes to vary sentence structure. | |||||
* | bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#4319) | Antoine Pitrou | 2017-11-07 | 2 | -2/+4 | |
| | ||||||
* | Fix the sizeof test for dicts with shared keys. (#4311) | Serhiy Storchaka | 2017-11-07 | 1 | -5/+10 | |
| | | | | By accident the size of the empty dict keys object matched the size of values array. | |||||
* | bpo-20486: Implement Database.Close() method in msilib (GH-4141) | Berker Peksag | 2017-11-07 | 3 | -8/+21 | |
| | ||||||
* | bpo-31626: Mark ends of the reallocated block in debug build. (#4210) | Serhiy Storchaka | 2017-11-07 | 1 | -19/+57 | |
| | | | | | | Few bytes at the begin and at the end of the reallocated blocks, as well as the header and the trailer, now are erased before calling realloc() in debug build. This will help to detect using or double freeing the reallocated block. | |||||
* | Fix a memory leak in _msi.c (#4127) | Zackery Spytz | 2017-11-07 | 1 | -0/+1 | |
| | ||||||
* | bpo-31950: Improve event loop policy doc (#4306) | Antoine Pitrou | 2017-11-07 | 1 | -3/+30 | |
| | ||||||
* | Add asyncio.Handle.cancelled() method (#2388) | Marat Sharafutdinov | 2017-11-07 | 4 | -4/+14 | |
| | ||||||
* | bpo-31415: Improve error handling and caching of the importtime option. (#4138) | Serhiy Storchaka | 2017-11-07 | 1 | -13/+20 | |
| | ||||||
* | bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246) | Mariatta | 2017-11-07 | 4 | -3/+4 | |
| | ||||||
* | Fix a minor typo and hyphenate "multi-threading" (#4237) | Barry Warsaw | 2017-11-07 | 1 | -5/+5 | |
| | ||||||
* | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | 2017-11-07 | 5 | -7/+32 | |
| | | | | (#4299) | |||||
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-07 | 3 | -0/+10 | |
| | | | | object is uninitialized (#3958) | |||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Oren Milman | 2017-11-07 | 3 | -8/+27 | |
| | | | | sqlite3.Cursor.__init__() more than once (#3968) | |||||
* | bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279) | Nir Soffer | 2017-11-06 | 5 | -9/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blocksize was hardcoded to 8192, preventing efficient upload when using file-like body. Add blocksize argument to __init__, so users can configure the blocksize to fit their needs. I tested this uploading data from /dev/zero to a web server dropping the received data, to test the overhead of the HTTPConnection.send() with a file-like object. Here is an example 10g upload with the default buffer size (8192): $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 17.53 seconds (584.00m/s) real 0m17.574s user 0m8.887s sys 0m5.971s Same with 512k blocksize: $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 6.60 seconds (1551.15m/s) real 0m6.641s user 0m3.426s sys 0m2.162s In real world usage the difference will be smaller, depending on the local and remote storage and the network. See https://github.com/nirs/http-bench for more info. | |||||
* | bpo-31957: Fixes version detection. (#4298) | Steve Dower | 2017-11-06 | 2 | -8/+8 | |
| | ||||||
* | Remove outdated with_threads checks in configure.ac (GH-4294) | Berker Peksag | 2017-11-06 | 2 | -14/+2 | |
| | ||||||
* | Fix miscellaneous typos (#4275) | luzpaz | 2017-11-05 | 50 | -82/+82 | |
| | ||||||
* | bpo-28994: PyErr_NormalizeException() no longer use C stack for recursion. ↵ | Serhiy Storchaka | 2017-11-05 | 1 | -39/+33 | |
| | | | | | (#2035) MemoryError raised when normalizing a RecursionError raised during exception normalization now not always causes a fatal error. | |||||
* | bpo-22257: Mention startup refactoring in What's New (GH-4286) | Nick Coghlan | 2017-11-05 | 1 | -0/+14 | |
| | | | | | | | | | | | | While technically a purely internal change, bpo-31845 was a fairly significant externally visible bug caused by these changes (environment variable based configuration was being ignored due to a change in the relative order of reading the environment and reading command line settings, and the test suite was only testing the command line options) Hence this note to essentially say "If you see odd startup problems in 3.7 that you've never seen in previous releases, it's probably our fault, so let us know, and we'll fix it". | |||||
* | bpo-31609: Fixes quotes in PCbuild/clean.bat (#4280) | Steve Dower | 2017-11-04 | 2 | -1/+2 | |
| |