On Sun, Oct 26, 2014 at 5:12 PM, Steven D'Aprano
wrote:
> However, mutator methods on a class don't change global state, they change
> the state of an instance. Even random.random and friends don't change
> global state, they change a (hidden) instance, and you can create your own
> instances when
Chris Angelico wrote:
> On Sat, Oct 25, 2014 at 4:40 PM, Rustom Mody
> wrote:
>> Its generally accepted that side-effecting functions are not a good idea
>> -- typically a function that returns something and changes global state.
>
> Only in certain circles. Not in Python. There are large number