diff -r a290f992e69a Doc/howto/sockets.rst --- a/Doc/howto/sockets.rst Tue Jul 26 12:55:20 2016 +0200 +++ b/Doc/howto/sockets.rst Tue Jul 26 17:52:02 2016 +0300 @@ -106,7 +106,7 @@ There's actually 3 general ways in which this loop could work - dispatching a thread to handle ``clientsocket``, create a new process to handle ``clientsocket``, or restructure this app to use non-blocking sockets, and -mulitplex between our "server" socket and any active ``clientsocket``\ s using +multiplex between our "server" socket and any active ``clientsocket``\ s using ``select``. More about that later. The important thing to understand now is this: this is *all* a "server" socket does. It doesn't send any data. It doesn't receive any data. It just produces "client" sockets. Each ``clientsocket`` is diff -r a290f992e69a Doc/library/configparser.rst --- a/Doc/library/configparser.rst Tue Jul 26 12:55:20 2016 +0200 +++ b/Doc/library/configparser.rst Tue Jul 26 17:52:02 2016 +0300 @@ -66,7 +66,7 @@ <#supported-ini-file-structure>`_. Essentially, the file consists of sections, each of which contains keys with values. :mod:`configparser` classes can read and write such files. Let's start by -creating the above configuration file programatically. +creating the above configuration file programmatically. .. doctest:: diff -r a290f992e69a Doc/library/importlib.rst --- a/Doc/library/importlib.rst Tue Jul 26 12:55:20 2016 +0200 +++ b/Doc/library/importlib.rst Tue Jul 26 17:52:02 2016 +0300 @@ -633,7 +633,7 @@ .. method:: path_stats(path) Optional abstract method which returns a :class:`dict` containing - metadata about the specifed path. Supported dictionary keys are: + metadata about the specified path. Supported dictionary keys are: - ``'mtime'`` (mandatory): an integer or floating-point number representing the modification time of the source code; diff -r a290f992e69a Doc/library/os.rst --- a/Doc/library/os.rst Tue Jul 26 12:55:20 2016 +0200 +++ b/Doc/library/os.rst Tue Jul 26 17:52:02 2016 +0300 @@ -1938,7 +1938,7 @@ On Unix, *path* can be of type :class:`str` or :class:`bytes` (use :func:`~os.fsencode` and :func:`~os.fsdecode` to encode and decode :class:`bytes` paths). On Windows, *path* must be of type :class:`str`. - On both sytems, the type of the :attr:`~os.DirEntry.name` and + On both systems, the type of the :attr:`~os.DirEntry.name` and :attr:`~os.DirEntry.path` attributes of each :class:`os.DirEntry` will be of the same type as *path*. diff -r a290f992e69a Doc/library/socket.rst --- a/Doc/library/socket.rst Tue Jul 26 12:55:20 2016 +0200 +++ b/Doc/library/socket.rst Tue Jul 26 17:52:02 2016 +0300 @@ -1226,7 +1226,7 @@ much data, if any, was successfully sent. .. versionchanged:: 3.5 - The socket timeout is no more reset each time data is sent successfuly. + The socket timeout is no more reset each time data is sent successfully. The socket timeout is now the maximum total duration to send all data. .. versionchanged:: 3.5 diff -r a290f992e69a Lib/ctypes/test/test_numbers.py --- a/Lib/ctypes/test/test_numbers.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/ctypes/test/test_numbers.py Tue Jul 26 17:52:02 2016 +0300 @@ -76,7 +76,7 @@ self.assertEqual(t(v).value, truth(v)) def test_typeerror(self): - # Only numbers are allowed in the contructor, + # Only numbers are allowed in the constructor, # otherwise TypeError is raised for t in signed_types + unsigned_types + float_types: self.assertRaises(TypeError, t, "") diff -r a290f992e69a Lib/idlelib/Icons/idle_48.png Binary file Lib/idlelib/Icons/idle_48.png has changed diff -r a290f992e69a Lib/idlelib/calltip_w.py --- a/Lib/idlelib/calltip_w.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/idlelib/calltip_w.py Tue Jul 26 17:52:02 2016 +0300 @@ -9,7 +9,7 @@ HIDE_SEQUENCES = ("", "") CHECKHIDE_VIRTUAL_EVENT_NAME = "<>" CHECKHIDE_SEQUENCES = ("", "") -CHECKHIDE_TIME = 100 # miliseconds +CHECKHIDE_TIME = 100 # milliseconds MARK_RIGHT = "calltipwindowregion_right" diff -r a290f992e69a Lib/idlelib/idle_test/test_query.py --- a/Lib/idlelib/idle_test/test_query.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/idlelib/idle_test/test_query.py Tue Jul 26 17:52:02 2016 +0300 @@ -146,7 +146,7 @@ "Test ModuleName subclass of Query." class Dummy_ModuleName: - entry_ok = query.ModuleName.entry_ok # Funtion being tested. + entry_ok = query.ModuleName.entry_ok # Function being tested. text0 = '' entry = Var() diff -r a290f992e69a Lib/idlelib/parenmatch.py --- a/Lib/idlelib/parenmatch.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/idlelib/parenmatch.py Tue Jul 26 17:52:02 2016 +0300 @@ -9,7 +9,7 @@ from idlelib.config import idleConf _openers = {')':'(',']':'[','}':'{'} -CHECK_DELAY = 100 # miliseconds +CHECK_DELAY = 100 # milliseconds class ParenMatch: """Highlight matching parentheses diff -r a290f992e69a Lib/platform.py --- a/Lib/platform.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/platform.py Tue Jul 26 17:52:02 2016 +0300 @@ -61,7 +61,7 @@ # though # 0.5.2 - fixed uname() to return '' instead of 'unknown' in all # return values (the system uname command tends to return -# 'unknown' instead of just leaving the field emtpy) +# 'unknown' instead of just leaving the field empty) # 0.5.1 - included code for slackware dist; added exception handlers # to cover up situations where platforms don't have os.popen # (e.g. Mac) or fail on socket.gethostname(); fixed libc diff -r a290f992e69a Lib/shutil.py --- a/Lib/shutil.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/shutil.py Tue Jul 26 17:52:02 2016 +0300 @@ -853,7 +853,7 @@ _UNPACK_FORMATS[name] = extensions, function, extra_args, description def unregister_unpack_format(name): - """Removes the pack format from the registery.""" + """Removes the pack format from the registry.""" del _UNPACK_FORMATS[name] def _ensure_directory(path): diff -r a290f992e69a Lib/test/eintrdata/eintr_tester.py --- a/Lib/test/eintrdata/eintr_tester.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/eintrdata/eintr_tester.py Tue Jul 26 17:52:02 2016 +0300 @@ -378,7 +378,7 @@ @unittest.skipUnless(hasattr(signal, 'sigwaitinfo'), 'need signal.sigwaitinfo()') def test_sigwaitinfo(self): - # Issue #25277, #25868: give a few miliseconds to the parent process + # Issue #25277, #25868: give a few milliseconds to the parent process # between os.write() and signal.sigwaitinfo() to works around a race # condition self.sleep_time = 0.100 diff -r a290f992e69a Lib/test/test_deque.py --- a/Lib/test/test_deque.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_deque.py Tue Jul 26 17:52:02 2016 +0300 @@ -494,7 +494,7 @@ d.clear() self.assertEqual(len(d), 0) self.assertEqual(list(d), []) - d.clear() # clear an emtpy deque + d.clear() # clear an empty deque self.assertEqual(list(d), []) def test_remove(self): diff -r a290f992e69a Lib/test/test_http_cookiejar.py --- a/Lib/test/test_http_cookiejar.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_http_cookiejar.py Tue Jul 26 17:52:02 2016 +0300 @@ -396,7 +396,7 @@ ## comma-separated list, it'll be a headache to parse (at least my head ## starts hurting every time I think of that code). ## - Expires: You'll get all sorts of date formats in the expires, -## including emtpy expires attributes ("expires="). Be as flexible as you +## including empty expires attributes ("expires="). Be as flexible as you ## can, and certainly don't expect the weekday to be there; if you can't ## parse it, just ignore it and pretend it's a session cookie. ## - Domain-matching: Netscape uses the 2-dot rule for _all_ domains, not diff -r a290f992e69a Lib/test/test_math.py --- a/Lib/test/test_math.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_math.py Tue Jul 26 17:52:02 2016 +0300 @@ -1254,7 +1254,7 @@ self.assertAllNotClose(zero_tolerance_not_close_examples, rel_tol=0.0) def test_assymetry(self): - # test the assymetry example from PEP 485 + # test the asymmetry example from PEP 485 self.assertAllClose([(9, 10), (10, 9)], rel_tol=0.1) def test_integers(self): diff -r a290f992e69a Lib/test/test_nntplib.py --- a/Lib/test/test_nntplib.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_nntplib.py Tue Jul 26 17:52:02 2016 +0300 @@ -1465,14 +1465,14 @@ def test_service_temporarily_unavailable(self): #Test service temporarily unavailable class Handler(NNTPv1Handler): - welcome = '400 Service temporarily unavilable' + welcome = '400 Service temporarily unavailable' self.check_constructor_error_conditions( Handler, nntplib.NNTPTemporaryError, Handler.welcome) def test_service_permanently_unavailable(self): #Test service permanently unavailable class Handler(NNTPv1Handler): - welcome = '502 Service permanently unavilable' + welcome = '502 Service permanently unavailable' self.check_constructor_error_conditions( Handler, nntplib.NNTPPermanentError, Handler.welcome) diff -r a290f992e69a Lib/test/test_structseq.py --- a/Lib/test/test_structseq.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_structseq.py Tue Jul 26 17:52:02 2016 +0300 @@ -97,7 +97,7 @@ class Exc(Exception): pass - # Devious code could crash structseqs' contructors + # Devious code could crash structseqs' constructors class C: def __getitem__(self, i): raise Exc diff -r a290f992e69a Lib/test/test_subprocess.py --- a/Lib/test/test_subprocess.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/test/test_subprocess.py Tue Jul 26 17:52:02 2016 +0300 @@ -1351,7 +1351,7 @@ desired_exception = e desired_exception.strerror += ': ' + repr(self._nonexistent_dir) else: - self.fail("chdir to nonexistant directory %s succeeded." % + self.fail("chdir to nonexistent directory %s succeeded." % self._nonexistent_dir) return desired_exception diff -r a290f992e69a Lib/unittest/case.py --- a/Lib/unittest/case.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Lib/unittest/case.py Tue Jul 26 17:52:02 2016 +0300 @@ -836,7 +836,7 @@ between the two objects is more than the given delta. Note that decimal places (from zero) are usually not the same - as significant digits (measured from the most signficant digit). + as significant digits (measured from the most significant digit). If the two objects compare equal then they will automatically compare almost equal. @@ -875,7 +875,7 @@ between the two objects is less than the given delta. Note that decimal places (from zero) are usually not the same - as significant digits (measured from the most signficant digit). + as significant digits (measured from the most significant digit). Objects that are equal automatically fail. """ diff -r a290f992e69a Tools/clinic/clinic_test.py --- a/Tools/clinic/clinic_test.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Tools/clinic/clinic_test.py Tue Jul 26 17:52:02 2016 +0300 @@ -90,7 +90,7 @@ # the "end line" for the block if it # didn't end in "\n" (as in, the last) # byte of the file was '/'. - # so it woudl spit out an end line for you. + # so it would spit out an end line for you. # and since you really already had one, # the last line of the block got corrupted. c = clinic.Clinic(clinic.CLanguage(None)) diff -r a290f992e69a Tools/demo/redemo.py --- a/Tools/demo/redemo.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Tools/demo/redemo.py Tue Jul 26 17:52:02 2016 +0300 @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -"""Basic regular expression demostration facility (Perl style syntax).""" +"""Basic regular expression demonstration facility (Perl style syntax).""" from tkinter import * import re diff -r a290f992e69a Tools/freeze/freeze.py --- a/Tools/freeze/freeze.py Tue Jul 26 12:55:20 2016 +0200 +++ b/Tools/freeze/freeze.py Tue Jul 26 17:52:02 2016 +0300 @@ -159,7 +159,7 @@ except getopt.error as msg: usage('getopt error: ' + str(msg)) - # proces option arguments + # process option arguments for o, a in opts: if o == '-h': print(__doc__)