[issue46902] Typo hint message for from-imports?

2022-03-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I evaluated this, but is considerably more complex than the regular import, because one triggers an attribute error where we have the full module but in the second case we don't have the full module ready, so it requires considerable modifications. I

[issue46902] Typo hint message for from-imports?

2022-03-02 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue46902] Typo hint message for from-imports?

2022-03-02 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +pablogsal versions: -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue46902] Typo hint message for from-imports?

2022-03-02 Thread Jean Abou Samra
New submission from Jean Abou Samra : See for example: >>> from pygments.regexopt import regexopt Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'regexopt' from 'pygments.regexopt' (/home/jean/repos/pygments/pygments/regexopt.py) >>> from pygments.reg