<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_tracemalloc.py, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_tracemalloc.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_tracemalloc.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2017-11-29T23:05:07Z</updated>
<entry>
<title>bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534)</title>
<updated>2017-11-29T23:05:07Z</updated>
<author>
<name>Jesse-Bakker</name>
<email>jessebakker00@gmail.com</email>
</author>
<published>2017-11-29T23:05:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=706e10b186992e086e661a62d2c8ec9588525b31'/>
<id>urn:sha1:706e10b186992e086e661a62d2c8ec9588525b31</id>
<content type='text'>
* Add most_recent_first parameter to tracemalloc.Traceback.format to allow
   reversing the order of the frames in the output
* Reversed default sorting of tracemalloc.Traceback frames
* Allowed negative limit, truncating from the other side.</content>
</entry>
<entry>
<title>bpo-32030: Enhance Py_Main() (#4412)</title>
<updated>2017-11-16T02:11:45Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-16T02:11:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7368ac6360246b1ef7f8f152963c2362d272183'/>
<id>urn:sha1:a7368ac6360246b1ef7f8f152963c2362d272183</id>
<content type='text'>
Parse more env vars in Py_Main():

* Add more options to _PyCoreConfig:

  * faulthandler
  * tracemalloc
  * importtime

* Move code to parse environment variables from _Py_InitializeCore()
  to Py_Main(). This change fixes a regression from Python 3.6:
  PYTHONUNBUFFERED is now read before calling pymain_init_stdio().
* _PyFaulthandler_Init() and _PyTraceMalloc_Init() now take an
  argument to decide if the module has to be enabled at startup.
* tracemalloc_start() is now responsible to check the maximum number
  of frames.

Other changes:

* Cleanup Py_Main():

  * Rename some pymain_xxx() subfunctions
  * Add pymain_run_python() subfunction

* Cleanup Py_NewInterpreter()
* _PyInterpreterState_Enable() now reports failure
* init_hash_secret() now considers pyurandom() failure as an "user
  error": don't fail with abort().
* pymain_optlist_append() and pymain_strdup() now sets err on memory
  allocation failure.</content>
</entry>
<entry>
<title>bpo-31370: Remove support for threads-less builds (#3385)</title>
<updated>2017-09-07T16:56:24Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-07T16:56:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344'/>
<id>urn:sha1:a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344</id>
<content type='text'>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</content>
</entry>
<entry>
<title>bpo-29845: Mark tests that use _testcapi as CPython-only (#711)</title>
<updated>2017-03-19T18:20:10Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-19T18:20:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=24c738a9e91b8f46da6166663d8ce7ec18cec784'/>
<id>urn:sha1:24c738a9e91b8f46da6166663d8ce7ec18cec784</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge doc and comment fixes from 3.5</title>
<updated>2016-04-19T23:23:16Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-19T23:23:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4'/>
<id>urn:sha1:abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix spelling (inital), grammar (may translates) in documentation, comments</title>
<updated>2016-04-19T04:03:41Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-19T04:03:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818'/>
<id>urn:sha1:8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26588: remove debug traces from _tracemalloc.</title>
<updated>2016-03-22T22:54:42Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-03-22T22:54:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f9a71153e9122a3d2bb86fc479bdda2f2adc859e'/>
<id>urn:sha1:f9a71153e9122a3d2bb86fc479bdda2f2adc859e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26588: add debug traces</title>
<updated>2016-03-22T15:13:31Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-03-22T15:13:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84aab09421330711607671ed8bc637ea2a8e273c'/>
<id>urn:sha1:84aab09421330711607671ed8bc637ea2a8e273c</id>
<content type='text'>
Try to debug random failure on buildbots.
</content>
</entry>
<entry>
<title>Add C functions _PyTraceMalloc_Track()</title>
<updated>2016-03-22T12:39:05Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-03-22T12:39:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10b73e17489048419b512f6710aecba62ff5b91a'/>
<id>urn:sha1:10b73e17489048419b512f6710aecba62ff5b91a</id>
<content type='text'>
Issue #26530:

* Add C functions _PyTraceMalloc_Track() and _PyTraceMalloc_Untrack() to track
  memory blocks using the tracemalloc module.
* Add _PyTraceMalloc_GetTraceback() to get the traceback of an object.
</content>
</entry>
<entry>
<title>tracemalloc now supports domains</title>
<updated>2016-03-22T11:58:23Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-03-22T11:58:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e492ae50e251c4fcd48bc37b1eaa4821894f1fdb'/>
<id>urn:sha1:e492ae50e251c4fcd48bc37b1eaa4821894f1fdb</id>
<content type='text'>
Issue #26588:

* The _tracemalloc now supports tracing memory allocations of multiple address
  spaces (domains).
* Add domain parameter to tracemalloc_add_trace() and
  tracemalloc_remove_trace().
* tracemalloc_add_trace() now starts by removing the previous trace, if any.
* _tracemalloc._get_traces() now returns a list of (domain, size,
  traceback_frames): the domain is new.
* Add tracemalloc.DomainFilter
* tracemalloc.Filter: add an optional domain parameter to the constructor and a
  domain attribute
* Sublte change: use Py_uintptr_t rather than void* in the traces key.
* Add tracemalloc_config.use_domain, currently hardcoded to 1
</content>
</entry>
</feed>
