A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/024861.html below:

[Python-Dev] Other library code transformations

[Python-Dev] Other library code transformations [Python-Dev] Other library code transformationsWalter Dörwald walter@livinglogic.de
Sat, 01 Jun 2002 16:25:36 +0200
Raymond Hettinger wrote:

 > While we're eliminating uses of the string and types modules, how about
 > other code clean-ups and modernization:
 >
 > [...]

dont' forget:
import stat; os.stat("foo")[stat.ST_MTIME] --> os.stat("foo").st_mtime

But to be able to remove "import stat" everywhere the remaining 
functions in stat.py would have to be implemented as methods.
And what about the remaining constants defined in stat.py?

Bye,
    Walter Dörwald






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