summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bpo-35800: Deprecate smtpd.MailmanProxy (GH-11675)Samuel Colvin2019-10-124-0/+10
| | | | | | Since `smtpd.MailmanProxy` is already broken, it is not formally deprecated in 3.9. It will be removed in 3.10. https://bugs.python.org/issue35800
* bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper ↵Abhilash Raj2019-10-125-13/+4
| | | | | | | | | parsing of URLs (GH-15522)" (GH-16724) This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb. https://bugs.python.org/issue38449
* bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536)Ruediger Pluem2019-10-113-10/+30
| | | pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively.
* bpo-38442: Remove an execution bit from Doc/whatsnew/3.8.rst. (GH-16715)Serhiy Storchaka2019-10-111-0/+0
|
* Fix strict-aliasing rules errors on gcc 4.8.5. (GH-16714)Dong-hee Na2019-10-111-1/+1
|
* Typo fix: "throuhgh" should be "through". (GH-16704)Hansraj Das2019-10-111-1/+1
|
* docs: Add asyncio source code links (GH-16640)Kyle Stanley2019-10-1011-4/+54
|
* bpo-38437: Activate GC_DEBUG when PY_DEBUG is set (GH-16707)Pablo Galindo2019-10-102-2/+7
|
* Remove AppVeyor badge now that we don't use it in the CI anymore (GH-16708)Pablo Galindo2019-10-101-4/+0
|
* bpo-38282: Rewrite getsockaddrarg() helper function (GH-16698)Victor Stinner2019-10-102-39/+25
| | | | | | | | Rewrite getsockaddrarg() helper function of socketmodule.c (_socket module) to prevent a false alarm when compiling codde using GCC with _FORTIFY_SOURCE=2. Pass a pointer of the sock_addr_t union, rather than passing a pointer to a sockaddr structure. Add "struct sockaddr_tipc tipc;" to the sock_addr_t union.
* Re-enable the OverflowError test for test_truediv on test_complex (GH-16591)Dong-hee Na2019-10-101-2/+1
|
* bpo-38353: Fix typos in calculate_argv0_path_framework() (GH-16695)Victor Stinner2019-10-101-4/+4
| | | | | bpo-38353, bpo-38429: Fix typos introduced by commit c02b41b1fb115c87693530ea6a480b2e15460424 in calculate_argv0_path_framework() of getpath.c.
* bpo-32996: Documentation fix-up. (GH-16646)M. Eric Irrgang2019-10-101-3/+4
| | | | | | | PR #4906 changed the typing.Generic class hierarchy, leaving an outdated comment in the library reference. User-defined Generic ABCs now must get a abc.ABCMeta metaclass from something other than typing.Generic inheritance.
* bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688)Dong-hee Na2019-10-102-2/+4
|
* bpo-38109: Add missing constants to Lib/stat.py (GH-16665)Ronan Lamy2019-10-103-6/+21
| | | | | Add missing stat.S_IFDOOR, stat.S_IFPORT, stat.S_IFWHT, stat.S_ISDOOR, stat.S_ISPORT, and stat.S_ISWHT values to the Python implementation of the stat module.
* bpo-38392: Only declare visit_validate() if Py_DEBUG is defined (GH-16689)Victor Stinner2019-10-102-1/+4
| | | | | bpo-38392, bpo-38426: Fix a compiler warning in gcmodule.c. Fix also a typo in PYMEM_DEADBYTE macro comment.
* bpo-38409: Fix grammar in str.strip() docstring (GH-16682)Zachary Ware2019-10-092-4/+4
|
* bpo-38379: don't claim objects are collected when they aren't (#16658)Tim Peters2019-10-093-6/+75
| | | | | | * bpo-38379: when a finalizer resurrects an object, nothing is actually collected in this run of gc. Change the stats to relect that truth.