On 17/10/2026 16:02, Richard Kettlewell wrote: [..]
> Python is absolutely a typed language. Every object has a type and it > won’t let you use objects in a manner incompatible with their type: > > >>> 0+"" > Traceback (most recent call last): > File "<python-input-0>", line 1, in <module> > 0+"" > ~^~~ > TypeError: unsupported operand type(s) for +: 'int' and 'str'
On the other hand: ❯ python3 Python 3.14.7 (main, Aug 8 2026, 20:03:42) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin Type "help", "copyright", "credits" or "license" for more information.
>>> 0+True
1
>>> type(True)
<class 'bool'>
>>> type(0)
<class 'int'>
>>>
;-)
-- Static tumblelog generator: https://github.com/john-bokma/tumblelog/ Available as Python or Perl. Example tumblelog: https://plurrrr.com/