summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39702: Relax grammar restrictions on decorators (PEP 614) (GH-18570)Brandt Bucher2020-03-038-537/+534
|
* bpo-39674: Suggest to test with DeprecationWarning (GH-18552)Victor Stinner2020-03-031-0/+28
| | | | | | Add a section in What's New In Python 3.9 to strongly advice to check for DeprecationWarning in your Python projects. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* bpo-35712: Make using NotImplemented in a boolean context issue a ↵MojoVampire2020-03-0310-12/+64
| | | | deprecation warning (GH-13195)
* bpo-39831: Remove outdated comment. (GH-18764)Serhiy Storchaka2020-03-031-3/+1
|
* bpo-39674: Update collections ABC deprecation doc (GH-18747)Victor Stinner2020-03-031-1/+1
|
* bpo-12915: Skip test_pkgutil.test_name_resolution() non-encodable filenames ↵Michael Felt2020-03-031-1/+5
| | | | | | (GH-18720) When filesystem encoding cannot encode the Unicode string used for a filename continue testing with the next example.
* bpo-39778: Add clarification about tp_traverse and ownership (GH-18754)Pablo Galindo2020-03-031-1/+13
| | | Automerge-Triggered-By: @pablogsal
* bpo-39802: Only expose set_escdelay and set_tabsize when curses extensions ↵Batuhan Taşkaya2020-03-032-1/+39
| | | | are activated (GH-18705)
* bpo-38091: Import deadlock detection causes deadlock (GH-17518)Armin Rigo2020-03-034-1667/+1688
| | | Automerge-Triggered-By: @brettcannon
* bpo-38597: Never statically link extension initialization code on Windows ↵Steve Dower2020-03-034-104/+13
| | | | (GH-18724)
* bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and ↵Pablo Galindo2020-03-023-2/+22
| | | | | | tp_clear (GH-18749) Objects do not own weak references to them directly through the __weakref__ list so these do not need to be traversed by the GC.
* bpo-39776: Lock ++interp->tstate_next_unique_id. (GH-18746) (#18746)Stefan Krah2020-03-022-2/+7
| | | | - Threads created by PyGILState_Ensure() could have a duplicate tstate->id.
* bpo-39831: Fix a reference leak in PyErr_WarnEx(). (GH-18750)Serhiy Storchaka2020-03-021-2/+3
|
* bpo-38870: Add docstring support to ast.unparse (GH-17760)Batuhan Taşkaya2020-03-022-80/+171
| | | | | | Allow ast.unparse to detect docstrings in functions, modules and classes and produce nicely formatted unparsed output for said docstrings. Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
* bpo-39796: Fix _warnings module initialization (GH-18739)Victor Stinner2020-03-023-15/+29
| | | | | | | | | * Add _PyWarnings_InitState() which only initializes the _warnings module state (tstate->interp->warnings) without creating a module object * Py_InitializeFromConfig() now calls _PyWarnings_InitState() instead of _PyWarnings_Init() * Rename also private functions of _warnings.c to avoid confusion between the public C API and the private C API.
* bpo-39764: Make Task.get_stack accept ag_frame (#18669)Lidi Zheng2020-03-023-3/+26
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)Erlend Egeberg Aasland2020-03-026-6/+8
| | | Automerge-Triggered-By: @zooba
* bpo-39775: inspect: Change Signature.parameters back to OrderedDict. (GH-18684)Inada Naoki2020-03-024-17/+24
|
* Fix misleading statement about mixed-type numeric comparisons (GH-18615)Mark Dickinson2020-03-022-2/+5
|
* bpo-38913: Fix segfault in Py_BuildValue("(s#O)", ...) if entered with ↵Serhiy Storchaka2020-03-023-3/+48
| | | | exception raised. (GH-18656)
* bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666)Chris A2020-03-023-5/+22
| | | | | | Open issue in the BPO indicated a desire to make the implementation of codecs.open() at parity with io.open(), which implements a try/except to assure file stream gets closed before an exception is raised.
* bpo-39495: Remove default value from C impl of TreeBuilder.start (GH-18275)Shantanu2020-03-024-9/+14
|
* bpo-39378: partial of PickleState struct should be traversed. (GH-18046)Hai Shi2020-03-021-0/+1
|
* bpo-39199: Add descriptions of non-deprecated nodes to the AST module ↵Pablo Galindo2020-03-021-6/+1497
| | | | | | | | | documentation (GH-17812) Adapted from https://greentreesnakes.readthedocs.io Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* closes bpo-39803: Remove unused str from _PyLong_FormatAdvancedWriter. ↵Andy Lester2020-03-011-2/+1
| | | | (GH-18709)
* bpo-39815: add cached_property to all (GH-18726)Hakan Çelik2020-03-012-1/+3
| | | Automerge-Triggered-By: @pablogsal
* bpo-39678: refactor queue manager thread (GH-18551)Thomas Moreau2020-03-013-215/+239
|
* bpo-38870: Implement a precedence algorithm in ast.unparse (GH-17377)Batuhan Taşkaya2020-03-013-16/+172
| | | | Implement a simple precedence algorithm for ast.unparse in order to avoid redundant parenthesis for nested structures in the final output.
* bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304)Batuhan Taşkaya2020-03-013-0/+8
|
* bpo-38641: Add lib2to3 support for starred expressions in return/yield ↵Vlad Emelianov2020-03-014-3/+18
| | | | | | statements (GH-16994)
* Mention backports (GH-18715)Stefan Krah2020-02-291-1/+1
|
* bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338)Stephen Balousek2020-02-292-3/+5
| | | | | | | | | | | | | | | | | | | | | | * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - The 'qop' value in the 'WWW-Authenticate' header is optional. The presence of 'qop' in the header should be checked before its value is parsed with 'split'. Signed-off-by: Stephen Balousek <stephen@balousek.net> * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - Add NEWS item Signed-off-by: Stephen Balousek <stephen@balousek.net> * Update Misc/NEWS.d/next/Library/2020-02-06-05-33-52.bpo-39548.DF4FFe.rst Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* Cosmetic change to match the surrounding code. (#18704)Stefan Krah2020-02-291-1/+1
|
* bpo-39794: Add --without-decimal-contextvar (#18702)Stefan Krah2020-02-2911-36/+248
|
* bpo-39667: Sync zipp 3.0 (GH-18540)Jason R. Coombs2020-02-294-37/+53
| | | | | | | | | | | | | | * bpo-39667: Improve pathlib.Path compatibility on zipfile.Path and correct performance degradation as found in zipp 3.0 * 📜🤖 Added by blurb_it. * Update docs for new zipfile.Path.open * Rely on dict, faster than OrderedDict. * Syntax edits on docs Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-39379: Remove reference to sys.path[0] being absolute path in whatsnew ↵Ananthakrishnan2020-02-291-5/+4
| | | | | | | | | | (GH-18561) Remove reference to sys.path[0] being absolute path in whatsnew Co-Authored-By: Kyle Stanley <aeros167@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-37534: Allow adding Standalone Document Declaration when generating XML ↵Henry Harutyunyan2020-02-295-13/+51
| | | | documents (GH-14912)
* bpo-39769: Fix compileall ddir for subpkgs. (GH-18676)Gregory P. Smith2020-02-295-4/+67
| | | | | | | | | | Fix compileall.compile_dir() ddir= behavior on sub-packages. Fixes compileall.compile_dir's ddir parameter and compileall command line flag `-d` to no longer write the wrong pathname to the generated pyc file for submodules beneath the root of the directory tree being compiled. This fixes a regression introduced with Python 3.5. Also marks the _new_ in 3.9 from PR #16012 parameters to compile_dir as keyword only (as that is the only way they will be used) and fixes an omission of them in one place from the docs.
* bpo-39789: Update Windows release build machines to VS 2019 (GH-18695)Steve Dower2020-02-2918-24/+25
| | | Also fixes some potential Nuget build issues.
* bpo-39718: add TYPE_IGNORE, COLONEQUAL to py38 changes in token (GH-18598)Shantanu2020-02-282-1/+2
|
* bpo-13790: Change 'string' to 'specification' in format doc (GH-18690)Terry Jan Reedy2020-02-282-2/+3
|
* bpo-39781: Do not jump when select in IDLE codecontext (GH-18683)Terry Jan Reedy2020-02-284-19/+36
| | | | Previously, the button-up part of selecting with a mouse was treated as a click that meant 'jump' to this line, which modified the context and undid the selection
* bpo-12915: Improve Unicode support for package names and attributes. (GH-18517)Vinay Sajip2020-02-282-6/+39
|
* Fuzz struct.unpack and catch RecursionError in re.compile (GH-18679)Ammar Askar2020-02-285-1/+76
|
* closes bpo-39721: Fix constness of members of tok_state struct. (GH-18600)Andy Lester2020-02-283-27/+37
| | | | | | | | | | | | | | | | | | | | | The function PyTokenizer_FromUTF8 from Parser/tokenizer.c had a comment: /* XXX: constify members. */ This patch addresses that. In the tok_state struct: * end and start were non-const but could be made const * str and input were const but should have been non-const Changes to support this include: * decode_str() now returns a char * since it is allocated. * PyTokenizer_FromString() and PyTokenizer_FromUTF8() each creates a new char * for an allocate string instead of reusing the input const char *. * PyTokenizer_Get() and tok_get() now take const char ** arguments. * Various local vars are const or non-const accordingly. I was able to remove five casts that cast away constness.
* bpo-39704: Explicitly pass the path to codecov config (GH-18680)Ammar Askar2020-02-273-5/+5
|
* bpo-39609: set the thread_name_prefix for the default asyncio executor ↵Markus Mohrhard2020-02-272-1/+4
| | | | | (GH-18458) Just a small debugging improvement to identify the asyncio executor threads.
* bpo-39087: Optimize PyUnicode_AsUTF8AndSize() (GH-18327)Inada Naoki2020-02-273-43/+92
| | | Avoid using temporary bytes object.
* Suppress the hang (#18457)Andrew Svetlov2020-02-261-2/+9
|
* bpo-36144: Document PEP 584 (GH-18659)Brandt Bucher2020-02-262-0/+22
|