I located some typo's in the CVS. Here is a patch. Warning: I'm a non-native English speaker. Please verify fixes. Rob Index: Demo/pdist/rcslib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Demo/pdist/rcslib.py,v retrieving revision 1.6 diff -u -r1.6 rcslib.py --- Demo/pdist/rcslib.py 1998/09/14 16:43:57 1.6 +++ Demo/pdist/rcslib.py 2000/06/28 07:42:50 @@ -296,7 +296,7 @@ def _system(self, cmd): """INTERNAL: run COMMAND in a subshell. - Standard input for the command is taken fron /dev/null. + Standard input for the command is taken from /dev/null. Raise IOError when the exit status is not zero. Index: Demo/sgi/video/Vcopy.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Demo/sgi/video/Vcopy.py,v retrieving revision 1.7 diff -u -r1.7 Vcopy.py --- Demo/sgi/video/Vcopy.py 1996/11/27 19:50:07 1.7 +++ Demo/sgi/video/Vcopy.py 2000/06/28 07:42:50 @@ -8,7 +8,7 @@ # - Manipulate the time base: # = resample at a fixed rate # = divide the time codes by a speed factor (to make it go faster/slower) -# = drop frames that are less than n msec apart (to accomodate slow players) +# = drop frames that are less than n msec apart (to accommodate slow players) # - Convert to a different format # - Magnify (scale) the image Index: Demo/sgi/video/Vtime.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Demo/sgi/video/Vtime.py,v retrieving revision 1.4 diff -u -r1.4 Vtime.py --- Demo/sgi/video/Vtime.py 1996/11/27 19:50:28 1.4 +++ Demo/sgi/video/Vtime.py 2000/06/28 07:42:50 @@ -7,7 +7,7 @@ # # - resample at a fixed rate # - divide the time codes by a speed factor (to make it go faster/slower) -# - drop frames that are less than n msec apart (to accomodate slow players) +# - drop frames that are less than n msec apart (to accommodate slow players) # Usage: Index: Lib/Queue.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/Queue.py,v retrieving revision 1.10 diff -u -r1.10 Queue.py --- Lib/Queue.py 2000/02/02 15:10:14 1.10 +++ Lib/Queue.py 2000/06/28 07:42:51 @@ -119,7 +119,7 @@ def _qsize(self): return len(self.queue) - # Check wheter the queue is empty + # Check whether the queue is empty def _empty(self): return not self.queue Index: Lib/binhex.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/binhex.py,v retrieving revision 1.12 diff -u -r1.12 binhex.py --- Lib/binhex.py 2000/02/04 15:39:29 1.12 +++ Lib/binhex.py 2000/06/28 07:42:51 @@ -13,7 +13,7 @@ # XXXX Note: currently, textfiles appear in mac-form on all platforms. # We seem to lack a simple character-translate in python. # (we should probably use ISO-Latin-1 on all but the mac platform). -# XXXX The simeple routines are too simple: they expect to hold the complete +# XXXX The simple routines are too simple: they expect to hold the complete # files in-core. Should be fixed. # XXXX It would be nice to handle AppleDouble format on unix # (for servers serving macs). @@ -48,7 +48,7 @@ try: openrf = MacOS.openrf except AttributeError: - # Backward compatability + # Backward compatibility openrf = open def FInfo(): Index: Lib/calendar.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/calendar.py,v retrieving revision 1.15 diff -u -r1.15 calendar.py --- Lib/calendar.py 2000/02/02 15:10:14 1.15 +++ Lib/calendar.py 2000/06/28 07:42:51 @@ -1,6 +1,6 @@ """Calendar printing functions""" -# Revision 2: uses funtions from built-in time module +# Revision 2: uses functions from built-in time module # Import functions and variables from time module from time import localtime, mktime Index: Lib/fnmatch.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/fnmatch.py,v retrieving revision 1.7 diff -u -r1.7 fnmatch.py --- Lib/fnmatch.py 1997/10/22 20:57:40 1.7 +++ Lib/fnmatch.py 2000/06/28 07:42:51 @@ -36,7 +36,7 @@ return fnmatchcase(name, pat) def fnmatchcase(name, pat): - """Test wheter FILENAME matches PATTERN, including case. + """Test whether FILENAME matches PATTERN, including case. This is a version of fnmatch() which doesn't case-normalize its arguments. Index: Lib/locale.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/locale.py,v retrieving revision 1.6 diff -u -r1.6 locale.py --- Lib/locale.py 2000/06/08 17:49:41 1.6 +++ Lib/locale.py 2000/06/28 07:42:52 @@ -220,7 +220,7 @@ The language code corresponds to RFC 1766. code and encoding can be None in case the values cannot be determined or are - unkown to this implementation. + unknown to this implementation. """ code = normalize(localename) @@ -229,7 +229,7 @@ elif code == 'C': return None, None else: - raise ValueError,'unkown locale: %s' % localename + raise ValueError,'unknown locale: %s' % localename return l def _build_localename(localetuple): Index: Lib/posixpath.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/posixpath.py,v retrieving revision 1.30 diff -u -r1.30 posixpath.py --- Lib/posixpath.py 2000/02/29 13:31:16 1.30 +++ Lib/posixpath.py 2000/06/28 07:42:52 @@ -24,7 +24,7 @@ return s -# Return wheter a path is absolute. +# Return whether a path is absolute. # Trivial in Posix, harder on the Mac or MS-DOS. def isabs(s): @@ -304,7 +304,7 @@ # Expand paths containing shell variable substitutions. # This expands the forms $variable and ${variable} only. -# Non-existant variables are left unchanged. +# Non-existent variables are left unchanged. _varprog = None Index: Lib/sgmllib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/sgmllib.py,v retrieving revision 1.19 diff -u -r1.19 sgmllib.py --- Lib/sgmllib.py 2000/02/04 15:28:40 1.19 +++ Lib/sgmllib.py 2000/06/28 07:42:53 @@ -47,7 +47,7 @@ # <foo> and </foo>, respectively, or do_foo to handle <foo> by itself. # (Tags are converted to lower case for this purpose.) The data # between tags is passed to the parser by calling self.handle_data() -# with some data as argument (the data may be split up in arbutrary +# with some data as argument (the data may be split up in arbitrary # chunks). Entity references are passed by calling # self.handle_entityref() with the entity reference as argument. Index: Lib/site.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v retrieving revision 1.11 diff -u -r1.11 site.py --- Lib/site.py 2000/06/07 09:12:09 1.11 +++ Lib/site.py 2000/06/28 07:42:53 @@ -122,7 +122,7 @@ # # Set the string encoding used by the Unicode implementation to the # encoding used by the default locale of this system. If the default -# encoding cannot be determined or is unkown, it defaults to 'ascii'. +# encoding cannot be determined or is unknown, it defaults to 'ascii'. # def locale_aware_defaultencoding(): import locale Index: Lib/urllib2.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v retrieving revision 1.3 diff -u -r1.3 urllib2.py --- Lib/urllib2.py 2000/02/10 17:17:14 1.3 +++ Lib/urllib2.py 2000/06/28 07:42:54 @@ -141,7 +141,7 @@ _opener = opener # do these error classes make sense? -# make sure all of the IOError stuff is overriden. we just want to be +# make sure all of the IOError stuff is overridden. we just want to be # subtypes. class URLError(IOError): Index: Lib/xmllib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/xmllib.py,v retrieving revision 1.18 diff -u -r1.18 xmllib.py --- Lib/xmllib.py 2000/06/21 20:01:10 1.18 +++ Lib/xmllib.py 2000/06/28 07:42:54 @@ -79,7 +79,7 @@ # special names to handle tags: start_foo and end_foo to handle <foo> # and </foo>, respectively. The data between tags is passed to the # parser by calling self.handle_data() with some data as argument (the -# data may be split up in arbutrary chunks). +# data may be split up in arbitrary chunks). class XMLParser: attributes = {} # default, to be overridden Index: Lib/distutils/cmd.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/cmd.py,v retrieving revision 1.18 diff -u -r1.18 cmd.py --- Lib/distutils/cmd.py 2000/06/08 00:02:36 1.18 +++ Lib/distutils/cmd.py 2000/06/28 07:42:55 @@ -323,7 +323,7 @@ should be disabled by the "dry run" flag, and should announce themselves if the current verbosity level is high enough. This method takes care of all that bureaucracy for you; all you have to - do is supply the funtion to call and an argument tuple for it (to + do is supply the function to call and an argument tuple for it (to embody the "external action" being performed), a message to print if the verbosity level is high enough, and an optional verbosity threshold. Index: Lib/distutils/util.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/util.py,v retrieving revision 1.37 diff -u -r1.37 util.py --- Lib/distutils/util.py 2000/06/24 20:40:02 1.37 +++ Lib/distutils/util.py 2000/06/28 07:42:55 @@ -28,7 +28,7 @@ return os.path.normpath(path) -# More backwards compatability hacks +# More backwards compatibility hacks def extend (list, new_list): """Appends the list 'new_list' to 'list', just like the 'extend()' list method does in Python 1.5.2 -- but this works on earlier Index: Lib/distutils/version.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/version.py,v retrieving revision 1.1 diff -u -r1.1 version.py --- Lib/distutils/version.py 1998/12/18 22:00:30 1.1 +++ Lib/distutils/version.py 2000/06/28 07:42:55 @@ -207,7 +207,7 @@ # provides enough benefit to be worth using, and will submit their # version numbering scheme to its domination. The free-thinking # anarchists in the lot will never give in, though, and something needs -# to be done to accomodate them. +# to be done to accommodate them. # # Perhaps a "moderately strict" version class could be implemented that # lets almost anything slide (syntactically), and makes some heuristic Index: Lib/distutils/command/build_ext.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_ext.py,v retrieving revision 1.51 diff -u -r1.51 build_ext.py --- Lib/distutils/command/build_ext.py 2000/06/28 01:29:37 1.51 +++ Lib/distutils/command/build_ext.py 2000/06/28 07:42:56 @@ -1,7 +1,7 @@ """distutils.command.build_ext Implements the Distutils 'build_ext' command, for building extension -modules (currently limited to C extensions, should accomodate C++ +modules (currently limited to C extensions, should accommodate C++ extensions ASAP).""" # created 1999/08/09, Greg Ward @@ -385,7 +385,7 @@ # Next, compile the source code to object files. # XXX not honouring 'define_macros' or 'undef_macros' -- the - # CCompiler API needs to change to accomodate this, and I + # CCompiler API needs to change to accommodate this, and I # want to do one thing at a time! # Two possible sources for extra compiler arguments: Index: Lib/dos-8x3/posixpat.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/dos-8x3/posixpat.py,v retrieving revision 1.10 diff -u -r1.10 posixpat.py --- Lib/dos-8x3/posixpat.py 2000/05/08 17:31:00 1.10 +++ Lib/dos-8x3/posixpat.py 2000/06/28 07:42:56 @@ -24,7 +24,7 @@ return s -# Return wheter a path is absolute. +# Return whether a path is absolute. # Trivial in Posix, harder on the Mac or MS-DOS. def isabs(s): @@ -304,7 +304,7 @@ # Expand paths containing shell variable substitutions. # This expands the forms $variable and ${variable} only. -# Non-existant variables are left unchanged. +# Non-existent variables are left unchanged. _varprog = None Index: Lib/dos-8x3/queue.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/dos-8x3/queue.py,v retrieving revision 1.7 diff -u -r1.7 queue.py --- Lib/dos-8x3/queue.py 2000/05/08 17:31:00 1.7 +++ Lib/dos-8x3/queue.py 2000/06/28 07:42:56 @@ -119,7 +119,7 @@ def _qsize(self): return len(self.queue) - # Check wheter the queue is empty + # Check whether the queue is empty def _empty(self): return not self.queue Index: Lib/dos-8x3/test_win.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/dos-8x3/test_win.py,v retrieving revision 1.1 diff -u -r1.1 test_win.py --- Lib/dos-8x3/test_win.py 2000/05/08 17:31:03 1.1 +++ Lib/dos-8x3/test_win.py 2000/06/28 07:42:57 @@ -115,7 +115,7 @@ # Opening should now fail! try: key = OpenKey(root_key, test_key_name) - assert 0, "Could open the non-existant key" + assert 0, "Could open the non-existent key" except WindowsError: # Use this error name this time pass Index: Lib/dos-8x3/test_zli.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/dos-8x3/test_zli.py,v retrieving revision 1.5 diff -u -r1.5 test_zli.py --- Lib/dos-8x3/test_zli.py 2000/05/08 17:31:03 1.5 +++ Lib/dos-8x3/test_zli.py 2000/06/28 07:42:57 @@ -11,7 +11,7 @@ buf = file.read() * 8 file.close() -# test the chucksums (hex so the test doesn't break on 64-bit machines) +# test the checksums (hex so the test doesn't break on 64-bit machines) print hex(zlib.crc32('penguin')), hex(zlib.crc32('penguin', 1)) print hex(zlib.adler32('penguin')), hex(zlib.adler32('penguin', 1)) Index: Lib/plat-irix5/CL_old.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix5/CL_old.py,v retrieving revision 1.1 diff -u -r1.1 CL_old.py --- Lib/plat-irix5/CL_old.py 1995/05/17 11:18:22 1.1 +++ Lib/plat-irix5/CL_old.py 2000/06/28 07:42:57 @@ -200,7 +200,7 @@ BOTTOM_UP = 1 # -# SGI Proprietaty Algorithm Header Start Code +# SGI Proprietary Algorithm Header Start Code # HEADER_START_CODE = 0xc1C0DEC Index: Lib/plat-irix5/flp.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix5/flp.py,v retrieving revision 1.17 diff -u -r1.17 flp.py --- Lib/plat-irix5/flp.py 1998/03/26 20:22:58 1.17 +++ Lib/plat-irix5/flp.py 2000/06/28 07:42:57 @@ -203,7 +203,7 @@ return datum[1] # # Internal: parse fd form, or skip if name doesn't match. -# the special value None means 'allways parse it'. +# the special value None means 'always parse it'. # def _parse_fd_form(file, name): datum = _parse_1_line(file) @@ -222,7 +222,7 @@ return None # -# Internal class: a convient place to store object info fields +# Internal class: a convenient place to store object info fields # class _newobj: def add(self, name, value): Index: Lib/plat-irix5/panel.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix5/panel.py,v retrieving revision 1.4 diff -u -r1.4 panel.py --- Lib/plat-irix5/panel.py 1995/09/18 22:00:37 1.4 +++ Lib/plat-irix5/panel.py 2000/06/28 07:42:58 @@ -2,7 +2,7 @@ # # Support for the Panel library. # Uses built-in module 'pnl'. -# Applciations should use 'panel.function' instead of 'pnl.function'; +# Applications should use 'panel.function' instead of 'pnl.function'; # most 'pnl' functions are transparently exported by 'panel', # but dopanel() is overridden and you have to use this version # if you want to use callbacks. @@ -137,7 +137,7 @@ print 'assign failed:', stmt -# Build a real actuator from an actuator descriptior. +# Build a real actuator from an actuator description. # Return a pair (actuator, name). # def build_actuator(descr): Index: Lib/plat-irix6/flp.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/flp.py,v retrieving revision 1.4 diff -u -r1.4 flp.py --- Lib/plat-irix6/flp.py 1998/03/26 20:23:01 1.4 +++ Lib/plat-irix6/flp.py 2000/06/28 07:42:58 @@ -203,7 +203,7 @@ return datum[1] # # Internal: parse fd form, or skip if name doesn't match. -# the special value None means 'allways parse it'. +# the special value None means 'always parse it'. # def _parse_fd_form(file, name): datum = _parse_1_line(file) @@ -222,7 +222,7 @@ return None # -# Internal class: a convient place to store object info fields +# Internal class: a convenient place to store object info fields # class _newobj: def add(self, name, value): Index: Lib/plat-irix6/panel.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/plat-irix6/panel.py,v retrieving revision 1.1 diff -u -r1.1 panel.py --- Lib/plat-irix6/panel.py 1997/01/15 19:19:11 1.1 +++ Lib/plat-irix6/panel.py 2000/06/28 07:42:58 @@ -2,7 +2,7 @@ # # Support for the Panel library. # Uses built-in module 'pnl'. -# Applciations should use 'panel.function' instead of 'pnl.function'; +# Applications should use 'panel.function' instead of 'pnl.function'; # most 'pnl' functions are transparently exported by 'panel', # but dopanel() is overridden and you have to use this version # if you want to use callbacks. @@ -137,7 +137,7 @@ print 'assign failed:', stmt -# Build a real actuator from an actuator descriptior. +# Build a real actuator from an actuator description. # Return a pair (actuator, name). # def build_actuator(descr): Index: Lib/test/test_al.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_al.py,v retrieving revision 1.2 diff -u -r1.2 test_al.py --- Lib/test/test_al.py 1998/03/26 19:41:38 1.2 +++ Lib/test/test_al.py 2000/06/28 07:42:58 @@ -8,7 +8,7 @@ alattrs = ['__doc__', '__name__', 'getdefault', 'getminmax', 'getname', 'getparams', 'newconfig', 'openport', 'queryparams', 'setparams'] -# This is a very inobstrusive test for the existance of the al module and all it's +# This is a very inobtrusive test for the existence of the al module and all it's # attributes. More comprehensive examples can be found in Demo/al def main(): Index: Lib/test/test_b1.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b1.py,v retrieving revision 1.22 diff -u -r1.22 test_b1.py --- Lib/test/test_b1.py 2000/04/14 19:13:22 1.22 +++ Lib/test/test_b1.py 2000/06/28 07:42:58 @@ -270,7 +270,7 @@ # Different base: if int("10",16) <> 16L: raise TestFailed, 'int("10",16)' if int(u"10",16) <> 16L: raise TestFailed, 'int(u"10",16)' -# Test conversion fron strings and various anomalies +# Test conversion from strings and various anomalies L = [ ('0', 0), ('1', 1), Index: Lib/test/test_cd.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cd.py,v retrieving revision 1.2 diff -u -r1.2 test_cd.py --- Lib/test/test_cd.py 1998/03/26 19:41:49 1.2 +++ Lib/test/test_cd.py 2000/06/28 07:42:58 @@ -10,7 +10,7 @@ 'ident', 'index', 'msftoframe', 'open', 'pnum', 'ptime'] -# This is a very inobstrusive test for the existance of the cd module and all it's +# This is a very inobtrusive test for the existence of the cd module and all it's # attributes. More comprehensive examples can be found in Demo/cd and # require that you have a CD and a CD ROM drive Index: Lib/test/test_cl.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cl.py,v retrieving revision 1.2 diff -u -r1.2 test_cl.py --- Lib/test/test_cl.py 1998/03/26 19:41:52 1.2 +++ Lib/test/test_cl.py 2000/06/28 07:42:58 @@ -63,7 +63,7 @@ 'YUV422DC', 'YUV422HC', '__doc__', '__name__', 'cvt_type', 'error'] -# This is a very inobstrusive test for the existance of the cl +# This is a very inobtrusive test for the existence of the cl # module and all it's attributes. def main(): Index: Lib/test/test_pwd.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pwd.py,v retrieving revision 1.5 diff -u -r1.5 test_pwd.py --- Lib/test/test_pwd.py 1998/03/26 19:42:32 1.5 +++ Lib/test/test_pwd.py 2000/06/28 07:42:58 @@ -59,7 +59,7 @@ else: print 'fakename', fakename, 'did not except pwd.getpwnam()' -# Choose a non-existant uid. +# Choose a non-existent uid. fakeuid = 4127 while byuids.has_key(fakeuid): fakeuid = (fakeuid * 3) % 0x10000 Index: Lib/test/test_winreg.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_winreg.py,v retrieving revision 1.2 diff -u -r1.2 test_winreg.py --- Lib/test/test_winreg.py 2000/04/01 05:25:57 1.2 +++ Lib/test/test_winreg.py 2000/06/28 07:42:58 @@ -115,7 +115,7 @@ # Opening should now fail! try: key = OpenKey(root_key, test_key_name) - assert 0, "Could open the non-existant key" + assert 0, "Could open the non-existent key" except WindowsError: # Use this error name this time pass Index: Lib/test/test_zlib.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_zlib.py,v retrieving revision 1.7 diff -u -r1.7 test_zlib.py --- Lib/test/test_zlib.py 2000/02/10 15:31:07 1.7 +++ Lib/test/test_zlib.py 2000/06/28 07:42:59 @@ -11,7 +11,7 @@ buf = file.read() * 8 file.close() -# test the chucksums (hex so the test doesn't break on 64-bit machines) +# test the checksums (hex so the test doesn't break on 64-bit machines) print hex(zlib.crc32('penguin')), hex(zlib.crc32('penguin', 1)) print hex(zlib.adler32('penguin')), hex(zlib.adler32('penguin', 1)) Index: Python/exceptions.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/exceptions.c,v retrieving revision 1.2 diff -u -r1.2 exceptions.c --- Python/exceptions.c 2000/06/20 18:36:26 1.2 +++ Python/exceptions.c 2000/06/28 07:42:59 @@ -189,7 +189,7 @@ * * First thing we create is the base class for all exceptions, called * appropriately enough: Exception. Creation of this class makes no - * assumptions about the existance of any other exception class -- except + * assumptions about the existence of any other exception class -- except * for TypeError, which can conditionally exist. * * Next, StandardError is created (which is quite simple) followed by Index: Python/import.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/import.c,v retrieving revision 2.134 diff -u -r2.134 import.c --- Python/import.c 2000/05/03 23:44:39 2.134 +++ Python/import.c 2000/06/28 07:43:01 @@ -87,7 +87,7 @@ #define MAGIC (50428 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* Magic word as global; note that _PyImport_Init() can change the - value of this global to accomodate for alterations of how the + value of this global to accommodate for alterations of how the compiler works which are enabled by command line switches. */ static long pyc_magic = MAGIC;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4