Skip to content
Permalink
main
Switch branches/tags

Commits on Jul 2, 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

Commits on Jun 29, 2022

  1. gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413)

    ``PY_STDMODULE_CFLAGS`` may contain include directories with system
    headers. This can break compiling with built-in libmpdec.
    tiran committed Jun 29, 2022
  2. gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253)

    Co-authored-by: Victor Stinner <vstinner@python.org>
    tiran and vstinner committed Jun 29, 2022
  3. gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)

    ``makesetup`` now works around an issue with sed on macOS and uses correct
    CFLAGS for object files that end up in a shared extension.
    tiran committed Jun 29, 2022
Older