is this a valid import sequence ?
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Sun Jun 24 08:16:05 EDT 2007
In <pan.2007.06.24.11.28.22.861611 at REMOVE.THIS.cybersource.com.au>, Steven
D'Aprano wrote:
> Perhaps you should consider writing a PEP to make the redundant use of the
> global statement a compile-time error?
Sometimes I wished that it would be a compile time error or at least
triggering a warning when ``global`` is used at module level. It seems a
common error from people used to declare variables at that level in other
languages.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list