Re: [Python-Dev] Tweaking PEP 8 guidelines for use of leading underscores

2013年7月16日 16:36:54 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/16/2013 07:09 AM, Nick Coghlan wrote:
> I did find it interesting that we *don't* explicitly advise against 
> the use of "import *" for anything other than optional accelerator 
> modules or republishing internal interfaces through a public API,
> even though we advice against the practice in the tutorial. Perhaps
> another oversight worth correcting?
+1. 'from foo import *' (from any source other than another module in
the same package) is a code stench far worse than anything else PEP8
proscribes.
Tres.
- -- 
===================================================================
Tres Seaver +1 540-429-0999 [email protected]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlHl2GsACgkQ+gerLs4ltQ6+1QCgmu5k6p5otzPxvzGh5mA1Ch7t
2f0AoK2a0/m144bnIwBFLLuY9l2bdWMN
=878p
-----END PGP SIGNATURE-----
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to