Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Remove call to __del__ #2

Merged
merged 1 commit into from Oct 3, 2017
Merged

Remove call to __del__ #2

merged 1 commit into from Oct 3, 2017

Conversation

mfisherlevine
Copy link
Contributor

Move logic to a finalise() method, as del is always called in py3
but this is not the case in py2. Also, remove the call to super()
as it was unnecessary and this way is equivalent but safer.

Move logic to a finalise() method, as __del__ is always called in py3
but this is not the case in py2. Also, remove the call to super()
as it was unnecessary and this way is equivalent but safer.
Copy link

@natelust natelust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general if you have also in a commit message that means you should have two commits. This is such small changes that I will simply lean on you hard to consider the wisdom using best practices rather than formally require a change.

@mfisherlevine mfisherlevine merged commit be69b68 into master Oct 3, 2017
@ktlim ktlim deleted the tickets/DM-11653 branch August 25, 2018 04:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants