Message270251
In Python 3.6, the repr() of a class includes its memory address.
This is going to cause a lot of problems for tests in 3rd party code that expects the nice and clean <class '__main__.C'> instead of <class '__main__.C' at 0x7feb0360f568>.
I understand the desire to provide more clarity in case somehow two class objects created at different times have the same name -- but I'm not sure I like to rub the hex address in the user's face all the time.
Can we please roll this back or think about a better way to reveal this that won't break so many 3rd party tests? |
|
| Date |
User |
Action |
Args |
| 2016-07-12 15:54:02 | gvanrossum | set | recipients:
+ gvanrossum |
| 2016-07-12 15:54:02 | gvanrossum | set | messageid: <1468338842.06.0.843714859349.issue27498@psf.upfronthosting.co.za> |
| 2016-07-12 15:54:02 | gvanrossum | link | issue27498 messages |
| 2016-07-12 15:54:01 | gvanrossum | create | |
|