Issue #27076: Doc, comment and tests spelling fixes

Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
This commit is contained in:
Martin Panter 2016-05-26 05:35:26 +00:00
parent eb9aca3c07
commit 46f50726a0
67 changed files with 241 additions and 241 deletions

View File

@ -177,7 +177,7 @@ Glossary
A buffer is considered contiguous exactly if it is either A buffer is considered contiguous exactly if it is either
*C-contiguous* or *Fortran contiguous*. Zero-dimensional buffers are *C-contiguous* or *Fortran contiguous*. Zero-dimensional buffers are
C and Fortran contiguous. In one-dimensional arrays, the items C and Fortran contiguous. In one-dimensional arrays, the items
must be layed out in memory next to each other, in order of must be laid out in memory next to each other, in order of
increasing indexes starting from zero. In multidimensional increasing indexes starting from zero. In multidimensional
C-contiguous arrays, the last index varies the fastest when C-contiguous arrays, the last index varies the fastest when
visiting items in order of memory address. However, in visiting items in order of memory address. However, in

View File

@ -151,7 +151,7 @@ def _find_appropriate_compiler(_config_vars):
# can only be found inside Xcode.app if the "Command Line Tools" # can only be found inside Xcode.app if the "Command Line Tools"
# are not installed. # are not installed.
# #
# Futhermore, the compiler that can be used varies between # Furthermore, the compiler that can be used varies between
# Xcode releases. Up to Xcode 4 it was possible to use 'gcc-4.2' # Xcode releases. Up to Xcode 4 it was possible to use 'gcc-4.2'
# as the compiler, after that 'clang' should be used because # as the compiler, after that 'clang' should be used because
# gcc-4.2 is either not present, or a copy of 'llvm-gcc' that # gcc-4.2 is either not present, or a copy of 'llvm-gcc' that

View File

@ -603,7 +603,7 @@ class SSLProtocol(protocols.Protocol):
self._wakeup_waiter() self._wakeup_waiter()
self._session_established = True self._session_established = True
# In case transport.write() was already called. Don't call # In case transport.write() was already called. Don't call
# immediatly _process_write_backlog(), but schedule it: # immediately _process_write_backlog(), but schedule it:
# _on_handshake_complete() can be called indirectly from # _on_handshake_complete() can be called indirectly from
# _process_write_backlog(), and _process_write_backlog() is not # _process_write_backlog(), and _process_write_backlog() is not
# reentrant. # reentrant.

View File

@ -184,7 +184,7 @@ def parse(fp=None, environ=os.environ, keep_blank_values=0, strict_parsing=0):
# parse query string function called from urlparse, # parse query string function called from urlparse,
# this is done in order to maintain backward compatiblity. # this is done in order to maintain backward compatibility.
def parse_qs(qs, keep_blank_values=0, strict_parsing=0): def parse_qs(qs, keep_blank_values=0, strict_parsing=0):
"""Parse a query given as a string argument.""" """Parse a query given as a string argument."""

View File

@ -365,7 +365,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False):
>>> x, y = p # unpack like a regular tuple >>> x, y = p # unpack like a regular tuple
>>> x, y >>> x, y
(11, 22) (11, 22)
>>> p.x + p.y # fields also accessable by name >>> p.x + p.y # fields also accessible by name
33 33
>>> d = p._asdict() # convert to a dictionary >>> d = p._asdict() # convert to a dictionary
>>> d['x'] >>> d['x']

View File

