Files
Automaaval/build/zacatraz/localpycs/pyimod01_archive.pyc
T

28 lines
4.6 KiB
Plaintext
Raw Normal View History

2026-03-14 21:48:05 +00:00
Ë
ãó’ddlZddlZddlZddlZddlZej
j ZdZdZ dZ
dZ Gdde «Z
Gdd«Zy) ééécó eZdZy)ÚArchiveReadErrorN)Ú__name__Ú
__module__Ú __qualname__©óú&PyInstaller\loader\pyimod01_archive.pyrr#sØr rcó4eZdZdZdZddZed«ZddZy) ÚZlibArchiveReaderzª
Reader for PyInstaller's PYZ (ZlibArchive) archive. The archive is used to store collected byte-compiled Python
modules, as individually-compressed entries.
sPYZNcóê||_||_i|_||j|«\|_|_t |jd«5}|j |jt j«|jt|j««}||jk7r td«|jtt««}|r|tk7r td«tjd|jd««^}}|j |j|zt j«tt!j"|««|_ddd«y#1swYyxYw)rbzPYZ magic pattern mismatch!zPython magic pattern mismatch!z!ié)Ú _filenameÚ
_start_offsetÚtocÚ_parse_offset_from_filenameÚopenÚseekÚosÚSEEK_SETÚreadÚlenÚ_PYZ_MAGIC_PATTERNrÚPYTHON_MAGIC_NUMBERÚstructÚunpackÚdictÚmarshalÚload) ÚselfÚfilenameÚ start_offsetÚ
check_pymagicÚfpÚmagicÚpymagicÚ
toc_offsetÚ_s r
Ú__init__zZlibArchiveReader.__init__.s,ØŒØÔàˆŒð Ð Ø15×1QÑ1QÐRZÓ1[Ñ .ˆDŒN˜
$—.. 
 .¨2à G‰GDׯ © Ô —GGœC × 7Ñ 7Ó9ˆEؘ×&Ð'DÓ—ggœcÔ"5Ó7ˆ Ô,?Ò!?Ü&Ð'GÓ$Ÿ]™]¨4°·±¸³Ó<ˆNˆJ˜ð
G‰GD×Ñ3´R·[±[Ô œGŸL™L¨Ó-ˆDŒH÷% .ús
Á DE)Å)E2có”d}|jd«}|dk(r||fS t||dzd«}|d|}||fS#t$rY||fSwxYw)z\
Parse the numeric offset from filename, stored as: `/path/to/file?offset`.
rÚ?éÿÿÿÿrN)ÚrfindÚintÚ
ValueError)r%ÚoffsetÚidxs r
rz-ZlibArchiveReader._parse_offset_from_filenameOszð
ˆàn‰n˜Ø "Š9ؘ  ܘ ¡' ,ˆ  ~ˆ
˜ÐÐøô ò à à˜ÐÐð  úsž8¸ AÁAcó|jj|«}|y|\}}} t|jd«5}|j |j
|z«|j
|«}ddd« tj«}|tttfvr|stj|«}|S#1swYŒKxYw#t$rt|jd«wxYw#t $r} t#d|d«| d} ~ wwxYw)
Extract data from entry with the given name.
If the entry belongs to a module or a package, the data is loaded (unmarshaled) into code object. To retrieve