Issue2691

classification
Title: __format__ method not implemented for boolean types - uses int
Type: behaviour Severity: minor
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: _peter_holloway
Priority: Keywords:

Created on 2018-06-12.11:17:48 by _peter_holloway, last changed 2018-06-12.11:17:48 by _peter_holloway.

Messages
msg12008 (view) Author: Peter Holloway (_peter_holloway) Date: 2018-06-12.11:17:48
In cPython 2.7.12, '{}'.format(True) results in the string 'True'.

In Jython 2.7.1, the same line results in '1'.
History
Date User Action Args
2018-06-12 11:17:48_peter_hollowaycreate