Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Circular imports in Python 2 and Python 3: when are they fatal? When do they work?

This comment has been minimized.

Copy link

RomanKhudobei commented Jun 7, 2018

Hi. Thanks for this information. I'm learning Django Rest Framework and faced with cyclic import. I was searching a lot but anything didn't work. From your suggestions only last works for me. I don't know why. Maybe I do something wrong. Looks ugly, but working. If you can look at my attempts, I'll be very thankful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.