Message183112
> 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. |
|
Date |
User |
Action |
Args |
2013-02-27 05:12:30 | ezio.melotti | set | recipients:
+ ezio.melotti, ncoghlan, Arfrever, eli.bendersky, asvetlov, flox, tshepang, python-dev, serhiy.storchaka, danielsh |
2013-02-27 05:12:30 | ezio.melotti | set | messageid: <1361941950.75.0.425590072055.issue15083@psf.upfronthosting.co.za> |
2013-02-27 05:12:30 | ezio.melotti | link | issue15083 messages |
2013-02-27 05:12:30 | ezio.melotti | create | |
|