Skip to content
Permalink
main
Switch branches/tags

Commits on Jul 3, 2022

  1. gh-93963: Officially deprecate abcs and warn about their usage. (GH-9…

    …3965)
    
    Fixes #93963
    
    Automerge-Triggered-By: GH:jaraco
    jaraco committed Jul 3, 2022
  2. gh-92869: ctypes: Add c_time_t (#92870)

    Adds `ctypes.c_time_t` to represent the C `time_t` type accurately as its size varies.
    
    Primarily-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
    thp committed Jul 3, 2022

Commits on Jul 1, 2022

  1. Update code sample when importing modules in queue doc (GH-94244)

    In the queue documentation, the code snippet shows the import to be not PEP 8 compliant.
    
    Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
    Mariatta committed Jul 1, 2022
  2. gh-84461: Improve WebAssembly in-browser demo (#91879)

    * Buffer standard input line-by-line
    
    * Add non-root .editorconfig for JS & HTML indent
    
    * Add support for clearing REPL with CTRL+L
    
    * Support unicode in stdout and stderr
    
    * Remove \r\n normalization
    
    * Note that local .editorconfig file extends root
    
    * Only normalize lone \r characters (convert to \n)
    
    * Skip non-printable characters in buffered input
    
    * Fix Safari bug (regex lookbehind not supported)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    treyhunner and tiran committed Jul 1, 2022
  3. Add a workflow to add issues/PRs to projects. (#94447)

    * Add a workflow to add issues/PRs to projects.
    
    * Apply suggestions from code review
    
    Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
    
    Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
    ezio-melotti and CAM-Gerlach committed Jul 1, 2022
  4. gh-90005-ffi: Fix building _ctypes without pkg-config (GH-94451)

    The fallback path did not set LIBFFI_LIBS variable to link with ``-lffi``.
    tiran committed Jul 1, 2022

Commits on Jun 30, 2022

  1. GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400)

    Once the task group is shutting down, it should not be possible to create a new task.
    Here "shutting down" means `self._aborting` is set, indicating that at least one task
    has failed and we have cancelled all others.
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    gvanrossum and ambv committed Jun 30, 2022
  2. gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (#94050

    )
    
    The inspect version was not working with unittest.mock.AsyncMock.
    
    The fix introduces special-casing of AsyncMock in
    `inspect.iscoroutinefunction` equivalent to the one
    performed in `asyncio.iscoroutinefunction`.
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    sileht and ambv committed Jun 30, 2022
  3. GH-90908: Document asyncio.TaskGroup (GH-94359)

    Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
    gvanrossum and CAM-Gerlach committed Jun 30, 2022
Older