Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Unified Diff: Python/pythonrun.c

Issue 22043: Use a monotonic clock to compute timeouts
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Python/pythonrun.c Thu Jul 31 13:07:17 2014 +0200
+++ b/Python/pythonrun.c Thu Jul 31 13:03:12 2014 +0200
@@ -452,7 +452,8 @@ void
if (_PyFaulthandler_Init())
Py_FatalError("Py_Initialize: can't initialize faulthandler");
- _PyTime_Init();
+ if (_PyTimeSpec_Init() < 0)
+ Py_FatalError("Py_Initialize: can't initialize time");
if (initfsencoding(interp) < 0)
Py_FatalError("Py_Initialize: unable to load the file system codec");

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+