[issue2874] Remove use of the stat module in the stdlib

Brett Cannon report at bugs.python.org
Fri May 16 21:21:00 CEST 2008


Brett Cannon <brett at python.org> added the comment:

On Fri, May 16, 2008 at 11:56 AM, Alexandre Vassalotti
<report at bugs.python.org> wrote:
>
> Alexandre Vassalotti <alexandre at peadrop.com> added the comment:
>
> Brett wrote:
>> This will require moving over to using the named tuple features of
>> os.stat() along with adding methods to the object that the stat module
>> has as functions.
>
> How do you add new methods to a PyStructSequence?
>

No clue. =) Might not be doable. In the end a custom class might be
needed that supports indexes.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2874>
__________________________________


More information about the Python-bugs-list mailing list