@@ -17,6 +17,7 @@ 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,
1717faq/programming ,, :: , for x in sequence[::-1]:
1818faq/programming ,, :reduce , " print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
1919faq/programming ,, :reduce , " Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
20+ 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"
2021faq/windows , 229 , :EOF , @setlocal enableextensions & python -x %~f0 %* & goto :EOF
2122faq/windows , 393 , :REG , .py :REG_SZ: c:\<path to python>\python.exe -u %s %s
2223howto/cporting ,, :add , " if (!PyArg_ParseTuple(args, "" ii:add_ints"" , &one, &two))"
@@ -68,6 +69,13 @@ howto/ipaddress,,:db8,'2001:db8::'
6869howto/ipaddress ,, :: , '2001:db8::'
6970howto/ipaddress ,, :db8 , '2001:db8::/96'
7071howto/ipaddress ,, :: , '2001:db8::/96'
72+ howto/ipaddress ,, :db8 , >>> ipaddress.ip_interface('2001:db8::1/96')
73+ howto/ipaddress ,, :: , >>> ipaddress.ip_interface('2001:db8::1/96')
74+ howto/ipaddress ,, :db8 , '2001:db8::1'
75+ howto/ipaddress ,, :: , '2001:db8::1'
76+ howto/ipaddress ,, :db8 , IPv6Address('2001:db8::ffff:ffff')
77+ howto/ipaddress ,, :: , IPv6Address('2001:db8::ffff:ffff')
78+ howto/ipaddress ,, :ffff , IPv6Address('2001:db8::ffff:ffff')
7179howto/logging ,, :And , " WARNING:And this, too"
7280howto/logging ,, :And , " WARNING:root:And this, too"
7381howto/logging ,, :Doing , INFO:root:Doing something
@@ -99,6 +107,7 @@ howto/webservers,,.. image:,.. image:: http.png
99107library/audioop ,, :ipos , " # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
100108library/bisect , 32 , :hi , all(val >= x for val in a[i:hi])
101109library/bisect , 42 , :hi , all(val > x for val in a[i:hi])
110+ library/concurrent.futures ,, :url , " future_to_url = {executor.submit(load_url, url, 60):url for url in URLS}"
102111library/configparser ,, :home , my_dir: ${Common:home_dir}/twosheds
103112library/configparser ,, :option , ${section:option}
104113library/configparser ,, :path , python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
@@ -120,6 +129,7 @@ library/dis,,`,TOS = `TOS`
120129library/doctest ,, ` , ``factorial`` from the ``example`` module:
121130library/doctest ,, ` , The ``example`` module
122131library/doctest ,, ` , Using ``factorial``
132+ library/exceptions ,, :err , err.object[err.start:err.end]
123133library/functions ,, :step , a[start:stop:step]
124134library/functions ,, :stop , " a[start:stop, i]"
125135library/functions ,, :stop , a[start:stop:step]
@@ -280,6 +290,10 @@ library/urllib.request,,:close,Connection:close
280290library/urllib.request ,, :lang , " xmlns="" http://www.w3.org/1999/xhtml"" xml:lang="" en"" lang="" en"" >\n\n<head>\n"
281291library/urllib.request ,, :password , " "" joe:[email protected] "" " 282292library/uuid ,, :uuid , urn:uuid:12345678-1234-5678-1234-567812345678
293+ library/venv ,, :param , " :param nodist: If True, Distribute is not installed into the created"
294+ library/venv ,, :param , " :param nopip: If True, pip is not installed into the created"
295+ library/venv ,, :param , " :param progress: If Distribute or pip are installed, the progress of the"
296+ library/venv ,, :param , :param context: The information for the environment creation request
283297library/xmlrpc.client ,, :pass , http://user:pass@host:port/path
284298library/xmlrpc.client ,, :pass , user:pass
285299library/xmlrpc.client ,, :port , http://user:pass@host:port/path
@@ -357,6 +371,13 @@ whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
357371whatsnew/3.2 ,, :location , zope9-location = ${zope9:location}
358372whatsnew/3.2 ,, :prefix , ... zope-conf = ${custom:prefix}/etc/zope.conf
359373whatsnew/3.2 ,, :prefix , zope-conf = ${custom:prefix}/etc/zope.conf
374+ whatsnew/changelog ,, :platform , :platform:
375+ whatsnew/changelog ,, :password , : Unquote before b64encoding user:password during Basic
376+ whatsnew/changelog ,, :close , Connection:close header.
377+ whatsnew/changelog ,, :PythonCmd , " With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused"
378+ whatsnew/changelog ,, :close , : Connection:close header is sent by requests using URLOpener
379+ whatsnew/changelog ,, :: , " : Fix FTP tests for IPv6, bind to "" ::1"" instead of "" localhost"" ."
380+ whatsnew/changelog ,, :test , : test_subprocess:test_leaking_fds_on_error no longer gives a
360381whatsnew/news ,, :platform , :platform:
361382whatsnew/news ,, :password , : Unquote before b64encoding user:password during Basic
362383whatsnew/news ,, :close , Connection:close header.
0 commit comments