On Sunday 23 November 2008 05:54:30 pm Paul McNett wrote:
> Change the setter to self._usePlainValue = bool(val), and fix the typo in
> the property docstring, and I say go for it!
>
> Paul
Thanks and I will commit. However, I have say I discovered a bug in the
wxPython maskededit.py. I think it's major and I can't believe it's in the
code. The date of the last update for the code is 03/30/2004 - so it's old.
The code below converts the key if required to lower case and it uses the
wrong range(97,123) should be range(65,90) because the range(97,123) covers
upper case "A-Z". But the code is attempting to return only lower
case "a-z". I have sent an email to the author because I don't know how to
report bugs for wxPython. Also I can't believe that it wasn't reported in
the past.
if field._forcelower and key in range(97,123):
key = ord( chr(key).lower())
should be:
if field._forcelower and key in range(65,90):
key = ord( chr(key).lower())
I am still going to commit because I'm sure this is not the only bug that we
live with.
One more thing. How do I add/change the doc's for this control????
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]