bpo-1635741: Port time module to multiphase initialization (PEP 489)#19107
bpo-1635741: Port time module to multiphase initialization (PEP 489)#19107vstinner merged 1 commit intopython:masterfrom
Conversation
Modules/timemodule.c
Outdated
There was a problem hiding this comment.
Use mod or module would be more exact than m ;)
There was a problem hiding this comment.
Yeah, please this PR as an opportunity to replace m with module ;-)
There was a problem hiding this comment.
I have an impractical idea: Making an review robot to give some suggestions of normative problem automatically ;)
|
@shihai1991 |
copy that, thanks ;0 |
Modules/timemodule.c
Outdated
There was a problem hiding this comment.
DECREF here is wrong. Replace "goto error" with "return -1" and remove the error label.
cc @corona10
There was a problem hiding this comment.
I started not wanting to refactor code but looks like a good chance for more cleaning. Thanks, already changed on latest push.
vstinner
left a comment
There was a problem hiding this comment.
Ok, this time it LGTM. Thanks ;-)
https://bugs.python.org/issue1635741