On May 30, 2006, at 9:20 PM, Brad Clements wrote:

    pattern = re.compile(r'''
            (\w+)://
            (?:
                ([^:]*)
                (?::(.*))?
            @)?
            (?:
                ([^/:]*)
                (?::([^/]*))?
            )?
            (?:/[^?]*)?
            (?:?(.*))?
            '''
            , re.X)


changeset 1562 implements the basic idea of this, the key/value pairs after the ? get fed into the Dialect's **kwargs (explicit **kwargs override the values in the query string).

I did a little bit of parse unittesting but not much else, so give it a shot.




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to