[issue5252] 2to3 should detect and delete import of removed statvfs module

Stephen J. Turnbull report at bugs.python.org
Fri Feb 13 19:27:06 CET 2009


New submission from Stephen J. Turnbull <stephen at xemacs.org>:

It should also try to convert stuff like

from statvfs import F_BAVAIL, F_FRSIZE
status = os.statvfs(directory)
available = status[F_BAVAIL]/((1024*1024)/status[F_FRSIZE]

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 81959
nosy: sjt
severity: normal
status: open
title: 2to3 should detect and delete import of removed statvfs module
type: feature request
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5252>
_______________________________________


More information about the Python-bugs-list mailing list