mechanize
mechanize copied to clipboard
Update _opener.py
trafficstars
size should always be reported if it exists, not only when reporthook is valid. Also, dont need the repetitive initial call to reporthook. changed up the loop to make it more pythonic.
I was trying to find a memory error that is showing up on OSX for extremely large files > 30GB.
Thank you for your contribution to mechanize!
Following the process in #117, future work on mechanize will be occurring here: https://github.com/python-mechanize/mechanize.
Please re-file your PR there (where it will get attention, and hopefully merged)