Message183112
| Author |
ezio.melotti |
| Recipients |
Arfrever, asvetlov, danielsh, eli.bendersky, ezio.melotti, flox, ncoghlan, python-dev, serhiy.storchaka, tshepang |
| Date |
2013年02月27日.05:12:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1361941950.75.0.425590072055.issue15083@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I'm just not sure how the globals help
It doesn't, but if it works fine there's probably no reason to complicate (if it's complicated at all) things to change this.
> even when I just want to run the pure Python code, the C module gets
> imported. Why should it be?
Doesn't the test always run both? (assuming the C module is available -- if it's not it won't be imported anyway)
> Pickle is one concrete place that can cause problems with this.
This might be an actual reason to avoid globals, but I don't know the details. |
|