5 Dec
2002
5 Dec
'02
10:10 p.m.
Skip Montanaro writes:
Ulrich> "id" is obviously a very bad name for a user variable in Ulrich> Zope.
Obvious to who? "id" is a lovely parameter name in Python as long as you're aware you're hiding the rarely used id() builtin. The Zope community seems to be filled with lore that isn't codified anywhere or at best is written down in a sea of howto documents.
In this case, it is a bug: Z SQL methods are ready to acquire explicitly named arguments. This should not be the case. Without this bug, nothing would deprecated "id" as parameter. With it, you must pass all parameters that might be acquired. And (as others pointed out) "id" is very easily acquired... Dieter