Re: [Sqlalchemy-tickets] [sqlalchemy] #2161: Py3k support for the C extension
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-07-04 17:47:41
|
#2161: Py3k support for the C extension
-------------------------------+-------------------------------
Reporter: ged | Owner: pjenvey
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.xx
Component: cextensions | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: needs review |
-------------------------------+-------------------------------
Comment (by claudiofreire):
The biggest API difference is that everything is unicode now.
So, while in py2 parsing a datetime is easily done with sscanf, in py3 you
must first convert to ASCII, and catch errors in the process. There's a
LOT of boilerplate to do that, and Cython has it all pretty well cooked,
hiding all that boilerplate that is indeed quite different between py2 and
py3.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2161#comment:22>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|