On 13.02.2006., at 23:51, Michael Bayer wrote:


Hey there -

I have a ticket system set up in trac which is pretty easy to use, but
people seem to be posting patches to the mailing list. Trac is probably better since I prefer to, well, "trac" them :). I am also so far pretty
flexible about adding people to the commit list if they are really
starting to own parts of the code or are generally fixing things.

I was looking at the trac issue tracker but didn't find a way to report a new issue so I assumed that a login was required
but saw no "register" link.

For now I plan just fix things. I'm pretty sure murphy's law will help me find bugs since I'm bulding a relatively big application :-)


I like this patch, should we also try to put some type- introspection in
the "literal()" function, so that we get the correct operator for:

   literal("hello") + literal("world")

vs.

   literal(3) + literal(5)

?

that would be nice. I wonder if a plain hardcoding of isinstance (value, basestring) is good or perhaps something more extensible. It's a shame that we cannot add methods to builtin types in python in order to do double dispatching.

However I think that it's mainly useful for strings since many rdb don't use the + operator for concatenation but numeric values obey to + without problems.

As a side note in m$sql when you use + on string operands it tries transparently to cast them to numeric values and so subtle bugs could be hidden.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to