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

I did not send a patch. I'm looking at the regex in url._parse_rfc1738_args and
trying to decide if I can just change it to..

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


er, i dunno, id have to try it. theres a unittest you can expand upon which is test/parseconnect.py

Regarding prefixing these extra args.. I don't see why that'd be necessary, since engines would have to pull out whatever args they're looking for from the URL object, and an engine is only going to get args for which it was the named
'scheme' in the uri anyway.


ha ! i was just testing you.  very good !

:)

(i.e. "duh" on my part).


well, test/select.py fails as follows, I don't see any engine calls there or any firebird.py on the stack (wondering why postgres.dialect() is in there.


its got some tests for specific engines in there, like three or four, which load in the postgres or oracle engine. yes those should probably be moved...but, i think the errors youre getting are because the "Dialect" gets its "paramstyle" from the DBAPI module, i.e. psycopg2 in the case of postgres, and then since you dont have it installed, it falls back on the default which is "named", thus producing the mismatch of paramstyles you see there.

so ok, dont worry about select.py too much....worry about 'transaction', 'reflection', 'testtypes', 'indexes', 'query', 'defaults', 'mapper', 'selectresults', 'objectstore', 'cascade', 'cycles', and...that should get you pretty far.

i have a plan to reorganize the test cases into subdirectories since theyre piling up really quick and to organize them better, so.....thanks for bearing with them for now.



-------------------------------------------------------
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