-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2012-11776 2012-08-13 01:44:25 --------------------------------------------------------------------------------
Name : mysql-connector-python Product : Fedora 16 Version : 1.0.5 Release : 1.fc16 URL : http://dev.mysql.com/usingmysql/python/ Summary : MySQL Connector for Python 2 Description : MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. No MySQL libraries are needed, and no compilation is necessary to run this Python DB API v2.0 compliant driver. -------------------------------------------------------------------------------- Update Information: Upstream changelog: Added SQL Modes as constants, making it easier to use them (WL#6411) * Setting the SQL Modes meant that developers had to make sure the string passed to MySQL was correctly formatted and contains the correct modes. To make it easier, a new class constants.SQLMode containing all the SQL Modes was added: for example, constants.SQLMode.TRADITIONAL will return the string 'TRADITIONAL'. * Additonally, MySQLConnection.sql_mode property now accepts a sequence of SQL Modes. For example, to set 2 SQL Modes, you can do the following cnx.sql_mode = [SQLMode.REAL_AS_FLOAT, SQLMode.NO_ZERO_DATE] Added descriptive error codes for both client and server errors (WL#6351) * The errorcode module contains client and server error codes which can be used instead of the error numbers. For example, errorcode.CR_CONNECTION_ERROR is 2002. * A new locales sub-package has been created in mysql.connector. This will provided localized content. The first support language is the default English and contains the client error messages: locales.eng.client_error. To retrieve a client error based on the error number or code (name) you can use the get_client_error() function importing it from locales: from mysql.connector.locales import get_client_error() * Error messages and error codes are automatically fetch from the latest development release of MySQL. The errorcode.py and all files in the locales package are generated. You can see the generation date and the version of MySQL which was used in those files. -------------------------------------------------------------------------------- ChangeLog: * Wed Aug 8 2012 Remi Collet <[email protected]> - 1.0.5-1 - version 1.0.5 (beta) - move from launchpad (devel) to dev.mysql.com -------------------------------------------------------------------------------- This update can be installed with the "yum" update program. Use su -c 'yum update mysql-connector-python' at the command line. For more information, refer to "Managing Software with yum", available at http://docs.fedoraproject.org/yum/. All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/package-announce
