On Apr 11, 2007, at 7:09 AM, Jorge Godoy wrote:

>
> Michael Bayer <[EMAIL PROTECTED]> writes:
>
>> importing inside a method is perfectly fine, ill try to see if theres
>> a workaround but sometimes there really isnt...
>
> Isn't there a problem with Python 2.5 and imports inside methods?

that would mean python 2.5 is horribly incompatible with thousands of  
existing applications.  i have imports inside of methods in many  
places and havent had a problem.

> I'm on a
> machine with Python 2.4.3 now, so I can't test, but when I updated  
> one of
> mine, I've had to change some code to get TG running fine.  It some  
> import in
> Cheetah that had to be put at the top of the file to work correctly.

well i dont know, but TG is using rule dispatch and other magical  
things, so who knows.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to