Walter D=F6rwald wrote: > Raymond Hettinger wrote: >=20 > > While we're eliminating uses of the string and types modules, how ab= out > > other code clean-ups and modernization: > > > > [...] >=20 > dont' forget: > import stat; os.stat("foo")[stat.ST_MTIME] --> os.stat("foo").st_mtime >=20 > But to be able to remove "import stat" everywhere the remaining=20 > functions in stat.py would have to be implemented as methods. > And what about the remaining constants defined in stat.py? While you're at it: could you also write up all these little "code cleanups" in some file so that Andrew can integrate them in the migration guide ?! Thanks, --=20 Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/ Meet us at EuroPython 2002: http://www.europython.org/
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