wiredfool
wiredfool
It sounds like a good idea, at least at the top 'interface' level to help ensure a well defined interface. Typeshed would be a simple way to get it up...
I'm not up on the technical bits for doing type annotations. But, as I understand, there are three ways to do it: 1) In the function signatures. Requires 3.5ish+. Not...
From my POV docstrings and a comment prior to the docstring are roughly equivalent, They're both not 'in code' to the point of breaking on 2.7, but they're in the...
Go ahead and make a PR for that. It'll give us a good place to discuss it, I can ask questions and hopefully arrive at something that works/passes.
https://github.com/python-pillow/Pillow/pull/2941#issuecomment-377799098 Basically, what happened here is that we/I pushed it forward, and we basically ran into a place where: 1) we needed tests on the types to prevent regressions. 2)...
There's a longstanding behavioral issue with Pillow where conversions don't intelligently use the range of the target mode. So, in this case, you're taking an image with values from 0-65k...
I think we'd need Fredrik Lundh to do that, and I haven't seen anything him in ~5 years. That entry is ancient, as it even predates the last actual PIL...
+1 @aclark4life
No, there’s no way we should post anything with that many CVEs.
First of all, this is going to break everyone who follows recommended practice and limits exceptions that they catch. This is... not good. Second we get to one of the...