Python Forum
how to destruct a hashlib object?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to destruct a hashlib object?
#1
how is it intended to destruct a hashlib object when done with it?

1. object.destruct() with whatever method intended
2, del object
3. 100% dereferencing it like returning from a function that used it with only a local variable referencing it
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Methods 2 and 3 should work. Why would it be different from other Python instances?
Reply
#3
they do work. it's just a different way than classic/traditional OOP. i was just wondering if this is the way that was intended. i've been using #3 which makes functional organization a better way in general.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  clearing a hashlib object Skaperen 0 1,741 Nov-28-2021, 07:54 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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