Skip to content
Permalink
Branch: master
Commits on Mar 5, 2020
  1. bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread s…

    gpshead committed Mar 5, 2020
    …afety. (GH-18786)
    
    `list(sys.modules.items())` was apparently not immune to "dictionary
    changed size during iteration" errors.
    
    Tested internally using an integration test that has run into this a couple of times in the past two years.  With this patch applied, the test is no longer flaky.
Commits on Mar 4, 2020
  1. bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719)

    brettcannon committed Mar 4, 2020
  2. bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (

    vstinner committed Mar 4, 2020
    GH-16959)" (GH-18767)
    
    This reverts commit e471e72.
    
    The mode will be removed from Python 3.10.
  3. bpo-39763: Refactor setup.py (GH-18778)

    vstinner committed Mar 4, 2020
    Split long build_extensions() method into sub-methods.
    
    Fix also a typo in Popen.wait(): replace sts with status.
  4. bpo-39639: Remove the AST "Suite" node and associated code (GH-18513)

    4 people committed Mar 4, 2020
    The AST "Suite" node is no longer used and it can be removed from the ASDL definition and related structures (compiler, visitors, ...).
    
    Co-Authored-By: Victor Stinner <vstinner@python.org>
    Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
  5. bpo-39674: Fix typo in What's New In Python 3.9 (GH-18776)

    vstinner committed Mar 4, 2020
  6. bpo-39763: distutils.spawn now uses subprocess (GH-18743)

    vstinner committed Mar 4, 2020
    Reimplement distutils.spawn.spawn() function with the subprocess
    module.
    
    setup.py now uses a basic implementation of the subprocess module if
    the subprocess module is not available: before required C extension
    modules are built.
Commits on Mar 3, 2020
  1. bpo-39674: Suggest to test with DeprecationWarning (GH-18552)

    vstinner and hugovk committed Mar 3, 2020
    Add a section in What's New In Python 3.9 to strongly advice to check
    for DeprecationWarning in your Python projects.
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  2. bpo-35712: Make using NotImplemented in a boolean context issue a dep…

    MojoVampire committed Mar 3, 2020
    …recation warning (GH-13195)
  3. bpo-39831: Remove outdated comment. (GH-18764)

    serhiy-storchaka committed Mar 3, 2020
  4. bpo-39674: Update collections ABC deprecation doc (GH-18747)

    vstinner committed Mar 3, 2020
  5. bpo-12915: Skip test_pkgutil.test_name_resolution() non-encodable fil…

    aixtools committed Mar 3, 2020
    …enames (GH-18720)
    
    When filesystem encoding cannot encode the Unicode string used for a filename
    continue testing with the next example.
  6. bpo-39778: Add clarification about tp_traverse and ownership (GH-18754)

    pablogsal committed Mar 3, 2020
    Automerge-Triggered-By: @pablogsal
  7. bpo-39802: Only expose set_escdelay and set_tabsize when curses exten…

    isidentical committed Mar 3, 2020
    …sions are activated (GH-18705)
  8. bpo-38091: Import deadlock detection causes deadlock (GH-17518)

    arigo committed Mar 3, 2020
    Automerge-Triggered-By: @brettcannon
  9. bpo-38597: Never statically link extension initialization code on Win…

    zooba committed Mar 3, 2020
    …dows (GH-18724)
Commits on Mar 2, 2020
  1. bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_trave…

    pablogsal committed Mar 2, 2020
    …rse and tp_clear (GH-18749)
    
    Objects do not own weak references to them directly through the __weakref__ list so these
    do not need to be traversed by the GC.
  2. bpo-39776: Lock ++interp->tstate_next_unique_id. (GH-18746) (#18746)

    skrah committed Mar 2, 2020
      - Threads created by PyGILState_Ensure() could have a duplicate tstate->id.
  3. bpo-38870: Add docstring support to ast.unparse (GH-17760)

    isidentical and pablogsal committed Mar 2, 2020
    Allow ast.unparse to detect docstrings in functions, modules and classes and produce
    nicely formatted unparsed output for said docstrings.
    
    Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
  4. bpo-39796: Fix _warnings module initialization (GH-18739)

    vstinner committed Mar 2, 2020
    * Add _PyWarnings_InitState() which only initializes the _warnings
      module state (tstate->interp->warnings) without creating a module
      object
    * Py_InitializeFromConfig() now calls _PyWarnings_InitState() instead
      of _PyWarnings_Init()
    * Rename also private functions of _warnings.c to avoid confusion
      between the public C API and the private C API.
  5. bpo-39764: Make Task.get_stack accept ag_frame (#18669)

    lidizheng and blurb-it committed Mar 2, 2020
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
  6. bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)

    erlend-aasland committed Mar 2, 2020
    Automerge-Triggered-By: @zooba
  7. bpo-38913: Fix segfault in Py_BuildValue("(s#O)", ...) if entered wit…

    serhiy-storchaka committed Mar 2, 2020
    …h exception raised. (GH-18656)
  8. bpo-38971: Open file in codecs.open() closes if exception raised. (GH…

    caporta committed Mar 2, 2020
    …-17666)
    
    Open issue in the BPO indicated a desire to make the implementation of
    codecs.open() at parity with io.open(), which implements a try/except to
    assure file stream gets closed before an exception is raised.
  9. bpo-39199: Add descriptions of non-deprecated nodes to the AST module…

    3 people committed Mar 2, 2020
    … documentation (GH-17812)
    
    Adapted from https://greentreesnakes.readthedocs.io
    
    Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
    Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Older
You can’t perform that action at this time.