cpython/Doc/tools/susp-ignored.csv
Petr Viktorin 22adf29da8
[3.9] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (GH-118472)
The _private_networks variables, used by various is_private
implementations, were missing some ranges and at the same time had
overly strict ranges (where there are more specific ranges considered
globally reachable by the IANA registries).

This patch updates the ranges with what was missing or otherwise
incorrect.

100.64.0.0/10 is left alone, for now, as it's been made special in [1].

The _address_exclude_many() call returns 8 networks for IPv4, 121
networks for IPv6.

[1] https://github.com/python/cpython/issues/61602

In 3.10 and below, is_private checks whether the network and broadcast
address are both private.
In later versions (where the test wss backported from), it checks
whether they both are in the same private network.

For 0.0.0.0/0, both 0.0.0.0 and 255.225.255.255 are private,
but one is in 0.0.0.0/8 ("This network") and the other in
255.255.255.255/32 ("Limited broadcast").

---------

Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2024-05-07 11:57:58 +02:00

22 KiB

1c-api/arg:refPyArg_ParseTuple(args, "O|O:ref", &object, &callback)
2c-api/list:highlist[low:high]
3c-api/sequence:i2del o[i1:i2]
4c-api/sequence:i2o[i1:i2]
5c-api/tuple:highp[low:high]
6c-api/unicode:endstr[start:end]
7c-api/unicode:startunicode[start:start+length]
8distutils/examples`This is the description of the ``foobar`` package.
9distutils/setupscript::
10extending/embedding:numargsif(!PyArg_ParseTuple(args, ":numargs"))
11extending/extending:myfunctionPyArg_ParseTuple(args, "D:myfunction", &c);
12extending/extending:setif (PyArg_ParseTuple(args, "O:set_callback", &temp)) {
13extending/newtypes:callif (!PyArg_ParseTuple(args, "sss:call", &arg1, &arg2, &arg3)) {
14faq/programming:chr>=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(
15faq/programming:reduceprint((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,
16faq/programming:reduceSx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
17faq/windows:d48ecebPython 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
18howto/curses:blackcolors when it activates color mode. They are: 0:black, 1:red,
19howto/curses:redcolors when it activates color mode. They are: 0:black, 1:red,
20howto/curses:green2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
21howto/curses:yellow2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
22howto/curses:blue2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
23howto/curses:magenta2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
24howto/curses:cyan2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
25howto/curses:white2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The
26howto/descriptor:rootINFO:root
27howto/descriptor:Updatingroot:Updating
28howto/descriptor:Accessingroot:Accessing
29howto/instrumentation::python$target:::function-entry
30howto/instrumentation:functionpython$target:::function-entry
31howto/instrumentation::python$target:::function-return
32howto/instrumentation:functionpython$target:::function-return
33howto/instrumentation:call156641360502280 function-entry:call_stack.py:start:23
34howto/instrumentation:start156641360502280 function-entry:call_stack.py:start:23
35howto/instrumentation:function156641360518804 function-entry: call_stack.py:function_1:1
36howto/instrumentation:function156641360532797 function-entry: call_stack.py:function_3:9
37howto/instrumentation:function156641360546807 function-return: call_stack.py:function_3:10
38howto/instrumentation:function156641360563367 function-return: call_stack.py:function_1:2
39howto/instrumentation:function156641360578365 function-entry: call_stack.py:function_2:5
40howto/instrumentation:function156641360591757 function-entry: call_stack.py:function_1:1
41howto/instrumentation:function156641360605556 function-entry: call_stack.py:function_3:9
42howto/instrumentation:function156641360617482 function-return: call_stack.py:function_3:10
43howto/instrumentation:function156641360629814 function-return: call_stack.py:function_1:2
44howto/instrumentation:function156641360642285 function-return: call_stack.py:function_2:6
45howto/instrumentation:function156641360656770 function-entry: call_stack.py:function_3:9
46howto/instrumentation:function156641360669707 function-return: call_stack.py:function_3:10
47howto/instrumentation:function156641360687853 function-entry: call_stack.py:function_4:13
48howto/instrumentation:function156641360700719 function-return: call_stack.py:function_4:14
49howto/instrumentation:function156641360719640 function-entry: call_stack.py:function_5:18
50howto/instrumentation:function156641360732567 function-return: call_stack.py:function_5:21
51howto/instrumentation:call156641360747370 function-return:call_stack.py:start:28
52howto/instrumentation:start156641360747370 function-return:call_stack.py:start:28
53howto/ipaddress:DB8>>> ipaddress.ip_address('2001:DB8::1')
54howto/ipaddress::>>> ipaddress.ip_address('2001:DB8::1')
55howto/ipaddress:db8IPv6Address('2001:db8::1')
56howto/ipaddress::IPv6Address('2001:db8::1')
57howto/ipaddress::IPv6Address('::1')
58howto/ipaddress:db8>>> ipaddress.ip_network('2001:db8::0/96')
59howto/ipaddress::>>> ipaddress.ip_network('2001:db8::0/96')
60howto/ipaddress:db8IPv6Network('2001:db8::/96')
61howto/ipaddress::IPv6Network('2001:db8::/96')
62howto/ipaddress:db8IPv6Network('2001:db8::/128')
63howto/ipaddress::IPv6Network('2001:db8::/128')
64howto/ipaddress:db8IPv6Interface('2001:db8::1/96')
65howto/ipaddress::IPv6Interface('2001:db8::1/96')
66howto/ipaddress:db8>>> addr6 = ipaddress.ip_address('2001:db8::1')
67howto/ipaddress::>>> addr6 = ipaddress.ip_address('2001:db8::1')
68howto/ipaddress:db8>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
69howto/ipaddress::>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
70howto/ipaddress:db8>>> net6 = ipaddress.ip_network('2001:db8::0/96')
71howto/ipaddress::>>> net6 = ipaddress.ip_network('2001:db8::0/96')
72howto/ipaddress:ffffIPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
73howto/ipaddress::IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
74howto/ipaddress::IPv6Address('::ffff:ffff')
75howto/ipaddress:ffffIPv6Address('::ffff:ffff')
76howto/ipaddress:db8'2001:db8::/96'
77howto/ipaddress::'2001:db8::/96'
78howto/ipaddress:db8>>> ipaddress.ip_interface('2001:db8::1/96')
79howto/ipaddress::>>> ipaddress.ip_interface('2001:db8::1/96')
80howto/ipaddress:db8'2001:db8::1'
81howto/ipaddress::'2001:db8::1'
82howto/ipaddress:db8IPv6Address('2001:db8::ffff:ffff')
83howto/ipaddress::IPv6Address('2001:db8::ffff:ffff')
84howto/ipaddress:ffffIPv6Address('2001:db8::ffff:ffff')
85howto/logging:AndWARNING:And this, too
86howto/logging:AndWARNING:root:And this, too
87howto/logging:AndERROR:root:And non-ASCII stuff, too, like
88howto/logging:DoingINFO:root:Doing something
89howto/logging:FinishedINFO:root:Finished
90howto/logging:loggerseverity:logger name:message
91howto/logging:LookWARNING:root:Look before you leap!
92howto/logging:messageseverity:logger name:message
93howto/logging:rootDEBUG:root:This message should go to the log file
94howto/logging:rootINFO:root:Doing something
95howto/logging:rootINFO:root:Finished
96howto/logging:rootINFO:root:So should this
97howto/logging:rootERROR:root:And non-ASCII stuff, too, like
98howto/logging:rootINFO:root:Started
99howto/logging:rootWARNING:root:And this, too
100howto/logging:rootWARNING:root:Look before you leap!
101howto/logging:rootWARNING:root:Watch out!
102howto/logging:SoINFO:root:So should this
103howto/logging:SoINFO:So should this
104howto/logging:StartedINFO:root:Started
105howto/logging:ThisDEBUG:root:This message should go to the log file
106howto/logging:ThisDEBUG:This message should appear on the console
107howto/logging:WatchWARNING:root:Watch out!
108howto/pyporting::Programming Language :: Python :: 2
109howto/pyporting::Programming Language :: Python :: 3
110howto/regex::
111howto/regex:foo(?:foo)
112howto/urllib2:password"joe:password@example.com"
113library/ast:upperlower:upper
114library/ast:steplower:upper:step
115library/audioop:ipos# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],
116library/bisect32:hiall(val >= x for val in a[i:hi])
117library/bisect42:hiall(val > x for val in a[i:hi])
118library/configparser:homemy_dir: ${Common:home_dir}/twosheds
119library/configparser:option${section:option}
120library/configparser:pathpython_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
121library/configparser:Pythonpython_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
122library/configparser:systempath: ${Common:system_dir}/Library/Frameworks/
123library/datetime:MM
124library/datetime:SS
125library/decimal:optionaltrailneg:optional trailing minus indicator
126library/difflib:ahia[alo:ahi]
127library/difflib:bhib[blo:bhi]
128library/difflib:i1
129library/difflib:i2
130library/difflib:j2
131library/doctest```factorial`` from the ``example`` module:
132library/doctest`The ``example`` module
133library/doctest`Using ``factorial``
134library/exceptions:errerr.object[err.start:err.end]
135library/functions:stepa[start:stop:step]
136library/functions:stopa[start:stop, i]
137library/functions:stopa[start:stop:step]
138library/hashlib:LEAFh00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH,
139library/http.client:porthost:port
140library/http.cookies`!#$%&'*+-.^_`|~:
141library/imaplib:MM"DD-Mmm-YYYY HH:MM:SS
142library/imaplib:SS"DD-Mmm-YYYY HH:MM:SS
143library/inspect:int>>> def foo(a, *, b:int, **kwargs):
144library/inspect:int'(a, *, b:int, **kwargs)'
145library/inspect:int'b:int'
146library/ipaddress:db8>>> ipaddress.ip_address('2001:db8::')
147library/ipaddress::>>> ipaddress.ip_address('2001:db8::')
148library/ipaddress:db8IPv6Address('2001:db8::')
149library/ipaddress::IPv6Address('2001:db8::')
150library/ipaddress:db8>>> ipaddress.IPv6Address('2001:db8::1000')
151library/ipaddress::>>> ipaddress.IPv6Address('2001:db8::1000')
152library/ipaddress:db8'2001:db8::1000'
153library/ipaddress::'2001:db8::1000'
154library/ipaddress:db8>>> f'{ipaddress.IPv6Address("2001:db8::1000"):s}'
155library/ipaddress::>>> f'{ipaddress.IPv6Address("2001:db8::1000"):s}'
156library/ipaddress::IPv6Address('ff02::5678%1')
157library/ipaddress::fe80::1234
158library/ipaddress:db8>>> ipaddress.ip_address("2001:db8::1").reverse_pointer
159library/ipaddress::>>> ipaddress.ip_address("2001:db8::1").reverse_pointer
160library/ipaddress::"::abc:7:def"
161library/ipaddress:def"::abc:7:def"
162library/ipaddress::::FFFF/96
163library/ipaddress::2002::/16
164library/ipaddress::2001::/32
165library/ipaddress::>>> str(ipaddress.IPv6Address('::1'))
166library/ipaddress::'::1'
167library/ipaddress:ff00ffff:ff00::
168library/ipaddress:db002001:db00::0/24
169library/ipaddress::2001:db00::0/24
170library/ipaddress:db002001:db00::0/ffff:ff00::
171library/ipaddress::2001:db00::0/ffff:ff00::
172library/ipaddress:ff9b64:ff9b:1::/48
173library/ipaddress::64:ff9b:1::/48
174library/ipaddress::2001::
175library/ipaddress::2001:1::
176library/ipaddress::2001:3::
177library/ipaddress::2001:4:112::
178library/ipaddress::2001:20::
179library/ipaddress::2001:30::
180library/itertools:stepelements from seq[start:stop:step]
181library/itertools:stopelements from seq[start:stop:step]
182library/itertools::kernel = tuple(kernel)[::-1]
183library/logging.handlers:porthost:port
184library/mmap:i2obj[i1:i2]
185library/multiprocessing`# Add more tasks using `put()`
186library/multiprocessing:queue>>> QueueManager.register('get_queue', callable=lambda:queue)
187library/multiprocessing`# register the Foo class; make `f()` and `g()` accessible via proxy
188library/multiprocessing`# register the Foo class; make `g()` and `_h()` accessible via proxy
189library/multiprocessing`# register the generator function baz; use `GeneratorProxy` to make proxies
190library/nntplib:bytes:bytes
191library/nntplib:lines:lines
192library/optparse:lendel parser.rargs[:len(value)]
193library/os.path:fooc:foo
194library/pathlib:bar>>> PureWindowsPath('c:/Windows', 'd:bar')
195library/pathlib:barPureWindowsPath('d:bar')
196library/pathlib:Program>>> PureWindowsPath('c:Program Files/').root
197library/pathlib:Program>>> PureWindowsPath('c:Program Files/').anchor
198library/pdb:linenofilename:lineno
199library/pickle:memoryconn = sqlite3.connect(":memory:")
200library/posix`CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS"
201library/pprint::'Programming Language :: Python :: 2.6',
202library/pprint::'Programming Language :: Python :: 2.7',
203library/pprint::'classifiers': ['Development Status :: 3 - Alpha',
204library/pprint::'Intended Audience :: Developers',
205library/pprint::'License :: OSI Approved :: MIT License',
206library/pprint::'Programming Language :: Python :: 2',
207library/pprint::'Programming Language :: Python :: 3',
208library/pprint::'Programming Language :: Python :: 3.2',
209library/pprint::'Programming Language :: Python :: 3.3',
210library/pprint::'Programming Language :: Python :: 3.4',
211library/pprint::'Topic :: Software Development :: Build Tools'],
212library/profile:linenofilename:lineno(function)
213library/pyexpat:elem1<py:elem1 />
214library/pyexpat:pyxmlns:py = "http://www.python.org/ns/">
215library/random:lennew_diff = mean(combined[:len(drug)]) - mean(combined[len(drug):])
216library/readline:bindpython:bind -v
217library/readline:bindpython:bind ^I rl_complete
218library/smtplib:portmethod must support that as well as a regular host:port
219library/socket::'5aef:2b::8'
220library/socket:canreturn (can_id, can_dlc, data[:can_dlc])
221library/socket:lenfds.frombytes(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
222library/sqlite3:yearcur.execute("select * from lang where first_appeared=:year", {"year": 1972})
223library/sqlite3:memory
224library/sqlite3:templatecon = sqlite3.connect("file:template.db?mode=ro", uri=True)
225library/sqlite3:nosuchdbcon = sqlite3.connect("file:nosuchdb.db?mode=rw", uri=True)
226library/sqlite3:mem1con1 = sqlite3.connect("file:mem1?mode=memory&cache=shared", uri=True)
227library/sqlite3:mem1con2 = sqlite3.connect("file:mem1?mode=memory&cache=shared", uri=True)
228library/ssl:MyOrganizational Unit Name (eg, section) []:My Group
229library/ssl:MyOrganization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc.
230library/ssl:myserverCommon Name (eg, YOUR name) []:myserver.mygroup.myorganization.com
231library/ssl:MyStateState or Province Name (full name) [Some-State]:MyState
232library/ssl:opsEmail Address []:ops@myserver.mygroup.myorganization.com
233library/ssl:SomeLocality Name (eg, city) []:Some City
234library/ssl:USCountry Name (2 letter code) [AU]:US
235library/stdtypes:ends[start:end]
236library/stdtypes::>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
237library/stdtypes:lens[len(s):len(s)]
238library/stdtypes::>>> y = m[::2]
239library/stdtypes::>>> z = y[::-2]
240library/string`!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
241library/tarfile:bz2
242library/tarfile:compressionfilemode[:compression]
243library/tarfile:gz
244library/tarfile:xz'a:xz'
245library/tarfile:xz'r:xz'
246library/tarfile:xz'w:xz'
247library/time:mm
248library/time:ss
249library/tracemalloc:limitfor index, stat in enumerate(top_stats[:limit], 1):
250library/turtle::Example::
251library/unittest:fooself.assertEqual(cm.output, ['INFO:foo:first message',
252library/unittest:firstself.assertEqual(cm.output, ['INFO:foo:first message',
253library/unittest:foo'ERROR:foo.bar:second message'])
254library/unittest:second'ERROR:foo.bar:second message'])
255library/urllib.request:closeConnection:close
256library/urllib.request:port:port
257library/urllib.request:langxmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n
258library/urllib.request:password"joe:password@python.org"
259library/urllib.parse:scheme<URL:scheme://host/path>
260library/urllib.parse:schemeURL:scheme://host/path
261library/uuid:uuidurn:uuid:12345678-1234-5678-1234-567812345678
262library/venv:param:param nodist: If true, setuptools and pip are not installed into the
263library/venv:param:param progress: If setuptools or pip are installed, the progress of the
264library/venv:param:param nopip: If true, pip is not installed into the created
265library/venv:param:param context: The information for the virtual environment
266library/xmlrpc.client:nilex:nil
267library/xmlrpc.client:passhttp://user:pass@host:port/path
268library/xmlrpc.client:passuser:pass
269library/xmlrpc.client:porthttp://user:pass@host:port/path
270license```Software''), to deal in the Software without restriction, including
271license`THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
272license`* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
273license`THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
274license`* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
275license`THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
276license:zookomailto:zooko@zooko.com
277reference/expressions:indexx[index:index]
278reference/lexical_analysis`$ ? `
279reference/lexical_analysis:fileencoding# vim:fileencoding=<encoding-name>
280reference/datamodel`"Return the result of the expression `obj[x]`"
281tutorial/datastructures:valueIt is also possible to delete a key:value
282tutorial/datastructures:valuekey:value pairs within the braces adds initial key:value pairs
283tutorial/stdlib2:configlogging.warning('Warning:config file %s not found', 'server.conf')
284tutorial/stdlib2:configWARNING:root:Warning:config file server.conf not found
285tutorial/stdlib2:CriticalCRITICAL:root:Critical error -- shutting down
286tutorial/stdlib2:ErrorERROR:root:Error occurred
287tutorial/stdlib2:rootCRITICAL:root:Critical error -- shutting down
288tutorial/stdlib2:rootERROR:root:Error occurred
289tutorial/stdlib2:rootWARNING:root:Warning:config file server.conf not found
290tutorial/stdlib2:startextra = data[start:start+extra_size]
291tutorial/stdlib2:startfields = struct.unpack('<IIIHH', data[start:start+16])
292tutorial/stdlib2:startfilename = data[start:start+filenamesize]
293tutorial/stdlib2:WarningWARNING:root:Warning:config file server.conf not found
294using/cmdline:errorhandler:errorhandler
295using/cmdline:linefile:line: category: message
296using/unix:Packaginghttps://en.opensuse.org/Portal:Packaging
297whatsnew/2.0:len
298whatsnew/2.3::
299whatsnew/2.3:config
300whatsnew/2.3:Critical
301whatsnew/2.3:Error
302whatsnew/2.3:Problem
303whatsnew/2.3:root
304whatsnew/2.3:Warning
305whatsnew/2.4::
306whatsnew/2.4:System
307whatsnew/2.5:memory:memory:
308whatsnew/2.5:step[start:stop:step]
309whatsnew/2.5:stop[start:stop:step]
310whatsnew/2.7::ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',
311whatsnew/2.7::>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
312whatsnew/2.7:Sunday'2009:4:Sunday'
313whatsnew/2.7:Cookieexport PYTHONWARNINGS=all,error:::Cookie:0
314whatsnew/2.7::export PYTHONWARNINGS=all,error:::Cookie:0
315whatsnew/3.2:affenetloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
316whatsnew/3.2:affe>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
317whatsnew/3.2:beefnetloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
318whatsnew/3.2:beef>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
319whatsnew/3.2:cafenetloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
320whatsnew/3.2:cafe>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
321whatsnew/3.2:deafnetloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
322whatsnew/3.2:deaf>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
323whatsnew/3.2:directory${buildout:directory}/downloads/dist
324whatsnew/3.2::$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'
325whatsnew/3.2:feednetloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
326whatsnew/3.2:feed>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
327whatsnew/3.2:gz>>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:
328whatsnew/3.2:locationzope9-location = ${zope9:location}
329whatsnew/3.2:prefixzope-conf = ${custom:prefix}/etc/zope.conf
330library/re`!#$%&'*+-.^_`|~:
331library/re`!\#\$%\&'\*\+\-\.\^_`\|\~:
332library/tarfile:xz'x:xz'
333library/warnings:messageaction:message:category:module:line
334library/warnings:categoryaction:message:category:module:line
335library/warnings:moduleaction:message:category:module:line
336library/warnings:lineaction:message:category:module:line
337library/warnings::error::ResourceWarning
338library/warnings::default::DeprecationWarning
339library/warnings::default:::mymodule
340library/warnings:mymoduledefault:::mymodule
341library/warnings::error:::mymodule
342library/warnings:mymoduleerror:::mymodule
343library/warnings::ignore::DeprecationWarning
344library/warnings::ignore::PendingDeprecationWarning
345library/warnings::ignore::ImportWarning
346library/warnings::ignore::ResourceWarning
347library/xml.etree.elementtree:sometagprefix:sometag
348library/xml.etree.elementtree:fictional<actors xmlns:fictional="http://characters.example.com"
349library/xml.etree.elementtree:character<fictional:character>Lancelot</fictional:character>
350library/xml.etree.elementtree:character<fictional:character>Archie Leach</fictional:character>
351library/xml.etree.elementtree:character<fictional:character>Sir Robin</fictional:character>
352library/xml.etree.elementtree:character<fictional:character>Gunther</fictional:character>
353library/xml.etree.elementtree:character<fictional:character>Commander Clement</fictional:character>
354library/xml.etree.elementtree:actorfor actor in root.findall('real_person:actor', ns):
355library/xml.etree.elementtree:namename = actor.find('real_person:name', ns)
356library/xml.etree.elementtree:characterfor char in actor.findall('role:character', ns):
357library/zipapp:main$ python -m zipapp myapp -m "myapp:main"
358library/zipapp:fnpkg.mod:fn
359library/zipapp:callablepkg.module:callable
360library/stdtypes::>>> m[::2].tolist()
361whatsnew/3.5:root'WARNING:root:warning\n'
362whatsnew/3.5:warning'WARNING:root:warning\n'
363whatsnew/3.5::>>> addr6 = ipaddress.IPv6Address('::1')
364whatsnew/3.5:rootERROR:root:exception
365whatsnew/3.5:exceptionERROR:root:exception
366whatsnew/changelog`'`'
367whatsnew/changelog:endstr[start:end]
368library/binascii`'`'
369library/uu`'`'
370whatsnew/3.7`'`'
371whatsnew/3.7::error::BytesWarning
372whatsnew/changelog::error::BytesWarning
373whatsnew/changelog::default::BytesWarning
374whatsnew/changelog::default::DeprecationWarning
375library/importlib.metadata:mainEntryPoint(name='wheel', value='wheel.cli:main', group='console_scripts')
376library/importlib.metadata`loading the metadata for packages for the indicated ``context``.
377library/re``
378library/typing`# will always be an instance of whatever ``cls`` is