-
Notifications
You must be signed in to change notification settings - Fork 2
Switch from pywin32 to ctype #5
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
Switch from pywin32 to ctype #5
Conversation
@samepaul - thanks for the PR. I'll review it more in depth later, but I think you left out the most important change to exorcise the evil |
Addresses Issue #4 |
Not sure, never dealt with delivering public Python modules
It's not passing the CI, failing both read & write tests with FFmpeg. If you could run FFmpeg on your system, please test with |
I'm unfortunately not really familiar with ffmpeg and what are expectations of it with regard to pipes. I notices that ERROR_BROKEN_PIPE should not generate exception and perhaps non-zero buffers affect behavior as well. I will commit that fix, but other than that is above me, sorry :( |
I would actually appreciate if you could review |
no biggie. I'll review and edit the code later when I find a chunk of time. |
The test is passing on my PC, so it's good so far.
I think you're confused because the original version was overly cautious... My (unfounded) fear was that the read operation somehow times out and does not return the number of bytes requested without throwing an error. The I'll let it sit for another day and will try merge it tomorrow night and publish the updated release. |
Sure. I’m glad you liked it. That was an interesting first time journey for me. 😊 |
A bit less fancy looking code, but doesn't depend on pywin32 which is evil :)