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 Alexandr
Recipients Alexandr
Date 2011-08-09.17:25:40
SpamBayes Score 0.00022736535
Marked as misclassified No
Message-id <1312910741.64.0.384635164559.issue12718@psf.upfronthosting.co.za>
In-reply-to
Content
At line 377 __import__ function assing to class variable importer.

__import__ get module name as first argument, but when we use self.importer at line 391 (http://hg.python.org/cpython/file/10f20ad2fbb6/Lib/logging/config.py#l391) we give class instance(self) as the first argument. Not module name

As result raised ImportError with message: "__import__() argument 1 must be string, not DictConfigurator" or "__import__() argument 1 must be string, not BaseConfigurator"
History
Date User Action Args
2011-08-09 17:25:41Alexandrsetrecipients: + Alexandr
2011-08-09 17:25:41Alexandrsetmessageid: <1312910741.64.0.384635164559.issue12718@psf.upfronthosting.co.za>
2011-08-09 17:25:41Alexandrlinkissue12718 messages
2011-08-09 17:25:40Alexandrcreate