Message246218
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. |
|
Date |
User |
Action |
Args |
2015-07-03 20:36:27 | petr.viktorin | set | recipients:
+ petr.viktorin, brett.cannon, ncoghlan, docs@python, python-dev, eric.snow |
2015-07-03 20:36:27 | petr.viktorin | set | messageid: <1435955787.67.0.646083106661.issue24458@psf.upfronthosting.co.za> |
2015-07-03 20:36:27 | petr.viktorin | link | issue24458 messages |
2015-07-03 20:36:27 | petr.viktorin | create | |
|