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 eric.araujo
Recipients Natim, alexis, eric.araujo, erik.bray, tarek
Date 2012-02-08.15:02:42
SpamBayes Score 0.011908253
Marked as misclassified No
Message-id <1328713363.47.0.549388740921.issue12703@psf.upfronthosting.co.za>
In-reply-to
Content
FYI, here is code that can handle arbitrary dotted names: <http://svn.eby-sarna.com/Importing/peak/util/imports.py?view=markup>.  I haven’t checked if its error reporting has the problem we’re discussing in this report.

An alternative would be to use colon notation, e.g. package.submodule:Thing.Nested.attribute.

My preference is still for find_object, using dots and with the nesting prohibition.
History
Date User Action Args
2012-02-08 15:02:43eric.araujosetrecipients: + eric.araujo, tarek, alexis, erik.bray, Natim
2012-02-08 15:02:43eric.araujosetmessageid: <1328713363.47.0.549388740921.issue12703@psf.upfronthosting.co.za>
2012-02-08 15:02:42eric.araujolinkissue12703 messages
2012-02-08 15:02:42eric.araujocreate