In Beta3, I recall being able to copy and paste large class definitions from my editor to the interactive console.  In Beta4, I get some strange indenting behavior that breaks that usage.  Example:

 

class Item(UserControl):
  def __init__(self, id, beetle):
    self.id = id
    self.Height = 50;

 

When pasted becomes...


>>> class Item(UserControl):
...       def __init__(self, id, beetle):
...               self.id = id
...                   self.Height = 50

 

and I get a SyntaxError.

 

My class definition has spaces, not tabs.   Is there some workaround?

 

Thanks.

-Pete



Crush! Zap! Destroy! Junk e-mail trembles before the might of Windows Live(tm) Mail beta. Windows Live(tm) Mail beta
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to