- 09 Nov, 2017 2 commits
-
-
Serhiy Storchaka authored
* 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.
-
Antoine Pitrou authored
* Silence error output in test_concurrent_futures (bpo-21423)
-
- 08 Nov, 2017 11 commits
-
-
Victor Stinner authored
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.
-
Berker Peksag authored
-
Berker Peksag authored
-
Tom Floyer authored
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.
-
Petr Viktorin authored
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.
-
xdegaye authored
-
James authored
-
Victor Stinner authored
-
Berker Peksag authored
-
Petr Viktorin authored
The macro was added for bpo-31338 in commit b2e57948
-
Sanyam Khurana authored
* bpo-21862: Add -m option to cProfile for profiling modules
-
- 07 Nov, 2017 20 commits
-
-
Simon Willison authored
It looks like this was copied from one of the previous tests, which did use it.
-
Justus Schwabedal authored
-
Suren Nihalani authored
-
Barry Warsaw authored
-
Julien Palard authored
-
Antoine Pitrou authored
* bpo-31970: Reduce performance overhead of asyncio debug mode.
-
Jelle Zijlstra authored
* 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.
-
Antoine Pitrou authored
-
Serhiy Storchaka authored
By accident the size of the empty dict keys object matched the size of values array.
-
Berker Peksag authored
-
Serhiy Storchaka authored
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.
-
Zackery Spytz authored
-
Antoine Pitrou authored
-
Marat Sharafutdinov authored
-
Serhiy Storchaka authored
-
Mariatta authored
-
Barry Warsaw authored
-
Anders Lorentsen authored
-
Oren Milman authored
bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (#3958)
-
Oren Milman authored
bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (#3968)
-
- 06 Nov, 2017 3 commits
-
-
Nir Soffer authored
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.
-
Steve Dower authored
-
Berker Peksag authored
-
- 05 Nov, 2017 3 commits
-
-
luzpaz authored
-
Serhiy Storchaka authored
MemoryError raised when normalizing a RecursionError raised during exception normalization now not always causes a fatal error.
-
Nick Coghlan authored
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".
-
- 04 Nov, 2017 1 commit
-
-
Steve Dower authored
-