@ -287,7 +287,7 @@ def _get_instructions_bytes(code, varnames=None, names=None, constants=None,
argrepr = '' argrepr = ''
if arg is not None: if arg is not None:
# Set argval to the dereferenced value of the argument when # Set argval to the dereferenced value of the argument when
# availabe, and argrepr to the string representation of argval. # available, and argrepr to the string representation of argval.
# _disassemble_bytes needs the string repr of the # _disassemble_bytes needs the string repr of the
# raw name index for LOAD_GLOBAL, LOAD_CONST, etc. # raw name index for LOAD_GLOBAL, LOAD_CONST, etc.
argval = arg argval = arg

View File

@ -51,7 +51,7 @@ else:
# A map keyed by get_platform() return values to values accepted by # A map keyed by get_platform() return values to values accepted by
# 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is # 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
# the param to cross-compile on x86 targetting amd64.) # the param to cross-compile on x86 targeting amd64.)
PLAT_TO_VCVARS = { PLAT_TO_VCVARS = {
'win32' : 'x86', 'win32' : 'x86',
'win-amd64' : 'amd64', 'win-amd64' : 'amd64',

View File

@ -127,7 +127,7 @@ class UnixCCompilerTestCase(unittest.TestCase):
self.assertEqual(self.cc.linker_so[0], 'my_cc') self.assertEqual(self.cc.linker_so[0], 'my_cc')
@unittest.skipUnless(sys.platform == 'darwin', 'test only relevant for OS X') @unittest.skipUnless(sys.platform == 'darwin', 'test only relevant for OS X')
def test_osx_explict_ldshared(self): def test_osx_explicit_ldshared(self):
# Issue #18080: # Issue #18080:
# ensure that setting CC env variable does not change # ensure that setting CC env variable does not change
# explicit LDSHARED setting for linker # explicit LDSHARED setting for linker

View File

@ -2872,7 +2872,7 @@ def parse_content_type_header(value):
_find_mime_parameters(ctype, value) _find_mime_parameters(ctype, value)
return ctype return ctype
ctype.append(token) ctype.append(token)
# XXX: If we really want to follow the formal grammer we should make # XXX: If we really want to follow the formal grammar we should make
# mantype and subtype specialized TokenLists here. Probably not worth it. # mantype and subtype specialized TokenLists here. Probably not worth it.
if not value or value[0] != '/': if not value or value[0] != '/':
ctype.defects.append(errors.InvalidHeaderDefect( ctype.defects.append(errors.InvalidHeaderDefect(

View File

@ -23,7 +23,7 @@ class Parser:
textual representation of the message. textual representation of the message.
The string must be formatted as a block of RFC 2822 headers and header The string must be formatted as a block of RFC 2822 headers and header
continuation lines, optionally preceeded by a `Unix-from' header. The continuation lines, optionally preceded by a `Unix-from' header. The
header block is terminated either by the end of the string or by a header block is terminated either by the end of the string or by a
blank line. blank line.
@ -87,7 +87,7 @@ class BytesParser:
textual representation of the message. textual representation of the message.
The input must be formatted as a block of RFC 2822 headers and header The input must be formatted as a block of RFC 2822 headers and header
continuation lines, optionally preceeded by a `Unix-from' header. The continuation lines, optionally preceded by a `Unix-from' header. The
header block is terminated either by the end of the input or by a header block is terminated either by the end of the input or by a
blank line. blank line.

View File

@ -73,7 +73,7 @@ class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
self.decoder = None self.decoder = None
def getstate(self): def getstate(self):
# additonal state info from the base class must be None here, # additional state info from the base class must be None here,
# as it isn't passed along to the caller # as it isn't passed along to the caller
state = codecs.BufferedIncrementalDecoder.getstate(self)[0] state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
# additional state info we pass to the caller: # additional state info we pass to the caller:

View File

@ -68,7 +68,7 @@ class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
self.decoder = None self.decoder = None
def getstate(self): def getstate(self):
# additonal state info from the base class must be None here, # additional state info from the base class must be None here,
# as it isn't passed along to the caller # as it isn't passed along to the caller
state = codecs.BufferedIncrementalDecoder.getstate(self)[0] state = codecs.BufferedIncrementalDecoder.getstate(self)[0]
# additional state info we pass to the caller: # additional state info we pass to the caller:

View File

@ -143,7 +143,7 @@ class HTMLParser(_markupbase.ParserBase):
# or there's more text incoming. If the latter is True, # or there's more text incoming. If the latter is True,
# we can't pass the text to handle_data in case we have # we can't pass the text to handle_data in case we have
# a charref cut in half at end. Try to determine if # a charref cut in half at end. Try to determine if
# this is the case before proceding by looking for an # this is the case before proceeding by looking for an
# & near the end and see if it's followed by a space or ;. # & near the end and see if it's followed by a space or ;.
amppos = rawdata.rfind('&', max(i, n-34)) amppos = rawdata.rfind('&', max(i, n-34))
if (amppos >= 0 and if (amppos >= 0 and

View File

@ -156,7 +156,7 @@ class CookieError(Exception):
# a two-way quoting algorithm. Any non-text character is translated # a two-way quoting algorithm. Any non-text character is translated
# into a 4 character sequence: a forward-slash followed by the # into a 4 character sequence: a forward-slash followed by the
# three-digit octal equivalent of the character. Any '\' or '"' is # three-digit octal equivalent of the character. Any '\' or '"' is
# quoted with a preceeding '\' slash. # quoted with a preceding '\' slash.
# Because of the way browsers really handle cookies (as opposed to what # Because of the way browsers really handle cookies (as opposed to what
# the RFC says) we also encode "," and ";". # the RFC says) we also encode "," and ";".
# #

View File

@ -1043,7 +1043,7 @@ def _calc___package__(globals):
def __import__(name, globals=None, locals=None, fromlist=(), level=0): def __import__(name, globals=None, locals=None, fromlist=(), level=0):
"""Import a module. """Import a module.
The 'globals' argument is used to infer where the import is occuring from The 'globals' argument is used to infer where the import is occurring from
to handle relative imports. The 'locals' argument is ignored. The to handle relative imports. The 'locals' argument is ignored. The
'fromlist' argument specifies what should exist as attributes on the module 'fromlist' argument specifies what should exist as attributes on the module
being imported (e.g. ``from module import <fromlist>``). The 'level' being imported (e.g. ``from module import <fromlist>``). The 'level'

View File

@ -215,7 +215,7 @@ def reduce_tree(node, parent=None):
#reduce to None #reduce to None
new_node = None new_node = None
elif repeater_node.children[0].value == '+': elif repeater_node.children[0].value == '+':
#reduce to a single occurence i.e. do nothing #reduce to a single occurrence i.e. do nothing
pass pass
else: else:
#TODO: handle {min, max} repeaters #TODO: handle {min, max} repeaters

View File

@ -25,7 +25,7 @@ from ..fixer_util import Name, syms, Node, Leaf
def has_metaclass(parent): def has_metaclass(parent):
""" we have to check the cls_node without changing it. """ we have to check the cls_node without changing it.
There are two possiblities: There are two possibilities:
1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta') 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
2) clsdef => simple_stmt => expr_stmt => Leaf('__meta') 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')
""" """

View File

@ -3,7 +3,7 @@
"""Pattern compiler. """Pattern compiler.
The grammer is taken from PatternGrammar.txt. The grammar is taken from PatternGrammar.txt.
The compiler compiles a pattern to a pytree.*Pattern instance. The compiler compiles a pattern to a pytree.*Pattern instance.
""" """

View File

@ -1451,7 +1451,7 @@ windows_locale = {
0x1809: "en_IE", # English - Ireland 0x1809: "en_IE", # English - Ireland
0x1c09: "en_ZA", # English - South Africa 0x1c09: "en_ZA", # English - South Africa
0x2009: "en_JA", # English - Jamaica 0x2009: "en_JA", # English - Jamaica
0x2409: "en_CB", # English - Carribbean 0x2409: "en_CB", # English - Caribbean
0x2809: "en_BZ", # English - Belize 0x2809: "en_BZ", # English - Belize
0x2c09: "en_TT", # English - Trinidad 0x2c09: "en_TT", # English - Trinidad
0x3009: "en_ZW", # English - Zimbabwe 0x3009: "en_ZW", # English - Zimbabwe

View File

@ -731,7 +731,7 @@ _Validation_records = [
('CustomAction','Type','N',1,16383,None, None, None, None, 'The numeric custom action type, consisting of source location, code type, entry, option flags.',), ('CustomAction','Type','N',1,16383,None, None, None, None, 'The numeric custom action type, consisting of source location, code type, entry, option flags.',),
('CustomAction','Action','N',None, None, None, None, 'Identifier',None, 'Primary key, name of action, normally appears in sequence table unless private use.',), ('CustomAction','Action','N',None, None, None, None, 'Identifier',None, 'Primary key, name of action, normally appears in sequence table unless private use.',),
('CustomAction','Source','Y',None, None, None, None, 'CustomSource',None, 'The table reference of the source of the code.',), ('CustomAction','Source','Y',None, None, None, None, 'CustomSource',None, 'The table reference of the source of the code.',),
('CustomAction','Target','Y',None, None, None, None, 'Formatted',None, 'Excecution parameter, depends on the type of custom action',), ('CustomAction','Target','Y',None, None, None, None, 'Formatted',None, 'Execution parameter, depends on the type of custom action',),
('DrLocator','Signature_','N',None, None, None, None, 'Identifier',None, 'The Signature_ represents a unique file signature and is also the foreign key in the Signature table.',), ('DrLocator','Signature_','N',None, None, None, None, 'Identifier',None, 'The Signature_ represents a unique file signature and is also the foreign key in the Signature table.',),
('DrLocator','Path','Y',None, None, None, None, 'AnyPath',None, 'The path on the user system. This is either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.',), ('DrLocator','Path','Y',None, None, None, None, 'AnyPath',None, 'The path on the user system. This is either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.',),
('DrLocator','Depth','Y',0,32767,None, None, None, None, 'The depth below the path to which the Signature_ is recursively searched. If absent, the depth is assumed to be 0.',), ('DrLocator','Depth','Y',0,32767,None, None, None, None, 'The depth below the path to which the Signature_ is recursively searched. If absent, the depth is assumed to be 0.',),

View File

@ -300,7 +300,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
# An 'Internal StopIteration' exception is an exception debug event # An 'Internal StopIteration' exception is an exception debug event
# issued by the interpreter when handling a subgenerator run with # issued by the interpreter when handling a subgenerator run with
# 'yield from' or a generator controled by a for loop. No exception has # 'yield from' or a generator controlled by a for loop. No exception has
# actually occurred in this case. The debugger uses this debug event to # actually occurred in this case. The debugger uses this debug event to
# stop when the debuggee is returning from such generators. # stop when the debuggee is returning from such generators.
prefix = 'Internal ' if (not exc_traceback prefix = 'Internal ' if (not exc_traceback

View File

@ -995,7 +995,7 @@ class _Unpickler:
meets this interface. meets this interface.
Optional keyword arguments are *fix_imports*, *encoding* and Optional keyword arguments are *fix_imports*, *encoding* and
*errors*, which are used to control compatiblity support for *errors*, which are used to control compatibility support for
pickle stream generated by Python 2. If *fix_imports* is True, pickle stream generated by Python 2. If *fix_imports* is True,
pickle will try to map the old Python 2 names to the new names pickle will try to map the old Python 2 names to the new names
used in Python 3. The *encoding* and *errors* tell pickle how used in Python 3. The *encoding* and *errors* tell pickle how

View File

@ -282,7 +282,7 @@
# either /etc/hosts OR DNS or NIS depending on the settings of # either /etc/hosts OR DNS or NIS depending on the settings of
# /etc/host.config, /etc/nsswitch.conf # /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system # and the /etc/resolv.conf file. "host" therefore is system
# configuration dependant. This parameter is most often of use to # configuration dependent. This parameter is most often of use to
# prevent DNS lookups # prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care! # in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that # The example below excludes use of name resolution for machines that

View File

@ -1227,7 +1227,7 @@ class TestDate(HarmlessMixedComparison, unittest.TestCase):
#self.assertRaises(ValueError, t.strftime, "%#") #self.assertRaises(ValueError, t.strftime, "%#")
#oh well, some systems just ignore those invalid ones. #oh well, some systems just ignore those invalid ones.
#at least, excercise them to make sure that no crashes #at least, exercise them to make sure that no crashes
#are generated #are generated
for f in ["%e", "%", "%#"]: for f in ["%e", "%", "%#"]:
try: try:
@ -2476,7 +2476,7 @@ class TestTime(HarmlessMixedComparison, unittest.TestCase):
self.theclass(bytes([1] * len(base)), 'EST') self.theclass(bytes([1] * len(base)), 'EST')
# A mixin for classes with a tzinfo= argument. Subclasses must define # A mixin for classes with a tzinfo= argument. Subclasses must define
# theclass as a class atribute, and theclass(1, 1, 1, tzinfo=whatever) # theclass as a class attribute, and theclass(1, 1, 1, tzinfo=whatever)
# must be legit (which is true for time and datetime). # must be legit (which is true for time and datetime).
class TZInfoBase: class TZInfoBase:

View File

@ -407,7 +407,7 @@ class SubprocessMixin:
transport, protocol = yield from create transport, protocol = yield from create
proc = transport.get_extra_info('subprocess') proc = transport.get_extra_info('subprocess')
# kill the process (but asyncio is not notified immediatly) # kill the process (but asyncio is not notified immediately)
proc.kill() proc.kill()
proc.wait() proc.wait()

View File

@ -461,7 +461,7 @@ class SkipitemTest(unittest.TestCase):
test and not for the other, there's a mismatch, and the test fails. test and not for the other, there's a mismatch, and the test fails.
** Some format units have special funny semantics and it would ** Some format units have special funny semantics and it would
be difficult to accomodate them here. Since these are all be difficult to accommodate them here. Since these are all
well-established and properly skipped in skipitem() we can well-established and properly skipped in skipitem() we can
get away with not testing them--this test is really intended get away with not testing them--this test is really intended
to catch *new* format units. to catch *new* format units.

View File

@ -676,7 +676,7 @@ class FutureTests(unittest.TestCase):
self.assertEqual(SUCCESSFUL_FUTURE.result(timeout=0), 42) self.assertEqual(SUCCESSFUL_FUTURE.result(timeout=0), 42)
def test_result_with_success(self): def test_result_with_success(self):
# TODO(brian@sweetapp.com): This test is timing dependant. # TODO(brian@sweetapp.com): This test is timing dependent.
def notification(): def notification():
# Wait until the main thread is waiting for the result. # Wait until the main thread is waiting for the result.
time.sleep(1) time.sleep(1)
@ -689,7 +689,7 @@ class FutureTests(unittest.TestCase):
self.assertEqual(f1.result(timeout=5), 42) self.assertEqual(f1.result(timeout=5), 42)
def test_result_with_cancel(self): def test_result_with_cancel(self):
# TODO(brian@sweetapp.com): This test is timing dependant. # TODO(brian@sweetapp.com): This test is timing dependent.
def notification(): def notification():
# Wait until the main thread is waiting for the result. # Wait until the main thread is waiting for the result.
time.sleep(1) time.sleep(1)

View File

@ -25,7 +25,7 @@ class CryptTestCase(unittest.TestCase):
self.assertEqual(len(pw), method.total_size) self.assertEqual(len(pw), method.total_size)
def test_methods(self): def test_methods(self):
# Gurantee that METHOD_CRYPT is the last method in crypt.methods. # Guarantee that METHOD_CRYPT is the last method in crypt.methods.
self.assertTrue(len(crypt.methods) >= 1) self.assertTrue(len(crypt.methods) >= 1)
self.assertEqual(crypt.METHOD_CRYPT, crypt.methods[-1]) self.assertEqual(crypt.METHOD_CRYPT, crypt.methods[-1])

View File

@ -324,7 +324,7 @@ containing test:
>>> test.lineno + e2.lineno >>> test.lineno + e2.lineno
26 26
If the docstring contains inconsistant leading whitespace in the If the docstring contains inconsistent leading whitespace in the
expected output of an example, then `DocTest` will raise a ValueError: expected output of an example, then `DocTest` will raise a ValueError:
>>> docstring = r''' >>> docstring = r'''

View File

@ -2498,7 +2498,7 @@ class Test_parse_mime_parameters(TestParserMixin, TestEmailBase):
# Note that it is undefined what we should do for error recovery when # Note that it is undefined what we should do for error recovery when
# there are duplicate parameter names or duplicate parts in a split # there are duplicate parameter names or duplicate parts in a split
# part. We choose to ignore all duplicate parameters after the first # part. We choose to ignore all duplicate parameters after the first
# and to take duplicate or missing rfc 2231 parts in apperance order. # and to take duplicate or missing rfc 2231 parts in appearance order.
# This is backward compatible with get_param's behavior, but the # This is backward compatible with get_param's behavior, but the
# decisions are arbitrary. # decisions are arbitrary.

View File

@ -621,7 +621,7 @@ class TestRawDataManager(TestEmailBase):
self.assertEqual(m.get_content(), content) self.assertEqual(m.get_content(), content)
def test_set_application_octet_stream_with_8bit_cte(self): def test_set_application_octet_stream_with_8bit_cte(self):
# In 8bit mode, univeral line end logic applies. It is up to the # In 8bit mode, universal line end logic applies. It is up to the
# application to make sure the lines are short enough; we don't check. # application to make sure the lines are short enough; we don't check.
m = self._make_message() m = self._make_message()
content = b'b\xFFgus\tcon\nt\rent\n' + b'z'*60 + b'\n' content = b'b\xFFgus\tcon\nt\rent\n' + b'z'*60 + b'\n'

View File

@ -1506,7 +1506,7 @@ class TestSingleDispatch(unittest.TestCase):
object]) object])
# MutableSequence below is registered directly on D. In other words, it # MutableSequence below is registered directly on D. In other words, it
# preceeds MutableMapping which means single dispatch will always # precedes MutableMapping which means single dispatch will always
# choose MutableSequence here. # choose MutableSequence here.
class D(c.defaultdict): class D(c.defaultdict):
pass pass

View File

@ -1351,7 +1351,7 @@ class Queens:
# For each square, compute a bit vector of the columns and # For each square, compute a bit vector of the columns and
# diagonals it covers, and for each row compute a function that # diagonals it covers, and for each row compute a function that
# generates the possiblities for the columns in that row. # generates the possibilities for the columns in that row.
self.rowgenerators = [] self.rowgenerators = []
for i in rangen: for i in rangen:
rowuses = [(1 << j) | # column ordinal rowuses = [(1 << j) | # column ordinal

View File

@ -449,7 +449,7 @@ class KDFTests(unittest.TestCase):
pbkdf2_results = { pbkdf2_results = {
"sha1": [ "sha1": [
# offical test vectors from RFC 6070 # official test vectors from RFC 6070
(bytes.fromhex('0c60c80f961f0e71f3a9b524af6012062fe037a6'), None), (bytes.fromhex('0c60c80f961f0e71f3a9b524af6012062fe037a6'), None),
(bytes.fromhex('ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'), None), (bytes.fromhex('ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957'), None),
(bytes.fromhex('4b007901b765489abead49d926f721d065a429c1'), None), (bytes.fromhex('4b007901b765489abead49d926f721d065a429c1'), None),

View File

@ -1729,7 +1729,7 @@ class LWPCookieTests(unittest.TestCase):
key = "%s_after" % cookie.value key = "%s_after" % cookie.value
counter[key] = counter[key] + 1 counter[key] = counter[key] + 1
# a permanent cookie got lost accidently # a permanent cookie got lost accidentally
self.assertEqual(counter["perm_after"], counter["perm_before"]) self.assertEqual(counter["perm_after"], counter["perm_before"])
# a session cookie hasn't been cleared # a session cookie hasn't been cleared
self.assertEqual(counter["session_after"], 0) self.assertEqual(counter["session_after"], 0)

View File

@ -99,7 +99,7 @@ class BaseHTTPServerTestCase(BaseTestCase):
def do_EXPLAINERROR(self): def do_EXPLAINERROR(self):
self.send_error(999, "Short Message", self.send_error(999, "Short Message",
"This is a long \n explaination") "This is a long \n explanation")
def do_CUSTOM(self): def do_CUSTOM(self):
self.send_response(999) self.send_response(999)

View File

@ -139,7 +139,7 @@ class LineCacheTests(unittest.TestCase):
self.assertEqual( self.assertEqual(
True, linecache.lazycache(NONEXISTENT_FILENAME, globals())) True, linecache.lazycache(NONEXISTENT_FILENAME, globals()))
self.assertEqual(1, len(linecache.cache[NONEXISTENT_FILENAME])) self.assertEqual(1, len(linecache.cache[NONEXISTENT_FILENAME]))
# Note here that we're looking up a non existant filename with no # Note here that we're looking up a nonexistent filename with no
# globals: this would error if the lazy value wasn't resolved. # globals: this would error if the lazy value wasn't resolved.
self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME)) self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME))

View File

@ -1211,7 +1211,7 @@ class OpenTestCase(unittest.TestCase):
self.assertEqual(f.read(), uncompressed) self.assertEqual(f.read(), uncompressed)
def test_encoding_error_handler(self): def test_encoding_error_handler(self):
# Test wih non-default encoding error handler. # Test with non-default encoding error handler.
with BytesIO(lzma.compress(b"foo\xffbar")) as bio: with BytesIO(lzma.compress(b"foo\xffbar")) as bio:
with lzma.open(bio, "rt", encoding="ascii", errors="ignore") as f: with lzma.open(bio, "rt", encoding="ascii", errors="ignore") as f:
self.assertEqual(f.read(), "foobar") self.assertEqual(f.read(), "foobar")

View File

@ -376,7 +376,7 @@ class MemoryTestMixin:
# Pickle expects the class to be on the module level. Here we use a # Pickle expects the class to be on the module level. Here we use a
# little hack to allow the PickleTestMemIO class to derive from # little hack to allow the PickleTestMemIO class to derive from
# self.ioclass without having to define all combinations explictly on # self.ioclass without having to define all combinations explicitly on
# the module-level. # the module-level.
import __main__ import __main__
PickleTestMemIO.__module__ = '__main__' PickleTestMemIO.__module__ = '__main__'

View File

@ -824,7 +824,7 @@ def test_pdb_until_command_for_generator():
""" """
def test_pdb_next_command_in_generator_for_loop(): def test_pdb_next_command_in_generator_for_loop():
"""The next command on returning from a generator controled by a for loop. """The next command on returning from a generator controlled by a for loop.
>>> def test_gen(): >>> def test_gen():
... yield 0 ... yield 0

View File

@ -734,7 +734,7 @@ class PydocImportTest(PydocBaseTest):
finally: finally:
sys.path[:] = saved_paths sys.path[:] = saved_paths
@unittest.skip('causes undesireable side-effects (#20128)') @unittest.skip('causes undesirable side-effects (#20128)')
def test_modules(self): def test_modules(self):
# See Helper.listmodules(). # See Helper.listmodules().
num_header_lines = 2 num_header_lines = 2
@ -750,7 +750,7 @@ class PydocImportTest(PydocBaseTest):
self.assertGreaterEqual(num_lines, expected) self.assertGreaterEqual(num_lines, expected)
@unittest.skip('causes undesireable side-effects (#20128)') @unittest.skip('causes undesirable side-effects (#20128)')
def test_modules_search(self): def test_modules_search(self):
# See Helper.listmodules(). # See Helper.listmodules().
expected = 'pydoc - ' expected = 'pydoc - '

View File

@ -1836,7 +1836,7 @@ class TestGraphs(unittest.TestCase):
# http://en.wikipedia.org/wiki/Cuboctahedron # http://en.wikipedia.org/wiki/Cuboctahedron
# 8 triangular faces and 6 square faces # 8 triangular faces and 6 square faces
# 12 indentical vertices each connecting a triangle and square # 12 identical vertices each connecting a triangle and square
g = cube(3) g = cube(3)
cuboctahedron = linegraph(g) # V( --> {V1, V2, V3, V4} cuboctahedron = linegraph(g) # V( --> {V1, V2, V3, V4}

View File

@ -199,7 +199,7 @@ class ThreadableTest:
clientTearDown () clientTearDown ()
Any new test functions within the class must then define Any new test functions within the class must then define
tests in pairs, where the test name is preceeded with a tests in pairs, where the test name is preceded with a
'_' to indicate the client portion of the test. Ex: '_' to indicate the client portion of the test. Ex:
def testFoo(self): def testFoo(self):
@ -4988,7 +4988,7 @@ class TestSocketSharing(SocketTCPTest):
def compareSockets(self, org, other): def compareSockets(self, org, other):
# socket sharing is expected to work only for blocking socket # socket sharing is expected to work only for blocking socket
# since the internal python timout value isn't transfered. # since the internal python timeout value isn't transferred.
self.assertEqual(org.gettimeout(), None) self.assertEqual(org.gettimeout(), None)
self.assertEqual(org.gettimeout(), other.gettimeout()) self.assertEqual(org.gettimeout(), other.gettimeout())

View File

@ -237,8 +237,8 @@ class ReadTests(ExpectAndReadTestCase):
self.assertEqual(data, want) self.assertEqual(data, want)
def test_read_eager(self): def test_read_eager(self):
# read_eager and read_very_eager make the same gaurantees # read_eager and read_very_eager make the same guarantees
# (they behave differently but we only test the gaurantees) # (they behave differently but we only test the guarantees)
self._read_eager('read_eager') self._read_eager('read_eager')
self._read_eager('read_very_eager') self._read_eager('read_very_eager')
# NB -- we need to test the IAC block which is mentioned in the # NB -- we need to test the IAC block which is mentioned in the

View File

@ -158,7 +158,7 @@ class PlaySoundTest(unittest.TestCase):
) )
def test_alias_fallback(self): def test_alias_fallback(self):
# In the absense of the ability to tell if a sound was actually # In the absence of the ability to tell if a sound was actually
# played, this test has two acceptable outcomes: success (no error, # played, this test has two acceptable outcomes: success (no error,
# sound was theoretically played; although as issue #19987 shows # sound was theoretically played; although as issue #19987 shows
# a box without a soundcard can "succeed") or RuntimeError. Any # a box without a soundcard can "succeed") or RuntimeError. Any

View File

@ -2,7 +2,7 @@
# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' # IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
# at the start of it. Make sure this is preserved if any changes # at the start of it. Make sure this is preserved if any changes
# are made! Also note that the coding cookie above conflicts with # are made! Also note that the coding cookie above conflicts with
# the presense of a utf-8 BOM signature -- this is intended. # the presence of a utf-8 BOM signature -- this is intended.
# Arbitrary encoded utf-8 text (stolen from test_doctest2.py). # Arbitrary encoded utf-8 text (stolen from test_doctest2.py).
x = 'ЉЊЈЁЂ' x = 'ЉЊЈЁЂ'

View File

@ -1061,7 +1061,7 @@ class Thread:
# Issue #18808: wait for the thread state to be gone. # Issue #18808: wait for the thread state to be gone.
# At the end of the thread's life, after all knowledge of the thread # At the end of the thread's life, after all knowledge of the thread
# is removed from C data structures, C code releases our _tstate_lock. # is removed from C data structures, C code releases our _tstate_lock.
# This method passes its arguments to _tstate_lock.aquire(). # This method passes its arguments to _tstate_lock.acquire().
# If the lock is acquired, the C code is done, and self._stop() is # If the lock is acquired, the C code is done, and self._stop() is
# called. That sets ._is_stopped to True, and ._tstate_lock to None. # called. That sets ._is_stopped to True, and ._tstate_lock to None.
lock = self._tstate_lock lock = self._tstate_lock

View File

@ -1012,7 +1012,7 @@ class Progressbar(Widget):
"""Begin autoincrement mode: schedules a recurring timer event """Begin autoincrement mode: schedules a recurring timer event
that calls method step every interval milliseconds. that calls method step every interval milliseconds.
interval defaults to 50 milliseconds (20 steps/second) if ommited.""" interval defaults to 50 milliseconds (20 steps/second) if omitted."""
self.tk.call(self._w, "start", interval) self.tk.call(self._w, "start", interval)

View File

@ -136,7 +136,7 @@ def format_exception_only(etype, value):
return list(TracebackException(etype, value, None).format_exception_only()) return list(TracebackException(etype, value, None).format_exception_only())
# -- not offical API but folk probably use these two functions. # -- not official API but folk probably use these two functions.
def _format_final_exc_line(etype, value): def _format_final_exc_line(etype, value):
valuestr = _some_str(value) valuestr = _some_str(value)
@ -418,13 +418,13 @@ class TracebackException:
- :attr:`stack` A `StackSummary` representing the traceback. - :attr:`stack` A `StackSummary` representing the traceback.
- :attr:`exc_type` The class of the original traceback. - :attr:`exc_type` The class of the original traceback.
- :attr:`filename` For syntax errors - the filename where the error - :attr:`filename` For syntax errors - the filename where the error
occured. occurred.
- :attr:`lineno` For syntax errors - the linenumber where the error - :attr:`lineno` For syntax errors - the linenumber where the error
occured. occurred.
- :attr:`text` For syntax errors - the text where the error - :attr:`text` For syntax errors - the text where the error
occured. occurred.
- :attr:`offset` For syntax errors - the offset into the text where the - :attr:`offset` For syntax errors - the offset into the text where the
error occured. error occurred.
- :attr:`msg` For syntax errors - the compiler error message. - :attr:`msg` For syntax errors - the compiler error message.
""" """

View File

@ -387,7 +387,7 @@ class TestLoader(object):
if tests is not None: if tests is not None:
yield tests yield tests
if not should_recurse: if not should_recurse:
# Either an error occured, or load_tests was used by the # Either an error occurred, or load_tests was used by the
# package. # package.
return return
# Handle the contents. # Handle the contents.

View File

@ -148,7 +148,7 @@ class TestResult(object):
self.skipped.append((test, reason)) self.skipped.append((test, reason))
def addExpectedFailure(self, test, err): def addExpectedFailure(self, test, err):
"""Called when an expected failure/error occured.""" """Called when an expected failure/error occurred."""
self.expectedFailures.append( self.expectedFailures.append(
(test, self._exc_info_to_string(err, test))) (test, self._exc_info_to_string(err, test)))

View File

@ -69,7 +69,7 @@ class Headers:
Return None if the header is missing instead of raising an exception. Return None if the header is missing instead of raising an exception.
Note that if the header appeared multiple times, the first exactly which Note that if the header appeared multiple times, the first exactly which
occurrance gets returned is undefined. Use getall() to get all occurrence gets returned is undefined. Use getall() to get all
the values matching a header field name. the values matching a header field name.
""" """
return self.get(name) return self.get(name)

View File

@ -56,7 +56,7 @@ OS X specific arguments to configure
See the section _`Building and using a universal binary of Python on Mac OS X` See the section _`Building and using a universal binary of Python on Mac OS X`
for more information. for more information.
* ``--with-univeral-archs=VALUE`` * ``--with-universal-archs=VALUE``
Specify the kind of universal binary that should be created. This option is Specify the kind of universal binary that should be created. This option is
only valid when ``--enable-universalsdk`` is specified. The default is only valid when ``--enable-universalsdk`` is specified. The default is

View File

@ -1452,7 +1452,7 @@ sharedinstall: sharedmods
# the Makefile in Mac # the Makefile in Mac
# #
# #
# This target is here for backward compatiblity, previous versions of Python # This target is here for backward compatibility, previous versions of Python
# hadn't integrated framework installation in the normal install process. # hadn't integrated framework installation in the normal install process.
frameworkinstall: install frameworkinstall: install

View File

@ -26799,7 +26799,7 @@ the first time it is imported.
python parser. Corresponding standard library modules token and symbol python parser. Corresponding standard library modules token and symbol
defines the numeric values of tokens and non-terminal symbols. defines the numeric values of tokens and non-terminal symbols.
* The posix module has aquired new functions setuid(), setgid(), * The posix module has acquired new functions setuid(), setgid(),
execve(), and exec() has been renamed to execv(). execve(), and exec() has been renamed to execv().
* The array module is extended with 8-byte object swaps, the 'i' * The array module is extended with 8-byte object swaps, the 'i'
@ -26813,7 +26813,7 @@ module can't be decoded by the new version.
* For select.select(), a timeout (4th) argument of None means the same * For select.select(), a timeout (4th) argument of None means the same
as leaving the timeout argument out. as leaving the timeout argument out.
* Module strop (and hence standard library module string) has aquired * Module strop (and hence standard library module string) has acquired
a new function: rindex(). Thanks to Amrit Prem! a new function: rindex(). Thanks to Amrit Prem!
* Module regex defines a new function symcomp() which uses an extended * Module regex defines a new function symcomp() which uses an extended
@ -27959,7 +27959,7 @@ New features in 0.9.6:
to give more useful results for negative operands to give more useful results for negative operands
- Changed/added range checks for long/plain integer shifts - Changed/added range checks for long/plain integer shifts
- Options found after "-c command" are now passed to the command in sys.argv - Options found after "-c command" are now passed to the command in sys.argv
(note subtle incompatiblity with "python -c command -- -options"!) (note subtle incompatibility with "python -c command -- -options"!)
- Module stdwin is better protected against touching objects after they've - Module stdwin is better protected against touching objects after they've
been closed; menus can now also be closed explicitly been closed; menus can now also be closed explicitly
- Stdwin now uses its own exception (stdwin.error) - Stdwin now uses its own exception (stdwin.error)

View File

@ -2105,7 +2105,7 @@ Library
- Issue #23704: collections.deque() objects now support methods for index(), - Issue #23704: collections.deque() objects now support methods for index(),
insert(), and copy(). This allows deques to be registered as a insert(), and copy(). This allows deques to be registered as a
MutableSequence and it improves their substitutablity for lists. MutableSequence and it improves their substitutability for lists.
- Issue #23715: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` are - Issue #23715: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` are
now retried when interrupted by a signal not in the *sigset* parameter, if now retried when interrupted by a signal not in the *sigset* parameter, if
@ -7342,7 +7342,7 @@ Library
internal XML encoding is not UTF-8 or US-ASCII. It also now accepts bytes internal XML encoding is not UTF-8 or US-ASCII. It also now accepts bytes
and strings larger than 2 GiB. and strings larger than 2 GiB.
- Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTuple - Issue #6083: Fix multiple segmentation faults occurred when PyArg_ParseTuple
parses nested mutating sequence. parses nested mutating sequence.
- Issue #5289: Fix ctypes.util.find_library on Solaris. - Issue #5289: Fix ctypes.util.find_library on Solaris.

View File

@ -219,7 +219,7 @@ days_in_month(int year, int month)
return _days_in_month[month]; return _days_in_month[month];
} }
/* year, month -> number of days in year preceeding first day of month */ /* year, month -> number of days in year preceding first day of month */
static int static int
days_before_month(int year, int month) days_before_month(int year, int month)
{ {

View File

@ -6520,7 +6520,7 @@ binary file object opened for reading, an io.BytesIO object, or any
other custom object that meets this interface. other custom object that meets this interface.
Optional keyword arguments are *fix_imports*, *encoding* and *errors*, Optional keyword arguments are *fix_imports*, *encoding* and *errors*,
which are used to control compatiblity support for pickle stream which are used to control compatibility support for pickle stream
generated by Python 2. If *fix_imports* is True, pickle will try to generated by Python 2. If *fix_imports* is True, pickle will try to
map the old Python 2 names to the new names used in Python 3. The map the old Python 2 names to the new names used in Python 3. The
*encoding* and *errors* tell pickle how to decode 8-bit string *encoding* and *errors* tell pickle how to decode 8-bit string
@ -6533,7 +6533,7 @@ static int
_pickle_Unpickler___init___impl(UnpicklerObject *self, PyObject *file, _pickle_Unpickler___init___impl(UnpicklerObject *self, PyObject *file,
int fix_imports, const char *encoding, int fix_imports, const char *encoding,
const char *errors) const char *errors)
/*[clinic end generated code: output=e2c8ce748edc57b0 input=04ece661aa884837]*/ /*[clinic end generated code: output=e2c8ce748edc57b0 input=f9b7da04f5f4f335]*/
{ {
_Py_IDENTIFIER(persistent_load); _Py_IDENTIFIER(persistent_load);
@ -7066,7 +7066,7 @@ binary file object opened for reading, an io.BytesIO object, or any
other custom object that meets this interface. other custom object that meets this interface.
Optional keyword arguments are *fix_imports*, *encoding* and *errors*, Optional keyword arguments are *fix_imports*, *encoding* and *errors*,
which are used to control compatiblity support for pickle stream which are used to control compatibility support for pickle stream
generated by Python 2. If *fix_imports* is True, pickle will try to generated by Python 2. If *fix_imports* is True, pickle will try to
map the old Python 2 names to the new names used in Python 3. The map the old Python 2 names to the new names used in Python 3. The
*encoding* and *errors* tell pickle how to decode 8-bit string *encoding* and *errors* tell pickle how to decode 8-bit string
@ -7078,7 +7078,7 @@ string instances as bytes objects.
static PyObject * static PyObject *
_pickle_load_impl(PyModuleDef *module, PyObject *file, int fix_imports, _pickle_load_impl(PyModuleDef *module, PyObject *file, int fix_imports,
const char *encoding, const char *errors) const char *encoding, const char *errors)
/*[clinic end generated code: output=798f1c57cb2b4eb1 input=2df7c7a1e6742204]*/ /*[clinic end generated code: output=798f1c57cb2b4eb1 input=01b44dd3fc07afa7]*/
{ {
PyObject *result; PyObject *result;
UnpicklerObject *unpickler = _Unpickler_New(); UnpicklerObject *unpickler = _Unpickler_New();
@ -7120,7 +7120,7 @@ protocol argument is needed. Bytes past the pickled object's
representation are ignored. representation are ignored.
Optional keyword arguments are *fix_imports*, *encoding* and *errors*, Optional keyword arguments are *fix_imports*, *encoding* and *errors*,
which are used to control compatiblity support for pickle stream which are used to control compatibility support for pickle stream
generated by Python 2. If *fix_imports* is True, pickle will try to generated by Python 2. If *fix_imports* is True, pickle will try to
map the old Python 2 names to the new names used in Python 3. The map the old Python 2 names to the new names used in Python 3. The
*encoding* and *errors* tell pickle how to decode 8-bit string *encoding* and *errors* tell pickle how to decode 8-bit string
@ -7132,7 +7132,7 @@ string instances as bytes objects.
static PyObject * static PyObject *
_pickle_loads_impl(PyModuleDef *module, PyObject *data, int fix_imports, _pickle_loads_impl(PyModuleDef *module, PyObject *data, int fix_imports,
const char *encoding, const char *errors) const char *encoding, const char *errors)
/*[clinic end generated code: output=61e9cdb01e36a736 input=f57f0fdaa2b4cb8b]*/ /*[clinic end generated code: output=61e9cdb01e36a736 input=70605948a719feb9]*/
{ {
PyObject *result; PyObject *result;
UnpicklerObject *unpickler = _Unpickler_New(); UnpicklerObject *unpickler = _Unpickler_New();

View File

@ -264,7 +264,7 @@ PyDoc_STRVAR(_pickle_Unpickler___init____doc__,
"other custom object that meets this interface.\n" "other custom object that meets this interface.\n"
"\n" "\n"
"Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n" "Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n"
"which are used to control compatiblity support for pickle stream\n" "which are used to control compatibility support for pickle stream\n"
"generated by Python 2. If *fix_imports* is True, pickle will try to\n" "generated by Python 2. If *fix_imports* is True, pickle will try to\n"
"map the old Python 2 names to the new names used in Python 3. The\n" "map the old Python 2 names to the new names used in Python 3. The\n"
"*encoding* and *errors* tell pickle how to decode 8-bit string\n" "*encoding* and *errors* tell pickle how to decode 8-bit string\n"
@ -466,7 +466,7 @@ PyDoc_STRVAR(_pickle_load__doc__,
"other custom object that meets this interface.\n" "other custom object that meets this interface.\n"
"\n" "\n"
"Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n" "Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n"
"which are used to control compatiblity support for pickle stream\n" "which are used to control compatibility support for pickle stream\n"
"generated by Python 2. If *fix_imports* is True, pickle will try to\n" "generated by Python 2. If *fix_imports* is True, pickle will try to\n"
"map the old Python 2 names to the new names used in Python 3. The\n" "map the old Python 2 names to the new names used in Python 3. The\n"
"*encoding* and *errors* tell pickle how to decode 8-bit string\n" "*encoding* and *errors* tell pickle how to decode 8-bit string\n"
@ -512,7 +512,7 @@ PyDoc_STRVAR(_pickle_loads__doc__,
"representation are ignored.\n" "representation are ignored.\n"
"\n" "\n"
"Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n" "Optional keyword arguments are *fix_imports*, *encoding* and *errors*,\n"
"which are used to control compatiblity support for pickle stream\n" "which are used to control compatibility support for pickle stream\n"
"generated by Python 2. If *fix_imports* is True, pickle will try to\n" "generated by Python 2. If *fix_imports* is True, pickle will try to\n"
"map the old Python 2 names to the new names used in Python 3. The\n" "map the old Python 2 names to the new names used in Python 3. The\n"
"*encoding* and *errors* tell pickle how to decode 8-bit string\n" "*encoding* and *errors* tell pickle how to decode 8-bit string\n"
@ -545,4 +545,4 @@ _pickle_loads(PyModuleDef *module, PyObject *args, PyObject *kwargs)
exit: exit:
return return_value; return return_value;
} }
/*[clinic end generated code: output=aecd61660d1cf31d input=a9049054013a1b77]*/ /*[clinic end generated code: output=a7169d4fbbeef827 input=a9049054013a1b77]*/

View File

@ -100,7 +100,7 @@ static void SHAcopy(SHAobject *src, SHAobject *dest)
* algorithms in a highly modular and flexible manner. * algorithms in a highly modular and flexible manner.
* *
* The library is free for all purposes without any express * The library is free for all purposes without any express
* gurantee it works. * guarantee it works.
* *
* Tom St Denis, tomstdenis@iahu.ca, http://libtom.org * Tom St Denis, tomstdenis@iahu.ca, http://libtom.org
*/ */

View File

@ -111,7 +111,7 @@ static void SHAcopy(SHAobject *src, SHAobject *dest)
* algorithms in a highly modular and flexible manner. * algorithms in a highly modular and flexible manner.
* *
* The library is free for all purposes without any express * The library is free for all purposes without any express
* gurantee it works. * guarantee it works.
* *
* Tom St Denis, tomstdenis@iahu.ca, http://libtom.org * Tom St Denis, tomstdenis@iahu.ca, http://libtom.org
*/ */

View File

@ -176,7 +176,7 @@ check_force_ascii(void)
#endif #endif
error: error:
/* if an error occured, force the ASCII encoding */ /* if an error occurred, force the ASCII encoding */
return 1; return 1;
} }

View File

@ -1827,163 +1827,163 @@ const unsigned char _Py_M__importlib[] = {
0,106,6,0,100,2,0,116,3,0,124,5,0,106,6,0, 0,106,6,0,100,2,0,116,3,0,124,5,0,106,6,0,
131,1,0,124,8,0,24,133,2,0,25,25,83,110,16,0, 131,1,0,124,8,0,24,133,2,0,25,25,83,110,16,0,
116,7,0,124,5,0,124,3,0,116,0,0,131,3,0,83, 116,7,0,124,5,0,124,3,0,116,0,0,131,3,0,83,
100,2,0,83,41,4,97,214,1,0,0,73,109,112,111,114, 100,2,0,83,41,4,97,215,1,0,0,73,109,112,111,114,
116,32,97,32,109,111,100,117,108,101,46,10,10,32,32,32, 116,32,97,32,109,111,100,117,108,101,46,10,10,32,32,32,
32,84,104,101,32,39,103,108,111,98,97,108,115,39,32,97, 32,84,104,101,32,39,103,108,111,98,97,108,115,39,32,97,
114,103,117,109,101,110,116,32,105,115,32,117,115,101,100,32, 114,103,117,109,101,110,116,32,105,115,32,117,115,101,100,32,
116,111,32,105,110,102,101,114,32,119,104,101,114,101,32,116, 116,111,32,105,110,102,101,114,32,119,104,101,114,101,32,116,
104,101,32,105,109,112,111,114,116,32,105,115,32,111,99,99, 104,101,32,105,109,112,111,114,116,32,105,115,32,111,99,99,
117,114,105,110,103,32,102,114,111,109,10,32,32,32,32,116, 117,114,114,105,110,103,32,102,114,111,109,10,32,32,32,32,
111,32,104,97,110,100,108,101,32,114,101,108,97,116,105,118, 116,111,32,104,97,110,100,108,101,32,114,101,108,97,116,105,
101,32,105,109,112,111,114,116,115,46,32,84,104,101,32,39, 118,101,32,105,109,112,111,114,116,115,46,32,84,104,101,32,
108,111,99,97,108,115,39,32,97,114,103,117,109,101,110,116, 39,108,111,99,97,108,115,39,32,97,114,103,117,109,101,110,
32,105,115,32,105,103,110,111,114,101,100,46,32,84,104,101, 116,32,105,115,32,105,103,110,111,114,101,100,46,32,84,104,
10,32,32,32,32,39,102,114,111,109,108,105,115,116,39,32, 101,10,32,32,32,32,39,102,114,111,109,108,105,115,116,39,
97,114,103,117,109,101,110,116,32,115,112,101,99,105,102,105, 32,97,114,103,117,109,101,110,116,32,115,112,101,99,105,102,
101,115,32,119,104,97,116,32,115,104,111,117,108,100,32,101, 105,101,115,32,119,104,97,116,32,115,104,111,117,108,100,32,
120,105,115,116,32,97,115,32,97,116,116,114,105,98,117,116, 101,120,105,115,116,32,97,115,32,97,116,116,114,105,98,117,
101,115,32,111,110,32,116,104,101,32,109,111,100,117,108,101, 116,101,115,32,111,110,32,116,104,101,32,109,111,100,117,108,
10,32,32,32,32,98,101,105,110,103,32,105,109,112,111,114, 101,10,32,32,32,32,98,101,105,110,103,32,105,109,112,111,
116,101,100,32,40,101,46,103,46,32,96,96,102,114,111,109, 114,116,101,100,32,40,101,46,103,46,32,96,96,102,114,111,
32,109,111,100,117,108,101,32,105,109,112,111,114,116,32,60, 109,32,109,111,100,117,108,101,32,105,109,112,111,114,116,32,
102,114,111,109,108,105,115,116,62,96,96,41,46,32,32,84, 60,102,114,111,109,108,105,115,116,62,96,96,41,46,32,32,
104,101,32,39,108,101,118,101,108,39,10,32,32,32,32,97, 84,104,101,32,39,108,101,118,101,108,39,10,32,32,32,32,
114,103,117,109,101,110,116,32,114,101,112,114,101,115,101,110, 97,114,103,117,109,101,110,116,32,114,101,112,114,101,115,101,
116,115,32,116,104,101,32,112,97,99,107,97,103,101,32,108, 110,116,115,32,116,104,101,32,112,97,99,107,97,103,101,32,
111,99,97,116,105,111,110,32,116,111,32,105,109,112,111,114, 108,111,99,97,116,105,111,110,32,116,111,32,105,109,112,111,
116,32,102,114,111,109,32,105,110,32,97,32,114,101,108,97, 114,116,32,102,114,111,109,32,105,110,32,97,32,114,101,108,
116,105,118,101,10,32,32,32,32,105,109,112,111,114,116,32, 97,116,105,118,101,10,32,32,32,32,105,109,112,111,114,116,
40,101,46,103,46,32,96,96,102,114,111,109,32,46,46,112, 32,40,101,46,103,46,32,96,96,102,114,111,109,32,46,46,
107,103,32,105,109,112,111,114,116,32,109,111,100,96,96,32, 112,107,103,32,105,109,112,111,114,116,32,109,111,100,96,96,
119,111,117,108,100,32,104,97,118,101,32,97,32,39,108,101, 32,119,111,117,108,100,32,104,97,118,101,32,97,32,39,108,
118,101,108,39,32,111,102,32,50,41,46,10,10,32,32,32, 101,118,101,108,39,32,111,102,32,50,41,46,10,10,32,32,
32,114,33,0,0,0,78,114,121,0,0,0,41,8,114,186, 32,32,114,33,0,0,0,78,114,121,0,0,0,41,8,114,
0,0,0,114,196,0,0,0,218,9,112,97,114,116,105,116, 186,0,0,0,114,196,0,0,0,218,9,112,97,114,116,105,
105,111,110,114,167,0,0,0,114,14,0,0,0,114,21,0, 116,105,111,110,114,167,0,0,0,114,14,0,0,0,114,21,
0,0,114,1,0,0,0,114,194,0,0,0,41,9,114,15, 0,0,0,114,1,0,0,0,114,194,0,0,0,41,9,114,
0,0,0,114,195,0,0,0,218,6,108,111,99,97,108,115, 15,0,0,0,114,195,0,0,0,218,6,108,111,99,97,108,
114,192,0,0,0,114,170,0,0,0,114,89,0,0,0,90, 115,114,192,0,0,0,114,170,0,0,0,114,89,0,0,0,
8,103,108,111,98,97,108,115,95,114,169,0,0,0,90,7, 90,8,103,108,111,98,97,108,115,95,114,169,0,0,0,90,
99,117,116,95,111,102,102,114,10,0,0,0,114,10,0,0, 7,99,117,116,95,111,102,102,114,10,0,0,0,114,10,0,
0,114,11,0,0,0,218,10,95,95,105,109,112,111,114,116, 0,0,114,11,0,0,0,218,10,95,95,105,109,112,111,114,
95,95,19,4,0,0,115,26,0,0,0,0,11,12,1,15, 116,95,95,19,4,0,0,115,26,0,0,0,0,11,12,1,
2,24,1,12,1,18,1,6,3,12,1,23,1,6,1,4, 15,2,24,1,12,1,18,1,6,3,12,1,23,1,6,1,
4,35,3,40,2,114,199,0,0,0,99,1,0,0,0,0, 4,4,35,3,40,2,114,199,0,0,0,99,1,0,0,0,
0,0,0,2,0,0,0,3,0,0,0,67,0,0,0,115, 0,0,0,0,2,0,0,0,3,0,0,0,67,0,0,0,
53,0,0,0,116,0,0,106,1,0,124,0,0,131,1,0, 115,53,0,0,0,116,0,0,106,1,0,124,0,0,131,1,
125,1,0,124,1,0,100,0,0,107,8,0,114,43,0,116, 0,125,1,0,124,1,0,100,0,0,107,8,0,114,43,0,
2,0,100,1,0,124,0,0,23,131,1,0,130,1,0,116, 116,2,0,100,1,0,124,0,0,23,131,1,0,130,1,0,
3,0,124,1,0,131,1,0,83,41,2,78,122,25,110,111, 116,3,0,124,1,0,131,1,0,83,41,2,78,122,25,110,
32,98,117,105,108,116,45,105,110,32,109,111,100,117,108,101, 111,32,98,117,105,108,116,45,105,110,32,109,111,100,117,108,
32,110,97,109,101,100,32,41,4,114,150,0,0,0,114,154, 101,32,110,97,109,101,100,32,41,4,114,150,0,0,0,114,
0,0,0,114,77,0,0,0,114,149,0,0,0,41,2,114, 154,0,0,0,114,77,0,0,0,114,149,0,0,0,41,2,
15,0,0,0,114,88,0,0,0,114,10,0,0,0,114,10, 114,15,0,0,0,114,88,0,0,0,114,10,0,0,0,114,
0,0,0,114,11,0,0,0,218,18,95,98,117,105,108,116, 10,0,0,0,114,11,0,0,0,218,18,95,98,117,105,108,
105,110,95,102,114,111,109,95,110,97,109,101,54,4,0,0, 116,105,110,95,102,114,111,109,95,110,97,109,101,54,4,0,
115,8,0,0,0,0,1,15,1,12,1,16,1,114,200,0, 0,115,8,0,0,0,0,1,15,1,12,1,16,1,114,200,
0,0,99,2,0,0,0,0,0,0,0,12,0,0,0,12, 0,0,0,99,2,0,0,0,0,0,0,0,12,0,0,0,
0,0,0,67,0,0,0,115,74,1,0,0,124,1,0,97, 12,0,0,0,67,0,0,0,115,74,1,0,0,124,1,0,
0,0,124,0,0,97,1,0,116,2,0,116,1,0,131,1, 97,0,0,124,0,0,97,1,0,116,2,0,116,1,0,131,
0,125,2,0,120,123,0,116,1,0,106,3,0,106,4,0, 1,0,125,2,0,120,123,0,116,1,0,106,3,0,106,4,
131,0,0,68,93,106,0,92,2,0,125,3,0,125,4,0, 0,131,0,0,68,93,106,0,92,2,0,125,3,0,125,4,
116,5,0,124,4,0,124,2,0,131,2,0,114,40,0,124, 0,116,5,0,124,4,0,124,2,0,131,2,0,114,40,0,
3,0,116,1,0,106,6,0,107,6,0,114,91,0,116,7, 124,3,0,116,1,0,106,6,0,107,6,0,114,91,0,116,
0,125,5,0,110,27,0,116,0,0,106,8,0,124,3,0, 7,0,125,5,0,110,27,0,116,0,0,106,8,0,124,3,
131,1,0,114,40,0,116,9,0,125,5,0,110,3,0,113, 0,131,1,0,114,40,0,116,9,0,125,5,0,110,3,0,
40,0,116,10,0,124,4,0,124,5,0,131,2,0,125,6, 113,40,0,116,10,0,124,4,0,124,5,0,131,2,0,125,
0,116,11,0,124,6,0,124,4,0,131,2,0,1,113,40, 6,0,116,11,0,124,6,0,124,4,0,131,2,0,1,113,
0,87,116,1,0,106,3,0,116,12,0,25,125,7,0,120, 40,0,87,116,1,0,106,3,0,116,12,0,25,125,7,0,
73,0,100,5,0,68,93,65,0,125,8,0,124,8,0,116, 120,73,0,100,5,0,68,93,65,0,125,8,0,124,8,0,
1,0,106,3,0,107,7,0,114,206,0,116,13,0,124,8, 116,1,0,106,3,0,107,7,0,114,206,0,116,13,0,124,
0,131,1,0,125,9,0,110,13,0,116,1,0,106,3,0, 8,0,131,1,0,125,9,0,110,13,0,116,1,0,106,3,
124,8,0,25,125,9,0,116,14,0,124,7,0,124,8,0, 0,124,8,0,25,125,9,0,116,14,0,124,7,0,124,8,
124,9,0,131,3,0,1,113,170,0,87,121,16,0,116,13, 0,124,9,0,131,3,0,1,113,170,0,87,121,16,0,116,
0,100,2,0,131,1,0,125,10,0,87,110,24,0,4,116, 13,0,100,2,0,131,1,0,125,10,0,87,110,24,0,4,
15,0,107,10,0,114,25,1,1,1,1,100,3,0,125,10, 116,15,0,107,10,0,114,25,1,1,1,1,100,3,0,125,
0,89,110,1,0,88,116,14,0,124,7,0,100,2,0,124, 10,0,89,110,1,0,88,116,14,0,124,7,0,100,2,0,
10,0,131,3,0,1,116,13,0,100,4,0,131,1,0,125, 124,10,0,131,3,0,1,116,13,0,100,4,0,131,1,0,
11,0,116,14,0,124,7,0,100,4,0,124,11,0,131,3, 125,11,0,116,14,0,124,7,0,100,4,0,124,11,0,131,
0,1,100,3,0,83,41,6,122,250,83,101,116,117,112,32, 3,0,1,100,3,0,83,41,6,122,250,83,101,116,117,112,
105,109,112,111,114,116,108,105,98,32,98,121,32,105,109,112, 32,105,109,112,111,114,116,108,105,98,32,98,121,32,105,109,
111,114,116,105,110,103,32,110,101,101,100,101,100,32,98,117, 112,111,114,116,105,110,103,32,110,101,101,100,101,100,32,98,
105,108,116,45,105,110,32,109,111,100,117,108,101,115,32,97, 117,105,108,116,45,105,110,32,109,111,100,117,108,101,115,32,
110,100,32,105,110,106,101,99,116,105,110,103,32,116,104,101, 97,110,100,32,105,110,106,101,99,116,105,110,103,32,116,104,
109,10,32,32,32,32,105,110,116,111,32,116,104,101,32,103, 101,109,10,32,32,32,32,105,110,116,111,32,116,104,101,32,
108,111,98,97,108,32,110,97,109,101,115,112,97,99,101,46, 103,108,111,98,97,108,32,110,97,109,101,115,112,97,99,101,
10,10,32,32,32,32,65,115,32,115,121,115,32,105,115,32, 46,10,10,32,32,32,32,65,115,32,115,121,115,32,105,115,
110,101,101,100,101,100,32,102,111,114,32,115,121,115,46,109, 32,110,101,101,100,101,100,32,102,111,114,32,115,121,115,46,
111,100,117,108,101,115,32,97,99,99,101,115,115,32,97,110, 109,111,100,117,108,101,115,32,97,99,99,101,115,115,32,97,
100,32,95,105,109,112,32,105,115,32,110,101,101,100,101,100, 110,100,32,95,105,109,112,32,105,115,32,110,101,101,100,101,
32,116,111,32,108,111,97,100,32,98,117,105,108,116,45,105, 100,32,116,111,32,108,111,97,100,32,98,117,105,108,116,45,
110,10,32,32,32,32,109,111,100,117,108,101,115,44,32,116, 105,110,10,32,32,32,32,109,111,100,117,108,101,115,44,32,
104,111,115,101,32,116,119,111,32,109,111,100,117,108,101,115, 116,104,111,115,101,32,116,119,111,32,109,111,100,117,108,101,
32,109,117,115,116,32,98,101,32,101,120,112,108,105,99,105, 115,32,109,117,115,116,32,98,101,32,101,120,112,108,105,99,
116,108,121,32,112,97,115,115,101,100,32,105,110,46,10,10, 105,116,108,121,32,112,97,115,115,101,100,32,105,110,46,10,
32,32,32,32,114,141,0,0,0,114,34,0,0,0,78,114, 10,32,32,32,32,114,141,0,0,0,114,34,0,0,0,78,
62,0,0,0,41,1,122,9,95,119,97,114,110,105,110,103, 114,62,0,0,0,41,1,122,9,95,119,97,114,110,105,110,
115,41,16,114,57,0,0,0,114,14,0,0,0,114,13,0, 103,115,41,16,114,57,0,0,0,114,14,0,0,0,114,13,
0,0,114,21,0,0,0,218,5,105,116,101,109,115,114,177, 0,0,0,114,21,0,0,0,218,5,105,116,101,109,115,114,
0,0,0,114,76,0,0,0,114,150,0,0,0,114,82,0, 177,0,0,0,114,76,0,0,0,114,150,0,0,0,114,82,
0,0,114,160,0,0,0,114,132,0,0,0,114,137,0,0, 0,0,0,114,160,0,0,0,114,132,0,0,0,114,137,0,
0,114,1,0,0,0,114,200,0,0,0,114,5,0,0,0, 0,0,114,1,0,0,0,114,200,0,0,0,114,5,0,0,
114,77,0,0,0,41,12,218,10,115,121,115,95,109,111,100, 0,114,77,0,0,0,41,12,218,10,115,121,115,95,109,111,
117,108,101,218,11,95,105,109,112,95,109,111,100,117,108,101, 100,117,108,101,218,11,95,105,109,112,95,109,111,100,117,108,
90,11,109,111,100,117,108,101,95,116,121,112,101,114,15,0, 101,90,11,109,111,100,117,108,101,95,116,121,112,101,114,15,
0,0,114,89,0,0,0,114,99,0,0,0,114,88,0,0, 0,0,0,114,89,0,0,0,114,99,0,0,0,114,88,0,
0,90,11,115,101,108,102,95,109,111,100,117,108,101,90,12, 0,0,90,11,115,101,108,102,95,109,111,100,117,108,101,90,
98,117,105,108,116,105,110,95,110,97,109,101,90,14,98,117, 12,98,117,105,108,116,105,110,95,110,97,109,101,90,14,98,
105,108,116,105,110,95,109,111,100,117,108,101,90,13,116,104, 117,105,108,116,105,110,95,109,111,100,117,108,101,90,13,116,
114,101,97,100,95,109,111,100,117,108,101,90,14,119,101,97, 104,114,101,97,100,95,109,111,100,117,108,101,90,14,119,101,
107,114,101,102,95,109,111,100,117,108,101,114,10,0,0,0, 97,107,114,101,102,95,109,111,100,117,108,101,114,10,0,0,
114,10,0,0,0,114,11,0,0,0,218,6,95,115,101,116, 0,114,10,0,0,0,114,11,0,0,0,218,6,95,115,101,
117,112,61,4,0,0,115,50,0,0,0,0,9,6,1,6, 116,117,112,61,4,0,0,115,50,0,0,0,0,9,6,1,
3,12,1,28,1,15,1,15,1,9,1,15,1,9,2,3, 6,3,12,1,28,1,15,1,15,1,9,1,15,1,9,2,
1,15,1,17,3,13,1,13,1,15,1,15,2,13,1,20, 3,1,15,1,17,3,13,1,13,1,15,1,15,2,13,1,
3,3,1,16,1,13,2,11,1,16,3,12,1,114,204,0, 20,3,3,1,16,1,13,2,11,1,16,3,12,1,114,204,
0,0,99,2,0,0,0,0,0,0,0,3,0,0,0,3, 0,0,0,99,2,0,0,0,0,0,0,0,3,0,0,0,
0,0,0,67,0,0,0,115,87,0,0,0,116,0,0,124, 3,0,0,0,67,0,0,0,115,87,0,0,0,116,0,0,
0,0,124,1,0,131,2,0,1,116,1,0,106,2,0,106, 124,0,0,124,1,0,131,2,0,1,116,1,0,106,2,0,
3,0,116,4,0,131,1,0,1,116,1,0,106,2,0,106, 106,3,0,116,4,0,131,1,0,1,116,1,0,106,2,0,
3,0,116,5,0,131,1,0,1,100,1,0,100,2,0,108, 106,3,0,116,5,0,131,1,0,1,100,1,0,100,2,0,
6,0,125,2,0,124,2,0,97,7,0,124,2,0,106,8, 108,6,0,125,2,0,124,2,0,97,7,0,124,2,0,106,
0,116,1,0,106,9,0,116,10,0,25,131,1,0,1,100, 8,0,116,1,0,106,9,0,116,10,0,25,131,1,0,1,
2,0,83,41,3,122,50,73,110,115,116,97,108,108,32,105, 100,2,0,83,41,3,122,50,73,110,115,116,97,108,108,32,
109,112,111,114,116,108,105,98,32,97,115,32,116,104,101,32, 105,109,112,111,114,116,108,105,98,32,97,115,32,116,104,101,
105,109,112,108,101,109,101,110,116,97,116,105,111,110,32,111, 32,105,109,112,108,101,109,101,110,116,97,116,105,111,110,32,
102,32,105,109,112,111,114,116,46,114,33,0,0,0,78,41, 111,102,32,105,109,112,111,114,116,46,114,33,0,0,0,78,
11,114,204,0,0,0,114,14,0,0,0,114,174,0,0,0, 41,11,114,204,0,0,0,114,14,0,0,0,114,174,0,0,
114,113,0,0,0,114,150,0,0,0,114,160,0,0,0,218, 0,114,113,0,0,0,114,150,0,0,0,114,160,0,0,0,
26,95,102,114,111,122,101,110,95,105,109,112,111,114,116,108, 218,26,95,102,114,111,122,101,110,95,105,109,112,111,114,116,
105,98,95,101,120,116,101,114,110,97,108,114,119,0,0,0, 108,105,98,95,101,120,116,101,114,110,97,108,114,119,0,0,
218,8,95,105,110,115,116,97,108,108,114,21,0,0,0,114, 0,218,8,95,105,110,115,116,97,108,108,114,21,0,0,0,
1,0,0,0,41,3,114,202,0,0,0,114,203,0,0,0, 114,1,0,0,0,41,3,114,202,0,0,0,114,203,0,0,
114,205,0,0,0,114,10,0,0,0,114,10,0,0,0,114, 0,114,205,0,0,0,114,10,0,0,0,114,10,0,0,0,
11,0,0,0,114,206,0,0,0,108,4,0,0,115,12,0, 114,11,0,0,0,114,206,0,0,0,108,4,0,0,115,12,
0,0,0,2,13,2,16,1,16,3,12,1,6,1,114,206, 0,0,0,0,2,13,2,16,1,16,3,12,1,6,1,114,
0,0,0,41,51,114,3,0,0,0,114,119,0,0,0,114, 206,0,0,0,41,51,114,3,0,0,0,114,119,0,0,0,
12,0,0,0,114,16,0,0,0,114,17,0,0,0,114,59, 114,12,0,0,0,114,16,0,0,0,114,17,0,0,0,114,
0,0,0,114,41,0,0,0,114,48,0,0,0,114,31,0, 59,0,0,0,114,41,0,0,0,114,48,0,0,0,114,31,
0,0,114,32,0,0,0,114,53,0,0,0,114,54,0,0, 0,0,0,114,32,0,0,0,114,53,0,0,0,114,54,0,
0,114,56,0,0,0,114,63,0,0,0,114,65,0,0,0, 0,0,114,56,0,0,0,114,63,0,0,0,114,65,0,0,
114,75,0,0,0,114,81,0,0,0,114,84,0,0,0,114, 0,114,75,0,0,0,114,81,0,0,0,114,84,0,0,0,
90,0,0,0,114,101,0,0,0,114,102,0,0,0,114,106, 114,90,0,0,0,114,101,0,0,0,114,102,0,0,0,114,
0,0,0,114,85,0,0,0,218,6,111,98,106,101,99,116, 106,0,0,0,114,85,0,0,0,218,6,111,98,106,101,99,
90,9,95,80,79,80,85,76,65,84,69,114,132,0,0,0, 116,90,9,95,80,79,80,85,76,65,84,69,114,132,0,0,
114,137,0,0,0,114,144,0,0,0,114,97,0,0,0,114, 0,114,137,0,0,0,114,144,0,0,0,114,97,0,0,0,
86,0,0,0,114,148,0,0,0,114,149,0,0,0,114,87, 114,86,0,0,0,114,148,0,0,0,114,149,0,0,0,114,
0,0,0,114,150,0,0,0,114,160,0,0,0,114,165,0, 87,0,0,0,114,150,0,0,0,114,160,0,0,0,114,165,
0,0,114,171,0,0,0,114,173,0,0,0,114,176,0,0, 0,0,0,114,171,0,0,0,114,173,0,0,0,114,176,0,
0,114,181,0,0,0,114,191,0,0,0,114,182,0,0,0, 0,0,114,181,0,0,0,114,191,0,0,0,114,182,0,0,
114,184,0,0,0,114,185,0,0,0,114,186,0,0,0,114, 0,114,184,0,0,0,114,185,0,0,0,114,186,0,0,0,
194,0,0,0,114,196,0,0,0,114,199,0,0,0,114,200, 114,194,0,0,0,114,196,0,0,0,114,199,0,0,0,114,
0,0,0,114,204,0,0,0,114,206,0,0,0,114,10,0, 200,0,0,0,114,204,0,0,0,114,206,0,0,0,114,10,
0,0,114,10,0,0,0,114,10,0,0,0,114,11,0,0, 0,0,0,114,10,0,0,0,114,10,0,0,0,114,11,0,
0,218,8,60,109,111,100,117,108,101,62,8,0,0,0,115, 0,0,218,8,60,109,111,100,117,108,101,62,8,0,0,0,
96,0,0,0,6,17,6,2,12,8,12,4,19,20,6,2, 115,96,0,0,0,6,17,6,2,12,8,12,4,19,20,6,
6,3,22,4,19,68,19,21,19,19,12,19,12,19,12,11, 2,6,3,22,4,19,68,19,21,19,19,12,19,12,19,12,
18,8,12,11,12,12,12,16,12,36,19,27,19,101,24,26, 11,18,8,12,11,12,12,12,16,12,36,19,27,19,101,24,
9,3,18,45,18,60,12,18,12,17,12,25,12,29,12,23, 26,9,3,18,45,18,60,12,18,12,17,12,25,12,29,12,
12,16,19,73,19,77,19,13,12,9,12,9,15,40,12,17, 23,12,16,19,73,19,77,19,13,12,9,12,9,15,40,12,
6,1,10,2,12,27,12,6,18,24,12,32,12,15,24,35, 17,6,1,10,2,12,27,12,6,18,24,12,32,12,15,24,
12,7,12,47, 35,12,7,12,47,
}; };

View File

@ -344,7 +344,7 @@ markblocks(unsigned char *code, Py_ssize_t len)
appear before MAKE_FUNCTION; in this case both opcodes are skipped. appear before MAKE_FUNCTION; in this case both opcodes are skipped.
EXTENDED_ARG preceding any other opcode causes the optimizer to bail. EXTENDED_ARG preceding any other opcode causes the optimizer to bail.
Optimizations are restricted to simple transformations occuring within a Optimizations are restricted to simple transformations occurring within a
single basic block. All transformations keep the code size the same or single basic block. All transformations keep the code size the same or
smaller. For those that reduce size, the gaps are initially filled with smaller. For those that reduce size, the gaps are initially filled with
NOPs. Later those NOPs are removed and the jump addresses retargeted in NOPs. Later those NOPs are removed and the jump addresses retargeted in

View File

@ -1425,7 +1425,7 @@ PyOS_CheckStack(void)
#endif /* USE_STACKCHECK */ #endif /* USE_STACKCHECK */
/* Deprecated C API functions still provided for binary compatiblity */ /* Deprecated C API functions still provided for binary compatibility */
#undef PyParser_SimpleParseFile #undef PyParser_SimpleParseFile
PyAPI_FUNC(node *) PyAPI_FUNC(node *)

2
configure vendored
View File

@ -3496,7 +3496,7 @@ fi
# #
# SGI compilers allow the specification of the both the ABI and the # SGI compilers allow the specification of the both the ABI and the
# ISA on the command line. Depending on the values of these switches, # ISA on the command line. Depending on the values of these switches,
# different and often incompatable code will be generated. # different and often incompatible code will be generated.
# #
# The SGI_ABI variable can be used to modify the CC and LDFLAGS and # The SGI_ABI variable can be used to modify the CC and LDFLAGS and
# thus supply support for various ABI/ISA combinations. The MACHDEP # thus supply support for various ABI/ISA combinations. The MACHDEP

View File

@ -542,7 +542,7 @@ fi
# #
# SGI compilers allow the specification of the both the ABI and the # SGI compilers allow the specification of the both the ABI and the
# ISA on the command line. Depending on the values of these switches, # ISA on the command line. Depending on the values of these switches,
# different and often incompatable code will be generated. # different and often incompatible code will be generated.
# #
# The SGI_ABI variable can be used to modify the CC and LDFLAGS and # The SGI_ABI variable can be used to modify the CC and LDFLAGS and
# thus supply support for various ABI/ISA combinations. The MACHDEP # thus supply support for various ABI/ISA combinations. The MACHDEP