MySQL Forums
Forum List  »  Announcements

MySQL Connector/Python 1.1.2-alpha has been released
Posted by: Balasubramanian Kandasamy
Date: October 23, 2013 10:39AM

 

Dear MySQL users,

MySQL Connector/Python 1.1.2 is the next alpha version of
the 1.1 release series of the pure Python database driver
for MySQL. It is intended to introduce users to the new features.

This release is not feature complete but it should be stable
enough for users to understand the new features and how we
expect them to work.

As is the case with all non-GA releases, it should not be used
in any production environment.

MySQL Connector/Python version 1.1.2-alpha is compatible with MySQL Server
versions 5.5 and greater, but should work with earlier versions
(greater than 4.1). Python 2.6 and 2.7, as well as Python 3.1
and greater are supported.

MySQL Connector/Python 1.1.2-alpha is available for download from

http://dev.mysql.com/downloads/connector/python/#downloads

The ChangeLog file included in the distribution contains a brief summary
of changes in MySQL Connector/Python 1.1.2. For a more complete list of
changes, see below or online at:

http://dev.mysql.com/doc/relnotes/connector-python/en/

Changes in MySQL Connector/Python 1.1.2 (2013-10-23, Alpha)
--------------------------------------------------------------------------------------


Functionality Added or Changed

     * The error message raised when a connection pool has no more
       connections available now indicates "pool exhausted" rather
       than "queue is empty". (Bug #17406263)

     * Previously, instantiating a cursor for prepared statements was
       done using
       MySQLConnection.cursor(cursor_class=MySQLCursorPrepared). Now
       this can be done using MySQLConnection.cursor(prepared=True).
       (Bug #17215197)

     * Previously, setting a custom converter class was possible
       after instantiating a new connection object. The connect()
       method now accepts a converter_class connection argument that
       takes a class and sets it when configuring the connection. An
       AttributeError is raised if the the custom converter class is
       not a subclass of conversion.MySQLConverterBase. (Bug
       #13551483)

     * The connect() method now accepts a boolean
       compress={False|True} argument indicating whether to use the
       compressed client/server protocol (default False). This
       provides an easier alternative to setting the
       ClientFlag.COMPRESS flag. (Bug #13369592)

   Bugs Fixed

     * In some cases, when a Connector/Python application exited, a
       RuntimeError was raised when using Python 3. (Bug #17424009)

     * The DatabaseOperations.last_executed_query() method in the
       Django base module was unnecessarily decoding the string,
       resulting in an error when using Python 3. (Bug #70324, Bug
       #17473273)


Documentation
--------------------

Online:http://dev.mysql.com/doc/connector-python/en/index.html

The source distribution includes the manual in various formats under
the docs/ folder.

Reporting Bugs
--------------------

We welcome and appreciate your feedback and bug reports:
http://bugs.mysql.com/

Enjoy!

On Behalf of the MySQL RE team at Oracle,

Balasubramanian Kandasamy 


Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Connector/Python 1.1.2-alpha has been released
2650
October 23, 2013 10:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.