Re:Python – Writing large ZIP archives without memory inflation
by eggsnbacon1 on Friday May 15, 2020 @08:31PM
(#23199192)
Is this an issue in new versions of vanilla Python? I mostly bang on crusty old Java stuff and zip streaming has been built into JDK for decades
[ Parent
| on HN ]
Re:Python – Writing large ZIP archives without memory inflation
by toyg on Saturday May 16, 2020 @08:22AM
(#23202814)
Zip support in cpython stdlib has been there forever (I think it might even be from 2.0 times, early ‘00s) but it’s never been very user-friendly or particularly advanced. It’s one of those things like timezone and http, where the implemented API didn’t really come out “right” and there has been some pain ever since. It’s a bit like SSL stuff in JDK: something that should instinctively be very easy just... isn’t.
Re:Python – Writing large ZIP archives without memory inflation
by stuaxo on Saturday May 16, 2020 @06:14AM
(#23202181)
The library this uses is an old enough bit of python that when I started 12 years ago, I looked at the code and thought the code looked a bit crusty and old.