Terry J. Reedy added the comment:
The issue History suggests that the original report was marked for 2.6, 3.0,
3.1. It is not clear which versions the OP or anyone else tested. I removed
the versions above and added 3.2, 3.3 after reporting a test on 3.2.0. I did
not report 2.7 behavior
Cheryl Sabella added the comment:
Under 3.7, the examples Terry gave now have consistent results.
>>> '' % A()
Traceback (most recent call last):
File "", line 1, in
TypeError: not all arguments converted during string formatting
>>> '' % object()
Traceback (most recent call last):
File
Changes by Francis MB franci...@email.de:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6396
___
___
Python-bugs-list mailing
Terry J. Reedy tjre...@udel.edu added the comment:
The original bug claim is invalid. But the following (3.2.0, winxp) strike me
as a bug, hence the title change
class A: pass
'' % A()
''
'' % object()
...
TypeError: not all arguments converted during string formatting
More difference: