[Python-modules-commits] [sqlobject] 15/15: More work on NEWS
Neil Muller
drnlmza-guest at moszumanska.debian.org
Wed Jun 29 15:11:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
drnlmza-guest pushed a commit to branch master
in repository sqlobject.
commit 701e6ce7fb182b75e28e2ec32a63f3854a6191e7
Author: Neil Muller <drnlmuller+debian at gmail.com>
Date: Wed Jun 29 17:09:10 2016 +0200
More work on NEWS
---
debian/NEWS | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/NEWS b/debian/NEWS
index 406aa03..5c67665 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -7,6 +7,24 @@ sqlobject (3.0.0-1) unstable; urgency=low
been moved to the python-sqlobject-bin package and the documentation
has been moved to the python-sqlobject-doc package.
+ The following behaviour changes between Python 2 and Python 3 are important:
+
+ * In Python 3, BLOBCol now accepts and returns bytes, rather than strings as
+ it did in Python 2.
+ * In Python 3, StringCol now accepts arbitrary Unicode strings.
+ * The dbEncoding parameter to UnicodeCol has no effect in Python 3 code,
+ as this is now handled by the underlying database layer. The parameter
+ is still available for those writing Python 2 compatible code.
+
+ Also note that, when using Python 3 and MySQL, the default encoding
+ on MySQL is "latin1", which can cause problems with general Unicode
+ strings. The SQLObject authors recommend specifying the character
+ set as "utf8" to avoid problems in this case.
+
+ For more information on the changes between Python 2 and Python 3,
+ see /usr/share/doc/python-sqlobject-doc/Python3.txt from the
+ python-sqlobject-doc package.
+
The helper applications use python 3 by default. If you need to run
them under python 2, you will need to explicitly specify the
python interpreter: "/usr/bin/python2 /usr/bin/sqlobject-admin <options>".
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sqlobject.git
More information about the Python-modules-commits
mailing list