[TxMt] Re: Python: SQL in triple " strings scope

Alex Ross alex.j.ross at gmail.com
Tue Oct 9 18:55:00 UTC 2007


OK… I'm going to go ahead and add an include for SQL to any python  
string that begins with an all capital SELECT.  (I know caps are ugly  
Alexei, maybe this will teach you not to embed sql in your strings. :D )

I'm not sure if I should also add an sql-include for unicode  
strings.  Opinions?

Also, I don't think it makes sense to add an sql-include for raw  
strings, so I won't be doing that.

–Alex




More information about the textmate mailing list