Re: code doesn't reference immutables?

2008-01-07 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | >From the manual: | | "code objects are immutable and contain no references (directly or | indirectly) to mutable objects" (3.2) | | I thought my code worked with both mutable and immutable objects. | Whassup? Consider the following:

Re: code doesn't reference immutables?

2008-01-07 Thread Guilherme Polo
2008/1/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > >From the manual: > > "code objects are immutable and contain no references (directly or > indirectly) to mutable objects" (3.2) > > I thought my code worked with both mutable and immutable objects. > Whassup? > What was your intention quoting thi

Re: code doesn't reference immutables?

2008-01-07 Thread Peter Otten
MartinRinehart wrote: > From the manual: > > "code objects are immutable and contain no references (directly or > indirectly) to mutable objects" (3.2) > > I thought my code worked with both mutable and immutable objects. > Whassup? A code object is an internal data structure that describes a p

code doesn't reference immutables?

2008-01-07 Thread MartinRinehart
>From the manual: "code objects are immutable and contain no references (directly or indirectly) to mutable objects" (3.2) I thought my code worked with both mutable and immutable objects. Whassup? -- http://mail.python.org/mailman/listinfo/python-list