1 Jun
2002
1 Jun
'02
2:25 p.m.
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