summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Serhiy Storchaka2020-06-305-52/+10
|
* bpo-23427: Add sys.orig_argv attribute (GH-20729)Victor Stinner2020-06-299-35/+104
| | | | | | | Add sys.orig_argv attribute: the list of the original command line arguments passed to the Python executable. Rename also PyConfig._orig_argv to PyConfig.orig_argv and document it.
* bpo-40924: Ensure importlib.resources.path returns an extant path (GH-20857)Jason R. Coombs2020-06-293-1/+24
|
* bpo-37999: Simplify the conversion code for %c, %d, %x, etc. (GH-20437)Serhiy Storchaka2020-06-293-58/+26
| | | | Since PyLong_AsLong() no longer use __int__, explicit call of PyNumber_Index() before it is no longer needed.
* Fix typo in Object/listobject.c (GH-21079)Jeong Ukjae2020-06-292-2/+2
|
* bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface ↵Ravi Teja P2020-06-293-2/+15
| | | | | | | | (GH-21033) The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation
* Update libmpdec license dates (GH-21216)Stefan Krah2020-06-291-1/+1
|
* bpo-41048: mimetypes should read the rule file using UTF-8, not the locale ↵Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2020-06-294-1/+16
| | | | encoding (GH-20998)
* bpo-41123: Remove PyLong_FromUnicode() (GH-21204)Inada Naoki2020-06-297-30/+5
|
* bpo-41123: Remove PyUnicode_GetMax() (GH-21192)Inada Naoki2020-06-294-17/+4
|
* bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)Stefan Krah2020-06-282-2/+3
|
* bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177)Serhiy Storchaka2020-06-283-16/+27
| | | | Fix also a resource warning when store counts and module info.
* bpo-31082: Use "iterable" in the docstring for functools.reduce() (GH-20796)Zackery Spytz2020-06-283-14/+16
|
* bpo-41144: Fix IDLE open module error (#21182)E-Paine2020-06-284-7/+20
| | | | | Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38870: Extend subject of ast.unparse warnings (GH-21053)Batuhan Taskaya2020-06-281-1/+6
| | | | | | | - Mention that some compiler optimizations might not roundtrip exactly (such as constant tuples and frozensets). - Add a warning about it might raise RecursionError on very complex expressions due to recursive unparsing aspect of ast.unparse
* bpo-39151: Simplify DFS in the assembler (GH-17733)Pablo Galindo2020-06-281-33/+18
|
* bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021)Guido van Rossum2020-06-284-3/+30
|
* bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054)Lysandros Nikolaou2020-06-275-2642/+2426
| | | This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed.
* Add soft keywords to the documentation (GH-21185)Pablo Galindo2020-06-271-0/+16
|
* bpo-40769: Allow extra surrounding parentheses for invalid annotated ↵Batuhan Taskaya2020-06-273-207/+284
| | | | assignment rule (GH-20387)
* bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173)Lysandros Nikolaou2020-06-272-10/+10
|
* Remove dead code from tracemalloc (GH-21029)Christian Heimes2020-06-271-4/+0
| | | | | tracemalloc_get_frame() checked filename == NULL two times in a row. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-41123: Remove Py_UNICODE_str* functions (GH-21164)Inada Naoki2020-06-274-126/+16
| | | They are undocumented and deprecated since Python 3.3.
* bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)Ned Deily2020-06-271-1/+7
|
* bpo-41084: Adjust message when an f-string expression causes a SyntaxError ↵Lysandros Nikolaou2020-06-263-3/+29
| | | | | (GH-21084) Prefix the error message with `fstring: `, when parsing an f-string expression throws a `SyntaxError`.
* Improve code organization for the random module (GH-21161)Raymond Hettinger2020-06-261-177/+176
|
* bpo-41119: Output correct error message for list/tuple followed by colon ↵Lysandros Nikolaou2020-06-252-325/+289
| | | | (GH-21160)
* bpo-41103: Remove old buffer protocol support (#21117)Inada Naoki2020-06-258-204/+9
| | | They are deprecated since Python 3.0.
* Fix typo in functions.rst (GH-21131)Ram Rachum2020-06-251-1/+1
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21151)Hai Shi2020-06-2520-42/+69
| | | | | | | | | | | | | Use new test.support helper submodules in tests: * distutils tests * test_buffer * test_compile * test_filecmp * test_fileinput * test_readline * test_smtpnet * test_structmembers * test_tools
* bpo-41069: Make TESTFN and the CWD for tests containing non-ascii ↵Serhiy Storchaka2020-06-2524-77/+110
| | | | characters. (GH-21035)
* BPO-41100: Support macOS 11 when building (GH-21113)Ronald Oussoren2020-06-253-2/+3
|
* bpo-40939: run autoreconf to fix configure{,.ac} disparity (GH-21152)Ned Deily2020-06-251-1/+1
|
* bpo-40275: Use new test.support helper submodules in tests (GH-20824)Hai Shi2020-06-259-21/+29
|
* bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142)Victor Stinner2020-06-255-53/+107
| | | | | | | | | | | | | | | | Always create the empty bytes string singleton. Optimize PyBytes_FromStringAndSize(str, 0): it no longer has to check if the empty string singleton was created or not, it is always available. Add functions: * _PyBytes_Init() * bytes_get_empty(), bytes_new_empty() * bytes_create_empty_string_singleton() * unicode_create_empty_string_singleton() _Py_unicode_state: rename empty structure member to empty_string.
* bpo-41113: Fix test_warnings on non-Western locales. (GH-21143)Serhiy Storchaka2020-06-251-3/+3
|
* bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138)Serhiy Storchaka2020-06-251-2/+2
|
* bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141)Ned Deily2020-06-252-1/+2
|
* bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)Serhiy Storchaka2020-06-251-1/+1
|
* bpo-40275: Use new test.support helper submodules in tests (GH-20849)Hai Shi2020-06-2517-60/+78
|
* bpo-39580: add check for CLI installation on macOS (GH-20271)Rick Heil2020-06-252-1/+5
| | | | Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs.
* Forward port macOS installer updates from 3.7/3.8/3.9 (GH-21132)Ned Deily2020-06-256-260/+139
|
* bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126)Serhiy Storchaka2020-06-253-8/+21
| | | | | * Fix support of non-ASCII names in functions OpenDatabase() and init_database(). * Fix support of non-ASCII SQL in method Database.OpenView().
* bpo-41002: Optimize HTTPResponse.read with a given amount (GH-20943)Bruce Merry2020-06-253-10/+53
| | | | | I've done the implementation for both non-chunked and chunked reads. I haven't benchmarked chunked reads because I don't currently have a convenient way to generate a high-bandwidth chunked stream, but I don't see any reason that it shouldn't enjoy the same benefits that the non-chunked case does. I've used the benchmark attached to the bpo bug to verify that performance now matches the unsized read case. Automerge-Triggered-By: @methane
* bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081)Arisaka972020-06-241-0/+1
| | | Automerge-Triggered-By: @merwok
* bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119)Serhiy Storchaka2020-06-242-11/+45
|
* bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985)Nikita Nemkin2020-06-241-0/+1
| | | | | | | | In absence of explicit declaration, resource compiler uses system codepage. When this codepage is DBCS or UTF-8, Python's copyright string is corrupted, because it contains copyright sign encoded as \xA9. The fix is to explicitly declare codepage 1252.
* bpo-40521: Always create the empty tuple singleton (GH-21116)Victor Stinner2020-06-243-49/+105
| | | | | | | | | | | Py_InitializeFromConfig() now always creates the empty tuple singleton as soon as possible. Optimize PyTuple_New(0): it no longer has to check if the empty tuple was created or not, it is always creatd. * Add tuple_create_empty_tuple_singleton() function. * Add tuple_get_empty() function. * Remove state parameter of tuple_alloc().
* Fix typo in dataclasses module (GH-21109)Jürgen Gmach2020-06-241-1/+1
| | | Automerge-Triggered-By: @matrixise
* bpo-41094: Fix decoding errors with audit when open files. (GH-21095)Serhiy Storchaka2020-06-245-12/+33
|