STINNER Victor added the comment:

Not only test_gdb relies on repr() exact value, there is also test_functools:

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6875/steps/test/logs/stdio

======================================================================
FAIL: test_repr (test.test_functools.TestPartialC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_functools.py",
 line 174, in test_repr
    repr(f))
AssertionError: 'func[51 chars]88>, b=<object object at 0xffffdd7fff790440>, 
[36 chars]00>)' != 'func[51 chars]88>, a=<object object at 0xffffdd7fff790400>, 
[36 chars]40>)'
- functools.partial(<function capture at 0xffffdd7ffe64d788>, b=<object object 
at 0xffffdd7fff790440>, a=<object object at 0xffffdd7fff790400>)
+ functools.partial(<function capture at 0xffffdd7ffe64d788>, a=<object object 
at 0xffffdd7fff790400>, b=<object object at 0xffffdd7fff790440>)


======================================================================
FAIL: test_repr (test.test_functools.TestPartialCSubclass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/test_functools.py",
 line 174, in test_repr
    repr(f))
AssertionError: 'Part[49 chars]88>, b=<object object at 0xffffdd7fff790540>, 
[36 chars]00>)' != 'Part[49 chars]88>, a=<object object at 0xffffdd7fff790500>, 
[36 chars]40>)'
- PartialSubclass(<function capture at 0xffffdd7ffe64d788>, b=<object object at 
0xffffdd7fff790540>, a=<object object at 0xffffdd7fff790500>)
+ PartialSubclass(<function capture at 0xffffdd7ffe64d788>, a=<object object at 
0xffffdd7fff790500>, b=<object object at 0xffffdd7fff790540>)

----------
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19183>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to