James McHugh
James McHugh
I'm glad to hear I wasn't the only one looking for this function, but I am a bit surprised that no one beat me to the punch. It was a...
I'd love to see some improvements here as well. I'm trying to write unit tests for my operators, and I'd like to be able to exercise the filtering logic for...
Looking at request.py, it looks like there is already a precedent for handling this type of error with the `wrap_attributeerror` context manager defined at https://github.com/encode/django-rest-framework/blob/master/rest_framework/request.py#L68 and then used at -...
> > Noob question, but why does `Request.__getattr__` call `self.__getattribute__` when an `AttributeError` occurs? Based on the Python Data model linked above, `__getattr__` should only run if `__getattribute__` fails in...
> Found the bug https://bugs.python.org/issue45985 > > The reason is that `.data` is a property, thus _as of now_ it is catching the `AttributeError` and thus calling `__getattr__`. I do...
To be fair, it is somewhat related, but it's not clear to me if the Python team even sees that as a bug (opened over 2 years ago with no...
> The bug with the parser may be resolved just by wrapping any exception raised by parser in a ParseError: I mostly agree here. I think the bug can be...
I've been digging into this some more as I have some time over the weekend. First, I'm convinced that https://github.com/python/cpython/issues/90143 is not a bug, as it is documented [right here](https://docs.python.org/3/reference/datamodel.html#object.__getattr__)...
Hello everyone. I was looking for a way to contribute to Helm and this ticket looked interesting so I started diving into it. I can confirm what @gjenkins8 stated about...
I created a [branch](https://github.com/kubernetes/kubectl/compare/master...james-mchugh:kubectl:bugfix/client-side-validation?expand=1) for kubectl that has a potential solution for this. It adds a `preferredStrategy` argument to the `Validator` function and the `newParamVerifyingSchema` struct. It's still a WIP,...