Skip to content

Commit 186729e

Browse files
committed
merge with 3.3
2 parents fb404f5 + d2d6bea commit 186729e

File tree

6 files changed

+20
-19
lines changed

6 files changed

+20
-19
lines changed

.hgtags

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ bd8afb90ebf28ba4edc901d4a235f75e7bbc79fd v3.3.0
115115
92c2cfb924055ce68c4f78f836dcfe688437ceb8 v3.3.1rc1
116116
d9893d13c6289aa03d33559ec67f97dcbf5c9e3c v3.3.1
117117
d047928ae3f6314a13b6137051315453d0ae89b6 v3.3.2
118+
fd53c500f8b80f54f3ecedec9da2e8c7e52a6888 v3.3.3rc1
118119
46535f65e7f3bcdcf176f36d34bc1fed719ffd2b v3.4.0a1
119120
9265a2168e2cb2a84785d8717792acc661e6b692 v3.4.0a2
120121
dd9cdf90a5073510877e9dd5112f8e6cf20d5e89 v3.4.0a3

Doc/howto/unicode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ of partial coding sequences. The work of implementing this has already been
532532
done for you: the built-in :func:`open` function can return a file-like object
533533
that assumes the file's contents are in a specified encoding and accepts Unicode
534534
parameters for methods such as :meth:`~io.TextIOBase.read` and
535-
:meth:`~io.TextIOBase.write`. This works through:func:`open`\'s *encoding* and
535+
:meth:`~io.TextIOBase.write`. This works through :func:`open`\'s *encoding* and
536536
*errors* parameters which are interpreted just like those in :meth:`str.encode`
537537
and :meth:`bytes.decode`.
538538

Doc/library/multiprocessing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@ with the :class:`Pool` class.
19741974
.. versionadded:: 3.3
19751975
Pool objects now support the context manager protocol -- see
19761976
:ref:`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the
1977-
pool object, and :meth:~contextmanager.`__exit__` calls :meth:`terminate`.
1977+
pool object, and :meth:`~contextmanager.__exit__` calls :meth:`terminate`.
19781978

19791979

19801980
.. class:: AsyncResult
@@ -2147,7 +2147,7 @@ multiple connections at the same time.
21472147
.. versionadded:: 3.3
21482148
Listener objects now support the context manager protocol -- see
21492149
:ref:`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the
2150-
listener object, and :meth:~contextmanager.`__exit__` calls :meth:`close`.
2150+
listener object, and :meth:`~contextmanager.__exit__` calls :meth:`close`.
21512151

21522152
.. function:: wait(object_list, timeout=None)
21532153

Doc/tools/sphinxext/susp-ignored.csv

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,y
1818
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"
1919
howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))"
2020
howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))"
21-
howto/curses,,:black,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
22-
howto/curses,,:blue,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
23-
howto/curses,,:cyan,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
24-
howto/curses,,:green,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
25-
howto/curses,,:magenta,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
26-
howto/curses,,:red,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
27-
howto/curses,,:white,"7:white."
28-
howto/curses,,:yellow,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
21+
howto/curses,,:black,"colors when it activates color mode. They are: 0:black, 1:red,"
22+
howto/curses,,:red,"colors when it activates color mode. They are: 0:black, 1:red,"
23+
howto/curses,,:green,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
24+
howto/curses,,:yellow,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
25+
howto/curses,,:blue,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
26+
howto/curses,,:magenta,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
27+
howto/curses,,:cyan,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
28+
howto/curses,,:white,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The"
2929
howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1')
3030
howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1')
3131
howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
@@ -88,7 +88,6 @@ howto/urllib2,,:example,"for example ""joe@password:example.com"""
8888
library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
8989
library/bisect,32,:hi,all(val >= x for val in a[i:hi])
9090
library/bisect,42,:hi,all(val > x for val in a[i:hi])
91-
library/concurrent.futures,,:url,"future_to_url = {executor.submit(load_url, url, 60):url for url in URLS}"
9291
library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds
9392
library/configparser,,:option,${section:option}
9493
library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
@@ -206,9 +205,9 @@ library/urllib.request,,:close,Connection:close
206205
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
207206
library/urllib.request,,:password,"""joe:[email protected]"""
208207
library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
209-
library/venv,,:param,":param nodist: If True, Distribute is not installed into the created"
208+
library/venv,,:param,":param nodist: If True, setuptools and pip are not installed into the"
209+
library/venv,,:param,":param progress: If setuptools or pip are installed, the progress of the"
210210
library/venv,,:param,":param nopip: If True, pip is not installed into the created"
211-
library/venv,,:param,":param progress: If Distribute or pip are installed, the progress of the"
212211
library/venv,,:param,:param context: The information for the environment creation request
213212
library/xmlrpc.client,,:pass,http://user:pass@host:port/path
214213
library/xmlrpc.client,,:pass,user:pass
@@ -242,6 +241,7 @@ using/cmdline,,:line,action:message:category:module:line
242241
using/cmdline,,:line,file:line: category: message
243242
using/cmdline,,:message,action:message:category:module:line
244243
using/cmdline,,:module,action:message:category:module:line
244+
using/unix,,:Packaging,http://en.opensuse.org/Portal:Packaging
245245
whatsnew/2.0,418,:len,
246246
whatsnew/2.3,,::,
247247
whatsnew/2.3,,:config,
@@ -276,9 +276,7 @@ whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') a
276276
whatsnew/3.2,,:location,zope9-location = ${zope9:location}
277277
whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf
278278
whatsnew/changelog,,:platform,:platform:
279-
whatsnew/changelog,,:password,: Unquote before b64encoding user:password during Basic
280-
whatsnew/changelog,,:close,Connection:close header.
281279
whatsnew/changelog,,:PythonCmd,"With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused"
282-
whatsnew/changelog,,:close,: Connection:close header is sent by requests using URLOpener
283280
whatsnew/changelog,,::,": Fix FTP tests for IPv6, bind to ""::1"" instead of ""localhost""."
284-
whatsnew/changelog,,:test,: test_subprocess:test_leaking_fds_on_error no longer gives a
281+
whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as"
282+
whatsnew/changelog,,:password,user:password

Doc/tutorial/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ directory. This is an error unless the replacement is intended. See section
184184
-----------------------
185185

186186
To speed up loading modules, Python caches the compiled version of each module
187-
in the ``__pycache__`` directory under the name :file:`module.{version}.pyc``,
187+
in the ``__pycache__`` directory under the name :file:`module.{version}.pyc`,
188188
where the version encodes the format of the compiled file; it generally contains
189189
the Python version number. For example, in CPython release 3.3 the compiled
190190
version of spam.py would be cached as ``__pycache__/spam.cpython-33.pyc``. This

Lib/test/test_site.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,8 @@ def test_sitecustomize_executed(self):
412412
self.fail("sitecustomize not imported automatically")
413413

414414
@test.support.requires_resource('network')
415+
@unittest.skipUnless(sys.version_info[3] == 'final',
416+
'only for released versions')
415417
def test_license_exists_at_url(self):
416418
# This test is a bit fragile since it depends on the format of the
417419
# string displayed by license in the absence of a LICENSE file.

0 commit comments

Comments
 (0)