Re: [gnome-desktop-testing] patch - gedit/gedit_chains.py



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ahoi,

On 13.02.2009 05:20, Veerapuram Varadhan wrote:
> On Thu, 2009-02-12 at 18:42 -0800, Nagappan A wrote:
>> +from desktoptesting.check import *
> 
> [...] and have it imported specifically
> instead of a "import *"
> 

Indeed. Wildcard imports are to avoid for a number of reasons: They
might not work as expected on non case sensitive platforms.
Also, and this is much more important, it decreases the auditability: If
you don't wildcard import, you can always see where a Name comes from by
scanning the source.

Cheers,
  Tobi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmVkwwACgkQPuBX/6ogjZ61kgCfUv6lCBq8Rk4mC+hCax/ivHC1
LMQAn194jveAT87lS5EhacE5Iz2fnuCG
=7kCQ
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]