Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed that this "hack" is very ugly!

On the other hand, I tend to take it as a hint that I should look at my module structure, and see if I can avoid the cyclic import (even if before adding type hints there was no error, there still already was a "semantic dependency"...)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: