[issue14965] super() and property inheritance behavior

2021-05-20 Thread Will Razen


Will Razen  added the comment:

@simonzack Your superprop.py doesn't work for multiple inheritance, because 
you're using __thisclass__.__mro__ in each step instead of the initial object 
mro

--
nosy: +willrazen

___
Python tracker 
<https://bugs.python.org/issue14965>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14965] super() and property inheritance behavior

2021-05-20 Thread Will Razen


Will Razen  added the comment:

Fixed superprop.py workaround, now works with multiple inheritance and follows 
mro adequately. Renamed to duper.py as inspired by Torsten. Uploading here and 
also to https://gist.github.com/willrazen/bef3fcb26a83dffb6692e5e10d3e67ac

--
Added file: https://bugs.python.org/file50057/duper.py

___
Python tracker 
<https://bugs.python.org/issue14965>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com