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

Add option to write file from file-like object and use in download_file #3614

Merged
merged 3 commits into from
Mar 17, 2021

Conversation

Flamefire
Copy link
Contributor

Fixes downloads of large files where the size exceeds the maximum integer size
Fixes #3455

Fixes downloads of large files where the size exceeds the maximum integer size
Fixes easybuilders#3455
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

easybuild/tools/filetools.py Show resolved Hide resolved
easybuild/tools/filetools.py Outdated Show resolved Hide resolved
…o write_file + add comments w.r.t. passing file handle in download_file
…er file-like object is called just based on 'read' method
@boegel
Copy link
Member

boegel commented Mar 17, 2021

Thanks a lot for looking into this fix @Flamefire!

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.

downloading of large files fails with urllib.request with recent Python 3.x
2 participants