Closed GoogleCodeExporter closed 9 years ago
Interesting. I don't know how much priority to give this, but you're right this
is unexpected behavior.
As a word-around, I'd recommend that you store your data in a form that isn't
so easily confused, e.g. as a tuple or a dict (you could even use _to_dict()).
Also please everybody note that you've hit undefined behavior, so don't start
writing code that depends on this behavior!
Original comment by guido@google.com
on 11 Oct 2012 at 3:39
Would it be acceptable to consider a partial entity as "incomplete" and make
the dumps() call in the example above raise BadRequestError?
Please review http://codereview.appspot.com/6842077
Original comment by gvanrossum@gmail.com
on 21 Nov 2012 at 12:20
That would be worse than the current behavior from my point of view, since it
would make me jump through hoops to cache projected models.
Original comment by pi...@knowlabs.com
on 21 Nov 2012 at 1:51
Fair enough. Do you feel comfortable trying to make a patch yourself? I guess
it should change _to_pb() to generate the necessary meaning values.
Original comment by guido@google.com
on 21 Nov 2012 at 2:38
Original comment by guido@google.com
on 6 Dec 2012 at 11:10
Original comment by arful...@google.com
on 16 Mar 2013 at 6:57
Original comment by arful...@google.com
on 12 Jun 2013 at 11:44
Original issue reported on code.google.com by
pi...@knowlabs.com
on 11 Oct 2012 at 2:04