A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-July/016329.html below:

[Python-Dev] Advice in stat.py

[Python-Dev] Advice in stat.py [Python-Dev] Advice in stat.pyGreg Ward gward@python.net
Fri, 27 Jul 2001 12:51:20 -0400
On 27 July 2001, Guido van Rossum said:
> > stat.py in 2.2a1 starts with the following sage advice:
> > 
> > """Constants/functions for interpreting results of os.stat() and os.lstat().
> > 
> > Suggested usage: from stat import *
> > """
> > 
> > Is ths still the suggested usage?
> 
> I don't see why not.

My understanding was that it's generally considered Bad Form to do this
at module level, while doing it at function level is tricky (or a
performance hit? whatever...) because of nested scopes.

        Greg
-- 
Greg Ward - Unix geek                                   gward@python.net
http://starship.python.net/~gward/
No animals were harmed in transmitting this message.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4