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 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)
?
- mike
Marko Mikulicic wrote:
> Hello,
>
> I just found this project and I'm interested in development.
> I'm building a custom application using zope3 and I wanted to use
> sqlalchemy as ORM instead of writing my own
> (since I'm not satisfacted with the available alternatives)
> I'm an experienced python and postgres programmer willing to contribute.
>
> Here is my first little patch. Do you have some policy on where to
> send patches ?
>
> regards
> marko
>
> ===================================================================
> --- lib/sqlalchemy/databases/postgres.py (revision 953)
> +++ lib/sqlalchemy/databases/postgres.py (working copy)
> @@ -277,7 +277,12 @@
> text += " \n LIMIT ALL"
> text += " OFFSET " + str(select.offset)
> return text
> -
> + def binary_operator_string(self, binary):
> + if isinstance(binary.type, sqltypes.String) and
> binary.operator == '+':
> + return '||'
> + else:
> + return ansisql.ANSICompiler.binary_operator_string(self,
> binary)
> +
> class PGSchemaGenerator(ansisql.ANSISchemaGenerator):
>
> def get_column_specification(self, column, override_pk=False,
> **kwargs):
> Index: examples/adjacencytree/basic_tree.py
>
>
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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