Message56396
| Author | gvanrossum |
|---|---|
| Recipients | alexandre.vassalotti, christian.heimes, gvanrossum |
| Date | 2007-10-14.00:51:49 |
| SpamBayes Score | 0.05846291 |
| Marked as misclassified | No |
| Message-id | <1192323109.63.0.541678273577.issue1272@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> > Oh. Hm. I still wish that PyCode_New() could just insist that the > > filename argument is a PyUnicode instance. Why can't it? Perhaps the > > caller should be fixed instead? > I'll try. I figured out the problem -- it came from marshalled old code objects. If you throw away all .pyc files the problem goes away. You can also get rid of the similar checks for the 'name' argument -- this should just be a PyUnicode too. A systematic approach to invalidating all the .pyc files is updating the magic number in import.c. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-10-14 00:51:49 | gvanrossum | set | spambayes_score: 0.0584629 -> 0.05846291 recipients: + gvanrossum, christian.heimes, alexandre.vassalotti |
| 2007-10-14 00:51:49 | gvanrossum | set | spambayes_score: 0.0584629 -> 0.0584629 messageid: <1192323109.63.0.541678273577.issue1272@psf.upfronthosting.co.za> |
| 2007-10-14 00:51:49 | gvanrossum | link | issue1272 messages |
| 2007-10-14 00:51:49 | gvanrossum | create | |