Brett Cannon added the comment:
This is going to need a touch-up for PEP 451 to make the whole thing work more
smoothly, so repositioning for Python 3.5. When that happens I can look into
the 2 second issue that Amaury pointed out and Paul's review.
Although I do wonder about the utility of
Brett Cannon added the comment:
Paul's review did find one non-optimal thing the code is doing. I'll fix it the
next time there's a need to upload a new patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
Amaury Forgeot d'Arc added the comment:
Times in a ZIP files have a two-seconds resolution (in the old DOS FAT format:
5 bits for the hours, 6 bits for the minutes, and only 5 bits left for the
seconds)
Some fuziness logic is needed when comparing against a time_t.
--
nosy:
Brett Cannon added the comment:
A two second granularity? Ugh. That will require a new (possibly private) API
to abstract that out in order to handle that case. What a pain. While I look
into that if people can look at the code and let me know if they see anything
wrong with it, hard to
Brett Cannon added the comment:
Here is an initial stab at a zip file importer using importlib. Probably the
biggest shortcoming is that it doesn't support bytecode files, but that's
because I just have not bothered to add support yet (it's just one method to
implement). There is a note in
Brett Cannon added the comment:
I went ahead and added the needed method for bytecode loading; see the new
patch.
--
Added file: http://bugs.python.org/file30660/zip_importlib.diff
___
Python tracker rep...@bugs.python.org
Changes by Dmi Baranov dmi.bara...@gmail.com:
--
nosy: +dmi.baranov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list
New submission from Brett Cannon:
I'm going to write an importer using zipfile and importlib in pure Python. I'm
doing this so that (a) there is an importer that relies on zipfile and thus
what features it adds over time, (b) to have good example code to point people
to when they need to
Brett Cannon added the comment:
I should mention I have an old implementation at
https://code.google.com/p/importers/.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list mailing
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list mailing list
Raymond Hettinger added the comment:
Thanks Brett. I look forward to this.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
14 matches
Mail list logo