Created by MySQL RE and last modified

*** NOTE ***
As of August 2014 we are no longer publishing Connector/Python on Launchpad. Starting with 2.0, publishing is done on GitHub.
Please see https://github.com/mysql/mysql-connector-python
*** END NOTE ***

Get this branch:
bzr branch lp:myconnpy/1.2
Members of Oracle/MySQL Engineering can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Oracle/MySQL Engineering
MySQL Connector/Python

Recent revisions

516. By Balasubramanian Kandasamy

BUG#19444705: Fix Connector/Python dependency for utilities 1.5.1

515. By hery ramilison

BUG#19440592: Fix exception not captured when SSL is unavailable

514. By Geert JM Vanderkelen

Preparing release 1.2.3

513. By Geert JM Vanderkelen

BUG#19163169: Add support for Django 1.7

Restore compatibility with with Python 2.6. Django 1.7
dropped support for Python 2.6, but we need to make
sure the connector can install.

512. By Peeyush Gupta <email address hidden>

BUG#19163169: Add support for Django 1.7

This patch makes connector/python compatible with Django 1.7.
Django 1.7 supports schema migration, this patch adds a file
schema.py required by django for schema migrations.
Also fixes issues with django datetime fields.

511. By Peeyush Gupta <email address hidden>

BUG#19225481: Fix floating point inaccuracy with Python v2

Fix Connector/Python truncating digits from float values with
Python v2. This was not happening with Python v3 since str()
function in v3 does not truncate digits while converting
floats to string. This was resolved by using repr() instead of
str() for floating point values while converting them to string.

A unit test has been added for BUG#19225481.

510. By Peeyush Gupta <email address hidden>

BUG#19164627: Fix cursor trying to decode linestring data as utf-8

While converting row values coming from mysql server, cursor was trying
to convert LINESTRING data as utf-8 which was raising an exception.
This patch avoids this by returning such kind of values without decoding.

A testcase has been added for BUG#19164627.

509. By Peeyush Gupta <email address hidden>

BUG#18956789: Fix Django TimeField 00:00:00 converting to MySQL NULL

We fix saving Django's TimeField values so that 00:00:00 is correctly
converted instead of saving as NULL. Python considered a time 00:00:00
as False, which gave problems when validating.

508. By Peeyush Gupta <email address hidden>

BUG#18843153: Fix Django to check connection on each request

Each time a database request is made, the Django backend will
make sure that the database connection is still valid. Before,
a RuntimeError exception was raised when the application was
inactive for a while.

507. By Geert JM Vanderkelen

BUG#18694096: Fixed negative conversion timedelta values

Negative timedelta values were incorrectly converted to and
from Python. The unit test cases were wrong and have been

A new test case for BUG #18694096 has been added.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.