From: Oleg B. <ph...@ph...> - 2011-03-09 14:56:37
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |