Changes between Version 2 and Version 3 of Ticket #33253, comment 1
- Timestamp:
- Nov 1, 2021, 10:48:27 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33253, comment 1
v2 v3 1 1 Tentatively marking as accepted, and indeed relates to ESM support via ticket #32319 (commit 91e21836f667c784a8a63ab1f18d81f553e679cb) 2 2 3 Looks like it's this regex:3 Looks like ''both'' of these regexs trigger the same bad filename: 4 4 {{{ 5 5 r"""(?P<matched>import\s+(?s:(?P<imports>.*?))\s*from\s*["'](?P<url>.*?)["'])""" 6 r"""(?P<matched>export\s+(?s:(?P<exports>.*?))\s*from\s*["'](?P<url>.*?)["'])""" 6 7 }}} 7 8 … … 9 10 10 11 {{{ 12 # For the import regex 11 13 (Pdb) matchobj 12 14 <re.Match object; span=(15745, 125465), match='import from as",c:[e.ASM,e.QSM]},{cN:"class",bK:"> … … 17 19 (Pdb) matches['url'] 18 20 ',constant:' 21 # for the export regex 22 (Pdb) matchobj 23 <re.Match object; span=(7509, 125465), match='export sizeof typedef const struct for union unsi> 24 (Pdb) matchobj.groupdict().keys() 25 dict_keys(['matched', 'exports', 'url']) 26 (Pdb) len(matches['matched']) 27 117956 28 (Pdb) matches['url'] 29 ',constant:' 19 30 }}} 31 32 commenting both out lets `collectstatic` run OK: 33 34 {{{ 35 33 static files copied to '/var/folders/rv/jpsxqc0x5ks0_8jtn67b5psw0000gn/T/collectstatic_output', 33 post-processed. 36 }}}