Skip to content
Permalink
main

Commits on Apr 3, 2022

  1. bpo-47176: Interrupt handling for wasm32-emscripten builds without pt…

    …hreads (GH-32209)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    Co-authored-by: Brett Cannon <brett@python.org>
    3 people committed Apr 3, 2022
  2. bpo-46126: Restore 'descriptions' when running tests internally. (GH-…

    …32128)
    
    This reverts commit a941e59 (GH-30194).
    
    Automerge-Triggered-By: GH:jaraco
    jaraco committed Apr 3, 2022
  3. bpo-23689: re module, fix memory leak when a match is terminated by a…

    … signal or memory allocation failure (GH-32283)
    animalize committed Apr 3, 2022
  4. bpo-47196: Fix one more PyInit function signature (GH-32280)

    I missed one PyInit function in #32244.
    
    Automerge-Triggered-By: GH:tiran
    hoodmane committed Apr 3, 2022
  5. bpo-44800: Document internal frame naming conventions (GH-32281)

    The fact interpreter frames were split out from full frame objects
    rather than always being part of the eval loop implementation means
    that it's tricky to infer the expected naming conventions simply
    from looking at the code.
    
    Documenting the de facto conventions in pycore_frame.h means future
    readers of the code will have a clear explanation of the rationale
    for those conventions (i.e. minimising non-functional code churn).
    ncoghlan committed Apr 3, 2022
  6. bpo-46033: Clarify for-statement execution (GH-30025)

    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Apr 3, 2022

Commits on Apr 2, 2022

  1. bpo-45584: Clarify math.trunc documentation (GH-29183)

    While floor/ceil 's documentation are very precise, `truncate` was not explained. I actually had to search online to understand the difference between `truncate` and `floor` (admittedly, once I remembered that numbers are signed, and that floating numbers actually uses a bit for negation symbol instead of two complement, it became obvious)
    
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    Co-authored-by: Éric Araujo <merwok@netwok.org>
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    5 people committed Apr 2, 2022
  2. os docs: fix typo (GH-28996)

    Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
    vbuxbaum and jacobtylerwalls committed Apr 2, 2022
  3. bpo-47031: Improve documentation for math.nan (GH-32170)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    CharlieZhao95 and JelleZijlstra committed Apr 2, 2022
  4. Document func parameter of locale.atof (GH-18183)

    The second parameter (named `func`) has been present since the `locale`
    module was introduced in eef1d4e, but has never been documented.
    
    This commit updates the documentation for `locale.atof` to clarify the
    behavior of the function and how the `func` parameter is used.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid committed Apr 2, 2022
  5. More minor fixes to C API docs (GH-31714)

    * init_config: wording fixes
    
    * bytearray: remove XXX, there is a good link to the buffer docs
    
    * bytes, call, exceptions: minor wording fixes
    JelleZijlstra committed Apr 2, 2022
  6. More minor fixes to C API docs (GH-31525)

    * wording fixes in type.rst
    
    * grammar and punctuation in sys.rst
    
    * set: grammar fixes
    
    * structures: capitalization fix
    
    * grammar fixes for sequence
    
    * objects: point to Py_TYPE instead of direct object access
    
    * numbers: add more explicit Python equivalences
    
    * method: add missing period
    
    * memory: grammar fix
    
    * mapping: grammar fixes
    
    * long: grammar fix
    
    * iter: fix grammar for PyAIter_Check
    
    * init: grammar fix
    JelleZijlstra committed Apr 2, 2022
  7. bpo-47152: Convert the re module into a package (GH-32177)

    The sre_* modules are now deprecated.
    serhiy-storchaka committed Apr 2, 2022
  8. bpo-40280: Detect if WASM platform supports threading (GH-32243)

    Automerge-Triggered-By: GH:tiran
    tiran committed Apr 2, 2022
  9. bpo-47196: Fix function pointer cast in test_imp (GH-32244)

    The function PyInit_imp_dummy is declared as void f(PyObject* spec)
    but called as void f(void). On wasm targets without the call
    trampolines this causes a fatal error.
    
    Automerge-Triggered-By: GH:tiran
    hoodmane committed Apr 2, 2022
Older