This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients benjamin.peterson, sjt
Date 2009-02-14.13:33:12
SpamBayes Score 7.70484e-12
Marked as misclassified No
Message-id <1afaf6160902140533hcad38dcm5a86c8a64e503c7f@mail.gmail.com>
In-reply-to <87fxihs44g.fsf@xemacs.org>
Content
On Sat, Feb 14, 2009 at 4:33 AM, Stephen J. Turnbull
<report@bugs.python.org> wrote:
>
> Stephen J. Turnbull <stephen@xemacs.org> added the comment:
>
> Benjamin Peterson writes:
>
>  > Hmm. 2to3 doesn't currently mess with the stat module and os.stat the
>  > more common function. Also the new interface (attributes on the objects
>  > returned) has been around since 2.2.
>
> So what?  You *can't* import a nonexistent module, so the import
> statement should be removed to save the programmer the trouble.

No, the programmer should remove the import statement when he's
porting it to use the attributes of the statvfs call.
History
Date User Action Args
2009-02-14 13:33:14benjamin.petersonsetrecipients: + benjamin.peterson, sjt
2009-02-14 13:33:13benjamin.petersonlinkissue5252 messages
2009-02-14 13:33:12benjamin.petersoncreate