[2.3] object does not appear to be a reserved word

Terry Reedy tjreedy at udel.edu
Sat Sep 6 16:56:36 EDT 2003


"Daniel Klein" <danielk at aracnet.com> wrote in message
news:v89klvsupdoe39e6trqbbqvmhfgecnoum8 at 4ax.com...
> Is it potentially dangerous to use the variable 'object' in code?

Yes, it is potentially dangerous to use any of the names in the
builtin module.  It is disrecommended for posted/public code without
good reason (intentional override).

TJR






More information about the Python-list mailing list