Author terry.reedy
Recipients Trundle, daniel.urban, eric.araujo, ezio.melotti, terry.reedy
Date 2011-09-09.19:41:57
SpamBayes Score 3.07165e-05
Marked as misclassified No
Message-id <1315597318.29.0.562599151261.issue12915@psf.upfronthosting.co.za>
In-reply-to
Content
To be a little clearer, this is about dotted import names, not regular dotted names.
pydoc.locate(path, forceload=0):
  """Locate an object by name or dotted path, importing as necessary"""
pydoc.resolve(thing, forceload=0):
  """Given an object or a path to an object, get the object and its name.""" 

It is not completely clear to me how this is different from using __import__ but I will believe it is. It something like this is in at least 3 places, +1 on factoring it out to one place.
History
Date User Action Args
2011-09-09 19:41:58terry.reedysetrecipients: + terry.reedy, ezio.melotti, eric.araujo, Trundle, daniel.urban
2011-09-09 19:41:58terry.reedysetmessageid: <1315597318.29.0.562599151261.issue12915@psf.upfronthosting.co.za>
2011-09-09 19:41:57terry.reedylinkissue12915 messages
2011-09-09 19:41:57terry.reedycreate