[New-bugs-announce] [issue10810] logging.handlers.TimedRotatingFileHandler.__init__(): ST_MTIME NameError

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Sun Jan 2 23:50:31 CET 2011


New submission from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com>:

r82912 introduced NameError for ST_MTIME in Lib/logging/handlers.py on 3.1 branch. It's a regression in 3.1.3. The code in 3.2 is correct.

-from stat import ST_DEV, ST_INO
+from stat import ST_DEV, ST_INO, ST_MTIME

This bug was originally reported in Gentoo Bugzilla:
https://bugs.gentoo.org/show_bug.cgi?id=350400

----------
components: Library (Lib)
messages: 125116
nosy: Arfrever, vinay.sajip
priority: normal
severity: normal
status: open
title: logging.handlers.TimedRotatingFileHandler.__init__(): ST_MTIME NameError
versions: Python 3.1

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


More information about the New-bugs-announce mailing list