On Jul 11, 2007, at 2:49 PM, Mike Orr wrote:

>
> It is awkward but Python has no other built-in value for "default".
> Using a string means people may spell it differently, and the
> .metadata and .engine properties require a fixed value.  Making it
> optional means the second positional argument would sometimes move to
> the first (like Pylons  render_response("/template.html") vs
> render_response("mako", "/template.html"), and I'm absolutely opposed
> to that.  Mike doesn't like positional arguments for SAContext but i
> think they make sense in these cases.  So None was the best compromise
> I could find.

i've no problem with positional arguments.

>
> I'm open to changing it to "default" if people like that better.  It
> does mean people would have to pass the exact string or
> sacontext.DEFAULT (which used to exist but currently doesn't).

id -1 on that, if possible.  if theres some way for "no arguments" to  
do the right (i.e. expected) thing, thats best.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to