View Issue Details

IDProjectCategoryView StatusLast Update
0000076fileGeneralpublic2019-04-09 18:29
Reportermohd-akram Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.36 
Fixed in Version5.37 
Summary0000076: [PATCH] Fix Python 3.7 byte-compiled detection
DescriptionShould be checking 0x420d0d0a not 0x3e0d0d0a. See https://github.com/python/cpython/blob/3.7/Lib/importlib/_bootstrap_external.py#L259.
TagsNo tags attached.

Activities

mohd-akram

2019-04-09 09:18

reporter  

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
patch-python37.diff (466 bytes)   

christos

2019-04-09 18:29

manager   ~0003241

Fixed, thanks!

Issue History

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