Skip to content

Conversation

@emontnemery
Copy link
Contributor

@emontnemery emontnemery commented Feb 4, 2026

Summary

The following tarfile.TarFile attributes are changed to non-optional:

    debug: int
    dereference: bool
    encoding: str
    fileobj: _Fileobj
    format: _TarFormat
    ignore_zeros: bool

References

Note:
This is my first PR on this project so I'm not sure about the expectations, let me know if I need to check additional versions supported by typeshed or if the PR should be split up somehow.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks for checking this thoroughly! (Personally, I would probably have checked the CPython HEAD and the oldest supported version.)

@srittau srittau merged commit 516eed0 into python:main Feb 4, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants