Skip to content

Attribute Errors raised in Parser Silently Ignored #9426

Discussion options

You must be logged in to vote

As this hasn't really gotten any attention from the maintainers, I have created an issue (#9433) regarding this bug. Since the issue was created, two PRs have been opened to attempt to resolve it. #9453 was opened by a DRF contributor and #9455 was opened by myself. I'm going to go ahead and just say this is a confirmed bug at this point.

As for my final question:

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 the first place, so by the time getattr runs, getattribute already tried and failed.

This appears to have been done to recreate the orig…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by james-mchugh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant