Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214) | Serhiy Storchaka | 2020-06-30 | 5 | -52/+10 |
| | |||||
* | bpo-23427: Add sys.orig_argv attribute (GH-20729) | Victor Stinner | 2020-06-29 | 9 | -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. Coombs | 2020-06-29 | 3 | -1/+24 |
| | |||||
* | bpo-37999: Simplify the conversion code for %c, %d, %x, etc. (GH-20437) | Serhiy Storchaka | 2020-06-29 | 3 | -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 Ukjae | 2020-06-29 | 2 | -2/+2 |
| | |||||
* | bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface ↵ | Ravi Teja P | 2020-06-29 | 3 | -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 Krah | 2020-06-29 | 1 | -1/+1 |
| | |||||
* | bpo-41048: mimetypes should read the rule file using UTF-8, not the locale ↵ | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2020-06-29 | 4 | -1/+16 |
| | | | | encoding (GH-20998) | ||||
* | bpo-41123: Remove PyLong_FromUnicode() (GH-21204) | Inada Naoki | 2020-06-29 | 7 | -30/+5 |
| | |||||
* | bpo-41123: Remove PyUnicode_GetMax() (GH-21192) | Inada Naoki | 2020-06-29 | 4 | -17/+4 |
| | |||||
* | bpo-40874 Update the required libmpdec version for the decimal module (GH-21202) | Stefan Krah | 2020-06-28 | 2 | -2/+3 |
| | |||||
* | bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) | Serhiy Storchaka | 2020-06-28 | 3 | -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 Spytz | 2020-06-28 | 3 | -14/+16 |
| | |||||
* | bpo-41144: Fix IDLE open module error (#21182) | E-Paine | 2020-06-28 | 4 | -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 Taskaya | 2020-06-28 | 1 | -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 Galindo | 2020-06-28 | 1 | -33/+18 |
| | |||||
* | bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021) | Guido van Rossum | 2020-06-28 | 4 | -3/+30 |
| | |||||
* | bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) | Lysandros Nikolaou | 2020-06-27 | 5 | -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 Galindo | 2020-06-27 | 1 | -0/+16 |
| | |||||
* | bpo-40769: Allow extra surrounding parentheses for invalid annotated ↵ | Batuhan Taskaya | 2020-06-27 | 3 | -207/+284 |
| | | | | assignment rule (GH-20387) | ||||
* | bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) | Lysandros Nikolaou | 2020-06-27 | 2 | -10/+10 |
| | |||||
* | Remove dead code from tracemalloc (GH-21029) | Christian Heimes | 2020-06-27 | 1 | -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 Naoki | 2020-06-27 | 4 | -126/+16 |
| | | | They are undocumented and deprecated since Python 3.3. | ||||
* | bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) | Ned Deily | 2020-06-27 | 1 | -1/+7 |
| | |||||
* | bpo-41084: Adjust message when an f-string expression causes a SyntaxError ↵ | Lysandros Nikolaou | 2020-06-26 | 3 | -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 Hettinger | 2020-06-26 | 1 | -177/+176 |
| | |||||
* | bpo-41119: Output correct error message for list/tuple followed by colon ↵ | Lysandros Nikolaou | 2020-06-25 | 2 | -325/+289 |
| | | | | (GH-21160) | ||||
* | bpo-41103: Remove old buffer protocol support (#21117) | Inada Naoki | 2020-06-25 | 8 | -204/+9 |
| | | | They are deprecated since Python 3.0. | ||||
* | Fix typo in functions.rst (GH-21131) | Ram Rachum | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21151) | Hai Shi | 2020-06-25 | 20 | -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 Storchaka | 2020-06-25 | 24 | -77/+110 |
| | | | | characters. (GH-21035) | ||||
* | BPO-41100: Support macOS 11 when building (GH-21113) | Ronald Oussoren | 2020-06-25 | 3 | -2/+3 |
| | |||||
* | bpo-40939: run autoreconf to fix configure{,.ac} disparity (GH-21152) | Ned Deily | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-20824) | Hai Shi | 2020-06-25 | 9 | -21/+29 |
| | |||||
* | bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142) | Victor Stinner | 2020-06-25 | 5 | -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 Storchaka | 2020-06-25 | 1 | -3/+3 |
| | |||||
* | bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138) | Serhiy Storchaka | 2020-06-25 | 1 | -2/+2 |
| | |||||
* | bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) | Ned Deily | 2020-06-25 | 2 | -1/+2 |
| | |||||
* | bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) | Serhiy Storchaka | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-20849) | Hai Shi | 2020-06-25 | 17 | -60/+78 |
| | |||||
* | bpo-39580: add check for CLI installation on macOS (GH-20271) | Rick Heil | 2020-06-25 | 2 | -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 Deily | 2020-06-25 | 6 | -260/+139 |
| | |||||
* | bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126) | Serhiy Storchaka | 2020-06-25 | 3 | -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 Merry | 2020-06-25 | 3 | -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) | Arisaka97 | 2020-06-24 | 1 | -0/+1 |
| | | | Automerge-Triggered-By: @merwok | ||||
* | bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119) | Serhiy Storchaka | 2020-06-24 | 2 | -11/+45 |
| | |||||
* | bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985) | Nikita Nemkin | 2020-06-24 | 1 | -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 Stinner | 2020-06-24 | 3 | -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 Gmach | 2020-06-24 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @matrixise | ||||
* | bpo-41094: Fix decoding errors with audit when open files. (GH-21095) | Serhiy Storchaka | 2020-06-24 | 5 | -12/+33 |
| |