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 flox
Recipients flox
Date 2011-11-06.23:46:24
SpamBayes Score 9.069197e-08
Marked as misclassified No
Message-id <1320623185.48.0.617067061365.issue13361@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import logging
>>> log = logging.getLogger(any)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "./Lib/logging/__init__.py", line 1730, in getLogger
    return Logger.manager.getLogger(name)
  File "./Lib/logging/__init__.py", line 1114, in getLogger
    self._fixupParents(rv)
  File "./Lib/logging/__init__.py", line 1142, in _fixupParents
    i = name.rfind(".")
AttributeError: 'builtin_function_or_method' object has no attribute 'rfind'
>>> log = logging.getLogger(any)
>>> log.error("It should not create this logger")
It should not create this logger
>>>
History
Date User Action Args
2011-11-06 23:46:25floxsetrecipients: + flox
2011-11-06 23:46:25floxsetmessageid: <1320623185.48.0.617067061365.issue13361@psf.upfronthosting.co.za>
2011-11-06 23:46:24floxlinkissue13361 messages
2011-11-06 23:46:24floxcreate