python 3k version does not accept Decimal objects as bind parameters
Bug #411133 reported by
Mike Bayer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pg8000 |
New
|
Undecided
|
Unassigned |
Bug Description
test case passes with python 2k, fails with the latest hg tip at http://
from pg8000 import dbapi
from decimal import Decimal
connection = dbapi.connect(
cursor = connection.cursor()
cursor.execute("""
CREATE TABLE numeric_table (
numericcol NUMERIC(10, 2)
)
""")
# works on both Py2K/Py3K
cursor.
# works on Py2K, fails on Py3K
cursor.
To post a comment you must log in.