Python Forum
How to redefine object so that all user- objects have the necessary capabilities?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to redefine object so that all user- objects have the necessary capabilities?
#2
Could you post short code exemplifying what you're talking about?

Also, if you haven't heard already, pickle is typically considered a security hole, so you might want to consider JSON or something else for your serialization. That won't directly help you with saving class variable though, I suspect that's something you'll just have to do manually.
Reply


Messages In This Thread
RE: How to redefine object so that all user- objects have the necessary capabilities? - by micseydel - Feb-18-2019, 06:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a library for recursive object creation using config objects johsmi96 0 2,429 May-03-2021, 08:09 PM
Last Post: johsmi96
  Player object wont recognize collision with other objects. Jan_97 3 4,015 Dec-22-2019, 04:08 PM
Last Post: joe_momma
  An Object of Objects? cebb 4 3,866 Jul-28-2019, 03:29 PM
Last Post: cebb
  Redefine __add__ for ints ihf 4 4,849 Jun-01-2019, 06:29 PM
Last Post: ihf
  error creating new object after loading pickled objects from file arogers 2 4,683 Feb-02-2019, 10:43 AM
Last Post: Larz60+
  AttributeError: 'NoneType' object has no attribute 'n' in list of class objects jdrp 4 8,175 Jun-19-2018, 02:44 PM
Last Post: jdrp

Forum Jump:

User Panel Messages

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