New submission from Arthur Goldberg <arthur.goldb...@mssm.edu>:
I'm attempting to better understand an ImportError: cannot import name '<Class>' error by reading the cpython source. But I cannot find this error in the source. The closest I find is in cpython/Python/ceval.c, lines 5060 & 5068, but they both say: cannot import name %R from %R (*) and my message doesn't include the 'from ...'. I'm using: Python 3.6.5 (default, Sep 14 2018, 14:56:31) [GCC 7.3.0] on linux Thanks, Arthur ---------- components: Interpreter Core messages: 341478 nosy: ArthurGoldberg priority: normal severity: normal status: open title: Understanding "cannot import name" exception type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36808> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com