summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36876: Re-organize the c-analyzer tool code. (gh-16841)Eric Snow2019-10-1956-1178/+1375
| | | | | This is partly a cleanup of the code. It also is preparation for getting the variables from the source (cross-platform) rather than from the symbols. The change only touches the tool (and its tests).
* validate_list: make flags argument impossible to spell wrongly. (GH-16843)Tim Peters2019-10-191-16/+37
|
* bpo-38521: Fix error in NormalDist.__eq__() (GH-16840)Raymond Hettinger2019-10-183-1/+6
|
* bpo-38502: regrtest uses process groups if available (GH-16829)Victor Stinner2019-10-182-7/+25
| | | | | test.regrtest now uses process groups in the multiprocessing mode (-jN command line option) if process groups are available: if os.setsid() and os.killpg() functions are available.
* bpo-27657: Fix urlparse() with numeric paths (#661)Tim Graham2019-10-183-25/+9
| | | | | | | | | | * bpo-27657: Fix urlparse() with numeric paths Revert parsing decision from bpo-754016 in favor of the documented consensus in bpo-16932 of how to treat strings without a // to designate the netloc. * bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs.
* bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670)Steve Dower2019-10-182-2/+3
| | | | | | | https://bugs.python.org/issue38418 Automerge-Triggered-By: @zooba
* Fix minor typos in What's New in Python 3.8. (GH-16770)Jero Bado2019-10-181-4/+4
| | | Added periods at the end of the sentences.
* Doc: Add missing entry for functools.cached_property (GH-16803)Stéphane Wirtel2019-10-181-0/+16
|
* bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)Gregory P. Smith2019-10-184-28/+43
| | | | | | | | | | Also updates the documentation to clarify the situation surrounding the digestmod parameter that is required despite its position in the argument list as of 3.8.0 as well as removing old python2 era references to "binary strings". We indavertently had this raise ValueError in 3.8.0 for the missing arg. This is not considered an API change as no reasonable code would be catching this missing argument error in order to handle it.
* bpo-34953: Implement `mmap.mmap.__repr__` (GH-9891)Taine Zhao2019-10-172-12/+93
|
* bpo-37587: json: Use _PyUnicodeWriter when scanning string. (GH-15591)Inada Naoki2019-10-172-57/+25
|
* bpo-37531: regrtest now catchs ProcessLookupError (GH-16827)Victor Stinner2019-10-161-0/+5
| | | | Fix a warning on a race condition on TestWorkerProcess.kill(): ignore silently ProcessLookupError rather than logging an useless warning.
* bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)Steve Dower2019-10-162-0/+10
|
* bpo-38006: Add unit test for weakref clear bug (GH-16788)Neil Schemenauer2019-10-162-0/+121
|
* bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815)Victor Stinner2019-10-162-14/+15
| | | | | | | | | | main() is now responsible to send the ANSWER, rather than ServerProto. main() now waits until it got the HELLO before sending the ANSWER over the new transport. Previously, there was a race condition between main() replacing the protocol and the protocol sending the ANSWER once it gets the HELLO. TLSv1.3 was disabled for the test: reenable it.
* Update doc switcher list for 3.8.0 (GH-16809)Ned Deily2019-10-151-1/+1
|
* Typo fix - implemention should be implementation (GH-16806)Hansraj Das2019-10-151-1/+1
|
* bpo-38468 : Refactor python-config (#16749)Joannah Nanjekye2019-10-152-5/+7
| | | | | | | | | | | | | | | | | | | | * refactor python-config * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> * Use getvar for pyver * Update news entry with affected file. * Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst Co-Authored-By: Victor Stinner <vstinner@python.org> * Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
* bpo-37961, tracemalloc: add Traceback.total_nframe (GH-15545)Julien Danjou2019-10-155-64/+114
| | | | Add a total_nframe field to the traces collected by the tracemalloc module. This field indicates the original number of frames before it was truncated.
* bpo-38478: Correctly handle keyword argument with same name as ↵Pablo Galindo2019-10-153-1/+14
| | | | positional-only parameter (GH-16800)
* bpo-38470: Fix test_compileall.test_compile_dir_maxlevels() (GH-16789)Victor Stinner2019-10-153-64/+23
| | | | | | | | | Fix test_compile_dir_maxlevels() on Windows without long path support: only create 3 subdirectories instead of between 20 and 100 subdirectories. Fix also compile_dir() to use the current sys.getrecursionlimit() value as the default maxlevels value, rather than using sys.getrecursionlimit() value read at startup.
* bpo-11410: Standardize and use symbol visibility attributes across POSIX and ↵Vinay Sajip2019-10-1512-35/+132
| | | | Windows. (GH-16347)
* bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791)Steve Dower2019-10-141-3/+3
|
* Doc: 3.8 is now stable. (GH-16790)Julien Palard2019-10-141-1/+1
|
* Remove draft status. Add asyncio REPL example (GH-16785)Raymond Hettinger2019-10-141-8/+29
|
* bpo-38453: Resolve test directories before chdir to them (GH-16723)Steve Dower2019-10-141-1/+1
|
* bpo-37759: Polish What's New in Python 3.8. (#16769)Serhiy Storchaka2019-10-141-88/+123
|
* Update build docs for macOS (GH-16771)Ned Deily2019-10-143-80/+86
|
* bpo-32498: urllib.parse.unquote also accepts bytes (GH-7768)Stein Karlsen2019-10-144-3/+33
|
* Update macOS installer display files for 3.9.0a1 (GH-16765)Ned Deily2019-10-143-69/+54
|
* bpo-37759: Add examples for the new typing features (GH-16763)Raymond Hettinger2019-10-141-5/+21
|
* bpo-38461 and bpo-38463: Minor fixes to Whatsnew 3.8 (GH-16761)Raymond Hettinger2019-10-141-9/+10
| | | | | | * bpo-38461: ncurses misspelled as curses * bpo-38463: Fix broken link
* bpo-38469: Handle named expression scope with global/nonlocal keywords ↵Pablo Galindo2019-10-143-3/+56
| | | | | (GH-16755) The symbol table handing of PEP572's assignment expressions is not resolving correctly the scope of some variables in presence of global/nonlocal keywords in conjunction with comprehensions.
* bpo-38464: Document parameter for NormalDist.quantiles() (GH-16757)Raymond Hettinger2019-10-141-1/+1
|
* Misc gc code & comment cleanups. (GH-16752)Tim Peters2019-10-131-22/+44
| | | | | | | | | | | | * Misc gc code & comment cleanups. validate_list: there are two temp flags polluting pointers, but this checked only one. Now it checks both, and verifies that the list head's pointers are not polluted. move_unreachable: repaired incoherent comments. Added new comments. Cleared the pollution of the unreachable list head's 'next' pointer (it was expedient while the function was running, but there's no excuse for letting this damage survive the function's end). * Update Modules/gcmodule.c Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
* bpo-38467: Fix argument name of typing functions (GH-16753)Sebastian Rittau2019-10-131-2/+2
|
* bpo-28556: Remove another mention of metaclass of Generic in typing docs ↵Ivan Levkivskyi2019-10-131-2/+2
| | | | | | | | (GH-16743) Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this). https://bugs.python.org/issue28556
* Rebased version of what's new PR (#16745)Andrew Kuchling2019-10-131-83/+67
| | | | | | * Use Unicode character for accent * Various grammar fixes * Sort library modules alphabetically; remove duplicated idlelib/IDLE section
* bpo-38379: Don't block collection of unreachable objects when some objects ↵Pablo Galindo2019-10-133-76/+208
| | | | | | | resurrect (GH-16687) Currently if any finalizer invoked during garbage collection resurrects any object, the gc gives up and aborts the collection. Although finalizers are assured to only run once per object, this behaviour of the gc can lead to an ever-increasing memory situation if new resurrecting objects are allocated in every new gc collection. To avoid this, recompute what objects among the unreachable set need to be resurrected and what objects can be safely collected. In this way, resurrecting objects will not block the collection of other objects in the unreachable set.
* Correct signature of __build_class__ (GH-16735)Pablo Galindo2019-10-131-1/+1
|
* bpo-38202: Fix a crash in dict_view & non-itearble. (GH-16241)Zackery Spytz2019-10-132-0/+23
|
* bpo-38431: Fix __repr__ method of InitVar to work with typing objects. ↵Samuel Colvin2019-10-133-1/+9
| | | | | | (GH-16702)
* bpo-38378: Rename parameters "out" and "in" of os.sendfile(). (GH-16742)Serhiy Storchaka2019-10-135-34/+39
| | | | | | | They conflicted with keyword "in". Also rename positional-only parameters of private os._fcopyfile() for consistency.
* bpo-38456: Handle the case when there is no 'true' command (GH-16739)Pablo Galindo2019-10-131-0/+2
|
* bpo-38282: Correctly manage the Bluetooth L2CAP socket structure in FreeBSD ↵Pablo Galindo2019-10-131-1/+6
| | | | (GH-16738)
* bpo-38456: Use /bin/true in test_subprocess (GH-16736)Gregory P. Smith2019-10-121-49/+59
| | | | | | | | | * bpo-38456: Use /bin/true in test_subprocess. Instead of sys.executable, "-c", "pass" or "import sys; sys.exit(0)" use /bin/true when it is available. On a reasonable machine this shaves up to two seconds wall time off the otherwise ~40sec execution on a --with-pydebug build. It should be more notable on many buildbots or overloaded slower I/O systems (CI, etc).
* bpo-38417: Add umask support to subprocess (GH-16726)Gregory P. Smith2019-10-127-19/+57
| | | | On POSIX systems, allow the umask to be set in the child process before we exec.
* bpo-37731: Reorder includes in xmltok.c to avoid redefinition of ↵Pablo Galindo2019-10-121-8/+8
| | | | _POSIX_C_SOURCE (GH-16733)
* Fix minor typos in WhatsnewHugo van Kemenade2019-10-121-12/+10
|
* Announce the change in the CancelledError inheritance (GH-16730)Phil Jones2019-10-121-0/+4
| | | | This is a fairly noticeable change that requires adjustments in existing asyncio code. It should therefore be announced.