except clause syntax question

Chris Angelico rosuav at gmail.com
Tue Jan 31 21:46:02 EST 2012


On Wed, Feb 1, 2012 at 12:12 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> Incidentally, I *think* that any correctly written C code attempting
> to nest a tuple inside itself would make the reference count of the
> tuple be at least 2 at the time of the call, and so it would fail.

Good, nice that that's certain :)

Might be worth moving the "[b]ecause tuples are supposed to be
immutable" warning up to the top of the page then, since the bulk of
it applies to all those functions and not just resize.

ChrisA



More information about the Python-list mailing list