Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Here are the problematic lines:
Lines 1766 to 1772 in8b44f3c
| PyModule_AddIntConstant(m,"timezone",_Py_timezone); | |
| #ifdefHAVE_ALTZONE | |
| PyModule_AddIntConstant(m,"altzone",altzone); | |
| #else | |
| PyModule_AddIntConstant(m,"altzone",_Py_timezone-3600); | |
| #endif | |
| PyModule_AddIntConstant(m,"daylight",_Py_daylight); |
Lines 1831 to 1833 in8b44f3c
| PyModule_AddIntConstant(m,"timezone",julyzone); | |
| PyModule_AddIntConstant(m,"altzone",janzone); | |
| PyModule_AddIntConstant(m,"daylight",janzone!=julyzone); |
Lines 1836 to 1838 in8b44f3c
| PyModule_AddIntConstant(m,"timezone",janzone); | |
| PyModule_AddIntConstant(m,"altzone",julyzone); | |
| PyModule_AddIntConstant(m,"daylight",janzone!=julyzone); |
However, in some cases it uses the correct approach:
Lines 1985 to 1987 in8b44f3c
| if (PyModule_AddIntMacro(module,CLOCK_MONOTONIC)<0) { | |
| return-1; | |
| } |