[docs] [issue24458] Documentation for PEP 489
Petr Viktorin
report at bugs.python.org
Fri Jul 3 22:36:27 CEST 2015
Petr Viktorin added the comment:
Verifying modules to work ith subinterpreters is tricky. What level of assurance do you want?
Subinterpreters themselves require that you embed Python, which doesn't lend itself to an easy example. I hope 2.6 makes the situation better.
Example code is in xxmodule, which is mentioned.
The #3 problem is pretty common, unfortunately: if you define a Database class and a Record class, Database objects can't get to the Record class to instantiate it. If you define a module-level exception, methods of other classes can't easily raise it.
I think recommending workarounds/solutions needs some more discussion; I plan to summarize my thoughts on a mailing list soonish.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24458>
_______________________________________
More information about the docs
mailing list