<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>214536</bug_id>
          
          <creation_ts>2020-07-19 08:06:27 -0700</creation_ts>
          <short_desc>cpp.py:3688: FutureWarning: Possible nested set at position 101</short_desc>
          <delta_ts>2020-07-19 12:07:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>darin</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1672894</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-07-19 08:06:27 -0700</bug_when>
    <thetext>$ check-webkit-style 
/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/pep8.py:110: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r&apos;[[({] | []}),;:]&apos;)
/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py:3688: FutureWarning: Possible nested set at position 101
  check_identifier_name_in_declaration(filename, line_number, line, file_state, error)
/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py:3688: FutureWarning: Possible nested set at position 73
  check_identifier_name_in_declaration(filename, line_number, line, file_state, error)
Total errors found: 0 in 5 files

First warning is bug #214531. Let&apos;s fix the others here. Seems the warning was added in https://bugs.python.org/issue30349 and all we need to do is escape [ when used inside a set. That is, we have to change &quot;[[&quot; to &quot;[\[&quot;. That was a little hard to figure out because the warning message points to the wrong line... the issue is on line 3780, not line 3688.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672895</commentid>
    <comment_count>1</comment_count>
      <attachid>404670</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-07-19 08:08:04 -0700</bug_when>
    <thetext>Created attachment 404670
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672896</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-07-19 08:09:32 -0700</bug_when>
    <thetext>(BTW, the warning means this code will break in a future version of python if we do not add the escape. The escape will maintain current behavior going forward.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672936</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-07-19 12:06:27 -0700</bug_when>
    <thetext>Committed r264581: &lt;https://trac.webkit.org/changeset/264581&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404670.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672937</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-07-19 12:07:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/65794323&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>404670</attachid>
            <date>2020-07-19 08:08:04 -0700</date>
            <delta_ts>2020-07-19 12:06:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-214536-20200719100803.patch</filename>
            <type>text/plain</type>
            <size>1876</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjY0NTc2CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNmUwZDg0OWJlZmFmOGJiZTUzZmI2ZmY3N2FhMDQ4OGE2
NTJhNzIyNC4uOTYzZWJiOTQ5M2MxOTcxZmE3YzI2NjQ4ZDdiNzhmYTVkZjNmMTQwZCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2
IEBACisyMDIwLTA3LTE5ICBNaWNoYWVsIENhdGFuemFybyAgPG1jYXRhbnphcm9AZ25vbWUub3Jn
PgorCisgICAgICAgIGNwcC5weTozNjg4OiBGdXR1cmVXYXJuaW5nOiBQb3NzaWJsZSBuZXN0ZWQg
c2V0IGF0IHBvc2l0aW9uIDEwMQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9MjE0NTM2CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgVGhlIHdhcm5pbmcgd2FzIGFkZGVkIGluIGh0dHBzOi8vYnVncy5weXRob24u
b3JnL2lzc3VlMzAzNDkuIFdlIG5lZWQgdG8gZXNjYXBlIFsgd2hlbiB1c2VkCisgICAgICAgIGlu
c2lkZSBhIHNldC4gVGhhdCBpcywgd2UgaGF2ZSB0byBjaGFuZ2UgIltbIiB0byAiW1xbIi4KKwor
ICAgICAgICAqIFNjcmlwdHMvd2Via2l0cHkv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Zmllcj5bWzsoKT0sXSkoPyE9KScKKyAgICBjaGFyYWN0ZXJfYWZ0ZXJf
aWRlbnRpZmllcl9yZWdleHAgPSByJyg/UDxjaGFyYWN0ZXJfYWZ0ZXJfaWRlbnRpZmllcj5bXFs7
KCk9LF0pKD8hPSknCiAgICAgZGVjbGFyYXRpb25fd2l0aG91dF90eXBlX3JlZ2V4cCA9IHInXHMq
JyArIGlkZW50aWZpZXJfcmVnZXhwICsgcidccyonICsgbWF5YmVfYml0ZmllbGRfcmVnZXhwICsg
Y2hhcmFjdGVyX2FmdGVyX2lkZW50aWZpZXJfcmVnZXhwCiAgICAgZGVjbGFyYXRpb25fd2l0aF90
eXBlX3JlZ2V4cCA9IHInXHMqJyArIHR5cGVfcmVnZXhwICsgcidccycgKyBkZWNsYXJhdGlvbl93
aXRob3V0X3R5cGVfcmVnZXhwCiAgICAgY29uc3RydWN0b3JfcmVnZXhwID0gcidccyooW1x3X10q
OjopKig/UDxwcmVfcGFydD5bXHdfXSspOjooP1A8cG9zdF9wYXJ0Pltcd19dKylbKF0nCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>