This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Asdger Gdsfe
Recipients Asdger Gdsfe, Dave Jones, eryksun, ncoghlan, serhiy.storchaka
Date 2018-03-17.01:22:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521249721.58.0.467229070634.issue29270@psf.upfronthosting.co.za>
In-reply-to
Content
Hey 3.6 is pretty old now so can we get this patch merged I'd really like this code to start working again, appreciate all your hard work!

class Something(ctypes.c_ulong):
  def __repr__(self):
    return super(Something, self).value

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __class__ set to <class '__main__.Something'> defining 'Something' as <class '__main__.Something'>
History
Date User Action Args
2018-03-17 01:22:01Asdger Gdsfesetrecipients: + Asdger Gdsfe, ncoghlan, serhiy.storchaka, eryksun, Dave Jones
2018-03-17 01:22:01Asdger Gdsfesetmessageid: <1521249721.58.0.467229070634.issue29270@psf.upfronthosting.co.za>
2018-03-17 01:22:01Asdger Gdsfelinkissue29270 messages
2018-03-17 01:22:00Asdger Gdsfecreate