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