Why does __init__ try to import __authors__ ? #5370
Replies: 2 comments 3 replies
-
|
So https://peps.python.org/pep-0008/#module-level-dunder-names
EDIT crossed out incorrect suggestions/assumptions |
Beta Was this translation helpful? Give feedback.
-
|
Linking to my comment on the PR #5367 (comment) — just in case people come across this question again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Come from here (#5367 (comment)), but why does this bit code exists in the top level
__init__?I removed the try block and the logging stuff and my testsuite works fine:
Beta Was this translation helpful? Give feedback.
All reactions