On Wed, Mar 09, 2011 at 05:47:26PM +0300, Oleg Broytman wrote:
> * Major API change: DB URI parser was changed to use urllib.split*() and
>   unquote(). This means any username/password/path are allowed in DB
>   URIs if they are properly %-encoded, and DB URIs are automatically
>   unquoted.

   I have been trying to preserve backward compatibility as much as
possible. Most URIs are not affected at all. Dirty trick with w32 paths
(C|/path instead of C:/path) is still supported, though C:/path is now
the recommended syntax. Old API is preserved:
connectionForURI(uri, oldUri=True), DBConnection.connectionFromOldURI(),
DBConnection.oldURI(). There is a script sqlobject-convertOldURI that
accepts old-style URI at the command line and prints to stdout the URI
in the new format.
   Anyway - a prolonged beta period.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to