Christopher Barber

Results 92 comments of Christopher Barber

You might want to instead cache this information in the client object in a weak dictionary.

Note that due to the dependency on the pmc library which has a GPL3 license, the resulting pip package will also have to have a GPL3 license...

You can only infer the column offset for the line after the first based on this information alone. To get the offset of the first line, it would have to...

And of course there are tabs. I wonder how many python projects actually allow tabs?

Tooling for docstring styles is not so great in many tools. (e.g. PyCharm still doesn't support google style very well), but obviously no one would recommend that anyone intentionally use...

So to be clear `get_param_values(onlychanged=True)` is also broken. Ugh. This just cost me an hour.

Yes, that is right. I was trying to grab the non-default params to save persistent state and the name parameter was a prefix of the default name based on the...

Actually in my case the name is always being set and sometimes was set to a prefix of the class name (e.g. 'Radar' and `RadarViewer`), but I think this would...

I am using this to annotate overridden methods in pyqt, which worked fine using version 3.1.0. It just started breaking recently when I updated my conda environment (was 3.1 the...

pylint supports this type of pragma, so it is clearly theoretically possible.