Udi Fuchs

Results 12 comments of Udi Fuchs

Look at the function create_srgb_profile() in icc-brightness-gen.c. It sets the same gamma curve to all three R,G,B channels. The gamma curve is: (a X + b)^gamma It seems that you...

I don't know much about Chrome OS. icc-brightness use the colormgr command line, which is part of the colord, which is used by the Gnome and KDE desktops. I have...

There is a tool called `pylint-ignore` that implements this baseline approach. It creates a database of all messages on the first run. Then, on subsequent runs these messages will be...

The documentation was confusing. You need to use brightness values instead of the word `brightness`. For example: ``` icc-brightness 70 100 ```

I was thinking of breaking this change over several PRs: 1. Make Element a type alias of _Element instead of a factory function (this PR.) 2. Replace most occurrences of...

> Are you expecting `etree.Element` to be a superclass of `_Element`? Sort of. See https://github.com/lxml/lxml/pull/405 for the full details. etree.Element is an Abstract Base Class: ``` class Element(ABC): ``` _Element...

PR https://github.com/lxml/lxml/pull/461 - Enable subscripting generic types in annotations - was just merged into lxml. This means that with lxml-6.0 one could write: ``` element_tree: etree.ElementTree[etree.Element] ``` and Python would...

I was able to reproduce the error locally by running the latest version of pyright. I am not sure what version of pyright is used by github actions. The last...

Your example with `makeelement` only works for runtime checks, so the stub definitions are not relevant. Static checks work correctly without the duplicate definition thanks to the `Self` mechanism: ```...

I merged your commits to my branch. Notice that `multi-subclass.patch` did not have any conflicts, but it still references `_ElementFactory`. I am not sure how you use it, so I...