Skip to content

[DataLoader2] Safeguarding DL2Iterator's __getattr__#1004

Closed
NivekT wants to merge 1 commit intogh/NivekT/106/basefrom
gh/NivekT/106/head
Closed

[DataLoader2] Safeguarding DL2Iterator's __getattr__#1004
NivekT wants to merge 1 commit intogh/NivekT/106/basefrom
gh/NivekT/106/head

Conversation

@NivekT
Copy link
Contributor

@NivekT NivekT commented Feb 10, 2023

Stack from ghstack:

Fixes #1000

As reported in the issue, in some uncommon cases, it is possible for the attribute to be missing, leading to infinite recursion. This should prevent it.

Differential Revision: D43197744

NivekT added a commit that referenced this pull request Feb 10, 2023
ghstack-source-id: 430921e
Pull Request resolved: #1004
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 10, 2023
@NivekT NivekT changed the title [DataLoader2] Safeguarding DL2Iterator's getattr [DataLoader2] Safeguarding DL2Iterator's __getattr__ Feb 10, 2023
@NivekT NivekT requested a review from ejguan February 10, 2023 00:25
Copy link
Contributor

@ejguan ejguan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NivekT
Copy link
Contributor Author

NivekT commented Feb 10, 2023

@NivekT has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@NivekT merged this pull request in 05d1cd8.

@facebook-github-bot facebook-github-bot deleted the gh/NivekT/106/head branch February 14, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants