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
12b6f6ca
Commit
12b6f6ca
authored
Mar 29, 2005
by
Anthony Baxter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move exception finalisation later in the shutdown process - this
fixes the crash seen in bug #1165761
parent
b7e99b64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
Misc/NEWS
Misc/NEWS
+5
-0
Python/pythonrun.c
Python/pythonrun.c
+8
-7
No files found.
Misc/NEWS
View file @
12b6f6ca
...
...
@@ -7,9 +7,14 @@ Python News
What
's New in Python 2.5 alpha 1?
=================================
*Release date: XX-XXX-2006*
Core and builtins
-----------------
- Move exception finalisation later in the shutdown process - this
fixes the crash seen in bug #1165761
- Added two new builtins, any() and all().
- Defining a class with empty parentheses is now allowed
...
...
Python/pythonrun.c
View file @
12b6f6ca
...
...
@@ -392,13 +392,6 @@ Py_Finalize(void)
_Py_PrintReferences
(
stderr
);
#endif
/* Py_TRACE_REFS */
/* Now we decref the exception classes. After this point nothing
can raise an exception. That's okay, because each Fini() method
below has been checked to make sure no exceptions are ever
raised.
*/
_PyExc_Fini
();
/* Cleanup auto-thread-state */
#ifdef WITH_THREAD
_PyGILState_Fini
();
...
...
@@ -407,6 +400,14 @@ Py_Finalize(void)
/* Clear interpreter state */
PyInterpreterState_Clear
(
interp
);
/* Now we decref the exception classes. After this point nothing
can raise an exception. That's okay, because each Fini() method
below has been checked to make sure no exceptions are ever
raised.
*/
_PyExc_Fini
();
/* Delete current thread */
PyThreadState_Swap
(
NULL
);
PyInterpreterState_Delete
(
interp
);
...
...
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