On Fri, Apr 01 2011, Roshan Mathews wrote: > On Fri, Apr 1, 2011 at 18:44, Hussain Bohra <hussainbohra...@yahoo.com> wrote: >> Atleast on changing list, you gets an exception. >> >> On updating dictionary living inside tuple wont throw an exception as well. >> > I thought the surprising part was that it threw an exception, not that > it updated the list. Even more surprising was that it threw the > exception and updated the list too.
[...] Exactly. I don't expect things to change after a single operation if it raises an exception. Leaky abstractions? -- _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers