#16 Default args problem

closed-fixed
nobody
5
2003-02-10
2003-02-10
No

The following snippet crashes psyco when run on Python
2.2.2 on Windows XP.

from psyco.classes import psyobj

class A(psyobj):
def __init__(self, a=None):
self.a = None

a1 = A()
a2 = A(1)

-tim

Discussion

  • Armin Rigo

    Armin Rigo - 2003-02-10

    Logged In: YES
    user_id=4771

    Bug fixed. Thanks!

     
  • Armin Rigo

    Armin Rigo - 2003-02-10
    • status: open --> closed-fixed
     

Log in to post a comment.