mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	 747f48e2e9
			
		
	
	
		747f48e2e9
		
			
		
	
	
	
	
		
			
			Rather than supporting dev mode directly in the warnings module, this instead adjusts the initialisation code to add an extra 'default' entry to sys.warnoptions when dev mode is enabled. This ensures that dev mode behaves *exactly* as if `-Wdefault` had been passed on the command line, including in the way it interacts with `sys.warnoptions`, and with other command line flags like `-bb`. Fix also bpo-20361: have -b & -bb options take precedence over any other warnings options. Patch written by Nick Coghlan, with minor modifications of Victor Stinner.
		
			
				
	
	
	
	
		
			20 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			20 KiB
		
	
	
	
	
	
	
	
| 1 | c-api/arg | :ref | PyArg_ParseTuple(args, "O|O:ref", &object, &callback) | |
|---|---|---|---|---|
| 2 | c-api/list | :high | list[low:high] | |
| 3 | c-api/sequence | :i2 | del o[i1:i2] | |
| 4 | c-api/sequence | :i2 | o[i1:i2] | |
| 5 | c-api/unicode | :end | str[start:end] | |
| 6 | c-api/unicode | :start | unicode[start:start+length] | |
| 7 | distutils/examples | 267 | ` | This is the description of the ``foobar`` package. | 
| 8 | distutils/setupscript | :: | ||
| 9 | extending/embedding | :numargs | if(!PyArg_ParseTuple(args, ":numargs")) | |
| 10 | extending/extending | :myfunction | PyArg_ParseTuple(args, "D:myfunction", &c); | |
| 11 | extending/extending | :set | if (PyArg_ParseTuple(args, "O:set_callback", &temp)) { | |
| 12 | extending/newtypes | :call | if (!PyArg_ParseTuple(args, "sss:call", &arg1, &arg2, &arg3)) { | |
| 13 | faq/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( | |
| 14 | faq/programming | :: | for x in sequence[::-1]: | |
| 15 | faq/programming | :reduce | print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y, | |
| 16 | faq/programming | :reduce | Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro, | |
| 17 | faq/windows | :bd8afb90ebf2 | Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 | |
| 18 | howto/cporting | :encode | if (!PyArg_ParseTuple(args, "O:encode_object", &myobj)) | |
| 19 | howto/cporting | :say | if (!PyArg_ParseTuple(args, "U:say_hello", &name)) | |
| 20 | howto/curses | :black | colors when it activates color mode. They are: 0:black, 1:red, | |
| 21 | howto/curses | :red | colors when it activates color mode. They are: 0:black, 1:red, | |
| 22 | howto/curses | :green | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 23 | howto/curses | :yellow | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 24 | howto/curses | :blue | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 25 | howto/curses | :magenta | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 26 | howto/curses | :cyan | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 27 | howto/curses | :white | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
| 28 | howto/instrumentation | :: | python$target:::function-entry | |
| 29 | howto/instrumentation | :function | python$target:::function-entry | |
| 30 | howto/instrumentation | :: | python$target:::function-return | |
| 31 | howto/instrumentation | :function | python$target:::function-return | |
| 32 | howto/instrumentation | :call | 156641360502280 function-entry:call_stack.py:start:23 | |
| 33 | howto/instrumentation | :start | 156641360502280 function-entry:call_stack.py:start:23 | |
| 34 | howto/instrumentation | :function | 156641360518804 function-entry: call_stack.py:function_1:1 | |
| 35 | howto/instrumentation | :function | 156641360532797 function-entry: call_stack.py:function_3:9 | |
| 36 | howto/instrumentation | :function | 156641360546807 function-return: call_stack.py:function_3:10 | |
| 37 | howto/instrumentation | :function | 156641360563367 function-return: call_stack.py:function_1:2 | |
| 38 | howto/instrumentation | :function | 156641360578365 function-entry: call_stack.py:function_2:5 | |
| 39 | howto/instrumentation | :function | 156641360591757 function-entry: call_stack.py:function_1:1 | |
| 40 | howto/instrumentation | :function | 156641360605556 function-entry: call_stack.py:function_3:9 | |
| 41 | howto/instrumentation | :function | 156641360617482 function-return: call_stack.py:function_3:10 | |
| 42 | howto/instrumentation | :function | 156641360629814 function-return: call_stack.py:function_1:2 | |
| 43 | howto/instrumentation | :function | 156641360642285 function-return: call_stack.py:function_2:6 | |
| 44 | howto/instrumentation | :function | 156641360656770 function-entry: call_stack.py:function_3:9 | |
| 45 | howto/instrumentation | :function | 156641360669707 function-return: call_stack.py:function_3:10 | |
| 46 | howto/instrumentation | :function | 156641360687853 function-entry: call_stack.py:function_4:13 | |
| 47 | howto/instrumentation | :function | 156641360700719 function-return: call_stack.py:function_4:14 | |
| 48 | howto/instrumentation | :function | 156641360719640 function-entry: call_stack.py:function_5:18 | |
| 49 | howto/instrumentation | :function | 156641360732567 function-return: call_stack.py:function_5:21 | |
| 50 | howto/instrumentation | :call | 156641360747370 function-return:call_stack.py:start:28 | |
| 51 | howto/instrumentation | :start | 156641360747370 function-return:call_stack.py:start:28 | |
| 52 | howto/ipaddress | :DB8 | >>> ipaddress.ip_address('2001:DB8::1') | |
| 53 | howto/ipaddress | :: | >>> ipaddress.ip_address('2001:DB8::1') | |
| 54 | howto/ipaddress | :db8 | IPv6Address('2001:db8::1') | |
| 55 | howto/ipaddress | :: | IPv6Address('2001:db8::1') | |
| 56 | howto/ipaddress | :: | IPv6Address('::1') | |
| 57 | howto/ipaddress | :db8 | >>> ipaddress.ip_network('2001:db8::0/96') | |
| 58 | howto/ipaddress | :: | >>> ipaddress.ip_network('2001:db8::0/96') | |
| 59 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
| 60 | howto/ipaddress | :: | IPv6Network('2001:db8::/96') | |
| 61 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/128') | |
| 62 | howto/ipaddress | :: | IPv6Network('2001:db8::/128') | |
| 63 | howto/ipaddress | :db8 | IPv6Interface('2001:db8::1/96') | |
| 64 | howto/ipaddress | :: | IPv6Interface('2001:db8::1/96') | |
| 65 | howto/ipaddress | :db8 | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
| 66 | howto/ipaddress | :: | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
| 67 | howto/ipaddress | :db8 | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
| 68 | howto/ipaddress | :: | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
| 69 | howto/ipaddress | :db8 | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
| 70 | howto/ipaddress | :: | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
| 71 | howto/ipaddress | :ffff | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
| 72 | howto/ipaddress | :: | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
| 73 | howto/ipaddress | :: | IPv6Address('::ffff:ffff') | |
| 74 | howto/ipaddress | :ffff | IPv6Address('::ffff:ffff') | |
| 75 | howto/ipaddress | :db8 | '2001:db8::/96' | |
| 76 | howto/ipaddress | :: | '2001:db8::/96' | |
| 77 | howto/ipaddress | :db8 | >>> ipaddress.ip_interface('2001:db8::1/96') | |
| 78 | howto/ipaddress | :: | >>> ipaddress.ip_interface('2001:db8::1/96') | |
| 79 | howto/ipaddress | :db8 | '2001:db8::1' | |
| 80 | howto/ipaddress | :: | '2001:db8::1' | |
| 81 | howto/ipaddress | :db8 | IPv6Address('2001:db8::ffff:ffff') | |
| 82 | howto/ipaddress | :: | IPv6Address('2001:db8::ffff:ffff') | |
| 83 | howto/ipaddress | :ffff | IPv6Address('2001:db8::ffff:ffff') | |
| 84 | howto/logging | :And | WARNING:And this, too | |
| 85 | howto/logging | :And | WARNING:root:And this, too | |
| 86 | howto/logging | :Doing | INFO:root:Doing something | |
| 87 | howto/logging | :Finished | INFO:root:Finished | |
| 88 | howto/logging | :logger | severity:logger name:message | |
| 89 | howto/logging | :Look | WARNING:root:Look before you leap! | |
| 90 | howto/logging | :message | severity:logger name:message | |
| 91 | howto/logging | :root | DEBUG:root:This message should go to the log file | |
| 92 | howto/logging | :root | INFO:root:Doing something | |
| 93 | howto/logging | :root | INFO:root:Finished | |
| 94 | howto/logging | :root | INFO:root:So should this | |
| 95 | howto/logging | :root | INFO:root:Started | |
| 96 | howto/logging | :root | WARNING:root:And this, too | |
| 97 | howto/logging | :root | WARNING:root:Look before you leap! | |
| 98 | howto/logging | :root | WARNING:root:Watch out! | |
| 99 | howto/logging | :So | INFO:root:So should this | |
| 100 | howto/logging | :So | INFO:So should this | |
| 101 | howto/logging | :Started | INFO:root:Started | |
| 102 | howto/logging | :This | DEBUG:root:This message should go to the log file | |
| 103 | howto/logging | :This | DEBUG:This message should appear on the console | |
| 104 | howto/logging | :Watch | WARNING:root:Watch out! | |
| 105 | howto/pyporting | :: | Programming Language :: Python :: 2 | |
| 106 | howto/pyporting | :: | Programming Language :: Python :: 3 | |
| 107 | howto/regex | :: | ||
| 108 | howto/regex | :foo | (?:foo) | |
| 109 | howto/urllib2 | :password | "joe:password@example.com" | |
| 110 | library/audioop | :ipos | # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)], | |
| 111 | library/bisect | 32 | :hi | all(val >= x for val in a[i:hi]) | 
| 112 | library/bisect | 42 | :hi | all(val > x for val in a[i:hi]) | 
| 113 | library/configparser | :home | my_dir: ${Common:home_dir}/twosheds | |
| 114 | library/configparser | :option | ${section:option} | |
| 115 | library/configparser | :path | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
| 116 | library/configparser | :Python | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
| 117 | library/configparser | :system | path: ${Common:system_dir}/Library/Frameworks/ | |
| 118 | library/datetime | :MM | ||
| 119 | library/datetime | :SS | ||
| 120 | library/decimal | :optional | trailneg:optional trailing minus indicator | |
| 121 | library/difflib | :ahi | a[alo:ahi] | |
| 122 | library/difflib | :bhi | b[blo:bhi] | |
| 123 | library/difflib | :i1 | ||
| 124 | library/difflib | :i2 | ||
| 125 | library/difflib | :j2 | ||
| 126 | library/doctest | ` | ``factorial`` from the ``example`` module: | |
| 127 | library/doctest | ` | The ``example`` module | |
| 128 | library/doctest | ` | Using ``factorial`` | |
| 129 | library/exceptions | :err | err.object[err.start:err.end] | |
| 130 | library/functions | :step | a[start:stop:step] | |
| 131 | library/functions | :stop | a[start:stop, i] | |
| 132 | library/functions | :stop | a[start:stop:step] | |
| 133 | library/hashlib | :LEAF | h00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH, | |
| 134 | library/http.client | :port | host:port | |
| 135 | library/http.cookies | ` | !#$%&'*+-.^_`|~: | |
| 136 | library/imaplib | :MM | "DD-Mmm-YYYY HH:MM:SS | |
| 137 | library/imaplib | :SS | "DD-Mmm-YYYY HH:MM:SS | |
| 138 | library/inspect | :int | >>> def foo(a, *, b:int, **kwargs): | |
| 139 | library/inspect | :int | '(a, *, b:int, **kwargs)' | |
| 140 | library/inspect | :int | 'b:int' | |
| 141 | library/ipaddress | :db8 | >>> ipaddress.ip_address('2001:db8::') | |
| 142 | library/ipaddress | :: | >>> ipaddress.ip_address('2001:db8::') | |
| 143 | library/ipaddress | :db8 | IPv6Address('2001:db8::') | |
| 144 | library/ipaddress | :: | IPv6Address('2001:db8::') | |
| 145 | library/ipaddress | :db8 | >>> ipaddress.IPv6Address('2001:db8::1000') | |
| 146 | library/ipaddress | :: | >>> ipaddress.IPv6Address('2001:db8::1000') | |
| 147 | library/ipaddress | :db8 | IPv6Address('2001:db8::1000') | |
| 148 | library/ipaddress | :: | IPv6Address('2001:db8::1000') | |
| 149 | library/ipaddress | :db8 | >>> ipaddress.ip_address("2001:db8::1").reverse_pointer | |
| 150 | library/ipaddress | :: | >>> ipaddress.ip_address("2001:db8::1").reverse_pointer | |
| 151 | library/ipaddress | :: | "::abc:7:def" | |
| 152 | library/ipaddress | :def | "::abc:7:def" | |
| 153 | library/ipaddress | :: | ::FFFF/96 | |
| 154 | library/ipaddress | :: | 2002::/16 | |
| 155 | library/ipaddress | :: | 2001::/32 | |
| 156 | library/ipaddress | :: | >>> str(ipaddress.IPv6Address('::1')) | |
| 157 | library/ipaddress | :: | '::1' | |
| 158 | library/ipaddress | :ff00 | ffff:ff00:: | |
| 159 | library/ipaddress | :db00 | 2001:db00::0/24 | |
| 160 | library/ipaddress | :: | 2001:db00::0/24 | |
| 161 | library/ipaddress | :db00 | 2001:db00::0/ffff:ff00:: | |
| 162 | library/ipaddress | :: | 2001:db00::0/ffff:ff00:: | |
| 163 | library/itertools | :step | elements from seq[start:stop:step] | |
| 164 | library/itertools | :stop | elements from seq[start:stop:step] | |
| 165 | library/logging.handlers | :port | host:port | |
| 166 | library/mmap | :i2 | obj[i1:i2] | |
| 167 | library/multiprocessing | ` | # Add more tasks using `put()` | |
| 168 | library/multiprocessing | :queue | >>> QueueManager.register('get_queue', callable=lambda:queue) | |
| 169 | library/multiprocessing | ` | # register the Foo class; make `f()` and `g()` accessible via proxy | |
| 170 | library/multiprocessing | ` | # register the Foo class; make `g()` and `_h()` accessible via proxy | |
| 171 | library/multiprocessing | ` | # register the generator function baz; use `GeneratorProxy` to make proxies | |
| 172 | library/nntplib | :bytes | :bytes | |
| 173 | library/nntplib | :lines | :lines | |
| 174 | library/optparse | :len | del parser.rargs[:len(value)] | |
| 175 | library/os.path | :foo | c:foo | |
| 176 | library/pathlib | :bar | >>> PureWindowsPath('c:/Windows', 'd:bar') | |
| 177 | library/pathlib | :bar | PureWindowsPath('d:bar') | |
| 178 | library/pathlib | :Program | >>> PureWindowsPath('c:Program Files/').root | |
| 179 | library/pathlib | :Program | >>> PureWindowsPath('c:Program Files/').anchor | |
| 180 | library/pdb | :lineno | filename:lineno | |
| 181 | library/pickle | :memory | conn = sqlite3.connect(":memory:") | |
| 182 | library/posix | ` | CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" | |
| 183 | library/pprint | :: | 'Programming Language :: Python :: 2 :: Only'], | |
| 184 | library/pprint | :: | 'Programming Language :: Python :: 2.6', | |
| 185 | library/pprint | :: | 'Programming Language :: Python :: 2.7', | |
| 186 | library/profile | :lineno | filename:lineno(function) | |
| 187 | library/pyexpat | :elem1 | <py:elem1 /> | |
| 188 | library/pyexpat | :py | xmlns:py = "http://www.python.org/ns/"> | |
| 189 | library/random | :len | new_diff = mean(combined[:len(drug)]) - mean(combined[len(drug):]) | |
| 190 | library/smtplib | :port | method must support that as well as a regular host:port | |
| 191 | library/socket | :: | '5aef:2b::8' | |
| 192 | library/socket | :can | return (can_id, can_dlc, data[:can_dlc]) | |
| 193 | library/socket | :len | fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)]) | |
| 194 | library/sqlite3 | :age | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
| 195 | library/sqlite3 | :memory | ||
| 196 | library/sqlite3 | :who | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
| 197 | library/sqlite3 | :path | db = sqlite3.connect('file:path/to/database?mode=ro', uri=True) | |
| 198 | library/ssl | :My | Organizational Unit Name (eg, section) []:My Group | |
| 199 | library/ssl | :My | Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc. | |
| 200 | library/ssl | :myserver | Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com | |
| 201 | library/ssl | :MyState | State or Province Name (full name) [Some-State]:MyState | |
| 202 | library/ssl | :ops | Email Address []:ops@myserver.mygroup.myorganization.com | |
| 203 | library/ssl | :Some | Locality Name (eg, city) []:Some City | |
| 204 | library/ssl | :US | Country Name (2 letter code) [AU]:US | |
| 205 | library/stdtypes | :end | s[start:end] | |
| 206 | library/stdtypes | :: | >>> hash(v[::-2]) == hash(b'abcefg'[::-2]) | |
| 207 | library/stdtypes | :len | s[len(s):len(s)] | |
| 208 | library/stdtypes | :: | >>> y = m[::2] | |
| 209 | library/stdtypes | :: | >>> z = y[::-2] | |
| 210 | library/subprocess | ` | output=`dmesg | grep hda` | |
| 211 | library/subprocess | ` | output=`mycmd myarg` | |
| 212 | library/tarfile | :bz2 | ||
| 213 | library/tarfile | :compression | filemode[:compression] | |
| 214 | library/tarfile | :gz | ||
| 215 | library/tarfile | :xz | 'a:xz' | |
| 216 | library/tarfile | :xz | 'r:xz' | |
| 217 | library/tarfile | :xz | 'w:xz' | |
| 218 | library/time | :mm | ||
| 219 | library/time | :ss | ||
| 220 | library/tracemalloc | :limit | for index, stat in enumerate(top_stats[:limit], 1): | |
| 221 | library/turtle | :: | Example:: | |
| 222 | library/unittest | :foo | self.assertEqual(cm.output, ['INFO:foo:first message', | |
| 223 | library/unittest | :first | self.assertEqual(cm.output, ['INFO:foo:first message', | |
| 224 | library/unittest | :foo | 'ERROR:foo.bar:second message']) | |
| 225 | library/unittest | :second | 'ERROR:foo.bar:second message']) | |
| 226 | library/urllib.request | :close | Connection:close | |
| 227 | library/urllib.request | :port | :port | |
| 228 | library/urllib.request | :lang | xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n | |
| 229 | library/urllib.request | :password | "joe:password@python.org" | |
| 230 | library/uuid | :uuid | urn:uuid:12345678-1234-5678-1234-567812345678 | |
| 231 | library/venv | :param | :param nodist: If True, setuptools and pip are not installed into the | |
| 232 | library/venv | :param | :param progress: If setuptools or pip are installed, the progress of the | |
| 233 | library/venv | :param | :param nopip: If True, pip is not installed into the created | |
| 234 | library/venv | :param | :param context: The information for the virtual environment | |
| 235 | library/xmlrpc.client | :nil | ex:nil | |
| 236 | library/xmlrpc.client | :pass | http://user:pass@host:port/path | |
| 237 | library/xmlrpc.client | :pass | user:pass | |
| 238 | library/xmlrpc.client | :port | http://user:pass@host:port/path | |
| 239 | license | ` | ``Software''), to deal in the Software without restriction, including | |
| 240 | license | ` | THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, | |
| 241 | license | ` | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
| 242 | license | ` | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
| 243 | license | ` | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | |
| 244 | license | ` | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND | |
| 245 | license | :zooko | mailto:zooko@zooko.com | |
| 246 | reference/expressions | :index | x[index:index] | |
| 247 | reference/lexical_analysis | ` | $ ? ` | |
| 248 | reference/lexical_analysis | :fileencoding | # vim:fileencoding=<encoding-name> | |
| 249 | tutorial/datastructures | :value | It is also possible to delete a key:value | |
| 250 | tutorial/datastructures | :value | key:value pairs within the braces adds initial key:value pairs | |
| 251 | tutorial/stdlib2 | :config | logging.warning('Warning:config file %s not found', 'server.conf') | |
| 252 | tutorial/stdlib2 | :config | WARNING:root:Warning:config file server.conf not found | |
| 253 | tutorial/stdlib2 | :Critical | CRITICAL:root:Critical error -- shutting down | |
| 254 | tutorial/stdlib2 | :Error | ERROR:root:Error occurred | |
| 255 | tutorial/stdlib2 | :root | CRITICAL:root:Critical error -- shutting down | |
| 256 | tutorial/stdlib2 | :root | ERROR:root:Error occurred | |
| 257 | tutorial/stdlib2 | :root | WARNING:root:Warning:config file server.conf not found | |
| 258 | tutorial/stdlib2 | :start | extra = data[start:start+extra_size] | |
| 259 | tutorial/stdlib2 | :start | fields = struct.unpack('<IIIHH', data[start:start+16]) | |
| 260 | tutorial/stdlib2 | :start | filename = data[start:start+filenamesize] | |
| 261 | tutorial/stdlib2 | :Warning | WARNING:root:Warning:config file server.conf not found | |
| 262 | using/cmdline | :category | action:message:category:module:line | |
| 263 | using/cmdline | :errorhandler | :errorhandler | |
| 264 | using/cmdline | :line | action:message:category:module:line | |
| 265 | using/cmdline | :line | file:line: category: message | |
| 266 | using/cmdline | :message | action:message:category:module:line | |
| 267 | using/cmdline | :module | action:message:category:module:line | |
| 268 | using/unix | :Packaging | https://en.opensuse.org/Portal:Packaging | |
| 269 | whatsnew/2.0 | :len | ||
| 270 | whatsnew/2.3 | :: | ||
| 271 | whatsnew/2.3 | :config | ||
| 272 | whatsnew/2.3 | :Critical | ||
| 273 | whatsnew/2.3 | :Error | ||
| 274 | whatsnew/2.3 | :Problem | ||
| 275 | whatsnew/2.3 | :root | ||
| 276 | whatsnew/2.3 | :Warning | ||
| 277 | whatsnew/2.4 | :: | ||
| 278 | whatsnew/2.4 | :System | ||
| 279 | whatsnew/2.5 | :memory | :memory: | |
| 280 | whatsnew/2.5 | :step | [start:stop:step] | |
| 281 | whatsnew/2.5 | :stop | [start:stop:step] | |
| 282 | whatsnew/2.7 | :: | ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]', | |
| 283 | whatsnew/2.7 | :: | >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo') | |
| 284 | whatsnew/2.7 | :Sunday | '2009:4:Sunday' | |
| 285 | whatsnew/2.7 | :Cookie | export PYTHONWARNINGS=all,error:::Cookie:0 | |
| 286 | whatsnew/2.7 | :: | export PYTHONWARNINGS=all,error:::Cookie:0 | |
| 287 | whatsnew/3.2 | :affe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 288 | whatsnew/3.2 | :affe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 289 | whatsnew/3.2 | :beef | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 290 | whatsnew/3.2 | :beef | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 291 | whatsnew/3.2 | :cafe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 292 | whatsnew/3.2 | :cafe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 293 | whatsnew/3.2 | :deaf | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 294 | whatsnew/3.2 | :deaf | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 295 | whatsnew/3.2 | :directory | ${buildout:directory}/downloads/dist | |
| 296 | whatsnew/3.2 | :: | $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::' | |
| 297 | whatsnew/3.2 | :feed | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 298 | whatsnew/3.2 | :feed | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 299 | whatsnew/3.2 | :gz | >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf: | |
| 300 | whatsnew/3.2 | :location | zope9-location = ${zope9:location} | |
| 301 | whatsnew/3.2 | :prefix | zope-conf = ${custom:prefix}/etc/zope.conf | |
| 302 | library/re | ` | !#$%&'*+-.^_`|~: | |
| 303 | library/re | ` | !\#\$%\&'\*\+\-\.\^_`\|\~: | |
| 304 | library/tarfile | :xz | 'x:xz' | |
| 305 | library/xml.etree.elementtree | :sometag | prefix:sometag | |
| 306 | library/xml.etree.elementtree | :fictional | <actors xmlns:fictional="http://characters.example.com" | |
| 307 | library/xml.etree.elementtree | :character | <fictional:character>Lancelot</fictional:character> | |
| 308 | library/xml.etree.elementtree | :character | <fictional:character>Archie Leach</fictional:character> | |
| 309 | library/xml.etree.elementtree | :character | <fictional:character>Sir Robin</fictional:character> | |
| 310 | library/xml.etree.elementtree | :character | <fictional:character>Gunther</fictional:character> | |
| 311 | library/xml.etree.elementtree | :character | <fictional:character>Commander Clement</fictional:character> | |
| 312 | library/xml.etree.elementtree | :actor | for actor in root.findall('real_person:actor', ns): | |
| 313 | library/xml.etree.elementtree | :name | name = actor.find('real_person:name', ns) | |
| 314 | library/xml.etree.elementtree | :character | for char in actor.findall('role:character', ns): | |
| 315 | library/zipapp | :main | $ python -m zipapp myapp -m "myapp:main" | |
| 316 | library/zipapp | :fn | pkg.mod:fn | |
| 317 | library/zipapp | :callable | pkg.module:callable | |
| 318 | library/stdtypes | :: | >>> m[::2].tolist() | |
| 319 | library/sys | ` | # ``wrapper`` creates a ``wrap(coro)`` coroutine: | |
| 320 | whatsnew/3.5 | :root | 'WARNING:root:warning\n' | |
| 321 | whatsnew/3.5 | :warning | 'WARNING:root:warning\n' | |
| 322 | whatsnew/3.5 | :: | >>> addr6 = ipaddress.IPv6Address('::1') | |
| 323 | whatsnew/3.5 | :root | ERROR:root:exception | |
| 324 | whatsnew/3.5 | :exception | ERROR:root:exception | |
| 325 | whatsnew/changelog | ` | '`' | |
| 326 | whatsnew/changelog | :end | str[start:end] | |
| 327 | library/binascii | ` | '`' | |
| 328 | library/uu | ` | '`' | |
| 329 | whatsnew/3.7 | ` | '`' | |
| 330 | whatsnew/3.7 | :: | error::BytesWarning | |
| 331 | whatsnew/changelog | :: | error::BytesWarning | |
| 332 | whatsnew/changelog | :: | default::BytesWarning |