(original) (raw)

changeset: 104430:de13f5a0f4d5 branch: 2.7 parent: 104366:3119f08802a5 user: Martin Panter vadmium+py@gmail.com date: Mon Oct 10 01:00:00 2016 +0000 files: Lib/lib2to3/Grammar.txt Lib/test/test_httplib.py Misc/NEWS description: Issue #28394: Typo fixes in code comments and changelog Includes patch by Ville Skyttä. diff -r 3119f08802a5 -r de13f5a0f4d5 Lib/lib2to3/Grammar.txt --- a/Lib/lib2to3/Grammar.txt Sat Oct 08 12:24:09 2016 +0300 +++ b/Lib/lib2to3/Grammar.txt Mon Oct 10 01:00:00 2016 +0000 @@ -150,7 +150,7 @@ # 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 | diff -r 3119f08802a5 -r de13f5a0f4d5 Lib/test/test_httplib.py --- a/Lib/test/test_httplib.py Sat Oct 08 12:24:09 2016 +0300 +++ b/Lib/test/test_httplib.py Mon Oct 10 01:00:00 2016 +0000 @@ -738,7 +738,7 @@ 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 + # We don't test anything here other than the constructor not barfing as # this code doesn't deal with setting up an active running SSL server # for an ssl_wrapped connect() to actually return from. diff -r 3119f08802a5 -r de13f5a0f4d5 Misc/NEWS --- a/Misc/NEWS Sat Oct 08 12:24:09 2016 +0300 +++ b/Misc/NEWS Mon Oct 10 01:00:00 2016 +0000 @@ -25,7 +25,7 @@ - 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 @@ - 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 @@ - 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 + to a non existent program name and Python is unable to retrieve the real program name. - Issue #8117: logging: Improved algorithm for computing initial rollover time @@ -8053,7 +8053,7 @@ 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 + an incomplete customization of the archiver command. Added ARFLAGS in the Makefile besides AR and make Distutils use it. Original patch by David Cournapeau. /vadmium+py@gmail.com