消息 [306766]
Also, the basic rules of thumb I use for deciding whether or not a setting belongs in CoreConfig:
* does `PyUnicode_New` need this? (If yes, then include it)
* does the importlib bootstrapping need this? (If yes, then include it)
Everything else goes in MainInterpreterConfig as a real Python object.
We may need other structs internally to help manage the way Py_Main populates MainInterpreterConfig, but those should be made a required part of the future public initialization API (although we may decide to expose them as "use them if you want to better emulate CPython's default behaviour" helper APIs). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-11-23 00:11:51 | ncoghlan | 修改 | recipients:
+ ncoghlan, vstinner, eric.snow, serhiy.storchaka, Decorater |
| 2017-11-23 00:11:51 | ncoghlan | 修改 | messageid: <1511395911.37.0.213398074469.issue32096@psf.upfronthosting.co.za> |
| 2017-11-23 00:11:51 | ncoghlan | 链接 | issue32096 messages |
| 2017-11-23 00:11:51 | ncoghlan | 创建 | |
|