Message141851
It works as expected for me:
vinay@eta-jaunty:~/projects/python/2.7$ python2.7
Python 2.7.2+ (2.7:7d5a37ce42d5, Aug 10 2011, 09:20:30)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging.config
[62163 refs]
>>> c = logging.config.BaseConfigurator({})
[62173 refs]
>>> c.importer('pickle')
<module 'pickle' from '/home/vinay/projects/python/2.7/Lib/pickle.py'>
[65944 refs]
>>> c.importer
<built-in function __import__>
[65944 refs]
>>> c.__class__.importer
<built-in function __import__>
[65944 refs]
>>> c.__class__.importer('marshal')
<module 'marshal' (built-in)>
[65944 refs]
>>>
Can you provide an example script which demonstrates failure? I'll mark this as invalid and pending, and close soon if no further information is forthcoming. |
|
Date |
User |
Action |
Args |
2011-08-10 08:27:33 | vinay.sajip | set | recipients:
+ vinay.sajip, Alexandr |
2011-08-10 08:27:33 | vinay.sajip | set | messageid: <1312964853.42.0.238682164922.issue12718@psf.upfronthosting.co.za> |
2011-08-10 08:27:32 | vinay.sajip | link | issue12718 messages |
2011-08-10 08:27:32 | vinay.sajip | create | |
|