2012.12.22

MySQL

MySQL Connector/Python 1.0.8がリリースされました

オリジナル版:http://lists.mysql.com/announce/813

>MySQL Connector/Python v1.0.8はMySQL用のピュアPythonデータベースドライバの1.0プロダクションリリースの新バージョンです。

MySQL Connector Pythonのバージョン1.0はMySQL 5.5以上と互換性を持ちますが、それ以前のバージョンでも動作します(バージョン4.1以上)。Python v2.6とPython v3.1以上でサポートされます。Python v2.4とv2.5で動作することは知られていますが、公式にはサポートされません。

MySQL Connector/Python v1.0.8はhttp://dev.mysql.com/downloads/connector/python/#downloadsからダウンロード可能です。

MySQL Connector/Python v1.0での変更の要約は下記にリストアップされています。より完全な変更のリストは配布物内の変更履歴を確認してください。

Changes in MySQL Connector/Python v1.0.8
----------------------------------------

Bug  Fixes:

* Fixed MySQLConnection.ping() so it only reconnects when the
   reconnect argument is set to True. (Bug #15915243, Bug #67650)

* Fixed storing multiple results after calling stored procedures
   which are using arguments. (Bug #15916486, Bug #67710)

* Fixed handling MySQL errors when doing handshake. (Bug #15836979)

* Fixed support for connecting to MySQL using IPv6 addresses. (Bug
   #15876886, Bug #15927825)

* Fixed reading the header of MySQL packets. Previously, we were
   reading the MySQL packet headers as 4 (or 7) bytes long buffers
   from the socket. When we did have the correct length, we would
   immediately raise an exception.
   We now keep reading data from the socket until we got the full
   header or bail out on errors. (Bug #14829471, Bug #67303)

* Fixed the error message when the TCP/IP port number is not a valid
   integer. Strings are first converted to integer and raise an error
   with a proper error when this fails. (Bug #13808727, Bug #64543)

* Fixed authenticating for Python v2 using usernames and/or
   passwords which contain Unicode characters using Python v2. (Bug
   #14843456, Bug #67306)

* Fixed reporting of socket errors. (Bug #14802017)

* Fixed executemany() to support the pyformat parameter style. (Bug
   #14754894, Bug #67146). The regular expression parsing the INSERT
   statement did not work when pyformat markers where used, that is,
   '%(c1)s' for example. This is now fixed so both ANSI C printf and
   Python extended format codes can be used by
   MySQLCursor.executemany().