-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ben De Luca ha scritto: > >> 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. >
Isn't this done by the Python interpreter? Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkuAATgACgkQscQJ24LbaUTGMwCeIutBcbM4IZYzjH3uAuloLC5j gwoAmgL2QA0Her6a2o0eKcpMpIByf8Lo =Niy3 -----END PGP SIGNATURE----- -- 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.