On Oct 18, 2007, at 6:12 AM, Peter Wilkinson wrote:
Hi,
I've started using Keep, Keyed, etc. which work quite nicely along
with spec.
One issue that I've notices is that in .add(value) if you call that
with a value which fails get_spec_problems(value) you can't call
add again without clearing value.key, not a huge deal just a bit
annoying.
Could there be an extra line added before the raise which just does
"value.key = None"?
The problem with that is that the spec problems might have something
to do with the key value itself.
Are you adding objects interactively or something? I can' t think of
another
context where this would come up.
_______________________________________________
QP mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/qp