[issue43951] Two minor fixes for C module object

2021-04-30 Thread STINNER Victor
STINNER Victor added the comment: commit 175a54b2d8f967605f1d46b5cadccdcf2b54842f Author: larryhastings Date: Thu Apr 29 20:13:25 2021 -0700 Two minor fixes for accessing a module's name. (#25658) While working on another issue, I noticed two minor nits in the C

[issue43951] Two minor fixes for C module object

2021-04-29 Thread Larry Hastings
Larry Hastings added the comment: Thanks for the review, Victor! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43951] Two minor fixes for C module object

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43951] Two minor fixes for C module object

2021-04-27 Thread Larry Hastings
Change by Larry Hastings : -- keywords: +patch pull_requests: +24349 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25658 ___ Python tracker

[issue43951] Two minor fixes for C module object

2021-04-27 Thread Larry Hastings
New submission from Larry Hastings : While working on another issue, I noticed two minor nits in the C implementation of the module object. Both are related to getting a module's name. -- First, the C function module_dir() (module.__dir__) starts by ensuring the module dict is valid. If