Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | [doc] Document VIRTUAL_ENV environment variable (GH-21970) | Andre Delfino | 2020-09-01 | 1 | -0/+4 |
| | |||||
* | bpo-39010: Fix errors logged on proactor loop restart (#22017) | Ben Darnell | 2020-08-31 | 5 | -2/+37 |
| | | | | | | Stopping and restarting a proactor event loop on windows can lead to spurious errors logged (ConnectionResetError while reading from the self pipe). This fixes the issue by ensuring that we don't attempt to start multiple copies of the self-pipe reading loop. | ||||
* | [doc] Fix markup in logging (GH-22008) | Andre Delfino | 2020-08-30 | 1 | -1/+1 |
| | |||||
* | bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556) | Vinay Sharma | 2020-08-30 | 3 | -0/+15 |
| | |||||
* | bpo-39994: Fix pprint handling of dict subclasses that override __repr__ ↵ | Irit Katriel | 2020-08-30 | 4 | -7/+50 |
| | | | | | (GH-21892) Co-authored-by: Palak Kumar Jha | ||||
* | Further improve accuracy of math.hypot() (GH-22013) | Raymond Hettinger | 2020-08-30 | 1 | -3/+8 |
| | |||||
* | closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) | Tony Solomonik | 2020-08-30 | 2 | -0/+5 |
| | | | | Free the stack allocated in va_build_stack if do_mkstack fails and the stack is not a small_stack | ||||
* | Improve asyncio-dev 'Concurrency and Multithreading' docs (GH-20882) | Roger Iyengar | 2020-08-29 | 1 | -0/+10 |
| | | | | | | | I added some information to the `Concurrency and Multithreading` section of the `Developing with asyncio` guide. This is all information that would have helped me when I started using asyncio. I incorrectly assumed that `loop.call_soon_threadsafe()` and `run_coroutine_threadsafe()` could be called from a thread in a process separate from the one that the event loop is running in. Explicitly stating that this will not work will probably help some people starting out with asyncio in the future. I also added references to some other functions that can be used for inter-process communication without blocking the event loop. The section already mentions running blocking code in a ThreadPoolExecutor, but I think listing these other options in this section will also be helpful. | ||||
* | bpo-41513: Save unnecessary steps in the hypot() calculation (#21994) | Raymond Hettinger | 2020-08-29 | 1 | -5/+10 |
| | |||||
* | bpo-19521: Fix parallel build race condition on AIX (GH-21997) | Stefan Krah | 2020-08-29 | 3 | -20/+50 |
| | | | | Patch by Michael Haubenwallner. | ||||
* | Fix error in argparse documentation example (GH-17399) | SarahPythonista | 2020-08-28 | 1 | -2/+2 |
| | | | Automerge-Triggered-By: @rhettinger | ||||
* | bpo-38787: Clarify docs for PyType_GetModule and warn against common mistake ↵ | Petr Viktorin | 2020-08-27 | 1 | -1/+11 |
| | | | | (GH-20215) | ||||
* | bpo-41634: Fix a typo in the curses documentation (GH-21958) | Zackery Spytz | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | bpo-41524: fix pointer bug in PyOS_mystr{n}icmp (GH-21845) | wmeehan | 2020-08-27 | 2 | -7/+13 |
| | | | | | | | | | | | | | | * bpo-41524: fix pointer bug in PyOS_mystr{n}icmp The existing implementations of PyOS_mystrnicmp and PyOS_mystricmp can increment pointers beyond the end of a string. This commit fixes those cases by moving the mutation out of the condition. * 📜🤖 Added by blurb_it. * Address comments Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> |