Message148912
| Author |
Claudiu.Popa |
| Recipients |
Claudiu.Popa, rhettinger |
| Date |
2011年12月06日.12:28:20 |
| SpamBayes Score |
3.274019e-05 |
| Marked as misclassified |
No |
| Message-id |
<1323174502.67.0.202903753382.issue13537@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On Unix world, in a daemonized process, any namedtuple instance can't be pickled, failing with error:
_pickle.PicklingError: Can't pickle class X: attribute lookup __main__.t failed.
This can't be reproduced with the attached code. If I add the created class inside the globals dict, the pickling will work. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月06日 12:28:22 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, rhettinger |
| 2011年12月06日 12:28:22 | Claudiu.Popa | set | messageid: <1323174502.67.0.202903753382.issue13537@psf.upfronthosting.co.za> |
| 2011年12月06日 12:28:21 | Claudiu.Popa | link | issue13537 messages |
| 2011年12月06日 12:28:21 | Claudiu.Popa | create |
|