Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909) | Erlend Egeberg Aasland | 2020-09-07 | 12 | -94/+29 |
| | | | | | | Remove code required to support SQLite pre 3.7.3. Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | ||||
* | bpo-41316: Make tarfile follow specs for FNAME (GH-21511) | Artem Bulgakov | 2020-09-07 | 4 | -1/+17 |
| | | | | | | | | | | tarfile writes full path to FNAME field of GZIP format instead of just basename if user specified absolute path. Some archive viewers may process file incorrectly. Also it creates security issue because anyone can know structure of directories on system and know username or other personal information. RFC1952 says about FNAME: This is the original name of the file being compressed, with any directory components removed. So tarfile must remove directory names from FNAME and write only basename of file. Automerge-Triggered-By: @jaraco | ||||
* | bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) | Serhiy Storchaka | 2020-09-07 | 3 | -2/+19 |
| | |||||
* | bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986) | Mohamed Koubaa | 2020-09-07 | 3 | -155/+273 |
| | |||||
* | bpo-1635741: Port _overlapped module to multi-phase init (GH-22051) | Mohamed Koubaa | 2020-09-07 | 2 | -67/+108 |
| | | | Port the _overlapped extension module to multi-phase initialization (PEP 489). | ||||
* | bpo-1635741: Port _opcode module to multi-phase init (PEP 489) (GH-22050) | Mohamed Koubaa | 2020-09-07 | 2 | -14/+9 |
| | |||||
* | bpo-1635741 port zlib module to multi-phase init (GH-21995) | Mohamed Koubaa | 2020-09-07 | 3 | -252/+363 |
| | | | Port the zlib extension module to multi-phase initialization (PEP 489). | ||||
* | [doc] Add link to Generic in typing (GH-22125) | Andre Delfino | 2020-09-07 | 1 | -1/+1 |
| | |||||
* | bpo-41513: Expand comments and add references for a better understanding ↵ | Raymond Hettinger | 2020-09-06 | 1 | -5/+21 |
| | | | | (GH-22123) | ||||
* | bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) | Mohamed Koubaa | 2020-09-06 | 7 | -251/+359 |
| | | | | Port the _sha1, _sha512, and _md5 extension modules to multi-phase initialization API (PEP 489). | ||||
* | closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) | Zackery Spytz | 2020-09-06 | 1 | -1/+1 |
| | |||||
* | [doc] Fix padding in some typing definitions (GH-22114) | Andre Delfino | 2020-09-05 | 1 | -12/+12 |
| | | | Automerge-Triggered-By: @gvanrossum | ||||
* | Fix documented Python version for venv --upgrade-deps (GH-22113) | johnthagen | 2020-09-05 | 1 | -1/+1 |
| | | | | | | | | | | Fixes incorrect Python version added for `venv` `--upgrade-deps` in #13100. This feature was added in Python 3.9 not 3.8. Relates to: - - https://github.com/python/cpython/commit/1cba1c9abadf76f458ecf883a48515aa3b534dbd Automerge-Triggered-By: @vsajip | ||||
* | bpo-40318: Migrate to SQLite3 trace v2 API (GH-19581) | Erlend Egeberg Aasland | 2020-09-05 | 2 | -0/+37 |
| | | | | | Ref. https://sqlite.org/c3ref/trace_v2.html Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | ||||
* | bpo-41687: Fix sendfile implementation to work with Solaris (#22040) | Jakub Kulík | 2020-09-05 | 3 | -0/+26 |
| | |||||
* | bpo-41627: Distinguish 32 and 64-bit user site packages on Windows (GH-22098) | Steve Dower | 2020-09-04 | 3 | -10/+17 |
| | | | Also fixes the error message returned when sysconfig fails to interpolate a variable correctly. | ||||
* | bpo-38585: Remove references to defusedexpat (GH-22095) | Zackery Spytz | 2020-09-04 | 1 | -11/+3 |
| | | | defusedexpat is not maintained. | ||||
* | bpo-41721: Add xlc options (GH-22096) | Stefan Krah | 2020-09-04 | 2 | -2/+8 |
| | |||||
* | bpo-40486: Specify what happens if directory content change diring iteration ↵ | Serhiy Storchaka | 2020-09-04 | 3 | -3/+17 |
| | | | | (GH-22025) | ||||
* | bpo-41638: Improve ProgrammingError message for absent parameter. (GH-21999) | Serhiy Storchaka | 2020-09-04 | 2 | -1/+4 |
| | | | | | It contains now the name of the parameter instead of its index when parameters are supplied as a dict. | ||||
* | bpo-41713: _signal doesn't use multi-phase init (GH-22087) | Victor Stinner | 2020-09-04 | 2 | -8/+13 |
| | | | | | Partially revert commit 71d1bd9569c8a497e279f2fea6fe47cd70a87ea3: don't use multi-phase initialization (PEP 489) for the _signal extension module. | ||||
* | bpo-41700: Skip test if the locale is not supported (GH-22081) | Dong-hee Na | 2020-09-04 | 1 | -1/+4 |
| | |||||
* | [doc] Update documentation on logging optimization. (GH-22075) | Vinay Sajip | 2020-09-03 | 1 | -14/+16 |
| | |||||
* | Fix 'gather' rules in the python parser generator (GH-22021) | Pablo Galindo | 2020-09-03 | 2 | -1/+18 |
| | | | | | | Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure condition) to avoid false negatives. | ||||
* | bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the ↵ | Pablo Galindo | 2020-09-03 | 4 | -11/+23 |
| | | | | parser (GH-22077) | ||||
* | [doc] Fix a typo in the graphlib docs (#22030) | Mario Šaško | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) | Mohamed Koubaa | 2020-09-03 | 2 | -82/+87 |
| | |||||
* | bpo-39883: Use BSD0 license for code in docs (GH-17635) | Todd | 2020-09-03 | 3 | -0/+60 |
| | | | The PSF board approved this use. | ||||
* | bpo-39010: Improve test shutdown (#22066) | Ben Darnell | 2020-09-03 | 1 | -3/+11 |
| | | | | | | | Simply closing the event loop isn't enough to avoid warnings. If we don't also shut down the event loop's default executor, it sometimes logs a "dangling thread" warning. Follow-up to GH-22017 | ||||
* | bpo-41696: Fix handling of debug mode in asyncio.run (#22069) | Shantanu | 2020-09-03 | 3 | -2/+7 |
| | | | | | | | | | | | * bpo-41696: Fix handling of debug mode in asyncio.run This allows PYTHONASYNCIODEBUG or -X dev to enable asyncio debug mode when using asyncio.run * 📜🤖 Added by blurb_it. Co-authored-by: hauntsaninja <> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-41690: Use a loop to collect args in the parser instead of recursion ↵ | Pablo Galindo | 2020-09-02 | 5 | -515/+628 |
| | | | | | | | | | | | | | | | | | | | | | (GH-22053) This program can segfault the parser by stack overflow: ``` import ast code = "f(" + ",".join(['a' for _ in range(100000)]) + ")" print("Ready!") ast.parse(code) ``` the reason is that the rule for arguments has a simple recursion when collecting args: args[expr_ty]: [...] | a=named_expression b=[',' c=args { c }] { [...] } | ||||
* | closes bpo-41689: Preserve text signature from tp_doc in C heap type ↵ | Benjamin Peterson | 2020-09-02 | 4 | -3/+48 |
| | | | | creation. (GH-22058) | ||||
* | Fix invalid escape sequences in the peg_highlight Sphinx extension (GH-22047) | Pablo Galindo | 2020-09-02 | 1 | -1/+1 |
| | |||||
* | bpo-41675: Modernize siginterrupt calls (GH-22028) | Pablo Galindo | 2020-09-02 | 2 | -1/+16 |
| | | | | | | siginterrupt is deprecated: ./Modules/signalmodule.c:667:5: warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 667 | if (siginterrupt(signalnum, flag)<0) { | ||||
* | bpo-41685: Don't pin setuptools version anymore in Doc/Makefile (GH-22062) | Victor Stinner | 2020-09-02 | 1 | -2/+1 |
| | | | | setuptools 50.0.2 is now compatible with Python 3.10: https://github.com/pypa/setuptools/pull/2361 | ||||
* | bpo-40204: Update Sphinx to version 3.2.1 in Doc/Makefile (GH-22043) | Victor Stinner | 2020-09-02 | 1 | -1/+1 |
| | |||||
* | bpo-1635741: Port _sha3 module to multi-phase init (GH-21855) | Mohamed Koubaa | 2020-09-02 | 2 | -136/+194 |
| | | | | Port the _sha3 extension module to multi-phase init (PEP 489). Convert static types to heap types. | ||||
* | bpo-1635741: Port _blake2 module to multi-phase init (GH-21856) | Mohamed Koubaa | 2020-09-02 | 4 | -118/+119 |
| | | | | Port the _blake2 extension module to the multi-phase initialization API (PEP 489). | ||||
* | Fixed mistake in test for f-string error description (GH-22036) (GH-22059) | han-solo | 2020-09-02 | 2 | -2/+2 |
| | |||||
* | Improve hypot() accuracy with three separate accumulators (GH-22032) | Raymond Hettinger | 2020-09-02 | 1 | -4/+4 |
| | |||||
* | Remove reference to Boa Constructor. (GH-22012) | Andre Delfino | 2020-09-02 | 1 | -6/+0 |
| | |||||
* | [doc] Remove references to PyChecker. (GH-22011) | Andre Delfino | 2020-09-02 | 2 | -14/+5 |
| | |||||
* | Note the buffer slots can be set with PyType_Spec with the unlimited API. ↵ | Benjamin Peterson | 2020-09-02 | 1 | -1/+10 |
| | | | | | (GH-22031) Follow up to f7c4e236429606e1c982cacf24e10fc86ef4462f. | ||||
* | bpo-39349: Add cancel_futures to Executor.shutdown base class (GH-22023) | Shantanu | 2020-09-01 | 1 | -1/+4 |
| | | | | * Add cancel_futures parameter to the Executor base class, since it was missed in the original PR (https://github.com/python/cpython/pull/18057) that added cancel_futures. | ||||
* | bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) | Pablo Galindo | 2020-09-01 | 3 | -2/+45 |
| | | | | | | | When allocating MemoryError classes, there is some logic to use pre-allocated instances in a freelist only if the type that is being allocated is not a subclass of MemoryError. Unfortunately in the destructor this logic is not present so the freelist is altered even with subclasses of MemoryError. | ||||
* | bpo-41528: Use math module in turtle (GH-21837) | Marek Madejski | 2020-09-01 | 2 | -9/+10 |
| | | | | Use angle-related functions from math module instead of reinventing the wheel. | ||||
* | bpo-41617: Fix pycore_bitutils.h to support clang 3.0 (GH-22042) | Victor Stinner | 2020-09-01 | 2 | -4/+8 |
| | | | __builtin_bswap16() is not available in LLVM clang 3.0. | ||||
* | bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` ↵ | han-solo | 2020-09-01 | 4 | -2/+46 |
| | | | | | | | in format specifier (GH-22036) * Fixed `f-string/str.format` error description when using two `,` in format specifier. Co-authored-by: millefalcon <hanish0019@hmail.com> | ||||
* | [doc] Add link to FileHandler in logging (GH-21940) | Andre Delfino | 2020-09-01 | 1 | -15/+16 |
| | | | Co-authored-by: Andrés Delfino <adelfino@onapsis.com> | ||||
* | bpo-41685: Temporarily pin setuptools to 49.2.1 in Docs venv. (GH-22038) | Ned Deily | 2020-09-01 | 1 | -1/+2 |
| | | | See https://github.com/pypa/setuptools/pull/2361 |