Does altering a private member decouple the property's value?

2007-06-18 Thread Ethan Kennerly
made, but once a property's assignment has been called, the property appears. An example follows: >>> import pprint >>> pprint.pprint( a.__dict__ ) {'p': 1} >>> pprint.pprint( b.__dict__ ) {'p': None} >>> c = a_class() >>> pprint.pprint( c.__dict__ ) {} >>> c.p >>> pprint.pprint( c.__dict__ ) {} Is that dictionary population behavior for detecting an uninitialized property? Thanks for your help. When my feet are properly wet, I look forward to contributing to the community. -- Ethan Kennerly -- http://mail.python.org/mailman/listinfo/python-list

RE: Python IDE

2007-06-21 Thread Ethan Kennerly
xhm wrote: > PyScripter http://mmm-experts.com/Downloads.aspx?ProductId=4 If PyScripter is your style, Stani's Python Editor also is feature-rich and GUIy. Stani's Python Editor http://pythonide.blogspot.com/ It's got winpdb and a shell integrated. Although, from reading this thread, I've gone b

RE: Does altering a private member decouple the property's value?

2007-06-22 Thread Ethan Kennerly
Thanks for the help! Using the "class name (object)" syntax fixed my problem. Usually, I don't need properties, but in the case of a dependent attribute, I used a set method of a property to update that dependent attribute. I have a stopwatch class with a time limit property. When the time limi

RE: visual gui ides for python/jythpn

2007-06-24 Thread Ethan Kennerly
Luis M. Gonzalez wrote: > PythonCard is an extremely easy to use alternative. > It's like a simplified Visual Basic or Delphi IDE. > Check IT out: www.pythoncard.org I second that! PythonCard is a rapid way to prototype an ugly Windows GUI. (It's not PythonCard's fault that Windows are ugly. ;)