Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bug or feature?
#2
For your first code: self.valueDict is referenced by the getter but not the setter. Your class doesn't extend anything that would make accessing the internal dictionary automatic in the setter, so that's expected behavior.

For your second code: you tried to access a variable that wasn't defined. Could you be more specific about what the expected behavior was?

Could you describe more, preferably including examples, what exactly the behavior you want is? It's not clear since your setter only ever sets for one value right now, and silently ignores others.
Reply


Messages In This Thread
bug or feature? - by Mettler - Dec-06-2016, 06:05 PM
RE: bug or feature? - by micseydel - Dec-06-2016, 06:24 PM
RE: bug or feature? - by Mettler - Dec-06-2016, 06:35 PM
RE: bug or feature? - by micseydel - Dec-06-2016, 06:38 PM
RE: bug or feature? - by nilamo - Dec-06-2016, 07:24 PM
RE: bug or feature? - by micseydel - Dec-06-2016, 07:28 PM
RE: bug or feature? - by Mettler - Dec-06-2016, 08:02 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020