Skip to content

import of fancylogger module fails with Python 3.7 #282

@boegel

Description

@boegel

For some reason I thought we had already ported vsc-base to Python 3, but it seems like I'm mis-remembering that... Some progress was made in #280, but it's definitely not complete.

PYTHONPATH=$HOME/work/vsc-base/lib python3 -c 'import vsc.utils.fancylogger'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/kehoste/work/vsc-base/lib/vsc/utils/fancylogger.py", line 192, in <module>
    logging._levelNames['EXCEPTION'] = logging.ERROR
AttributeError: module 'logging' has no attribute '_levelNames'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions