Skip to content

Conversation

sparrowt
Copy link

Otherwise the self.raw access within the except handler below comes back through and if the originally requested item isn't actually in self.raw then it loops forever.

Fixes: #1721

I haven't added a test as it seems pretty niche but there is a repro test case on the issue linked above which we can incorporate if desired?

Otherwise the `self.raw` access within the except handler
below comes back through and if the originally requested
item isn't actually in self.raw then it loops forever.
@adehad adehad force-pushed the avoid-infinite-recursion branch from 2fe4691 to 543f87d Compare September 28, 2023 12:49
@adehad adehad temporarily deployed to ack September 28, 2023 12:49 — with GitHub Actions Inactive
@adehad
Copy link
Contributor

adehad commented Sep 28, 2023

@sparrowt would be great if you can add that test case into: https://github.com/pycontribs/jira/blob/main/tests/test_client.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

resources.py __getattr__ causing stack overflow

2 participants