Author petr.viktorin
Recipients brett.cannon, docs@python, eric.snow, ncoghlan, petr.viktorin, python-dev
Date 2015-07-03.20:36:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435955787.67.0.646083106661.issue24458@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-07-03 20:36:27petr.viktorinsetrecipients: + petr.viktorin, brett.cannon, ncoghlan, docs@python, python-dev, eric.snow
2015-07-03 20:36:27petr.viktorinsetmessageid: <1435955787.67.0.646083106661.issue24458@psf.upfronthosting.co.za>
2015-07-03 20:36:27petr.viktorinlinkissue24458 messages
2015-07-03 20:36:27petr.viktorincreate