[New-bugs-announce] [issue46082] type casting of bool
aziz
report at bugs.python.org
Wed Dec 15 06:21:17 EST 2021
New submission from aziz <p146111 at nu.edu.pk>:
>>> st = "True"
>>> bool(st)
True
>>> st = "False"
>>> bool(st)
True
>>>
>>> stk = "False"
>>> bool(stk)
True
>>> eval(stk)
False
----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 408595
nosy: aziz
priority: normal
severity: normal
status: open
title: type casting of bool
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46082>
_______________________________________
More information about the New-bugs-announce
mailing list