This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author joel.larose
Recipients conchylicultor, eric.smith, gvanrossum, joel.larose, larry, xtreak
Date 2021-04-09.07:51:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617954715.86.0.698966656827.issue43746@roundup.psfhosted.org>
In-reply-to
Content
An easy workaround would be to alias your import or to import your class directly.

```
from ... import losses as l

class A:
  losses: l.Losses = l.Losses()
```

or 

```
from ...losses import Losses

class A:
  losses: Losses = Losses()
```
History
Date User Action Args
2021-04-09 07:51:55joel.larosesetrecipients: + joel.larose, gvanrossum, larry, eric.smith, xtreak, conchylicultor
2021-04-09 07:51:55joel.larosesetmessageid: <1617954715.86.0.698966656827.issue43746@roundup.psfhosted.org>
2021-04-09 07:51:55joel.laroselinkissue43746 messages
2021-04-09 07:51:55joel.larosecreate