summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow any primary as long as it ends in .NAMEprint-statementGuido van Rossum2020-06-092-1109/+1475
|
* Allow calling function given by dotted name, e.g. foo.bar 1, 2Guido van Rossum2020-06-092-322/+441
|
* Call just print, but any functionGuido van Rossum2020-06-092-1151/+1229
|
* Support keyword args in print_stmtGuido van Rossum2020-06-092-1223/+1102
|
* Add a print statement (for fun and testing)Guido van Rossum2020-06-092-1377/+1650
|
* Remove usesless function from csv module (GH-20762)Dong-hee Na2020-06-101-8/+2
|
* bpo-40684: Fix make install for platlibdir=lib64 (GH-20736)Victor Stinner2020-06-094-3/+16
| | | | | | "make install" now uses the PLATLIBDIR variable for the destination lib-dynload/ directory when ./configure --with-platlibdir is used. Update --with-platlibdir comment in configure.
* Remove reference to 3.7 and 3.8 backports. (GH-20754)Stefan Krah2020-06-091-1/+0
|
* Minor improvement to the namedtuple implementation (GH-20741)Raymond Hettinger2020-06-081-1/+4
| | | | | * Cleaner way to build the arg list with a trailing comma when required * Fix appearance of __new__ in help()
* bpo-24914: mention Python supports multiple paradigms in the FAQ (#20658)Brett Cannon2020-06-081-6/+7
|
* bpo-40854: PYTHONPLATLIBDIR env var added to 3.9 (GH-20735)Victor Stinner2020-06-082-2/+2
|
* Add multicore support to deccheck.py. (GH-20731)Stefan Krah2020-06-081-21/+110
|
* Remove deleted libmpdec header from the Visual Studio build machinery. ↵Stefan Krah2020-06-082-5/+1
| | | | (GH-20730)
* bpo-40861: Enable optimizations when building liblzma (GH-20724)Steve Dower2020-06-081-5/+2
|
* bpo-40910: Export Py_GetArgcArgv() function (GH-20721)Victor Stinner2020-06-0810-22/+131
| | | | | | | | | | | | Export explicitly the Py_GetArgcArgv() function to the C API and document the function. Previously, it was exported implicitly which no longer works since Python is built with -fvisibility=hidden. * Add PyConfig._orig_argv member. * Py_InitializeFromConfig() no longer calls _PyConfig_Write() twice. * PyConfig_Read() no longer initializes Py_GetArgcArgv(): it is now _PyConfig_Write() responsibility. * _PyConfig_Write() result type becomes PyStatus instead of void. * Write an unit test on Py_GetArgcArgv().
* bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var ↵Sandro Mani2020-06-0811-24/+82
| | | | (GH-20605)
* bpo-29882: Add _Py_popcount32() function (GH-20518)Victor Stinner2020-06-0811-39/+108
| | | | | | * Rename pycore_byteswap.h to pycore_bitutils.h. * Move popcount_digit() to pycore_bitutils.h as _Py_popcount32(). * _Py_popcount32() uses GCC and clang builtin function if available. * Add unit tests to _Py_popcount32().
* bpo-33187: Document 3.9 changes to xml.etree.ElementInclude.include (GH-20438)Shantanu2020-06-081-2/+11
| | | | Looks like the merging of bpo-33187 and bpo-20928 was racy, resulting in this change going undocumented.
* allow macOS installer builds to package pre-built html docs (GH-20715)Ned Deily2020-06-081-7/+33
| | | | | | | | | | build-installer now looks in its directory of source tarballs for a suitable html tarball of the same version. If so, it will unpack and use it rather than rebuilding the html format documentation set from the source repo. This is intended as a speedup for test builds of the installer. Files names must be in the same format as produced by the docs build for download, for example, `python-3.9.0b1-docs-html.tar.bz2`.
* Deny eval() direct access to builtins (GH-20713)Raymond Hettinger2020-06-071-1/+2
|
* bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367)Lysandros Nikolaou2020-06-071-3/+47
| | | | | Also added an example in shutil in order to make more clear how they are to be used. Initially reported by Weinan Li on bpo.
* bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705)Ned Deily2020-06-072-3/+4
|
* bpo-40903: Handle multiple '=' in invalid assignment rules in the PEG parser ↵Pablo Galindo2020-06-075-237/+453
| | | | | (GH-20697) Automerge-Triggered-By: @pablogsal
* bpo-39791 native hooks for importlib.resources.files (GH-20576)Jason R. Coombs2020-06-079-2359/+2118
| | | | | | | | | | | | | | | | | | | | | | | | | * Provide native .files support on SourceFileLoader. * Add native importlib.resources.files() support to zipimporter. Remove fallback support. * make regen-all * 📜🤖 Added by blurb_it. * Move 'files' into the ResourceReader so it can carry the relevant module name context. * Create 'importlib.readers' module and add FileReader to it. * Add zip reader and rely on it for a TraversableResources object on zipimporter. * Remove TraversableAdapter, no longer needed. * Update blurb. * Replace backslashes with forward slashes. * Incorporate changes from importlib_metadata 2.0, finalizing the interface for extension via get_resource_reader. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-40904: Fix segfault in the new parser with f-string containing yield ↵Pablo Galindo2020-06-083-0/+7
| | | | statements with no value (GH-20701)
* bpo-40887: Don't use finalized free lists (GH-20700)Victor Stinner2020-06-086-3/+88
| | | | | | In debug mode, ensure that free lists are no longer used after being finalized. Set numfree to -1 in finalization functions (eg. _PyList_Fini()), and then check that numfree is not equal to -1 before using a free list (e.g list_dealloc()).
* bpo-40881: Fix unicode_release_interned() (GH-20699)Victor Stinner2020-06-081-2/+2
| | | Use Py_SET_REFCNT() in unicode_release_interned().
* bpo-40887: Fix finalize_interp_clear() for free lists (GH-20698)Victor Stinner2020-06-081-27/+17
| | | | Reorganize code to ensure that free lists are cleared in the right order. Call _PyWarnings_Fini() before _PyList_Fini().
* bpo-39791: Support file systems that cannot support non-ascii filenames ↵Jason R. Coombs2020-06-072-2/+18
| | | | (skipping tests in that case). (#20681)
* bpo-40898: Remove redundant if statements in tp_traverse (GH-20692)Hai Shi2020-06-074-13/+5
|
* Fix return type of test helper function heapctypewithbuffer_releasebuffer() ↵Rémi Lapeyre2020-06-071-1/+1
| | | | (GH-20685)
* Update comments to reflect the current API (GH-20682)Raymond Hettinger2020-06-061-4/+6
|
* bpo-40724: Support setting buffer slots from type specs (GH-20648)scoder2020-06-065-2/+60
| | | This is not part of the limited API but makes the buffer slots available for type specs.
* bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649)Batuhan Taskaya2020-06-063-0/+31
|
* [workflow] Use gcc problem matcher for Ubuntu action build (GH-18567)Ammar Askar2020-06-062-0/+20
|
* Refactor scripts in Tools/peg_generator/scripts (GH-20401)Lysandros Nikolaou2020-06-057-144/+143
|
* bpo-40880: Fix invalid read in newline_in_string in pegen.c (#20666)Pablo Galindo2020-06-062-2/+4
| | | | | | | | | | | * bpo-40880: Fix invalid read in newline_in_string in pegen.c * Update Parser/pegen/pegen.c Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> * Add NEWS entry Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* bpo-40883: Fix memory leak in fstring_compile_expr in parse_string.c (GH-20667)Pablo Galindo2020-06-062-0/+3
|
* bpo-40862: Raise TypeError when const is given to ↵Rémi Lapeyre2020-06-052-1/+8
| | | | argparse.BooleanOptionalAction (GH-20623)
* bpo-40867: Remove unused include from Module/_randommodule.c (GH-20635)Erlend Egeberg Aasland2020-06-051-1/+0
|
* bpo-40876: Clarify error message in the csv module (GH-20653)Ram Rachum2020-06-052-1/+2
|
* bpo-39791: Refresh importlib.metadata from importlib_metadata 1.6.1. (GH-20659)Jason R. Coombs2020-06-056-18/+84
| | | | | | | * Refresh importlib.metadata from importlib_metadata 1.6.1. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Fix missing FloatOperation in EXTRA_FUNCTIONALITY path. (#20655)Stefan Krah2020-06-051-0/+2
|
* bpo-19468: delete unnecessary instance check in importlib.reload() (GH-19424)Furkan Önder2020-06-052-4/+6
| | | Automerge-Triggered-By: @brettcannon
* bpo-40874: Update to libmpdec-2.5.0 (GH-20652)Stefan Krah2020-06-0538-296/+502
|
* bpo-1635741: Port mmap module to multiphase initialization (GH-19459)Dong-hee Na2020-06-062-74/+81
|
* bpo-40521: Make context free list per-interpreter (GH-20644)Victor Stinner2020-06-057-28/+34
| | | | | | | | | Each interpreter now has its own context free list: * Move context free list into PyInterpreterState. * Add _Py_context_state structure. * Add tstate parameter to _PyContext_ClearFreeList() and _PyContext_Fini(). * Pass tstate to clear_freelists().
* bpo-40521: Make async gen free lists per-interpreter (GH-20643)Victor Stinner2020-06-057-46/+67
| | | | | | | | | Each interpreter now has its own asynchronous generator free lists: * Move async gen free lists into PyInterpreterState. * Move _PyAsyncGen_MAXFREELIST define to pycore_interp.h * Add _Py_async_gen_state structure. * Add tstate parameter to _PyAsyncGen_ClearFreeLists and _PyAsyncGen_Fini().
* bpo-40521: Make list free list per-interpreter (GH-20642)Victor Stinner2020-06-057-40/+49
| | | | | | | | | | | | Each interpreter now has its own list free list: * Move list numfree and free_list into PyInterpreterState. * Add _Py_list_state structure. * Add tstate parameter to _PyList_ClearFreeList() and _PyList_Fini(). * Remove "#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS". * _PyGC_Fini() clears gcstate->garbage list which can be stored in the list free list. Call _PyGC_Fini() before _PyList_Fini() to prevent leaking this list.
* bpo-40807: Show warnings once from codeop._maybe_compile (#20486)Cheryl Sabella2020-06-043-9/+20
| | | | | | | | | * bpo-40807: Show warnings once from codeop._maybe_compile * Move catch_warnings * news Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>