X Tutup
The Wayback Machine - https://web.archive.org/web/20201120213532/https://github.com/python/cpython/commits/master
Skip to content
Permalink
master

Commits on Nov 20, 2020

  1. bpo-28002: Roundtrip f-strings with ast.unparse better (#19612)

    By attempting to avoid backslashes in f-string expressions.
    We also now proactively raise errors for some backslashes we can't
    avoid while unparsing FormattedValues
    
    Co-authored-by: hauntsaninja <>
    Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    hauntsaninja and isidentical committed Nov 20, 2020
  2. bpo-42360: Add advice to help avoid pickling issues. (GH-23305)

    rhettinger committed Nov 20, 2020
  3. Fix wrong availability for signal.SIGCHLD (#23285)

    I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows.
    myzhang1029 committed Nov 20, 2020
  4. bpo-35498: Added slice support to PathLib parents attribute. (GH-11165)

    Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`.
    thejcannon committed Nov 20, 2020
  5. bpo-42212: Check if generated files are up-to-date in GitHub Actions (G…

    …H-23042)
    
    See https: //github.com/python/core-workflow/issues/380
    
    Signed-off-by: Filipe Laíns <lains@archlinux.org>
    FFY00 committed Nov 20, 2020
  6. bpo-42403: Use @staticmethod in importlib (GH-23395)

    Use @staticmethod on methods using @classmethod but don't use their
    cls parameter on the following classes:
    
    * BuiltinImporter
    * FrozenImporter
    * WindowsRegistryFinder
    * PathFinder
    
    Leave methods using @_requires_builtin or @_requires_frozen unchanged,
    since this decorator requires the wrapped method to have an extra parameter
    (cls or self).
    vstinner committed Nov 20, 2020
  7. bpo-1635741: Convert _sre types to heap types and establish module st…

    …ate (PEP 384) (GH-23393)
    erlend-aasland committed Nov 20, 2020
  8. bpo-1635741: Enhance _datetime error handling (GH-23139)

    koubaa committed Nov 20, 2020
  9. bpo-42333: Port _ssl extension module to heap types (GH-23392)

    All types in _ssl module are now heap types.
    tiran committed Nov 20, 2020
  10. bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 20, 2020
  11. bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)

    Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
    terryjreedy committed Nov 20, 2020

Commits on Nov 19, 2020

  1. bpo-42345: Add whatsnew and versionchanged for typing.Literal in 3.9 (G…

    …H-23386)
    
    * Whatsnew entry in 3.9 same as the one in 3.10.
    * versionchanged for typing.Literal docs
    
    Needs backport to 3.9.
    Fidget-Spinner committed Nov 19, 2020
  2. bpo-42345: Fix hash implementation of typing.Literal (GH-23383)

    Fix hash implementation of `typing.Literal`.
    
    Update docs regarding `typing.Litaral` caching.
    
    Base implementation was done in PR #23294.
    uriyyo committed Nov 19, 2020
  3. bpo-1635741: Port _posixshmem extension module to multiphase initiali…

    …zation (GH-23404)
    
    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 19, 2020
  4. bpo-1635741: Fix _struct for build bot error (GH-23402)

    Automerge-Triggered-By: GH:tiran
    corona10 committed Nov 19, 2020
  5. bpo-1635741: Port gc module to multiphase initialization (GH-23377)

    Signed-off-by: Christian Heimes <christian@python.org>
    
    Automerge-Triggered-By: GH:tiran
    tiran committed Nov 19, 2020
  6. bpo-1635741: Port _struct to multiphase initialization (GH-23398)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 19, 2020
  7. bpo-42403: Simplify importlib external bootstrap (GH-23397)

    Simplify the importlib external bootstrap code:
    importlib._bootstrap_external now uses regular imports to import
    builtin modules. When it is imported, the builtin __import__()
    function is already fully working and so can be used to import
    builtin modules like sys.
    vstinner committed Nov 19, 2020
  8. bpo-42403: Fix pyflakes warnings in importlib (GH-23396)

    Remove unused imports and unused local variables.
    vstinner committed Nov 19, 2020
  9. bpo-1635741: Port spwd to multiphase initialization (GH-23390)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 19, 2020
  10. bpo-1635741: Port _queue to multiphase initialization (GH-23376)

    Signed-off-by: Christian Heimes <christian@python.org>
    
    Automerge-Triggered-By: GH:tiran
    tiran committed Nov 19, 2020
  11. bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 19, 2020
  12. bpo-1635741: Port _random to multiphase initialization (GH-23359)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 19, 2020
  13. bpo-42375: subprocess DragonFlyBSD build update. (GH-23320)

    Same as FreeBSD, file descriptors in /dev/fd id from 0 to 63.
    devnexen committed Nov 19, 2020

Commits on Nov 18, 2020

  1. bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382)

    Automerge-Triggered-By: GH:lysnikolaou
    lysnikolaou committed Nov 18, 2020
  2. bpo-1635741: Port _warnings to the multi-phase init (GH-23379)

    Port the _warnings extension module to the multi-phase initialization
    API (PEP 489).
    vstinner committed Nov 18, 2020
  3. [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769)

    andresdelfino committed Nov 18, 2020
  4. bpo-1635741: Convert _imp to multi-phase init (GH-23378)

    Convert the _imp extension module to the multi-phase initialization
    API (PEP 489).
    
    * Add _PyImport_BootstrapImp() which fix a bootstrap issue: import
      the _imp module before importlib is initialized.
    * Add create_builtin() sub-function, used by _imp_create_builtin().
    * Initialize PyInterpreterState.import_func earlier, in
      pycore_init_builtins().
    * Remove references to _PyImport_Cleanup(). This function has been
      renamed to finalize_modules() and moved to pylifecycle.c.
    vstinner committed Nov 18, 2020
  5. bpo-39573: Remove What's new entry for Py_SIZE() (GH-23375)

    A follow up for 0e2ac21
    hroncok committed Nov 18, 2020
  6. bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374)

    Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary.
    
    Automerge-Triggered-By: GH:asvetlov
    vladima committed Nov 18, 2020
  7. bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)

    This change partically reverts
    commit ad3252b
    and the commit fe2978b.
    
    Many third party C extension modules rely on the ability of using
    Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an
    object type using: "Py_SIZE(obj) = size;".
    vstinner committed Nov 18, 2020
    1
  8. bpo-42336: Improve PCbuild batch files (GH-23275)

    zooba committed Nov 18, 2020
  9. bpo-40998: Address compiler warnings found by ubsan (GH-20929)

    Signed-off-by: Christian Heimes <christian@python.org>
    
    Automerge-Triggered-By: GH:tiran
    tiran committed Nov 18, 2020
  10. bpo-1635741: Port _hashlib to multiphase initialization (GH-23358)

    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 18, 2020
Older
You can’t perform that action at this time.
X Tutup