1. 17 Oct, 2017 3 commits
    • Victor Stinner's avatar
      [2.7] bpo-31733, bpo-31692: Document 2 new env vars in What's New in Python 2.7 (GH-4019) · 355393e7
      Victor Stinner authored
      bpo-31733, bpo-31692: Document the new PYTHONSHOWREFCOUNT and
      PYTHONSHOWALLOCCOUNT environment variables.
      355393e7
    • Victor Stinner's avatar
      [2.7] bpo-31692: Add PYTHONSHOWALLOCCOUNT env var (GH-3927) · 7b4ba62e
      Victor Stinner authored
      bpo-31692, bpo-19527:
      
      * Add a new PYTHONSHOWALLOCCOUNT environment variable, similar to
        the Python 3 "-X showalloccount" option
      * When Python is compiled with COUNT_ALLOCS, the new
        PYTHONSHOWALLOCCOUNT environment variable now has to be set to dump
        allocation counts into stderr on shutdown. Moreover, allocations
        statistics are now dumped into stderr rather than stdout.
      * Add @test.support.requires_type_collecting decorator: skip test if
        COUNT_ALLOCS is defined
      * Fix tests for COUNT_ALLOCS: decorate some methods with
        @requires_type_collecting
      * test_sys.test_objecttypes(): update object type when COUNT_ALLOCS
        is defined
      7b4ba62e
    • Victor Stinner's avatar
      bpo-31733: Add PYTHONSHOWREFCOUNT env var (GH-3932) · 3c082a7f
      Victor Stinner authored
      Add a new PYTHONSHOWREFCOUNT environment variable. In debug mode,
      Python now only print the total reference count if PYTHONSHOWREFCOUNT
      is set.
      3c082a7f
  2. 16 Oct, 2017 1 commit
  3. 12 Oct, 2017 3 commits
  4. 11 Oct, 2017 1 commit
  5. 09 Oct, 2017 2 commits
  6. 07 Oct, 2017 2 commits
  7. 05 Oct, 2017 1 commit
  8. 04 Oct, 2017 2 commits
  9. 02 Oct, 2017 2 commits
  10. 30 Sep, 2017 2 commits
  11. 28 Sep, 2017 1 commit
    • Victor Stinner's avatar
      bpo-28129: fix ctypes crashes (#386) (#3800) · 8b83687b
      Victor Stinner authored
      * init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy
      
      * added the rest of tests and patches. probably only a first draft.
      
      * removed trailing spaces
      
      * replace ctype with ctypes in error messages
      
      * change back from ctypes instance to ctype instance
      
      (cherry picked from commit 1bea762d)
      8b83687b
  12. 27 Sep, 2017 4 commits
  13. 26 Sep, 2017 2 commits
  14. 25 Sep, 2017 3 commits
  15. 22 Sep, 2017 1 commit
  16. 20 Sep, 2017 1 commit
  17. 16 Sep, 2017 4 commits
  18. 15 Sep, 2017 2 commits
  19. 14 Sep, 2017 1 commit
  20. 13 Sep, 2017 2 commits