-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Labels
type-featureA feature request or enhancementA feature request or enhancement
Description
cpython/Lib/zipfile/__init__.py
Lines 243 to 244 in 4e75509
if hasattr(filename, "read"): | |
result = _check_zipfile(fp=filename) |
When filename is BytesIO, is_zipfile don't set the position to the file header.
This will affect other codes.
And it's my first issues,i don't known how to report the question,sorry
Linked PRs
Metadata
Metadata
Assignees
Labels
type-featureA feature request or enhancementA feature request or enhancement
Projects
Status
Done