cpython: de13f5a0f4d5 (original) (raw)
Mercurial > cpython
changeset 104430:de13f5a0f4d5 2.7
Issue #28394: Typo fixes in code comments and changelog Includes patch by Ville Skyttä. [#28394]
Martin Panter vadmium+py@gmail.com | |
---|---|
date | Mon, 10 Oct 2016 01:00:00 +0000 |
parents | 3119f08802a5 |
children | c29045efd25e |
files | Lib/lib2to3/Grammar.txt Lib/test/test_httplib.py Misc/NEWS |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-)[+] [-] Lib/lib2to3/Grammar.txt 2 Lib/test/test_httplib.py 2 Misc/NEWS 8 |
line wrap: on
line diff
--- a/Lib/lib2to3/Grammar.txt +++ b/Lib/lib2to3/Grammar.txt @@ -150,7 +150,7 @@ arglist: argument (',' argument)* [',']
to our LL(1) parser. Even though 'test' includes '*expr' in star_expr,
we explicitly match '*' here, too, to give it proper precedence.
Illegal combinations and orderings are blocked in ast.c:
-# multiple (test comp_for) arguements are blocked; keyword unpackings +# multiple (test comp_for) arguments are blocked; keyword unpackings
that precede iterable unpackings are blocked; etc.
argument: ( test [comp_for] | test '=' test |
--- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -738,7 +738,7 @@ class SourceAddressTest(TestServerMixin, def testHTTPSConnectionSourceAddress(self): self.conn = httplib.HTTPSConnection(HOST, self.port, source_address=('', self.source_port))
# We don't test anything here other the constructor not barfing as[](#l2.7)
# We don't test anything here other than the constructor not barfing as[](#l2.8) # this code doesn't deal with setting up an active running SSL server[](#l2.9) # for an ssl_wrapped connect() to actually return from.[](#l2.10)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -25,7 +25,7 @@ Core and Builtins
- Issue #15578: Correctly incref the parent module while importing. -- Issue #26307: The profile-opt build now applys PGO to the built-in modules. +- Issue #26307: The profile-opt build now applies PGO to the built-in modules.
- Issue #26020: set literal evaluation order did not match documented behaviour. @@ -488,7 +488,7 @@ Library
- Issue #26385: Remove the file if the internal fdopen() call in NamedTemporaryFile() fails. Based on patch by Silent Ghost. -- Issue #26309: In the "socketserver" module, shut down the request (closing +- Issue #26309: In the "SocketServer" module, shut down the request (closing the connected socket) when verify_request() returns false. Based on patch by Aviv Palivoda. @@ -6537,7 +6537,7 @@ Library
- Issue #8140: Extend compileall to compile single files. Add -i option.
- Issue #7774: Set sys.executable to an empty string if
argv[0]
has been set - to an non existent program name and Python is unable to retrieve the real
- Issue #8117: logging: Improved algorithm for computing initial rollover time @@ -8053,7 +8053,7 @@ Library is used. Original patch by Floris Bruynooghe.
- Issue #5941: Distutils build_clib command was not working anymore because of
- an incomplete costumization of the archiver command. Added ARFLAGS in the