On Nov 14, 2007, at 6:43 AM, Felix Schwarz wrote:
> > I think the problem is in sqlalchemy/sql/compiler.py with the > regular expression in BIND_PARAMS. The regex extracts the value 'tbl' > in the first match group from the generated query > SELECT "tbl-Foo+ID"."id-Foo+ID", "tbl-Foo+ID".name > FROM "tbl-Foo+ID" > WHERE "tbl-Foo+ID"."id-Foo+ID" = :tbl-Foo+ID_id-Foo+ID > (see DefaultCompiler.after_compile()) > > I suspect that the regex > BIND_PARAMS = re.compile(r'(?<![:\w\$\x5c]):([\w\$]+)(?![:\w\ > $])', re.UNICODE) > should be extended so that it accepts '-', '+' and other unusual # > characters. > > So after all, it looks like a bug to me but if someone knows a > workaround, that would be fine, too :-) > > fs > > PS: Thank you all very much for the first-class support here! great news, that regex is gone in the trunk. try out the SVN trunk. also yeah those column names are super wacky..... :) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
