It's worth filing this as a feature request (or defect) in the public
issue tracker, if you haven't already: 
http://code.google.com/p/googleappengine/issues/list

As far as I know this method has existed since 1.1.6: Some developers
ran into issues involving cheetah, which assumes that any has_key
method behaves like that of a dict which, as you've noted, the one no
db.Model doesn't.

Daniel

On Dec 1, 1:54 pm, Ken Tidwell <[EMAIL PROTECTED]> wrote:
> Apparently, some bright spark has defined a has_key method on db.Model.
>
> Doing so will preclude the creation of any Model derived from or
> emulating dictionary classes (such as UserDict or DictMixin).
>
> The has_key method in question does not follow the same semantics as
> has_key on dict so the choice of name is unfortunate, to say the least.
>
> Any chance the method could be renamed to something less toxic and more
> suggestive of its actual function (such as key_complete)?
>
> ken
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to