Python Forum
Help with object interning in Python 3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with object interning in Python 3
#5
I should probably add: I did this duplication check work originally in Regex.__new__(), but my frustration with derived.__init__() behavior and having to check if this object had already been initialized drove me to consider metaclasses. However, derived.__new__() is the best place to check for simplification since the rules are specific to each subclass...
Reply


Messages In This Thread
RE: Help with object interning in Python 3 - by clintolsen - Dec-20-2017, 04:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python update binary object (override delivered Object properties) pierre38 4 1,828 May-19-2022, 07:52 AM
Last Post: pierre38
  want to know the kind of object whether its a python or json object johnkennykumar 5 67,165 Jan-21-2017, 08:47 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

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