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
98791aff
Commit
98791aff
authored
Oct 23, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc and NEWS changes due to Jeremy adding traceback objects to gc.
parent
fd14d8e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Doc/lib/libsys.tex
Doc/lib/libsys.tex
+4
-1
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Doc/lib/libsys.tex
View file @
98791aff
...
...
@@ -109,7 +109,10 @@ It is always available.
exception type and value. If you do need the traceback, make sure
to delete it after use (best done with a
\keyword
{
try
}
...
\keyword
{
finally
}
statement) or to call
\function
{
exc
_
info()
}
in
a function that does not itself handle an exception.
}
a function that does not itself handle an exception.
}
\note
{
Beginning
with Python 2.2, such cycles are automatically reclaimed when garbage
collection is enabled and they become unreachable, but it remains more
efficient to avoid creating cycles.
}
\end{funcdesc}
\begin{datadesc}
{
exc
_
type
}
...
...
Misc/NEWS
View file @
98791aff
...
...
@@ -16,6 +16,10 @@ Extension modules
Library
- Traceback objects are now scanned by cyclic garbage collection, so
cycles created by casual use of sys.exc_info() no longer cause
permanent memory leaks (provided garbage collection is enabled).
Tools/Demos
Build
...
...
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