Commit 7accb3e4 authored by Stefan Behnel's avatar Stefan Behnel

merge 0.19.x branch into master

parents 46d075e9 26adc6f0
...@@ -67,7 +67,7 @@ when they are no longer used (and *must* always use the matching ...@@ -67,7 +67,7 @@ when they are no longer used (and *must* always use the matching
type of free function). Otherwise, they won't be reclaimed until the type of free function). Otherwise, they won't be reclaimed until the
python process exits. This is called a memory leak. python process exits. This is called a memory leak.
If a chuck of memory needs a larger lifetime then can be managed by a If a chunk of memory needs a larger lifetime than can be managed by a
``try..finally`` block, another helpful idiom is to tie its lifetime ``try..finally`` block, another helpful idiom is to tie its lifetime
to a Python object to leverage the Python runtime's memory management, to a Python object to leverage the Python runtime's memory management,
e.g.:: e.g.::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment