On Jun 26, 2008, at 3:58 AM, Jeroen Ruigrok van der Werven wrote:

>
> -On [20080626 09:26], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
>> from trac.core import *
>
> This is regarded as bad Python style by the way.

No, trac.core is designed specifically to be an importstar'able  
module. Otherwise the first line in every plugin would be importing a  
half-dozen things from that.

--Noah

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to