Skip to content

exception modules should be renamed #233

Open
@wasade

Description

@wasade

...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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions