Skip to content

bpo-40781: Remove sys._debugmallocstats() function - #20430

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:remove_malloc_stats
Closed

vstinner wants to merge 1 commit into
python:masterfrom
vstinner:remove_malloc_stats

Conversation

@vstinner

@vstinner vstinner commented May 26, 2020 •

Copy link
Copy Markdown
Member
  • Remove sys._debugmallocstats() function

  • Remove PYTHONMALLOCSTATS environment variable

  • Remove PyConfig.malloc_stats member

  • Remove C functions:

    • _PyDebugAllocatorStats()
    • _PyDict_DebugMallocStats()
    • _PyFloat_DebugMallocStats()
    • _PyFrame_DebugMallocStats()
    • _PyList_DebugMallocStats()
    • _PyObject_DebugMallocStats()
    • _PyObject_DebugTypeStats()
    • _PyTuple_DebugMallocStats()

https://bugs.python.org/issue40781

* Remove sys._debugmallocstats() function
* Remove PYTHONMALLOCSTATS environment variable
* Remove PyConfig.malloc_stats member
* Remove C functions:

  * _PyDebugAllocatorStats()
  * _PyDict_DebugMallocStats()
  * _PyFloat_DebugMallocStats()
  * _PyFrame_DebugMallocStats()
  * _PyList_DebugMallocStats()
  * _PyObject_DebugMallocStats()
  * _PyObject_DebugTypeStats()
  * _PyTuple_DebugMallocStats()
@vstinner

Copy link
Copy Markdown
Member Author

The function is used: let's keep it! https://bugs.python.org/issue40781

@vstinner vstinner closed this May 26, 2020
@vstinner
vstinner deleted the remove_malloc_stats branch May 26, 2020 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants