[BangPypers] Nice "feature"

Noufal Ibrahim noufal at gmail.com
Fri Apr 1 15:31:57 CEST 2011


On Fri, Apr 01 2011, Roshan Mathews wrote:

> On Fri, Apr 1, 2011 at 18:44, Hussain Bohra <hussainbohra_30 at 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?
-- 


More information about the BangPypers mailing list