diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-03 13:45:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 13:45:38 +0100 |
commit | 3bb150d8148e3cc08418077a58f43e064b9fde61 (patch) | |
tree | ee6f96c188a91f66809081e1171385e6df0b17ba /Python/codecs.c | |
parent | ab6614969301b238fcc27f43923a0189a57a2a3c (diff) | |
download | cpython-git-3bb150d8148e3cc08418077a58f43e064b9fde61.tar.gz |
bpo-35373: Fix PyInit_time() error handling (GH-10865)
* PyInit_time() now returns NULL if an exception is raised.
* Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is
a special prefix for function initializing a module.
init_timezone() doesn't initialize a module and the function is not
exported.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions