On 2023-03-19, Stefan Ram <[email protected]> wrote: > Jon Ribbens <[email protected]> writes: >>(Also, I too find it annoying to have to avoid, but calling a local >>variable 'file' is somewhat suspect since it shadows the builtin.) > > Thanks for your remarks, but I'm not aware > of such a predefined name "file"!
Ah, apparently it got removed in Python 3, which is a bit odd as the last I heard it was added in Python 2.2 in order to achieve consistency with other types. -- https://mail.python.org/mailman/listinfo/python-list
