Message174875
I strongly disagree with your summary.
It's a new behavior for the old renamed module that clearly breaks existing code ported with 2to3.
The 95% of callable usage is to get the estimated download progress (to draw progress bar or time calculations). This requires calculating value of total blocks like:
total_blocks = math.ceil(float(total_size) / block_size)
when block_size allowed to be 0, it immediately spawns ZeroDivisionErrors. This change broke http://pypi.python.org/pypi/wget
If you make block size in callback parameters varying, the parameter with number of blocks transferred loses any sense. |
|
Date |
User |
Action |
Args |
2012-11-05 07:55:19 | techtonik | set | recipients:
+ techtonik, akira |
2012-11-05 07:55:19 | techtonik | set | messageid: <1352102119.8.0.725240348394.issue16409@psf.upfronthosting.co.za> |
2012-11-05 07:55:19 | techtonik | link | issue16409 messages |
2012-11-05 07:55:19 | techtonik | create | |
|