Message174423
| Author |
christian.heimes |
| Recipients |
christian.heimes, ctheune, gvanrossum |
| Date |
2012年11月01日.15:35:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351784121.7.0.750807986042.issue16381@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks!
Py_FatalError() might be too drastic for the task. It calls abort() which kills the process with SIGABRT. The function closes and flushes all stream but no additional cleanup code is executed. This might be bad for resources like shared memories, named semaphores or database connections. On Windows abort() causes a pop up window with a crash report, too.
Would exit(3) or _exit(2) work here? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年11月01日 15:35:21 | christian.heimes | set | recipients:
+ christian.heimes, gvanrossum, ctheune |
| 2012年11月01日 15:35:21 | christian.heimes | set | messageid: <1351784121.7.0.750807986042.issue16381@psf.upfronthosting.co.za> |
| 2012年11月01日 15:35:21 | christian.heimes | link | issue16381 messages |
| 2012年11月01日 15:35:21 | christian.heimes | create |
|