quoted_name fails to repr()

Issue #2868 resolved
Mike Bayer repo owner created an issue

e.g.

# coding: utf-8
from sqlalchemy import *
from sqlalchemy.util import ue

m = MetaData()
t = Table(ue('\u6e2c\u8a66'), m, Column(ue('\u6e2c\u8a66_id'), Integer))

print repr(t)

encode error!

Comments (6)

  1. Mike Bayer reporter
    • changed status to open
    • removed status

    totally wrong, the test is hardcoded to python 2, u'' is coming out in repr now screwing up other tests. try again

  2. Log in to comment