Open
Description
...or, we should develop some support to allow for importing of builtin modules with the same name. Details can be found here. As present, you cannot do:
import exceptions
try:
foo.decode('ascii')
except exceptions.UnicodeDecodeError
pass
As exceptions
refers to the module in the package directory.
Metadata
Metadata
Assignees
Labels
No labels