Changes between Version 2 and Version 3 of Ticket #33253, comment 1


Ignore:
Timestamp:
Nov 1, 2021, 10:48:27 AM (3 years ago)
Author:
Keryn Knight

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33253, comment 1

    v2 v3  
    11Tentatively marking as accepted, and indeed relates to ESM support via ticket #32319 (commit 91e21836f667c784a8a63ab1f18d81f553e679cb)
    22
    3 Looks like it's this regex:
     3Looks like ''both'' of these regexs trigger the same bad filename:
    44{{{
    55r"""(?P<matched>import\s+(?s:(?P<imports>.*?))\s*from\s*["'](?P<url>.*?)["'])"""
     6r"""(?P<matched>export\s+(?s:(?P<exports>.*?))\s*from\s*["'](?P<url>.*?)["'])"""
    67}}}
    78
     
    910
    1011{{{
     12# For the import regex
    1113(Pdb) matchobj
    1214<re.Match object; span=(15745, 125465), match='import from as",c:[e.ASM,e.QSM]},{cN:"class",bK:">
     
    1719(Pdb) matches['url']
    1820',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()
     25dict_keys(['matched', 'exports', 'url'])
     26(Pdb) len(matches['matched'])
     27117956
     28(Pdb) matches['url']
     29',constant:'
    1930}}}
     31
     32commenting both out lets `collectstatic` run OK:
     33
     34{{{
     3533 static files copied to '/var/folders/rv/jpsxqc0x5ks0_8jtn67b5psw0000gn/T/collectstatic_output', 33 post-processed.
     36}}}
Back to Top