pyresto icon indicating copy to clipboard operation
pyresto copied to clipboard

Python 3 Compatibility

Open BYK opened this issue 13 years ago • 1 comments

For the project to be future proof, it should be compatible with Py3k. If possible this should be done in a manner which does not break backwards compatibility with Python 2.7 but if necessary a new module/branch should be created.

BYK avatar Apr 26 '12 08:04 BYK

Metaclass: http://packages.python.org/six/#six.with_metaclass

Django codebase (django.db.models.base.Model):

class Model(six.with_metaclass(ModelBase, object)):
    # ...

berkerpeksag avatar Oct 25 '12 14:10 berkerpeksag