In modules where I define tables, mappers and such I typically use:

     from sqlalchemy import *

I noticed in 0.3.0 there is a logging variable imported that can 
conflict with the Python logging module.  The symptom appeared when I 
ran some unit tests after upgrading SA and got the error:

     log = logging.getLogger("my_project")
     AttributeError: 'module' object has no attribute 'getLogger'

I think either I should not use "from sqlalchemy import *" or nothing 
imported from sqlalchemy should overwrite Python keywords or standard 
module names.

Randall


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

Reply via email to