-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP]Update close method to cpdef #122
base: devel
Are you sure you want to change the base?
Conversation
def __del__(self): | ||
self.close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you think it's better to use __del__
in Python-land?
@@ -46,7 +46,7 @@ cdef int _process_outputs(libssh.ssh_session session, | |||
return len | |||
|
|||
cdef class Channel: | |||
def __cinit__(self, session): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
@ganeshrn what is it that you're trying to fix here? |
@ganeshrn is this still relevant? |
169ed04
to
aa1ad0a
Compare
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
Define ``close()`` as ``cpdef``
@Jakuje would you mind looking into this patch? I'm not able to figure out the motivation behind it, but perhaps you could? |
Sorry, I have no idea. It looks like just moving things around without good explanation. Given that we did not hear from the reporter for 4 years, I would not bother. |
SUMMARY
Define
close()
ascpdef
ISSUE TYPE
ADDITIONAL INFORMATION