[Python-3000] Still get rid of the stat module?
Brett Cannon
brett at python.org
Thu Aug 21 20:41:20 CEST 2008
PEP 3108 has the stat module slated for removal, but some snags have
been hit and it makes me wonder if it is still worth it. The issue
tracking all of this is http://bugs.python.org/issue2874 .
First, it turns out a bunch of constants from the module are used all
over the place. Those constants would either have to be relocated or
the module stays and just the functions get deprecated.
But that raises a second issue: a namedtuple is used for what
os.stat() returns, making adding methods a pain. Georg did a
proof-of-concept, but obviously it is cheating a little to make it all
work.
So my question is whether it is still worth trying to remove the
module, or just leave it be.
-Brett
More information about the Python-3000
mailing list