Skip to content
Permalink
main

Commits on Apr 7, 2022

  1. pickle docs: Fix typos and improve wording (GH-24776)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    maggyero and JelleZijlstra committed Apr 7, 2022
  2. doc: Link to string.capwords from str.title (GH-20913)

    Since `title()` mentions its own short-comings, it should also mention the library function which does not possess them.
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    eric-wieser and JelleZijlstra committed Apr 7, 2022
  3. ssl docs: Fix typo (GH-32314)

    fmoor committed Apr 7, 2022
  4. pkgutil docs: Link sys constants, add backticks (GH-32356)

    Co-authored-by: Éric <merwok@netwok.org>
    verhovsky and merwok committed Apr 7, 2022
  5. bpo-35134: Remove the Include/code.h header file (GH-32385)

    Remove the Include/code.h header file. C extensions should only
    include the main <Python.h> header file.
    
    Python.h includes directly Include/cpython/code.h instead.
    vstinner committed Apr 7, 2022

Commits on Apr 6, 2022

  1. bpo-35134: Add Include/cpython/complexobject.h header (GH-32383)

    Move the private _PyComplex_FormatAdvancedWriter() function to the
    internal C API. This function is no longer exported.
    vstinner committed Apr 6, 2022
  2. bpo-46576: Speed up test_peg_generator by using a static library for …

    …shared sources (GH-32338)
    
    Speed up test_peg_generator by using a static library for shared sources to avoid recompiling as much code.
    jkloth committed Apr 6, 2022
  3. bpo-26579: Add object.__getstate__(). (GH-2821)

    Copying and pickling instances of subclasses of builtin types
    bytearray, set, frozenset, collections.OrderedDict, collections.deque,
    weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
    implemented as slots.
    serhiy-storchaka committed Apr 6, 2022
  4. bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)

    They were undocumented and never working.
    serhiy-storchaka committed Apr 6, 2022
  5. bpo-47235: Note where a typo is intentional in code. (GH-32348)

    People keep popping up reporting these as typos in the docs despite
    being described as typos in the surrounding text.  Hopefully a comment
    on the line itself makes it more obvious?
    
    Arguably some of the typo examples are not using the "right" typo as the
    "assret" one in particular is now detected by default due to how common
    it was in actual code.  But I don't want to to typo chasing by changing
    these examples to be other not yet auto-detected typos as they still
    illustrate the point well enough.
    gpshead committed Apr 6, 2022
  6. bpo-47115: Document which parts of structs are in limited API/stable …

    …ABI (GH-32196)
    
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    encukou and erlend-aasland committed Apr 6, 2022
  7. bpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)

    unittest.TestCase.assertEquals() alias is depracated. Fix the
    warning:
    
    Lib/test/test_capi.py:1100: DeprecationWarning: Please use assertEqual instead.
      self.assertEquals(frame.f_locals, _testcapi.frame_getlocals(frame))
    vstinner committed Apr 6, 2022
  8. Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (G…

    …H-32052)" (GH-32343)
    
    * Revert "bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)"
    
    This reverts commit f877b40.
    
    * Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)"
    
    This reverts commit b9a5522.
    vstinner committed Apr 6, 2022
  9. bpo-47189: What's New in 3.11: Faster CPython (GH-32235)

    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com>
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    6 people committed Apr 6, 2022
Older