Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve recognition of _io module during bootstrapping on PyPy #1529

Merged
merged 1 commit into from
May 2, 2022

Conversation

DanielNoord
Copy link
Collaborator

Steps

  • For new features or bug fixes, add a ChangeLog entry describing what your PR does.
  • Write a good description on what the PR does.

Description

This was added in 9d090ce.
However, with this change the test still passes. We have likely mitigated the circular dependency somewhere else. This line did make it so that we did not infer builtins defined in _io and io.
Test show that we now infer this correctly 😄

I believe this is also the last remaining issue for pylint-dev/pylint#6406.
It will also make it possible to run some additional tests on PyPy in `pylint.

Type of Changes

Type
🐛 Bug fix

Related Issue

@DanielNoord DanielNoord added Bug 🪳 needs-backport pylint-tested PRs that don't cause major regressions with pylint labels Apr 25, 2022
@DanielNoord DanielNoord added this to the 2.11.4 milestone Apr 25, 2022
@cdce8p cdce8p self-requested a review April 25, 2022 14:14
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2220687795

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.0008%) to 91.58%

Totals Coverage Status
Change from base Build 2212825030: -0.0008%
Covered Lines: 9125
Relevant Lines: 9964

💛 - Coveralls

@Pierre-Sassoulas Pierre-Sassoulas merged commit 8fda697 into pylint-dev:main May 2, 2022
@DanielNoord DanielNoord deleted the io-name branch May 2, 2022 14:40
@cdce8p cdce8p removed their request for review May 3, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪳 pylint-tested PRs that don't cause major regressions with pylint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants