◐ Shell
clean mode source ↗

bpo-1635741: Port time module to multiphase initialization (PEP 489) by phsilva · Pull Request #19107 · python/cpython

shihai1991

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use mod or module would be more exact than m ;)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, please this PR as an opportunity to replace m with module ;-)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have an impractical idea: Making an review robot to give some suggestions of normative problem automatically ;)

@shihai1991

cc @vstinner @corona10

ps: I don't know what happend with the gate of macOS(Looks like it have been broken several days.)

@corona10

@shihai1991

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DECREF here is wrong. Replace "goto error" with "return -1" and remove the error label.

cc @corona10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started not wanting to refactor code but looks like a good chance for more cleaning. Thanks, already changed on latest push.

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this time it LGTM. Thanks ;-)

@kylotan kylotan mannequin mentioned this pull request

Sep 19, 2022