You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any chance this is fixable? Looking at the code I don't think this is possible without writing a better native Python implementation of tar extraction.
Thanks for your library btw.
The text was updated successfully, but these errors were encountered:
It's a bit sloppy but it'd be possible to integrate that into the tarfile implementation In CPython. I'm not sure if it'll improve performance but it might since it'll avoid iterating over the tar archive twice (which seems to be a very slow operation). It's probably sufficient to override next() in the tarsafe class and implement the checks there (near the bottom of the method); it seems that due to Python's semantics it'll call this overridden next() method from the parent methods.
I believe there's issue with performance and iterating over large tar files, not sure if large size or number of entries.
Any chance this is fixable? Looking at the code I don't think this is possible without writing a better native Python implementation of tar extraction.
Thanks for your library btw.
The text was updated successfully, but these errors were encountered: