We chose python for a new project because we wanted to use a language where we could write beautiful code in non-verbose way.
Our consultant we used to write the code has delivered a great working solution. But when we look at the code, it's riddled with function local from X import Y
. We promptly moved the imports to the top of the files but are now stricken with circular dependencies. We have absolutely no wish to resolve the circular dependencies and we have no wish to move the imports back to the functions, which is extremely verbose.
Question 1: How do we resolve this?
Question 2: what is this circular dependency non-sense? How can the Python community accept this when other languages seems to have solved this just fine? (I hope it isn't regarded as a feature of some kind)