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.
Created on 2016年07月12日 15:54 by gvanrossum, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg270251 - (view) | Author: Guido van Rossum (gvanrossum) * (Python committer) | Date: 2016年07月12日 15:54 | |
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? |
|||
| msg270259 - (view) | Author: Ethan Furman (ethan.furman) * (Python committer) | Date: 2016年07月12日 17:58 | |
This change was done in issue25548. |
|||
| msg270361 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年07月14日 04:13 | |
New changeset 4f11e6b72e8f by Benjamin Peterson in branch 'default': Backed out changeset af29d89083b3 (closes #25548) (closes #27498) https://hg.python.org/cpython/rev/4f11e6b72e8f |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:33 | admin | set | github: 71685 |
| 2021年08月18日 05:20:52 | ned.deily | set | pull_requests: - pull_request26016 |
| 2021年07月30日 21:42:07 | python-dev | set | pull_requests: + pull_request26016 |
| 2016年07月14日 04:13:42 | python-dev | set | status: open -> closed nosy: + ned.deily, python-dev messages: + msg270361 resolution: fixed stage: resolved |
| 2016年07月13日 13:47:04 | abarry | set | nosy:
+ abarry |
| 2016年07月13日 04:08:13 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka |
| 2016年07月12日 23:38:25 | ned.deily | set | priority: normal -> release blocker |
| 2016年07月12日 20:38:15 | Tim.Graham | set | nosy:
+ Tim.Graham |
| 2016年07月12日 18:53:48 | brett.cannon | set | nosy:
+ kushal.das |
| 2016年07月12日 17:58:28 | ethan.furman | set | nosy:
+ ethan.furman messages: + msg270259 |
| 2016年07月12日 16:38:04 | r.david.murray | set | nosy:
+ rhettinger |
| 2016年07月12日 15:54:02 | gvanrossum | create | |