summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-16055: Fixes incorrect error text for int('1', base=1000) (#4376)Sanyam Khurana2017-11-131-1/+1
| | | | | | * bpo-16055: Fixes incorrect error text for int('1', base=1000) * bpo-16055: Address review comments
* bpo-31979: Simplify transforming decimals to ASCII (#4336)Serhiy Storchaka2017-11-137-139/+63
| | | | | in int(), float() and complex() parsers. This also speeds up parsing non-ASCII numbers by around 20%.
* bpo-28369: Enhance transport socket check in add_reader/writer (#4365)Yury Selivanov2017-11-134-1/+90
|
* bpo-32013: _pickle: Add missing Py_DECREF in error case in fast_save_enter() ↵Mat M2017-11-131-1/+5
| | | | (#4384)
* remove detect_math_libs (#4383)Benjamin Peterson2017-11-131-21/+10
| | | Darwin may not require libm, but it doesn't hurt to link it and simplifies configuration logic.
* bpo-29181: Skip test_tarfile tests on PermissionError raised by Android ↵xdegaye2017-11-121-2/+8
| | | | (GH-4375)
* bpo-29180: Skip test_os tests on PermissionError raised by Android (GH-4374)xdegaye2017-11-121-3/+10
|
* bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350)xdegaye2017-11-127-34/+50
| | | | | | Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root.
* bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160)xdegaye2017-11-124-19/+107
|
* bpo-28180: Fix the implementation of PEP 538 on Android (GH-4334)xdegaye2017-11-126-24/+90
|
* Move comments in configure.ac to more appropriate place. (#4371)Serhiy Storchaka2017-11-112-6/+8
|
* The termios man page is in section 3 (GH-2450)Edward Betts2017-11-111-1/+1
|
* Remove redundant 'exc = True' line (GH-4357)Berker Peksag2017-11-111-1/+0
| | | It can be removed after https://github.com/python/peps/commit/c28890fb421c906241da6da718f9eacc5a3109ee
* bpo-31572: Get rid of _PyObject_HasAttrId() in the ASDL parser. (#3725)Serhiy Storchaka2017-11-112-628/+802
| | | Silence only expected AttributeError.
* bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728)Serhiy Storchaka2017-11-112-21/+47
| | | | | Silence only AttributeError when get "key" and "items" attributes in the constructor and the update() method of dict and OrderedDict .
* bpo-31572: Silence only AttributeError when get the __copy__ attribute in ↵Serhiy Storchaka2017-11-111-7/+25
| | | | itertools.tee(). (#3724)
* bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731)Serhiy Storchaka2017-11-111-68/+89
| | | | | Get rid of _PyObject_HasAttrId() and PyDict_GetItemString(). Silence only expected AttributeError, KeyError and ImportError when get an attribute, look up in a dict or import a module.
* Add the const qualifier to "char *" variables that refer to literal strings. ↵Serhiy Storchaka2017-11-1123-41/+46
| | | | (#4370)
* bpo-31824: Document default value of 'errors' parameters (GH-4328)Pablo Galindo2017-11-101-2/+2
|
* bpo-31976: Fix race condition when flushing a file is slow. (#4331)benfogle2017-11-104-8/+58
|
* Rewrite asyncio test to be more meaningful (#4363)Yury Selivanov2017-11-101-11/+16
|
* bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344)Brian Curtin2017-11-1012-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 Storchaka2017-11-101-1/+2
|
* bpo-31998: Fix test_zipapp in case the zlib module is not available. (#4358)Serhiy Storchaka2017-11-101-0/+2
|
* bpo-31222: Make (datetime|date|time).replace return subclass type in Pure ↵Paul Ganssle2017-11-092-3/+17
| | | | Python (#4176)
* Fix phrasing in Doc/whatsnew/3.7.rst (GH-4318)Cody Scott2017-11-091-3/+3
|
* Correct the location of a function mentioned in a comment (GH-4327)Ned Batchelder2017-11-091-1/+1
|
* bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (#4235)Serhiy Storchaka2017-11-093-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 Pitrou2017-11-091-22/+47
| | | | * Silence error output in test_concurrent_futures (bpo-21423)
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-0838-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 Peksag2017-11-082-4/+2
|
* bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)Berker Peksag2017-11-084-9/+48
|
* bpo-31810: added missing keywords to docs. (#4140)Tom Floyer2017-11-081-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 Viktorin2017-11-081-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)xdegaye2017-11-082-4/+15
|
* bpo-31884 subprocess: add Windows constants for process priority (#4150)James2017-11-084-6/+119
|
* bpo-31338: C API intro: add missing versionadded (#4339)Victor Stinner2017-11-081-0/+10
|
* Fix broken link in Doc/whatsnew/3.7.rst (GH-4335)Berker Peksag2017-11-081-3/+3
|
* Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)Petr Viktorin2017-11-081-0/+2
| | | The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f
* bpo-21862: Add -m option to cProfile for profiling modules (#4297)Sanyam Khurana2017-11-085-13/+51
| | | | * bpo-21862: Add -m option to cProfile for profiling modules
* Remove unused var from CheckCancelOperation test (GH-4317)Simon Willison2017-11-071-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 Schwabedal2017-11-073-10/+16
|
* bpo-31620: have asyncio/queues not leak memory when you've exceptions during ↵Suren Nihalani2017-11-073-0/+25
| | | | waiting (#3813)
* Fix a typo (#4323)Barry Warsaw2017-11-071-2/+2
|
* bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006)Julien Palard2017-11-071-0/+2
|
* bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314)Antoine Pitrou2017-11-077-6/+38
| | | | * bpo-31970: Reduce performance overhead of asyncio debug mode.
* bpo-31965: fix doc for multiprocessing.connection.Client and Listener (#4304)Jelle Zijlstra2017-11-071-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 Pitrou2017-11-072-2/+4
|
* Fix the sizeof test for dicts with shared keys. (#4311)Serhiy Storchaka2017-11-071-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 Peksag2017-11-073-8/+21
|