This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 Windson Yang
收信人 Claudiu.Popa, Windson Yang, benjamin.peterson, hynek, josh.r, piotr.dobrogost, pitrou, rhettinger, serhiy.storchaka, stutzbach
日期 2019-05-17.02:29:41
SpamBayes Score -1.0
Marked as misclassified
Message-id <1558060181.17.0.0451526045646.issue21861@roundup.psfhosted.org>
In-reply-to
内容
IIUC, in the c code we just hardcode the name "_io.FileIO" for "PyFileIO_Type" in https://github.com/python/cpython/blob/master/Modules/_io/fileio.c#L1180. If we want to get a dynamic name, we should replace the hardcode name with the module name (like "__main__"). I found this also happens on other modules like collections.
历史
日期 用户 动作 参数
2019-05-17 02:29:41Windson Yang修改recipients: + Windson Yang, rhettinger, pitrou, benjamin.peterson, stutzbach, Claudiu.Popa, hynek, piotr.dobrogost, serhiy.storchaka, josh.r
2019-05-17 02:29:41Windson Yang修改messageid: <1558060181.17.0.0451526045646.issue21861@roundup.psfhosted.org>
2019-05-17 02:29:41Windson Yang链接issue21861 messages
2019-05-17 02:29:41Windson Yang创建