Ezio Melotti added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15083> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com