Message306766
| Author |
ncoghlan |
| Recipients |
Decorater, eric.snow, ncoghlan, serhiy.storchaka, vstinner |
| Date |
2017年11月23日.00:11:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1511395911.37.0.213398074469.issue32096@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|