summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964)Erlend Egeberg Aasland2020-12-292-21/+86
|
* bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762)Jakub Kulík2020-12-294-11/+9
|
* bpo-40137: Convert _functools module to use PyType_FromModuleAndSpec. (GH-23405)Hai Shi2020-12-293-224/+255
|
* bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)Michael Wayne Goodman2020-12-291-2/+2
| | | | | | The descriptions of the `codes` and `messages` dictionaries in `xml.parsers.expat.errors` were swapped, and this commit swaps them back. For example, `codes` maps string descriptions of errors to numeric error codes, not the other way around.
* Fix minor typo in comments in readline.c (GH-23911)Jero Bado2020-12-291-1/+1
|
* Allow / character in username,password fields in _PROXY envvars. (#23973)Senthil Kumaran2020-12-293-2/+15
|
* bpo-41781: Fix typo in internal function name in typing (GH-23957)Ross2020-12-291-3/+3
|
* Fix typo in NEWS (GH23958)Zackery Spytz2020-12-291-1/+1
|
* bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)Serhiy Storchaka2020-12-295-11/+27
| | | | Objects which belong to different Tcl interpreters are now always different, even if they have the same name.
* bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)Serhiy Storchaka2020-12-291-1/+1
| | | | Tk can internally support bignum even if Tkinter is built without support of bignum.
* bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)Zackery Spytz2020-12-291-1/+1
| | | Automerge-Triggered-By: GH:zware
* bpo-42740: Support PEP 604, 612 for typing.py get_args and get_origin (GH-23942)Ken Jin2020-12-293-1/+15
|
* Fix compiler warnings regarding loss of data (GH-23983)Pablo Galindo2020-12-292-2/+2
|
* Use Py_NewRef in Modules/_struct.c (GH-23981)Pablo Galindo2020-12-281-2/+1
|
* bpo-42740: Fix get_args for PEP 585 collections.abc.Callable (GH-23963)Ken Jin2020-12-282-3/+6
| | | PR 1/2. Needs backport to 3.9.
* bpo-42222: Modernize integer test/conversion in randrange() (#23064)Raymond Hettinger2020-12-284-11/+81
|
* [workflow] Use MSVC problem matcher for Windows action build (GH-18532)Ammar Askar2020-12-282-0/+21
| | | | | | | This makes warnings and errors from the compiler very prominent so this should help prevent warnings from sneaking into the code base and catch them in review. See https://discuss.python.org/t/using-github-problem-matchers-to-catch-warnings-early/4254 for more details You can see a demo of this in action here: https://github.com/ammaraskar/cpython/pull/15/files#diff-9ba2eeca0f254ece0a9df4d7cb68e870 GCC and Sphinx matchers have previously been added in GH-18567 and GH-20325, respectively.
* bpo-40077: Fix typo in simplequeue_get_state_by_type() (GH-23975)Erlend Egeberg Aasland2020-12-281-1/+1
| | | | | | | | The typo did no damage, but it looks suspicious and confusing. Introduced by GH-23136. Skip news. Automerge-Triggered-By: GH:pitrou
* bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972)Erlend Egeberg Aasland2020-12-281-1/+0
|
* bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)Erlend Egeberg Aasland2020-12-271-1/+1
| | | The `pages` argument default value now reflects the implementation.
* bpo-1635741: sqlite3 uses Py_NewRef/Py_XNewRef (GH-23170)Erlend Egeberg Aasland2020-12-277-82/+45
|
* bpo-40956: Convert _sqlite3.Connection to Argument Clinic, part 2 (GH-23838)Erlend Egeberg Aasland2020-12-274-77/+297
|
* bpo-42749: Fix testing bignum if Tkinter is compiled with Tk 8.4 and dynamic ↵Serhiy Storchaka2020-12-271-4/+8
| | | | linked with Tk >= 8.5 (GH-23955)
* bpo-42745: finalize_interp_types() calls _PyType_Fini() (GH-23953)Victor Stinner2020-12-263-8/+7
| | | | | Call _PyType_Fini() in subinterpreters. Fix reference leaks in subinterpreters.
* Add small validator utility for PEG grammars (GH-23519)Pablo Galindo2020-12-263-0/+106
|
* bpo-16396: fix BPO number in changelog (GH-23951)Shantanu2020-12-261-1/+1
| | | Automerge-Triggered-By: GH:jaraco
* bpo-42748: test_asdl_parser now uses exec_module instead of load_module (#23954)Dong-hee Na2020-12-261-1/+5
|
* bpo-40521: Per-interpreter interned strings (GH-20085)Victor Stinner2020-12-265-83/+43
| | | | | | | | | | | Make the Unicode dictionary of interned strings compatible with subinterpreters. Remove the INTERN_NAME_STRINGS macro in typeobject.c: names are always now interned (even if EXPERIMENTAL_ISOLATED_SUBINTERPRETERS macro is defined). _PyUnicode_ClearInterned() now uses PyDict_Next() to no longer allocate memory, to ensure that the interned dictionary is cleared.
* bpo-42694: Prevent creating _curses_panel.panel (GH-23948)Victor Stinner2020-12-261-1/+2
| | | | | Fix regression introduced in commit 1baf030a902392fe92d934ed0fb6a385cf7d8869: restore removed code to prevent creating a _curses_panel.panel instance directly.
* bpo-42745: Make the type cache per-interpreter (GH-23947)Victor Stinner2020-12-267-82/+128
| | | | | | | | | | | Make the type attribute lookup cache per-interpreter. Add private _PyType_InitCache() function, called by PyInterpreterState_New(). Continue to share next_version_tag between interpreters, since static types are still shared by interpreters. Remove MCACHE macro: the cache is no longer disabled if the EXPERIMENTAL_ISOLATED_SUBINTERPRETERS macro is defined.
* Add convolve() to the itertools recipes (GH-23928)Raymond Hettinger2020-12-261-0/+12
|
* bpo-39465: Fix _PyUnicode_FromId() for subinterpreters (GH-20058)Victor Stinner2020-12-256-37/+102
| | | | | | | | | | | | | | | | | Make _PyUnicode_FromId() function compatible with subinterpreters. Each interpreter now has an array of identifier objects (interned strings decoded from UTF-8). * Add PyInterpreterState.unicode.identifiers: array of identifiers objects. * Add _PyRuntimeState.unicode_ids used to allocate unique indexes to _Py_Identifier. * Rewrite the _Py_Identifier structure. Microbenchmark on _PyUnicode_FromId(&PyId_a) with _Py_IDENTIFIER(a): [ref] 2.42 ns +- 0.00 ns -> [atomic] 3.39 ns +- 0.00 ns: 1.40x slower This change adds 1 ns per _PyUnicode_FromId() call in average.
* Sync what's new in 3.9 with 3.9 branch (GH-23943)Ken Jin2020-12-251-1/+34
|
* bpo-36876: [c-analyzer tool] Additional CLI updates for "capi" command. ↵Eric Snow2020-12-253-93/+380
| | | | | (gh-23929) https://bugs.python.org/issue36876
* Rename Tkinter tests for widget options (GH-23944)Serhiy Storchaka2020-12-253-210/+212
| | | | Every test for widget option starts now with "test_configure_" to distinguish it from tests for widget commands.
* bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885)Desmond Cheong2020-12-254-4/+23
|
* bpo-42721: Improve using simple dialogs without root window (GH-23897)Serhiy Storchaka2020-12-257-24/+144
| | | | | | | | | | | | | | | | | When simple query dialogs (tkinter.simpledialog), message boxes (tkinter.messagebox) or color choose dialog (tkinter.colorchooser) are created without arguments master and parent, and the default root window is not yet created, a new temporary hidden root window will be created automatically. It will not be set as the default root window and will be destroyed right after closing the dialog window. It will help to use these simple dialog windows in programs which do not need other GUI. Previously, message boxes and color chooser created the blank root window and left it after closing the dialog window, and query dialogs just raised an exception. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-28964: add line number of node (if available) to ast.literal_eval error ↵Irit Katriel2020-12-253-1/+17
| | | | messages (GH-23677)
* bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904)Serhiy Storchaka2020-12-258-29/+30
| | | Use `widget is None` instead of checking the boolean value of a widget.
* bpo-42734: Fix crasher bogus_code_obj.py (GH-23939)Serhiy Storchaka2020-12-251-1/+1
| | | | It did not work because the signature of code object constructor was changed. Also, it used old format of bytecode (pre-wordcode).
* bpo-29076: Add fish support to macOS installer (GH-23302)Erlend Egeberg Aasland2020-12-252-1/+18
|
* bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)Gregory P. Smith2020-12-254-3/+32
| | | | | | | | | | When the modern text= spelling of the universal_newlines= parameter was added for Python 3.7, check_output's special case around input=None was overlooked. So it behaved differently with universal_newlines=True vs text=True. This reconciles the behavior to be consistent and adds a test to guarantee it. Also clarifies the existing check_output documentation. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* bpo-42727: Fix the NEWS entry .rst (GH-23932)Gregory P. Smith2020-12-251-2/+2
| | | | | | | | | | | It was causing CI failures. the offending file came from https://github.com/python/cpython/pull/23917 ``` python3 tools/rstlint.py ../Misc/NEWS.d/next/ [2] ../Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst:1: default role used [2] ../Misc/NEWS.d/next/Library/2020-12-23-19-43-06.bpo-42727.WH3ODh.rst:2: default role used 2 problems with severity 2 found. Makefile:204: recipe for target 'check' failed ```
* bpo-42727: [Enum] use super() and include **kwds (GH-23927)Ethan Furman2020-12-251-2/+2
| | | | | | | | for multiple inheritance support: use super().new pass **kwds to super().new
* bpo-42685: Improve placing of simple query windows. (GH-23856)Serhiy Storchaka2020-12-242-35/+38
| | | | | | * If parent is specified and mapped, the query widget is centered at the center of parent. Its position and size can be corrected so that it fits in the virtual root window. * Otherwise it is centered at the center of the screen.
* [Enum] EnumMeta.__prepare__ now accepts **kwds (#23917)Ethan Furman2020-12-243-2/+14
|
* bpo-36876: [c-analyzer tool] Add a "capi" subcommand to the c-analyzer tool. ↵Eric Snow2020-12-2410-57/+849
| | | | | | | (gh-23918) This will help identify which C-API items will need to be updated for subinterpreter support. https://bugs.python.org/issue36876
* closes bpo-42726: gdb libpython: InstanceProxy support for py3 (GH-23912)Augusto Hack2020-12-242-1/+3
| | | | | | | On Fedora 31 gdb is using python 3.7.9, calling `proxyval` on an instance with a dictionary fails because of the `dict.iteritems` usage. This PR changes the code to be compatible with py2 and py3. This changed seemed small enough to not need an issue and news blurb, if one is required please let me know. Automerge-Triggered-By: GH:benjaminp
* GH: Add isidentical to the CODEOWNERS (GH-23923)Batuhan Taskaya2020-12-241-0/+7
|
* bpo-41559: Implement PEP 612 - Add ParamSpec and Concatenate to typing (#23702)kj2020-12-246-75/+381
|