Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40268: Remove unused osdefs.h includes (GH-19532) | Victor Stinner | 2020-04-15 | 13 | -20/+18 |
| | | | When the include is needed, add required symbol in a comment. | ||||
* | bpo-40268: Remove unused pycore_pymem.h includes (GH-19531) | Victor Stinner | 2020-04-15 | 21 | -26/+13 |
| | |||||
* | bpo-40268: Remove unused structmember.h includes (GH-19530) | Victor Stinner | 2020-04-15 | 78 | -111/+99 |
| | | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | ||||
* | bpo-40268: Remove explicit pythread.h includes (#19529) | Victor Stinner | 2020-04-15 | 28 | -46/+7 |
| | | | | Remove explicit pythread.h includes: it is always included by Python.h. | ||||
* | bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) | Ethan Smith | 2020-04-14 | 5 | -14/+24 |
| | |||||
* | bpo-39522: Always initialise kind attribute in constant ast nodes (GH-19525) | Pablo Galindo | 2020-04-14 | 1 | -0/+1 |
| | |||||
* | bpo-39522: Use _PyUnicodeWriter_WriteStr instead of PyUnicode_AS_DATA (GH-19523) | Batuhan Taşkaya | 2020-04-14 | 1 | -2/+4 |
| | |||||
* | bpo-9216: Nobody expects the geohashing FIPS inquisition (GH-19520) | Miro Hrončok | 2020-04-14 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @tiran | ||||
* | bpo-40260: Update modulefinder to use io.open_code() and respect coding ↵ | Barry | 2020-04-14 | 3 | -21/+75 |
| | | | | comments (GH-19488) | ||||
* | bpo-395222: Correctly unparse unicode prefix in ast_unparse.c (GH-19512) | Batuhan Taşkaya | 2020-04-14 | 3 | -0/+5 |
| | |||||
* | bpo-32033: Fix test_pwd failures on Android (GH-19502) | Zackery Spytz | 2020-04-14 | 1 | -1/+1 |
| | |||||
* | bpo-40170: Convert PyObject_IS_GC() macro to a function (GH-19464) | Hai Shi | 2020-04-14 | 7 | -15/+41 |
| | |||||
* | bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19511) | Dong-hee Na | 2020-04-14 | 2 | -9/+10 |
| | |||||
* | bpo-40268: Move struct _gc_runtime_state to pycore_gc.h (GH-19515) | Victor Stinner | 2020-04-14 | 6 | -105/+107 |
| | |||||
* | regrtest: log timeout at startup (GH-19514) | Victor Stinner | 2020-04-14 | 2 | -4/+15 |
| | | | Reduce also worker timeout. | ||||
* | bpo-40232: Update PyOS_AfterFork_Child() to use _PyThread_at_fork_reinit() ↵ | Dong-hee Na | 2020-04-14 | 6 | -13/+21 |
| | | | | (GH-19450) | ||||
* | bpo-40268: Remove a few pycore_pystate.h includes (GH-19510) | Victor Stinner | 2020-04-14 | 56 | -86/+78 |
| | |||||
* | bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19477) | Dong-hee Na | 2020-04-14 | 1 | -4/+4 |
| | |||||
* | bpo-40268: Rename _PyInterpreterState_GET_UNSAFE() (GH-19509) | Victor Stinner | 2020-04-14 | 23 | -52/+53 |
| | | | | | | | Rename _PyInterpreterState_GET_UNSAFE() to _PyInterpreterState_GET() for consistency with _PyThreadState_GET() and to have a shorter name (help to fit into 80 columns). Add also "assert(tstate != NULL);" to the function. | ||||
* | bpo-40268: Include explicitly pycore_interp.h (GH-19505) | Victor Stinner | 2020-04-14 | 19 | -13/+31 |
| | | | | pycore_pystate.h no longer includes pycore_interp.h: it's now included explicitly in files accessing PyInterpreterState. | ||||
* | bpo-39481: Make weakref and WeakSet generic (GH-19497) | Ethan Smith | 2020-04-14 | 3 | -1/+12 |
| | |||||
* | bpo-39481: Make functools.cached_property, partial, partialmethod generic ↵ | Ethan Smith | 2020-04-14 | 3 | -0/+10 |
| | | | | (#19427) | ||||
* | closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling ↵ | Benjamin Peterson | 2020-04-14 | 2 | -1252/+1256 |
| | | | | against old OpenSSL. (GH-19506) | ||||
* | Fix typo from Lib/asyncio/events.py (GH-19410) | Galden | 2020-04-14 | 1 | -1/+1 |
| | |||||
* | bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396) | Batuhan Taşkaya | 2020-04-13 | 5 | -9/+5 |
| | |||||
* | bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048) | Sebastian Pedersen | 2020-04-13 | 5 | -54/+101 |
| | | | | | Add the encoding in ftplib.FTP and ftplib.FTP_TLS to the constructor as keyword-only and change the default from "latin-1" to "utf-8" to follow RFC 2640. | ||||
* | bpo-32894: Support unparsing of infinity numbers in ast_unparser.c (GH-17426) | Batuhan Taşkaya | 2020-04-13 | 3 | -5/+68 |
| | |||||
* | bpo-40091: Fix a hang at fork in the logging module (GH-19416) | Victor Stinner | 2020-04-13 | 2 | -12/+14 |
| | | | | | | | Fix a hang at fork in the logging module: the new private _at_fork_reinit() method is now used to reinitialize locks at fork in the child process. The createLock() method is no longer used at fork. | ||||
* | bpo-39481: fix test_genericalias on Android (GH-19469) | Chih-Hsuan Yen | 2020-04-13 | 1 | -1/+7 |
| | | | | | | | Android bionic does not implement shm_open/shm_unlink [1]. As a result _posixshmem extension does not exist and multiprocessing.shared_memory cannot be imported. [1] https://android.googlesource.com/platform/bionic/+/master/docs/status.md | ||||
* | bpo-40241: Add pycore_interp.h header (GH-19499) | Victor Stinner | 2020-04-13 | 5 | -165/+189 |
| | | | | Move PyInterpreterState and related functions to a new internal pycore_interp.h header file. | ||||
* | bpo-40268: Add pycore_runtime.h header file (GH-19493) | Victor Stinner | 2020-04-13 | 7 | -125/+152 |
| | | | | | | Move PyRuntimeState from pycore_pystate.h to pycore_runtime.h. Remove _PyGILState_check_enabled macro: access directly _PyRuntime.gilstate.check_enabled. | ||||
* | bpo-40241: Add pycore_gc.h header file (GH-19494) | Victor Stinner | 2020-04-13 | 8 | -62/+98 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the PyGC_Head structure and the following private macros to the internal C API: * _PyGCHead_FINALIZED() * _PyGCHead_NEXT() * _PyGCHead_PREV() * _PyGCHead_SET_FINALIZED() * _PyGCHead_SET_NEXT() * _PyGCHead_SET_PREV() * _PyGC_FINALIZED() * _PyGC_PREV_MASK * _PyGC_PREV_MASK_COLLECTING * _PyGC_PREV_MASK_FINALIZED * _PyGC_PREV_SHIFT * _PyGC_SET_FINALIZED() * _PyObject_GC_IS_TRACKED() * _PyObject_GC_MAY_BE_TRACKED() * _Py_AS_GC(o) Keep the private _PyGC_FINALIZED() macro in the public C API for backward compatibility with Python 3.8: make it an alias to the new PyObject_GC_IsFinalized() function. Move the SIZEOF_PYGC_HEAD constant from _testcapi module to _testinternalcapi module. | ||||
* | Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) | laike9m | 2020-04-13 | 1 | -3/+3 |
| | |||||
* | Add double quote cases to invalid prefix tests (GH-19489) | Pablo Galindo | 2020-04-13 | 1 | -4/+5 |
| | |||||
* | bpo-40268: Add _PyInterpreterState_GetConfig() (GH-19492) | Victor Stinner | 2020-04-13 | 19 | -64/+90 |
| | | | | | | | | Don't access PyInterpreterState.config member directly anymore, but use new functions: * _PyInterpreterState_GetConfig() * _PyInterpreterState_SetConfig() * _Py_GetConfig() | ||||
* | bpo-40234: Revert "bpo-37266: Daemon threads are now denied in ↵ | Victor Stinner | 2020-04-12 | 7 | -91/+21 |
| | | | | | subinterpreters (GH-14049)" (GH-19456) This reverts commit 066e5b1a917ec2134e8997d2cadd815724314252. | ||||
* | closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) | Benjamin Peterson | 2020-04-12 | 2 | -1/+55 |
| | |||||
* | bpo-40246: Report a better error message for invalid string prefixes (GH-19476) | Lysandros Nikolaou | 2020-04-12 | 5 | -1/+10 |
| | |||||
* | bpo-31758: Prevent crashes when using an uninitialized ↵ | Oren Milman | 2020-04-12 | 3 | -0/+41 |
| | | | | _elementtree.XMLParser object (GH-3997) | ||||
* | bpo-13743: Add some documentation strings to xml.dom.minidom (GH-16355) | Alex Itkes | 2020-04-12 | 2 | -0/+24 |
| | |||||
* | bpo-39011: Preserve line endings within ElementTree attributes (GH-18468) | mefistotelis | 2020-04-12 | 4 | -9/+22 |
| | | | | | | | * bpo-39011: Preserve line endings within attributes Line endings within attributes were previously normalized to "\n" in Py3.7/3.8. This patch removes that normalization, as line endings which were replaced by entity numbers should be preserved in original form. | ||||
* | bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. ↵ | Serhiy Storchaka | 2020-04-12 | 20 | -37/+38 |
| | | | | (GH-19472) | ||||
* | closes bpo-39953: Update OpenSSL error codes table. (GH-19082) | Benjamin Peterson | 2020-04-11 | 3 | -388/+4719 |
| | | | I updated the error codes using the OpenSSL 1.1.1f source tree. | ||||
* | bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) | Serhiy Storchaka | 2020-04-11 | 3 | -49/+30 |
| | | | | | Patcher's __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception. | ||||
* | bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode ↵ | Serhiy Storchaka | 2020-04-11 | 27 | -221/+250 |
| | | | | data. (GH-19345) | ||||
* | bpo-38501: Add a warning section to multiprocessing.Pool docs about resource ↵ | Pablo Galindo | 2020-04-11 | 1 | -1/+12 |
| | | | | managing (GH-19466) | ||||
* | bpo-40241: Add PyObject_GC_IsTracked and PyObject_GC_IsFinalized to the ↵ | Pablo Galindo | 2020-04-11 | 6 | -1/+50 |
| | | | | | public C-API (GH-19461) Add the functions PyObject_GC_IsTracked and PyObject_GC_IsFinalized to the public API to allow to query if Python objects are being currently tracked or have been already finalized by the garbage collector respectively. | ||||
* | bpo-39481: PEP 585 for a variety of modules (GH-19423) | Batuhan Taşkaya | 2020-04-10 | 15 | -1/+66 |
| | | | | | | | | | | - concurrent.futures - ctypes - http.cookies - multiprocessing - queue - tempfile - unittest.case - urllib.parse | ||||
* | bpo-39481: PEP 585 for difflib, filecmp, fileinput (#19422) | Ethan Smith | 2020-04-10 | 4 | -0/+17 |
| | |||||
* | bpo-39481: PEP 585 for enumerate, AsyncGeneratorType, mmap (GH-19421) | Ethan Smith | 2020-04-10 | 4 | -4/+11 |
| |