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

I often end up having to inline imports, because python doesn't support circular imports.

Of course, "don't do circular imports". But if my Orders model has OrderLines, and my OrderLines points to their Order, it's damn hard to avoid without putting everything in one huge file..



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

Search: