> Ok, thanks. > I have never seen this pattern in use. > If the import is done inside a function, usually there are no problems > with circular module import.
Its a performance gain as the second time you hit that function you don't have to import it again. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.