On 11/05/2015 02:18, zipher wrote:
Huh? Python has plenty of keywords, and indeed, none of them can be redefined or shadowed. But you would gain nothing (and lose a bit or dynamic-language freedom) by making int a keyword.Okay. I apologize for thinking in C and believing "int" was a keyword.
Even C allows this: #define int(a) strlen(a) (although it doesn't like #define int strlen for some reason.) -- Bartc -- https://mail.python.org/mailman/listinfo/python-list