Skip to content

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

Merged
boegel merged 3 commits intoeasybuilders:developfrom
Flamefire:downloadFileChunked
Mar 17, 2021
Merged

Add option to write file from file-like object and use in download_file#3614
boegel merged 3 commits intoeasybuilders:developfrom
Flamefire:downloadFileChunked

Conversation

@Flamefire
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread easybuild/tools/filetools.py
Comment thread easybuild/tools/filetools.py Outdated
boegel added 2 commits March 17, 2021 15:46
…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
Copy Markdown
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