Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
Your module token.py "shadowed" the stdlib token.py, and prevented it from being seen until you changed the name. ---------- nosy: +steven.daprano resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46324> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com