creating class objects inside methods

horos11 horos11 at
Sun Oct 4 07:34:13 CEST 2009

Anyways, I see what's going on here:

With the line,

for state in curstate.next_states():
    if not state.to_string() in seen_states:

Inadvertently using the name of a module as a variable seems to be
causing this.

In any case, this shouldn't cause issues with constructors, so I'd
call this a bug..


More information about the Python-list mailing list