| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | bpo-24275: Don't downgrade unicode-only dicts to mixed on lookups (GH-25186) | Hristo Venev | 2021-04-29 | 2 | -3/+106 | |
| | | ||||||
| * | [doc] Be more clear on super() regarding multiple base classes methods ↵ | Andre Delfino | 2021-04-28 | 1 | -1/+1 | |
| | | | | | (GH-21789) | |||||
| * | [doc] Do some polishing in IDEs section (GH-22070) | Andre Delfino | 2021-04-28 | 1 | -12/+12 | |
| | | ||||||
| * | Document importlib.metadata.PackagePath.locate method (GH-25669) | Paul Moore | 2021-04-28 | 1 | -1/+7 | |
| | | ||||||
| * | bpo-43970: Optimize Path.cwd() in pathlib by not instantiating a class ↵ | kfollstad | 2021-04-28 | 1 | -1/+1 | |
| | | | | | unnecessarily (GH-25699) | |||||
| * | bpo-37903: IDLE: Shell sidebar with prompts (GH-22682) | Tal Einat | 2021-04-28 | 14 | -131/+887 | |
| | | | | | | | The first followup will change shell indents to spaces. More are expected. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
| * | bpo-28254: _posixsubprocess uses PyGC_Enable/PyGC_Disable (GH-25693) | Victor Stinner | 2021-04-28 | 2 | -123/+5 | |
| | | ||||||
| * | bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag (GH-25520) | Erlend Egeberg Aasland | 2021-04-28 | 4 | -1/+24 | |
| | | | | | | | Introduce Py_TPFLAGS_IMMUTABLETYPE flag for immutable type objects, and modify PyType_Ready() to set it for static types. Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
| * | bpo-28254: Add a C-API for controlling the GC state (GH-25687) | scoder | 2021-04-28 | 7 | -7/+152 | |
| | | | | | | | | | Add new C-API functions to control the state of the garbage collector: PyGC_Enable(), PyGC_Disable(), PyGC_IsEnabled(), corresponding to the functions in the gc module. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
| * | bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path ↵ | Barney Gale | 2021-04-28 | 7 | -109/+184 | |
| | | | | | | (GH-25264) Also adds a new "strict" argument to realpath() to avoid changing the default behaviour of pathlib while sharing the implementation. | |||||
| * | bpo-41559: Change PEP 612 implementation to pure Python (#25449) | Ken Jin | 2021-04-28 | 4 | -71/+92 | |
| | | ||||||
| * | bpo-43955: Handle the case where the distutils warning has already been ↵ | Steve Dower | 2021-04-28 | 1 | -1/+1 | |
| | | | | | triggered (GH-25675) | |||||
| * | bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) | scoder | 2021-04-28 | 2 | -7/+7 | |
| | | | | Automerge-Triggered-By: GH:scoder | |||||
| * | bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684) | Victor Stinner | 2021-04-28 | 2 | -1/+3 | |
| | | | | | Fix test_logging.test_namer_rotator_inheritance() on Windows: use os.replace() rather than os.rename(). | |||||
| * | bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683) | Victor Stinner | 2021-04-28 | 4 | -10/+22 | |
| | | | | | _PyInterpreterState_IDIncref() now calls _PyInterpreterState_IDInitref() and always increments id_refcount. | |||||
| * | bpo-43960: test_pdb resets breakpoints (GH-25673) | Irit Katriel | 2021-04-28 | 1 | -0/+1 | |
| | | | | | Reset global breakpoint state at the beginning of test_pdb_next_command_in_generator_for_loop() to make it deterministic. | |||||
| * | bpo-43776: Remove list call from args in Popen repr (GH-25338) | M. Kocher | 2021-04-28 | 3 | -23/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the `list` call in the Popen `repr`. Current implementation: For cmd = `python --version`, with `shell=True`. ```bash <Popen: returncode: None args: ['p', 'y', 't', 'h', 'o', 'n', ' ', '-', '-',...> ``` For `shell=False` and args=`['python', '--version']`, the output is correct: ```bash <Popen: returncode: None args: ['python', '--version']> ``` With the new changes the `repr` yields: For cmd = `python --version`, with `shell=True`: ```bash <Popen: returncode: None args: 'python --version'> ``` For `shell=False` and args=`['python', '--version']`, the output: ```bash <Popen: returncode: None args: ['python', '--version']> ``` Automerge-Triggered-By: GH:gpshead | |||||
| * | bpo-41486: Faster bz2/lzma/zlib via new output buffering (GH-21740) | Ma Lin | 2021-04-27 | 7 | -254/+670 | |
| | | | | | | | | | | Faster bz2/lzma/zlib via new output buffering. Also adds .readall() function to _compression.DecompressReader class to take best advantage of this in the consume-all-output at once scenario. Often a 5-20% speedup in common scenarios due to less data copying. Contributed by Ma Lin. | |||||
| * | bpo-43963: Add _signal module state (GH-25676) | Victor Stinner | 2021-04-28 | 1 | -84/+153 | |
| | | | | | | | | | | | | | | * Add signal_state_t structure and signal_global_state variable. * Add a module state to the _signal module. * Move and rename variables: * DefaultHandler becomes state->default_handler * IgnoreHandler becomes state->ignore_handler * sigint_event becomes state->sigint_event * ItimerError becomes modstate->itimer_error * Rename SetHandler() to set_handler() to be consistent with get_handler(). | |||||
| * | bpo-37751: Update `codecs.register()` doc. (GH-25643) | Inada Naoki | 2021-04-28 | 1 | -3/+7 | |
| | | ||||||
| * | bpo-43963: Fix import _signal in subinterpreters (GH-25674) | Victor Stinner | 2021-04-28 | 2 | -27/+43 | |
| | | | | | | | | Importing the _signal module in a subinterpreter has no longer side effects. signal_module_exec() no longer modifies Handlers and no longer attempts to set SIGINT signal handler in subinterpreters. | |||||
| * | bpo-43957: [Enum] Deprecate ``TypeError`` from containment checks. (GH-25670) | Ethan Furman | 2021-04-27 | 5 | -36/+148 | |
| | | | | | | In 3.12 ``True`` or ``False`` will be returned for all containment checks, with ``True`` being returned if the value is either a member of that enum or one of its members' value. | |||||
| * | bpo-8978: improve tarfile.open error message when lzma / bz2 are missing ↵ | Anthony Sottile | 2021-04-27 | 4 | -2/+19 | |
| | | | | | | (GH-24850) Automerge-Triggered-By: GH:pablogsal | |||||
| * | Fix generated file name for installer builds on macOS 11+. (GH-25661) | Ned Deily | 2021-04-27 | 1 | -6/+28 | |
| | | ||||||
| * | bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) | Erlend Egeberg Aasland | 2021-04-27 | 2 | -3/+4 | |
| | | ||||||
| * | bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641) | Erlend Egeberg Aasland | 2021-04-27 | 4 | -3/+4 | |
| | | ||||||
| * | bpo-43864: Silence deprecation warning in test_importlib.test_module_found ↵ | Shreyan Avigyan | 2021-04-27 | 1 | -2/+6 | |
| | | | | | and test_importlib.test_module_not_found (GH-25656) | |||||
| * | bpo-43766: Fix TypeGuard docs (#25660) | Ken Jin | 2021-04-27 | 2 | -8/+7 | |
| | | ||||||
| * | bpo-43766: Implement PEP 647 (User-Defined Type Guards) in typing.py (#25282) | Ken Jin | 2021-04-27 | 5 | -0/+175 | |
| | | ||||||
| * | bpo-43312: Functions returning default and preferred sysconfig schemes ↵ | Tzu-ping Chung | 2021-04-27 | 4 | -38/+131 | |
| | | | | | (GH-24644) | |||||
| * | Fix thread locks in zlib module may go wrong in rare case. (#22126) | Ma Lin | 2021-04-27 | 2 | -9/+11 | |
| | | | | Setting `next_in` before acquiring the thread lock may mix up compress/decompress state in other threads. | |||||
| * | bpo-43651: Fix EncodingWarning in fileinput and its test (GH-25648) | Inada Naoki | 2021-04-27 | 2 | -35/+39 | |
| | | ||||||
| * | bpo-43651: Fix EncodingWarning in zipfile (GH-25650) | Inada Naoki | 2021-04-27 | 2 | -28/+31 | |
| | | ||||||
| * | bpo-43945: [Enum] Deprecate non-standard mixin format() behavior (GH-25649) | Ethan Furman | 2021-04-26 | 3 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In 3.12 the enum member, not the member's value, will be used for format() calls. Format specifiers can be used to retain the current display of enum members: Example enumeration: class Color(IntEnum): RED = 1 GREEN = 2 BLUE = 3 Current behavior: f'{Color.RED}' --> '1' Future behavior: f'{Color.RED}' --> 'RED' Using d specifier: f'{Color.RED:d}' --> '1' Using specifiers can be done now and is future-compatible. | |||||
| * | bpo-43651: PEP 597: Fix `socket.makefile()` (GH-25645) | Inada Naoki | 2021-04-27 | 2 | -3/+5 | |
| | | ||||||
| * | [doc] Remove duplicated operator.itemgetter example (GH-24178) | Andre Delfino | 2021-04-26 | 1 | -5/+2 | |
| | | | | | * Remove duplicated itemgetter example * Add spaces | |||||
| * | bpo-43651: Fix EncodingWarning in `pydoc`. (GH-25644) | Inada Naoki | 2021-04-27 | 1 | -2/+3 | |
| | | ||||||
| * | bpo-38530: Require 50% similarity in NameError and AttributeError ↵ | Dennis Sweeney | 2021-04-27 | 2 | -1/+116 | |
| | | | | | suggestions (GH-25584) | |||||
| * | bpo-43762: Add audit events for loading of sqlite3 extensions (GH-25246) | Erlend Egeberg Aasland | 2021-04-27 | 7 | -0/+86 | |
| | | ||||||
| * | Use the zero argument form of super() in examples for Python3 docs. (GH-22314) | Andre Delfino | 2021-04-26 | 6 | -12/+12 | |
| | | ||||||
| * | bpo-40432: Use python 3.8 or higher to compile CPython on Windows (#25389) | Ken Jin | 2021-04-26 | 2 | -2/+5 | |
| | | ||||||
| * | bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) | Llandy Riveron Del Risco | 2021-04-26 | 3 | -1/+4 | |
| | | ||||||
| * | bpo-42904: Change search order of typing.get_type_hints eval (#25632) | Ken Jin | 2021-04-26 | 3 | -3/+17 | |
| | | | | While surprising (searching globals before locals in one specific case), this is needed for backwards compatibility. | |||||
| * | Add additional keyword-only tests. (GH-25633) | Eric V. Smith | 2021-04-26 | 1 | -1/+29 | |
| | | ||||||
| * | Doc: Fix the array.fromfile method doc (GH-22037) | Adorilson Bezerra | 2021-04-26 | 1 | -2/+1 | |
| | | | | | | | | The check about the f argument type was removed in this commit: https://github.com/python/cpython/commit/2c94aa567e525c82041ad68a3174d8c3acbf37e2 Thanks for Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) by the help with this bug. | |||||
| * | bpo-43466: Link with libz in PY_UNSUPPORTED_OPENSSL_BUILD path (GH-25587) | Christian Heimes | 2021-04-26 | 1 | -1/+2 | |
| | | | | Some OpenSSL build flavors need libz for compression support. | |||||
| * | bpo-18233: Add internal methods to access peer chain (GH-25467) | Christian Heimes | 2021-04-26 | 9 | -6/+563 | |
| | | | | | | | | | | | | | The internal `_ssl._SSLSocket` object now provides methods to retrieve the peer cert chain and verified cert chain as a list of Certificate objects. Certificate objects have methods to convert the cert to a dict, PEM, or DER (ASN.1). These are private APIs for now. There is a slim chance to stabilize the approach and provide a public API for 3.10. Otherwise I'll provide a stable API in 3.11. Signed-off-by: Christian Heimes <christian@python.org> | |||||
| * | bpo-38820: Old OpenSSL 3.0.0 releases are in /old/3.0/ (GH-25624) | Christian Heimes | 2021-04-26 | 1 | -5/+9 | |
| | | | | Signed-off-by: Christian Heimes <christian@python.org> | |||||
| * | Update asyncio-subprocess.rst (GH-21680) | Gabriel R F | 2021-04-25 | 1 | -1/+1 | |
| | | ||||||
| * | documentation: clarification about the function remove in os library (GH-19024) | Etienne Gautier | 2021-04-25 | 1 | -0/+1 | |
| | | ||||||
