➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 amaury.forgeotdarc
收信人 amaury.forgeotdarc, georg.brandl, gpk
日期 2008-03-17.10:09:42
SpamBayes Score 0.18991232
Marked as misclassified 否
Message-id <1205748585.74.0.344426592.issue2295@psf.upfronthosting.co.za>
In-reply-to
内容
The following "Works for me":

>>> import imp, cPickle
>>> mymod = imp.load_module('mymod', *imp.find_module('codecs'))
>>> cPickle.dumps(mymod.Codec(), cPickle.HIGHEST_PROTOCOL)
'\x80\x02(cmymod\nCodec\nq\x01o}q\x02b.'

Do you have a short test case to reproduce your problem?
Does your code tweak sys.modules?
历史
日期 用户 动作 参数
2008-03-17 10:09:46amaury.forgeotdarc修改spambayes_score: 0.189912 -> 0.18991232
recipients: + amaury.forgeotdarc, gpk, georg.brandl
2008-03-17 10:09:45amaury.forgeotdarc修改spambayes_score: 0.189912 -> 0.189912
messageid: <1205748585.74.0.344426592.issue2295@psf.upfronthosting.co.za>
2008-03-17 10:09:44amaury.forgeotdarc链接issue2295 messages
2008-03-17 10:09:43amaury.forgeotdarc创建