Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e9a0975
Commit
0e9a0975
authored
Apr 13, 2006
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop claiming that Py_Finalize releases all memory.
Fixes part of #1445210.
parent
42d12d21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/api/intro.tex
Doc/api/intro.tex
+4
-1
No files found.
Doc/api/intro.tex
View file @
0e9a0975
...
...
@@ -572,8 +572,11 @@ defined in \file{Modules/getpath.c}).
Sometimes, it is desirable to ``uninitialize'' Python. For instance,
the application may want to start over (make another call to
\cfunction
{
Py
_
Initialize()
}
) or the application is simply done with its
use of Python and wants to free
all
memory allocated by Python. This
use of Python and wants to free memory allocated by Python. This
can be accomplished by calling
\cfunction
{
Py
_
Finalize()
}
. The function
\cfunction
{
Py
_
IsInitialized()
}
\ttindex
{
Py
_
IsInitialized()
}
returns
true if Python is currently in the initialized state. More
information about these functions is given in a later chapter.
Notice that
\cfunction
{
Py
_
Finalize
}
does
\emph
{
not
}
free all memory
allocated by the Python interpreter, e.g. memory allocated by extension
modules currently cannot be released.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment