1. 06 Jan, 2018 5 commits
    • Eric V. Smith's avatar
      bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a... · e7ba013d
      Eric V. Smith authored
      bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass or an instance of one. (#5113) 
      
      e7ba013d
    • Olivier Grisel's avatar
      bpo-31993: Do not allocate large temporary buffers in pickle dump. (#4353) · 3cd7c6e6
      Olivier Grisel authored
      The picklers do no longer allocate temporary memory when dumping large
      bytes and str objects into a file object. Instead the data is
      directly streamed into the underlying file object.
      
      Previously the C implementation would buffer all content and issue a
      single call to file.write() at the end of the dump. With protocol 4
      this behavior has changed to issue one call to file.write() per frame.
      
      The Python pickler with protocol 4 now dumps each frame content as a
      memoryview to an IOBytes instance that is never reused and the
      memoryview is no longer released after the call to write. This makes it
      possible for the file object to delay access to the memoryview of
      previous frames without forcing any additional memory copy as was
      already possible with the C pickler.
      3cd7c6e6
    • Paul Ganssle's avatar
    • Mario Corchero's avatar
      bpo-32206: Pdb can now run modules (GH-4752) · 9f1e5f1b
      Mario Corchero authored
      Add a new argument "-m" to the pdb module to allow
      users to run `python -m pdb -m my_module_name`.
      
      This relies on private APIs in the runpy module to work,
      but we can get away with that since they're both part of
      the standard library and can be updated together if
      the runpy internals get refactored.
      9f1e5f1b
    • Nathaniel J. Smith's avatar
      bpo-29137: Remove fpectl module (#4789) · 735ae8d1
      Nathaniel J. Smith authored
      This module has never been enabled by default, never worked correctly
      on x86-64, and caused ABI problems that caused C extension
      compatibility. See bpo-29137 for details/discussion.
      735ae8d1
  2. 05 Jan, 2018 3 commits
  3. 04 Jan, 2018 6 commits
  4. 03 Jan, 2018 1 commit
  5. 02 Jan, 2018 2 commits
  6. 01 Jan, 2018 1 commit
  7. 31 Dec, 2017 2 commits
  8. 30 Dec, 2017 9 commits
  9. 29 Dec, 2017 4 commits
  10. 28 Dec, 2017 2 commits
  11. 26 Dec, 2017 3 commits
  12. 25 Dec, 2017 2 commits