Multiple inheritance with old-style classes in Python 2?
Do we want to support Python 2 old-style classes for multiple inheritance? Personally, I don't think that we should, but it's something that has to be decided. The reason I ask is that my code from https://github.com/cython/cython/pull/2033 is actually broken when given an old-style class.
No. Python2 is obsolete, old style classes even more so. On Thu, Jan 25, 2018 at 12:22 PM Jeroen Demeyer <J.Demeyer@ugent.be> wrote:
Do we want to support Python 2 old-style classes for multiple inheritance? Personally, I don't think that we should, but it's something that has to be decided.
The reason I ask is that my code from https://github.com/cython/cython/pull/2033 is actually broken when given an old-style class. _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
No, we don't care about supporting this, but we should detect and reject it informatively when possible. On Thu, Jan 25, 2018 at 9:40 AM, Elizabeth A. Fischer <elizabeth.fischer@columbia.edu> wrote:
No. Python2 is obsolete, old style classes even more so.
On Thu, Jan 25, 2018 at 12:22 PM Jeroen Demeyer <J.Demeyer@ugent.be> wrote:
Do we want to support Python 2 old-style classes for multiple inheritance? Personally, I don't think that we should, but it's something that has to be decided.
The reason I ask is that my code from https://github.com/cython/cython/pull/2033 is actually broken when given an old-style class. _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
_______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
participants (3)
-
Elizabeth A. Fischer -
Jeroen Demeyer -
Robert Bradshaw