[RFC] Changes to 'selftest --starting-with'
Harald Meland
harald.meland at usit.uio.no
Sat Aug 23 01:04:53 BST 2008
[Vincent Ladeuil]
> I'd like to find a solution that do not conflict with valid
> package names.
>
> One is to use '.' as the leading character so that we can do:
>
> .bt => bzrlib.tests
> .bp => bzrlib.plugins
> .gtk => bzrlib.plugins.gtk
PEP 328 uses leading dot(s) in the package name part of import
statements to indicate that the import should be relative, so the
above alias syntax will probably become somewhat confusing when such
relative imports become a more widely known feature.
--
Harald
More information about the bazaar
mailing list