From bb63be0e9b2b602e4759c9f2d543aeb33751db9e Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Wed, 8 Jun 2016 13:32:49 +0000 Subject: Fix RST conflicts with Idle news entries --- Doc/tools/susp-ignored.csv | 1 + 1 file changed, 1 insertion(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index c394af335a..46cc2f17ab 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -272,6 +272,7 @@ whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe: whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:" whatsnew/3.2,,:location,zope9-location = ${zope9:location} whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf +whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" library/tarfile,149,:xz,'x:xz' -- cgit v1.2.1 From cf6a2f4e498762e8f338bdad64dcc6ec23790af2 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 11 Jul 2016 14:21:58 -0400 Subject: Issue #27285: Cleanup "suspicious" warnings. --- Doc/tools/susp-ignored.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 4d3ecda533..6e4a3b3869 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -205,7 +205,7 @@ library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678 library/venv,,:param,":param nodist: If True, setuptools and pip are not installed into the" library/venv,,:param,":param progress: If setuptools or pip are installed, the progress of the" library/venv,,:param,":param nopip: If True, pip is not installed into the created" -library/venv,,:param,:param context: The information for the environment creation request +library/venv,,:param,:param context: The information for the virtual environment library/xmlrpc.client,,:pass,http://user:pass@host:port/path library/xmlrpc.client,,:pass,user:pass library/xmlrpc.client,,:port,http://user:pass@host:port/path -- cgit v1.2.1 From f26a4b6b040bfa39f372ee0ca5a8529ea9ba7ba0 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 16 Jul 2016 07:17:46 +0000 Subject: Issue #27285: Cleanup leftover susp-ignored entry after text was changed --- Doc/tools/susp-ignored.csv | 1 - 1 file changed, 1 deletion(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 6e4a3b3869..4aee2d68db 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -291,7 +291,6 @@ library/zipapp,82,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg library/zipapp,155,:callable,"""pkg.module:callable"" and the archive will be run by importing" library/stdtypes,,::,>>> m[::2].tolist() library/sys,,`,# ``wrapper`` creates a ``wrap(coro)`` coroutine: -tutorial/venv,77,:c7b9645a6f35,"Python 3.4.3+ (3.4:c7b9645a6f35+, May 22 2015, 09:31:25)" whatsnew/3.5,,:root,'WARNING:root:warning\n' whatsnew/3.5,,:warning,'WARNING:root:warning\n' whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1') -- cgit v1.2.1 From 6c3f4d784d30fd9ea3ea311a821ad1563db144bd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 6 Sep 2016 14:37:37 -0700 Subject: shut up some perfectly innocent reST in hashlib-blake2 --- Doc/tools/susp-ignored.csv | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 4aee2d68db..94fc71b2bb 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -106,6 +106,10 @@ library/exceptions,,:err,err.object[err.start:err.end] library/functions,,:step,a[start:stop:step] library/functions,,:stop,"a[start:stop, i]" library/functions,,:stop,a[start:stop:step] +library/hashlib-blake2,,:vatrogasac,>>> cookie = b'user:vatrogasac' +library/hashlib-blake2,,:vatrogasac,"user:vatrogasac,349cf904533767ed2d755279a8df84d0" +library/hashlib-blake2,,:policajac,">>> compare_digest(b'user:policajac', sig)" +library/hashlib-blake2,,:LEAF,"h00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH," library/http.client,,:port,host:port library/http.cookies,,`,!#$%&'*+-.^_`|~: library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS" -- cgit v1.2.1 From 62fc76cb4325e8c48f9f42d7bacc631d812d4a19 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 9 Sep 2016 13:26:47 -0700 Subject: Remove unused suspicious rules --- Doc/tools/susp-ignored.csv | 3 --- 1 file changed, 3 deletions(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 94fc71b2bb..afe3fad961 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -276,9 +276,6 @@ whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe: whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:" whatsnew/3.2,,:location,zope9-location = ${zope9:location} whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf -whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] -whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" -whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" library/tarfile,149,:xz,'x:xz' library/xml.etree.elementtree,290,:sometag,prefix:sometag library/xml.etree.elementtree,301,:fictional," Date: Fri, 9 Sep 2016 15:46:14 -0700 Subject: Fix suspicious markup --- Doc/tools/susp-ignored.csv | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index afe3fad961..7daa551bd5 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -297,3 +297,7 @@ whatsnew/3.5,,:warning,'WARNING:root:warning\n' whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1') whatsnew/3.5,,:root,ERROR:root:exception whatsnew/3.5,,:exception,ERROR:root:exception +whatsnew/3.6,140,`,1000000000000000` +whatsnew/changelog,998,:version,import sys; I = version[:version.index(' ')] +whatsnew/changelog,6416,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" +whatsnew/changelog,8023,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" -- cgit v1.2.1 From 4770c6502066daf65f10d99418c18e48399ff964 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 9 Sep 2016 17:38:28 -0700 Subject: Remove line numbers from suspicious rules --- Doc/tools/susp-ignored.csv | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 7daa551bd5..46ecee447e 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -243,7 +243,7 @@ using/cmdline,,:line,file:line: category: message using/cmdline,,:message,action:message:category:module:line using/cmdline,,:module,action:message:category:module:line using/unix,,:Packaging,https://en.opensuse.org/Portal:Packaging -whatsnew/2.0,418,:len, +whatsnew/2.0,,:len, whatsnew/2.3,,::, whatsnew/2.3,,:config, whatsnew/2.3,,:Critical, @@ -276,20 +276,20 @@ whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe: whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:" whatsnew/3.2,,:location,zope9-location = ${zope9:location} whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf -library/tarfile,149,:xz,'x:xz' -library/xml.etree.elementtree,290,:sometag,prefix:sometag -library/xml.etree.elementtree,301,:fictional,"Lancelot -library/xml.etree.elementtree,301,:character,Archie Leach -library/xml.etree.elementtree,301,:character,Sir Robin -library/xml.etree.elementtree,301,:character,Gunther -library/xml.etree.elementtree,301,:character,Commander Clement +library/tarfile,,:xz,'x:xz' +library/xml.etree.elementtree,,:sometag,prefix:sometag +library/xml.etree.elementtree,,:fictional,"Lancelot +library/xml.etree.elementtree,,:character,Archie Leach +library/xml.etree.elementtree,,:character,Sir Robin +library/xml.etree.elementtree,,:character,Gunther +library/xml.etree.elementtree,,:character,Commander Clement library/xml.etree.elementtree,,:actor,"for actor in root.findall('real_person:actor', ns):" library/xml.etree.elementtree,,:name,"name = actor.find('real_person:name', ns)" library/xml.etree.elementtree,,:character,"for char in actor.findall('role:character', ns):" -library/zipapp,31,:main,"$ python -m zipapp myapp -m ""myapp:main""" -library/zipapp,82,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg.mod"" is a" -library/zipapp,155,:callable,"""pkg.module:callable"" and the archive will be run by importing" +library/zipapp,,:main,"$ python -m zipapp myapp -m ""myapp:main""" +library/zipapp,,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg.mod"" is a" +library/zipapp,,:callable,"""pkg.module:callable"" and the archive will be run by importing" library/stdtypes,,::,>>> m[::2].tolist() library/sys,,`,# ``wrapper`` creates a ``wrap(coro)`` coroutine: whatsnew/3.5,,:root,'WARNING:root:warning\n' @@ -297,7 +297,7 @@ whatsnew/3.5,,:warning,'WARNING:root:warning\n' whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1') whatsnew/3.5,,:root,ERROR:root:exception whatsnew/3.5,,:exception,ERROR:root:exception -whatsnew/3.6,140,`,1000000000000000` -whatsnew/changelog,998,:version,import sys; I = version[:version.index(' ')] -whatsnew/changelog,6416,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" -whatsnew/changelog,8023,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" +whatsnew/3.6,,`,1000000000000000` +whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] +whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" +whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" -- cgit v1.2.1 From 6edfa2cdfc450fbcf7713f10e271334219bce2fb Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 9 Sep 2016 17:47:38 -0700 Subject: Actually fix suspicious markup, I ignored it too readily --- Doc/tools/susp-ignored.csv | 1 - 1 file changed, 1 deletion(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 46ecee447e..e73af8c41c 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -297,7 +297,6 @@ whatsnew/3.5,,:warning,'WARNING:root:warning\n' whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1') whatsnew/3.5,,:root,ERROR:root:exception whatsnew/3.5,,:exception,ERROR:root:exception -whatsnew/3.6,,`,1000000000000000` whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" -- cgit v1.2.1 From dca87a3ddb2ce070fbe9fd19a0507a2a1abf1545 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sun, 11 Sep 2016 15:49:37 -0400 Subject: Add some additional suspicious exemption rules for recent doc changes. --- Doc/tools/susp-ignored.csv | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index e73af8c41c..5de55a25e8 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -25,6 +25,30 @@ howto/curses,,:blue,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. howto/curses,,:magenta,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" howto/curses,,:cyan,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" howto/curses,,:white,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" +howto/instrumentation,,::,python$target:::function-entry +howto/instrumentation,,:function,python$target:::function-entry +howto/instrumentation,,::,python$target:::function-return +howto/instrumentation,,:function,python$target:::function-return +howto/instrumentation,,:call,156641360502280 function-entry:call_stack.py:start:23 +howto/instrumentation,,:start,156641360502280 function-entry:call_stack.py:start:23 +howto/instrumentation,,:function,156641360518804 function-entry: call_stack.py:function_1:1 +howto/instrumentation,,:function,156641360532797 function-entry: call_stack.py:function_3:9 +howto/instrumentation,,:function,156641360546807 function-return: call_stack.py:function_3:10 +howto/instrumentation,,:function,156641360563367 function-return: call_stack.py:function_1:2 +howto/instrumentation,,:function,156641360578365 function-entry: call_stack.py:function_2:5 +howto/instrumentation,,:function,156641360591757 function-entry: call_stack.py:function_1:1 +howto/instrumentation,,:function,156641360605556 function-entry: call_stack.py:function_3:9 +howto/instrumentation,,:function,156641360617482 function-return: call_stack.py:function_3:10 +howto/instrumentation,,:function,156641360629814 function-return: call_stack.py:function_1:2 +howto/instrumentation,,:function,156641360642285 function-return: call_stack.py:function_2:6 +howto/instrumentation,,:function,156641360656770 function-entry: call_stack.py:function_3:9 +howto/instrumentation,,:function,156641360669707 function-return: call_stack.py:function_3:10 +howto/instrumentation,,:function,156641360687853 function-entry: call_stack.py:function_4:13 +howto/instrumentation,,:function,156641360700719 function-return: call_stack.py:function_4:14 +howto/instrumentation,,:function,156641360719640 function-entry: call_stack.py:function_5:18 +howto/instrumentation,,:function,156641360732567 function-return: call_stack.py:function_5:21 +howto/instrumentation,,:call,156641360747370 function-return:call_stack.py:start:28 +howto/instrumentation,,:start,156641360747370 function-return:call_stack.py:start:28 howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1') howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1') howto/ipaddress,,:db8,IPv6Address('2001:db8::1') @@ -210,6 +234,7 @@ library/venv,,:param,":param nodist: If True, setuptools and pip are not install library/venv,,:param,":param progress: If setuptools or pip are installed, the progress of the" library/venv,,:param,":param nopip: If True, pip is not installed into the created" library/venv,,:param,:param context: The information for the virtual environment +library/xmlrpc.client,,:nil,ex:nil library/xmlrpc.client,,:pass,http://user:pass@host:port/path library/xmlrpc.client,,:pass,user:pass library/xmlrpc.client,,:port,http://user:pass@host:port/path -- cgit v1.2.1 From cd33ffe11d823efdf8254a7f5447208ee6963f48 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 25 Oct 2016 21:43:41 -0500 Subject: Ignore harmless suspicious markup --- Doc/tools/susp-ignored.csv | 1 + 1 file changed, 1 insertion(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 5de55a25e8..cb01c85e5a 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -325,3 +325,4 @@ whatsnew/3.5,,:exception,ERROR:root:exception whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" +whatsnew/changelog,,`,"for readability (was ""`"")." -- cgit v1.2.1 From ef77c30c9e1db32baac5f2bb00857c9f3562e8c0 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 17 Nov 2016 23:30:27 -0600 Subject: Ignore newly added suspicious line --- Doc/tools/susp-ignored.csv | 1 + 1 file changed, 1 insertion(+) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index cb01c85e5a..96483c4c79 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -189,6 +189,7 @@ library/pprint,,::,"'Programming Language :: Python :: 2.7'," library/profile,,:lineno,filename:lineno(function) library/pyexpat,,:elem1, library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">" +library/random,,:len,new_diff = mean(combined[:len(drug)]) - mean(combined[len(drug):]) library/smtplib,,:port,method must support that as well as a regular host:port library/socket,,::,'5aef:2b::8' library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])" -- cgit v1.2.1 From b15945e42fb2c91bb7b20c49f306e8904c31691d Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Sat, 14 Jan 2017 21:04:21 +0900 Subject: Issue #29062: Doc: Fix make suspicious --- Doc/tools/susp-ignored.csv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Doc/tools/susp-ignored.csv') diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 96483c4c79..c6e03119ae 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -130,10 +130,10 @@ library/exceptions,,:err,err.object[err.start:err.end] library/functions,,:step,a[start:stop:step] library/functions,,:stop,"a[start:stop, i]" library/functions,,:stop,a[start:stop:step] -library/hashlib-blake2,,:vatrogasac,>>> cookie = b'user:vatrogasac' -library/hashlib-blake2,,:vatrogasac,"user:vatrogasac,349cf904533767ed2d755279a8df84d0" -library/hashlib-blake2,,:policajac,">>> compare_digest(b'user:policajac', sig)" -library/hashlib-blake2,,:LEAF,"h00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH," +library/hashlib,,:vatrogasac,>>> cookie = b'user:vatrogasac' +library/hashlib,,:vatrogasac,"user:vatrogasac,349cf904533767ed2d755279a8df84d0" +library/hashlib,,:policajac,">>> compare_digest(b'user:policajac', sig)" +library/hashlib,,:LEAF,"h00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH," library/http.client,,:port,host:port library/http.cookies,,`,!#$%&'*+-.^_`|~: library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS" -- cgit v1.2.1