消息 [158670]
It's about navigability/discovery of the source - to find out how the sys module gets initialised, you currently have to look in multiple places. The idea of the patch is to simplify that to the one logical place: sysmodule.c
However, I'm not sure it's right to actually *move* the full import state initialisation. A simple *indirection* (pythonrun.c -> sysmodule.c -> import.c) would solve the navigability problem while also retaining some level of encapsulation for the import state initialisation. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-04-18 22:06:28 | ncoghlan | 修改 | recipients:
+ ncoghlan, brett.cannon, pitrou, benjamin.peterson, eric.snow |
| 2012-04-18 22:06:28 | ncoghlan | 修改 | messageid: <1334786788.24.0.728671121253.issue12598@psf.upfronthosting.co.za> |
| 2012-04-18 22:06:27 | ncoghlan | 链接 | issue12598 messages |
| 2012-04-18 22:06:27 | ncoghlan | 创建 | |
|