[New-bugs-announce] [issue35684] Windows "embedded" Python downloads are malformed

Nathaniel Smith report at bugs.python.org
Tue Jan 8 05:28:52 EST 2019


New submission from Nathaniel Smith <njs at pobox.com>:

~$ unzip -l /tmp/python-3.7.2-embed-amd64.zip 
Archive:  /tmp/python-3.7.2-embed-amd64.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    99856  2018-12-23 23:10   python.exe
    98320  2018-12-23 23:10   pythonw.exe
  3780624  2018-12-23 23:09   python37.dll
    58896  2018-12-23 23:10   python3.dll
    85232  2018-12-10 22:06   vcruntime140.dll
   200208  2018-12-23 23:10   pyexpat.pyd
    26640  2018-12-23 23:10   select.pyd
  1073168  2018-12-23 23:10   unicodedata.pyd
    28688  2018-12-23 23:10   winsound.pyd
    71184  2018-12-23 23:10   _asyncio.pyd
    89104  2018-12-23 23:10   _bz2.pyd
    22544  2018-12-23 23:10   _contextvars.pyd
   133136  2018-12-23 23:10   _ctypes.pyd
   267792  2018-12-23 23:10   _decimal.pyd
   209424  2018-12-23 23:10   _elementtree.pyd
    38928  2018-12-23 23:10   _hashlib.pyd
   257040  2018-12-23 23:10   _lzma.pyd
    39440  2018-12-23 23:10   _msi.pyd
    29200  2018-12-23 23:10   _multiprocessing.pyd
    44048  2018-12-23 23:10   _overlapped.pyd
    27664  2018-12-23 23:10   _queue.pyd
    75792  2018-12-23 23:10   _socket.pyd
    85520  2018-12-23 23:10   _sqlite3.pyd
   123408  2018-12-23 23:10   _ssl.pyd
  2480296  2018-12-23 22:20   libcrypto-1_1-x64.dll
   523944  2018-12-23 22:20   libssl-1_1-x64.dll
  1190416  2018-12-23 23:10   sqlite3.dll
    85232  2018-12-10 22:06   vcruntime140.dll
  2386539  2018-12-23 23:14   python37.zip
       79  2018-12-23 23:14   python37._pth
---------                     -------
 13632362                     30 files

Notice that "vcruntime140.dll" appears twice on this list, once near the top and once near the bottom.

If we try to unpack this using the powershell Expand-Archive command, it fails with:

Failed to create file 'D:\a\1\s\python-dir\vcruntime140.dll' while expanding the archive file 
'D:\a\1\s\python.zip' contents as the file 'D:\a\1\s\python-dir\vcruntime140.dll' already exists. Use the -Force 
parameter if you want to overwrite the existing directory 'D:\a\1\s\python-dir\vcruntime140.dll' contents when 
expanding the archive file.

Probably it would be better to only include one copy of vcruntime140.dll :-)

----------
assignee: steve.dower
messages: 333217
nosy: njs, steve.dower
priority: normal
severity: normal
status: open
title: Windows "embedded" Python downloads are malformed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35684>
_______________________________________


More information about the New-bugs-announce mailing list