John Belmonte

Results 252 comments of John Belmonte

I've found neither `trio.testing.RaisesGroup()` nor pytest `excinfo.group_contains()` helpful, because they only expect an exception group. Use case: testing code that may optionally wrap single exceptions with `ExceptionGroup` or not. For...

context: https://gitter.im/python-trio/general?at=5d1800979cbde24b2f42b90b

I'll reword the message now that I understand meaning of "trio thread" better, and perhaps expand this PR to define that better in the docs.

so it turns out BlockingTrioPortal docs are not clear that the check applies to *any* Trio thread, so I clarified that as well **to consider: if the rule is merely...

This is pretty bad. A workaround like disabling `no-name-in-module` globally on my project is not attractive, as it would miss other problems in the code.

`pyi` stub support appears to be coming soon (merged to Astroid), so it may resolve this #4987

pylint is not happy with astroid head, so I didn't get very far ```python File "/.../python3.8/site-packages/pylint/checkers/typecheck.py", line 1688, in _check_invalid_sequence_index if subscript.ctx is astroid.Store: AttributeError: module 'astroid' has no attribute...

> I have tried the latest release (2.17.0) and this FP seems to be gone still seeing the false positive here on 2.17.0

> Now that Python 3.6 reached EOL, I believe this library does more harm than good and we should deprecate it and eventually archive it. reminder that this library exports...

Seems to be resolved in pylint 3.0