Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) | Inada Naoki | 2021-10-10 | 11 | -26/+123 |
| | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | Fix EncodingWarning in test_tools. (GH-28846) | Inada Naoki | 2021-10-10 | 7 | -25/+29 |
| | |||||
* | bpo-45353: Remind sys.modules users to copy when iterating. (GH-28842) | Gregory P. Smith | 2021-10-09 | 1 | -1/+5 |
| | | | | | | | | This is true of all dictionaries in Python, but this one tends to catch people off guard as they don't realize when sys.modules might change out from underneath them as a hidden side effect of their code. Copying it first avoids the RuntimeError. An example when this happens in single threaded code are codecs being loaded which are an implicit time of use import that most need not think about. | ||||
* | Fix dataclassses spelling (GH-28837) | Landon Yarrington | 2021-10-09 | 3 | -3/+3 |
| | |||||
* | Fix the "Finding all Adverbs" example (GH-21420) | Rim Chatti | 2021-10-09 | 1 | -2/+2 |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-45256: Small cleanups for the code that inlines Python-to-Python calls ↵ | Pablo Galindo Salgado | 2021-10-09 | 1 | -11/+22 |
| | | | | in ceval.c (GH-28836) | ||||
* | bpo-27580: Add support of null characters in the csv module. (GH-28808) | Serhiy Storchaka | 2021-10-09 | 3 | -38/+70 |
| | |||||
* | bpo-45256: Remove the usage of the C stack in Python to Python calls (GH-28488) | Pablo Galindo Salgado | 2021-10-09 | 7 | -62/+222 |
| | | | | Ths commit inlines calls to Python functions in the eval loop and steals all the arguments in the call from the caller for performance. | ||||
* | bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) | Dong-hee Na | 2021-10-09 | 1 | -0/+6 |
| | |||||
* | bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) | Dong-hee Na | 2021-10-09 | 3 | -9/+70 |
| | |||||
* | Bump MAGIC_NUMBER to reflect change in JUMP_ABSOLUTE semantics. (GH-28829) | Mark Shannon | 2021-10-09 | 1 | -1/+2 |
| | |||||
* | [doc]: update susp-ignored.csv after a98b273c. (GH-28827) | Julien Palard | 2021-10-09 | 1 | -2/+2 |
| | |||||
* | bpo-10716: Migrating pydoc to html5. (GH-28651) | Julien Palard | 2021-10-09 | 7 | -261/+356 |
| | |||||
* | Replace usage of List[...] with list[...] in typing docs (GH-28821) | Micael Jarniac | 2021-10-09 | 1 | -8/+8 |
| | | | The ``List[...]`` form is deprecated since 3.9. | ||||
* | bpo-45410: libregrtest -jN writes stderr into stdout (GH-28819) | Victor Stinner | 2021-10-08 | 2 | -22/+22 |
| | | | | | | When libregrtest spawns a worker process, stderr is now written into stdout to keep messages order. Use a single pipe for stdout and stderr, rather than two pipes. Previously, messages were out of order which made analysis of buildbot logs harder | ||||
* | bpo-45407: Remove outdated XXX comment from Struct___init___impl (GH-28805) | Jeong YunWon | 2021-10-08 | 1 | -1/+0 |
| | |||||
* | bpo-45262, asyncio: Fix cache of the running loop holder (GH-28796) | Matthias Reichl | 2021-10-07 | 2 | -0/+4 |
| | | | Prevent use-after-free of running loop holder via cache. | ||||
* | bpo-45408: Don't override previous tokenizer errors in the second parser ↵ | Pablo Galindo Salgado | 2021-10-07 | 4 | -2/+15 |
| | | | | pass (GH-28812) | ||||
* | bpo-45337: Use the realpath of the new executable when creating a venv on ↵ | Steve Dower | 2021-10-07 | 3 | -9/+29 |
| | | | | Windows (GH-28663) | ||||
* | bpo-16379: Fix SQLite version checks in test_module_constants() (GH-28809) | Erlend Egeberg Aasland | 2021-10-07 | 1 | -2/+2 |
| | | | Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-45403: Fix test_sys.test_stdlib_dir() (GH-28785) | Victor Stinner | 2021-10-07 | 2 | -2/+4 |
| | | | | Fix test_sys.test_stdlib_dir() when Python is built outside the source tree: compare normalized paths. | ||||
* | bpo-45402: Fix test_tools.test_sundry() (GH-28786) | Victor Stinner | 2021-10-07 | 2 | -3/+7 |
| | | | | Fix test_tools.test_sundry() when Python is built out of tree: fix how the freeze_modules.py tool locates the _freeze_module program. | ||||
* | Remove draft notice on the 3.10 What's new document (GH-28806) | Pablo Galindo Salgado | 2021-10-07 | 1 | -7/+0 |
| | | | Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-45400: Fix suggestion test of test_exceptions (GH-28783) | Victor Stinner | 2021-10-07 | 2 | -1/+4 |
| | | | | | Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals() of test_exceptions if a directory name contains "a1" (like "Python-3.11.0a1"): use a stricter regular expression. | ||||
* | bpo-45041: Restore `sqlite3` executescript behaviour for `SELECT` queries ↵ | Erlend Egeberg Aasland | 2021-10-07 | 2 | -1/+12 |
| | | | | | | | (GH-28509) * bpo-45041: Restore sqlite3 executescript behaviour for select queries * Add regression test | ||||
* | Fix typos in the Modules directory (GH-28761) | Christian Clauss | 2021-10-07 | 19 | -21/+21 |
| | |||||
* | bpo-35970: Add help flag to base64 module (GH-28774) | Ammar Askar | 2021-10-07 | 3 | -5/+20 |
| | | | This continues off rkuska's work from https://github.com/python/cpython/pull/11789 seeing as the patch wasn't updated to add tests. | ||||
* | bpo-45385: Fix reference leak from descr_check (#28719) | Dong-hee Na | 2021-10-07 | 2 | -39/+38 |
| | |||||
* | Fix typos in the Objects directory (GH-28766) | Christian Clauss | 2021-10-06 | 11 | -14/+14 |
| | |||||
* | bpo-29505: Add fuzzer for ast.literal_eval (GH-28777) | Ammar Askar | 2021-10-06 | 2 | -0/+57 |
| | | | This supercedes https://github.com/python/cpython/pull/3437 and fuzzes the method we recommend for unsafe inputs, `ast.literal_eval`. This should exercise the tokenizer and parser. | ||||
* | Fix typos in the Lib directory (GH-28775) | Christian Clauss | 2021-10-06 | 64 | -83/+83 |
| | | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Fix typos in the Python directory (GH-28767) | Christian Clauss | 2021-10-06 | 7 | -11/+11 |
| | |||||
* | bpo-45375: Fix off by one error in buffer allocation (GH-28764) | Steve Dower | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | Fix typos in the Include directory (GH-28745) | Christian Clauss | 2021-10-06 | 7 | -8/+8 |
| | |||||
* | [doc] Mention __slots__ behavior in weakref.rst (GH-21061) | Jakub Stasiak | 2021-10-06 | 1 | -0/+4 |
| | | | | | | | | | It took me longer than I expected to figure out why a random class I dealt with didn't support weak references. I believe this addition will make the __slots__/weakref interaction more discoverable to people having troubles with this. (Before this patch __slots__ was not mentioned in weakref documentation even once). Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | Fix typos in the Tools directory (GH-28769) | Christian Clauss | 2021-10-06 | 15 | -24/+24 |
| | | | | | | | Like #28744 but for the Tools directory. [skip issue] Opening a related issue is pending python/psf-infra-meta#130 Automerge-Triggered-By: GH:pablogsal | ||||
* | bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) | rtobar | 2021-10-06 | 2 | -1/+8 |
| | | | | | Operating systems without support for TCP_NODELAY will raise an OSError when trying to set the socket option, but the show can still go on. | ||||
* | [Misc] [Mac] Fix typos found using codespell (GH-28756) | Christian Clauss | 2021-10-06 | 17 | -39/+39 |
| | |||||
* | bpo-40321: Add missing test, slightly expand documentation (GH-28760) | Łukasz Langa | 2021-10-06 | 4 | -8/+12 |
| | |||||
* | Remove test_nntplib from quicktest (GH-28754) | Inada Naoki | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | bpo-34804: [doc] Rephrase section on side effects in functional.rst for ↵ | DonnaDia | 2021-10-06 | 1 | -5/+4 |
| | | | | | clarity (GH-27989) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-40116: Add insertion order bit-vector to dict values to allow dicts to ↵ | Mark Shannon | 2021-10-06 | 8 | -187/+176 |
| | | | | share keys more freely. (GH-28520) | ||||
* | Normalize jumps in compiler. All forward jumps to use JUMP_FORWARD. (GH-28755) | Mark Shannon | 2021-10-06 | 3 | -14/+37 |
| | |||||
* | bpo-40321: Support HTTP response status code 308 in urllib.request (#19588) | Jochem Schulenklopper | 2021-10-06 | 3 | -4/+19 |
| | | | | | | | | | | | * Support HTTP response status code 308 in urllib. HTTP response status code 308 is defined in https://tools.ietf.org/html/rfc7538 to be the permanent redirect variant of 307 (temporary redirect). * Update documentation to include http_error_308() * Add blurb for bpo-40321 fix Co-authored-by: Roland Crosby <roland@rolandcrosby.com> | ||||
* | [doc] Fix typos found using codespell (GH-28744) | Christian Clauss | 2021-10-05 | 16 | -22/+22 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) | Illia Volochii | 2021-10-05 | 5 | -4/+5 |
| | |||||
* | [Tools/peg_generator/pegen/parser.py] Fix typo: s/wether/whether/ (GH-28739) | Ikko Ashimine | 2021-10-05 | 1 | -1/+1 |
| | |||||
* | bpo-45020: Identify which frozen modules are actually aliases. (gh-28655) | Eric Snow | 2021-10-05 | 10 | -37/+225 |
| | | | | | | | In the list of generated frozen modules at the top of Tools/scripts/freeze_modules.py, you will find that some of the modules have a different name than the module (or .py file) that is actually frozen. Let's call each case an "alias". Aliases do not come into play until we get to the (generated) list of modules in Python/frozen.c. (The tool for freezing modules, Programs/_freeze_module, is only concerned with the source file, not the module it will be used for.) Knowledge of which frozen modules are aliases (and the identity of the original module) normally isn't important. However, this information is valuable when we go to set __file__ on frozen stdlib modules. This change updates Tools/scripts/freeze_modules.py to map aliases to the original module name (or None if not a stdlib module) in Python/frozen.c. We also add a helper function in Python/import.c to look up a frozen module's alias and add the result of that function to the frozen info returned from find_frozen(). https://bugs.python.org/issue45020 | ||||
* | Post 3.11.0a1 | Pablo Galindo | 2021-10-05 | 1 | -1/+1 |
| | |||||
* | Merge tag 'v3.11.0a1' | Pablo Galindo | 2021-10-05 | 483 | -1497/+5665 |
|\ | | | | | | | Python 3.11.0a1 |