Skip to content
Permalink
master

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
  11. bpo-1635741: Port symtable module to multiphase initialization (GH-23361

    )
    
    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 18, 2020
  12. bpo-40998: Fix a refleak in create_filter() (GH-23365)

    vstinner committed Nov 18, 2020
  13. bpo-42398: Fix "make regen-all" race condition (GH-23362)

    Fix a race condition in "make regen-all" when make -jN option is used
    to run jobs in parallel. The clinic.py script now only use atomic
    write to write files. Moveover, generated files are now left
    unchanged if the content does not change, to not change the file
    modification time.
    
    The "make regen-all" command runs "make clinic" and "make
    regen-importlib" targets:
    
    * "make regen-importlib" builds object files (ex: Modules/_weakref.o)
      from source files (ex: Modules/_weakref.c) and clinic files (ex:
      Modules/clinic/_weakref.c.h)
    * "make clinic" always rewrites all clinic files
      (ex: Modules/clinic/_weakref.c.h)
    
    Since there is no dependency between "clinic" and "regen-importlib"
    Makefile targets, these two targets can be run in parallel. Moreover,
    half of clinic.py file writes are not atomic and so there is a race
    condition when "make regen-all" runs jobs in parallel using make -jN
    option (which can be passed in MAKEFLAGS environment variable).
    
    Fix clinic.py to make all file writes atomic:
    
    * Add write_file() function to ensure that all file writes are
      atomic: write into a temporary file and then use os.replace().
    * Moreover, write_file() doesn't recreate or modify the file if the
      content does not change to avoid modifying the file modification
      file.
    * Update test_clinic to verify these assertions with a functional
      test.
    * Remove Clinic.force attribute which was no longer used, whereas
      Clinic.verify remains useful.
    vstinner committed Nov 18, 2020
  14. bpo-41561: skip test_min_max_version_mismatch (GH-22308)

    skip test_min_max_version_mismatch when TLS 1.0 is not available
    
    Signed-off-by: Christian Heimes <christian@python.org>
    tiran committed Nov 18, 2020
  15. bpo-40656: Clean up detect_socket() (GH-20148)

    erlend-aasland committed Nov 18, 2020

Commits on Nov 17, 2020

  1. bpo-42395: Add aclosing to __all__ (GH-23356)

    Automerge-Triggered-By: GH:asvetlov
    tomgrin10 committed Nov 17, 2020
  2. bpo-42396: Add a whatsnew entry about async contextlib.nullcontext (G…

    …H-23357)
    
    Automerge-Triggered-By: GH:asvetlov
    tomgrin10 committed Nov 17, 2020
  3. bpo-41713: Port _signal module to multi-phase init (GH-23355)

    Port the _signal extension module to the multi-phase initialization
    API (PEP 489).
    
    Co-Authored-By: Mohamed Koubaa <koubaa.m@gmail.com>
    vstinner and koubaa committed Nov 17, 2020
  4. bpo-41625: Skip os.splice() tests on AIX (GH-23354)

    On AIX, splice() only works with a socket, whereas the test uses a
    pipe.
    vstinner committed Nov 17, 2020
  5. bpo-41686: Move _Py_RestoreSignals() to signalmodule.c (GH-23353)

    vstinner committed Nov 17, 2020
  6. Fix: Docstrings hidden by slots. (GH-23352)

    Some `__slots__` where before the docstring, hiding them.
    JulienPalard committed Nov 17, 2020
Older
You can’t perform that action at this time.