1. 13 Nov, 2018 6 commits
    • Victor Stinner's avatar
      bpo-35081: Make some _PyGC macros internal (GH-10507) · 1a6be91e
      Victor Stinner authored
      * Move "GC" macros together:
      
        * PyObject_IS_GC()
        * _Py_AS_GC()
        * _PyObject_GC_IS_TRACKED()
        * _PyObject_GC_MAY_BE_TRACKED()
      
      * Mark other GC macros as internal (#ifdef Py_BUILD_CORE):
      
        * _PyGCHead_NEXT(g), _PyGCHead_SET_NEXT(g, p)
        * _PyGCHead_PREV(g), _PyGCHead_SET_PREV(g, p)
        * _PyGCHead_FINALIZED(g), _PyGCHead_SET_FINALIZED(g)
        * _PyGC_FINALIZED(o), _PyGC_SET_FINALIZED(o)
        * _PyObject_GC_TRACK(o), _PyObject_GC_UNTRACK(o)
        * _PyGC_PREV_MASK_FINALIZED
        * _PyGC_PREV_MASK_COLLECTING
        * _PyGC_PREV_SHIFT
        * _PyGC_PREV_MASK
      
      * Replace _PyGC_generation0 with _PyRuntime.gc.generation0
      * _queuemodule.c: replace _PyObject_GC_UNTRACK()
        with with PyObject_GC_UnTrack()
      * Document that  _PyObject_GC_TRACK() _PyObject_GC_UNTRACK() macros
        have been removed from the public C API.
      1a6be91e
    • Paul Ganssle's avatar
      bpo-35081: Remove Py_BUILD_CORE from datetime.h (GH-10416) · 0d12672b
      Paul Ganssle authored
      Datetime macros like PyDate_Check() have two implementations, one using
      the C API capsule and one using direct access to the datetime type
      symbols defined in _datetimemodule.c. Since the direct access versions
      of the macros are only used in _datetimemodule.c, they have been moved
      out of "datetime.h" and into _datetimemodule.c.
      
      The _PY_DATETIME_IMPL macro is currently necessary in order to avoid
      both duplicate definitions of these macros in _datetimemodule.c and
      unnecessary declarations of C API capsule-related macros and varibles in
      datetime.h.
      Co-Authored-By: default avatarVictor Stinner <vstinner@redhat.com>
      0d12672b
    • Gregory P. Smith's avatar
      bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) · 3015fb8c
      Gregory P. Smith authored
      Rename our new MEMORY_SANITIZER define to _Py_MEMORY_SANITIZER.
      Project based C Preprocessor namespacing at its finest. :P
      3015fb8c
    • Windson yang's avatar
      Fix a couple documentation typos. (GH-10498) · 0dc1e45d
      Windson yang authored
      
      
      reproduciblity -> reproducibility
      PyPA are the group -> PyPA is the group
      0dc1e45d
    • Gregory P. Smith's avatar
      Disable getc_unlocked() with MemorySanitizer. (GH-10499) · e6c77d83
      Gregory P. Smith authored
      clang's MemorySanitizer understand getc() but does not understand
      getc_unlocked().  Workaround: Don't use it on msan builds.
      e6c77d83
    • Victor Stinner's avatar
      bpo-29564: warnings suggests to enable tracemalloc (GH-10486) · 2c07c493
      Victor Stinner authored
      The warnings module now suggests to enable tracemalloc if the source
      is specified, tracemalloc module is available, but tracemalloc is not
      tracing memory allocations.
      2c07c493
  2. 12 Nov, 2018 9 commits
  3. 11 Nov, 2018 7 commits
  4. 10 Nov, 2018 4 commits
  5. 09 Nov, 2018 10 commits
  6. 08 Nov, 2018 3 commits
  7. 07 Nov, 2018 1 commit