]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression.
authorR David Murray <rdmurray@bitdance.com>
Fri, 11 Jan 2013 02:10:40 +0000 (21:10 -0500)
committerR David Murray <rdmurray@bitdance.com>
Fri, 11 Jan 2013 02:10:40 +0000 (21:10 -0500)
commit32851d61f2779b4fcefb92fa0a74f814a87211cb
tree33fd54e670a79121c4f9705283dd5805d5eb7317
parentbcd9971b0592946687d8aeb120efde5b8f5909e6
#15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression.

With '%', non-ascii worked because the '%' automatically got promoted to
unicode.  With format that doesn't happen, which led to encoding errors.  This
fix goes back to using %, and adds a test to make sure non-ascii string values
work in iterdump.
Lib/sqlite3/dump.py
Lib/sqlite3/test/dump.py
Misc/NEWS