Skip to content
Permalink
main
Switch branches/tags

Commits on Oct 8, 2022

  1. GitHub Workflows security hardening (#96492)

    * Update project-updater.yml
    
    Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
    
    * Update project-updater.yml
    
    repository-projects: write is not needed because a separate secrets.ADD_TO_PROJECT_PAT is used
    
    Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
    sashashura committed Oct 8, 2022
  2. gh-97913 Docs: Add walrus operator to the index (#97921)

    * Add walrus operator to the index
    
    * Add named expression to the index
    
    Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
    
    * Fix indentation and add missing newline
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    
    Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    3 people committed Oct 8, 2022
  3. [doc] Fix broken links to C extensions accelerating stdlib modules (#…

    …96914)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    3 people committed Oct 8, 2022
  4. gh-97822: Fix http.server documentation reference to test() function (#…

    …98027)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Jason-Y-Z and JelleZijlstra committed Oct 8, 2022
  5. GH-94182: Run the PidfdChildWatcher on the running loop (#94184)

    There is no reason for this watcher to be attached to any particular loop.
    This should make it safe to use regardless of the lifetime of the event loop running in the main thread
    (relative to other loops).
    
    Co-authored-by: Yury Selivanov <yury@edgedb.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Oct 8, 2022

Commits on Oct 7, 2022

  1. gh-92886: make test_ast pass with -O (assertions off) (GH-98058)

    -O does not strip docstrings.
    
    Automerge-Triggered-By: GH:iritkatriel
    iritkatriel committed Oct 7, 2022
  2. gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060)

    Automerge-Triggered-By: GH:iritkatriel
    iritkatriel committed Oct 7, 2022
  3. gh-94808: Fix regex on exotic platforms (#98036)

    The test failed on a buildbot because the pointer was only 7 hex characters. To be safe,
    I bumped it down to 3: 4 in case we have 32-bit platforms, and 3 in case the pointer is very small.
    JelleZijlstra committed Oct 7, 2022
  4. gh-90085: Remove vestigial -t and -c timeit options (#94941)

    See bpo-28240. The functionality was removed in 3d7feb9.
    The options had been deprecated since Python 3.3
    hauntsaninja committed Oct 7, 2022
  5. gh-96073: fix backticks in NEWS entry (GH-98056)

    Automerge-Triggered-By: GH:JelleZijlstra
    JelleZijlstra committed Oct 7, 2022
  6. gh-92886: [clinic.py] raise exception on invalid input instead of ass…

    …ertion (GH-98051)
    
    Tests should pass with -O (assertions off).
    
    Automerge-Triggered-By: GH:iritkatriel
    iritkatriel committed Oct 7, 2022
  7. gh-91708: Revert params note in urllib.parse.urlparse table (#96699)

    Revert params note in urllib.parse.urlparse table
    slateny committed Oct 7, 2022
  8. gh-96265: Fix some formatting in faq/design.rst (#96924)

    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    3 people committed Oct 7, 2022
  9. gh-73196: Add namespace/scope clarification for inheritance section (#…

    …92840)
    
    Add namespace/scope clarification for inheritance section
    slateny committed Oct 7, 2022
  10. GH-96073: Fix wild replacement in inspect.formatannotation (#96074)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    iyume and JelleZijlstra committed Oct 7, 2022
  11. gh-97669: Move difflib examples to Doc/includes/ (#97964)

    Remove diff.py and ndiff.py scripts of Tools/scripts/: move them to
    Doc/includes/.
    
    * diff.py and ndiff.py files are no longer executable. Remove also
      their shebang ("#!/usr/bin/env python3").
    * Remove the -profile command from ndiff.py to simply the code.
    * Remove ndiff.py copyright and history command. The Python
      documentation examples are distributed under the "Zero Clause BSD
      License".
    vstinner committed Oct 7, 2022
  12. Make _symtable_entry.ste_type's comment consistent wit _Py_block_ty (#…

    …92414)
    
    _Py_block_ty defines four types of block, FunctionBlock, ClassBlock, ModuleBlock and AnnotationBlock.
    But _symtable_entry.ste_type only comments three of them, I think it's better both sides are consistent.
    zikcheng committed Oct 7, 2022
Older