Pony ORM 0.6 Release Candidate 1
Pre-release
Pre-release
Blog post: http://blog.ponyorm.com/2014/10/08/pony-orm-0-6-release-candidate-1
New features:
- Python 3 support
- pymysql adapter support for MySQL databases
Backward incompatible changes
Now Pony treats both str
and unicode
attribute types as they are unicode strings in both Python 2 and 3. So, the attribute declaration attr = Required(str)
is equal to attr = Required(unicode)
in Python 2 and 3. The same thing is with LongStr
and LongUnicode
- both of them are represented as unicode strings now.
For the sake of backward compatibility Pony adds unicode
as an alias to str
and buffer
as an alias to bytes
in Python 3.