View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000076 | file | General | public | 2019-04-09 09:18 | 2019-04-09 18:29 |
Reporter | mohd-akram | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.36 | ||||
Fixed in Version | 5.37 | ||||
Summary | 0000076: [PATCH] Fix Python 3.7 byte-compiled detection | ||||
Description | Should be checking 0x420d0d0a not 0x3e0d0d0a. See https://github.com/python/cpython/blob/3.7/Lib/importlib/_bootstrap_external.py#L259. | ||||
Tags | No tags attached. | ||||
|
patch-python37.diff (466 bytes)
diff --git a/magic/Magdir/python b/magic/Magdir/python index d2fbc2d3..b3158e1b 100644 --- a/magic/Magdir/python +++ b/magic/Magdir/python @@ -27,7 +27,7 @@ 0 belong 0x160d0d0a python 3.5.1- byte-compiled 0 belong 0x170d0d0a python 3.5.2+ byte-compiled 0 belong 0x330d0d0a python 3.6 byte-compiled -0 belong 0x3e0d0d0a python 3.7 byte-compiled +0 belong 0x420d0d0a python 3.7 byte-compiled 0 search/1/w #!\ /usr/bin/python Python script text executable |
|
Fixed, thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-09 09:18 | mohd-akram | New Issue | |
2019-04-09 09:18 | mohd-akram | File Added: patch-python37.diff | |
2019-04-09 18:28 | christos | Assigned To | => christos |
2019-04-09 18:28 | christos | Status | new => assigned |
2019-04-09 18:29 | christos | Status | assigned => resolved |
2019-04-09 18:29 | christos | Resolution | open => fixed |
2019-04-09 18:29 | christos | Fixed in Version | => 5.37 |
2019-04-09 18:29 | christos | Note Added: 0003241 |