3 ms·
on the whole, redefining 'int' in Python is not a great idea: >>> int <type 'int'> >>> int('10') 10 >>> int = 10 >>> int('10') Trac
by Hello71 10y ago
on the whole, redefining 'int' in Python is not a great idea:
>>> int
<type 'int'>
>>> int('10')
10
>>> int = 10
>>> int('10')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
- 0003 10y agoReally hurts the article's credibility to intersect cryptographic domain knowledge with technical programming knowledge. That said, I did learn something from it, but I'll be doing a bit more research...