Spelling fixes (#2902)
This commit is contained in:
parent
d9d55c91be
commit
49b2734bf1
|
@ -610,7 +610,7 @@ always available.
|
|||
:class:`~collections.namedtuple` of the form `(firstiter, finalizer)`,
|
||||
where *firstiter* and *finalizer* are expected to be either ``None`` or
|
||||
functions which take an :term:`asynchronous generator iterator` as an
|
||||
argument, and are used to schedule finalization of an asychronous
|
||||
argument, and are used to schedule finalization of an asynchronous
|
||||
generator by an event loop.
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
|
|
@ -170,7 +170,7 @@ PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
|
|||
format to a Python dictionary ("kwargs" dict).
|
||||
|
||||
The type of kwnames keys is not checked. The final function getting
|
||||
arguments is reponsible to check if all keys are strings, for example using
|
||||
arguments is responsible to check if all keys are strings, for example using
|
||||
PyArg_ParseTupleAndKeywords() or PyArg_ValidateKeywordArguments().
|
||||
|
||||
Duplicate keys are merged using the last value. If duplicate keys must raise
|
||||
|
|
|
@ -1227,7 +1227,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_Encode(
|
|||
/* Encodes a Unicode object and returns the result as Python
|
||||
object.
|
||||
|
||||
This API is DEPRECATED. It is superceeded by PyUnicode_AsEncodedString()
|
||||
This API is DEPRECATED. It is superseded by PyUnicode_AsEncodedString()
|
||||
since all standard encodings (except rot13) encode str to bytes.
|
||||
Use PyCodec_Encode() for encoding with rot13 and non-standard codecs
|
||||
that encode form str to non-bytes. */
|
||||
|
|
|
@ -840,7 +840,7 @@ def _decompose(flag, value):
|
|||
not_covered = value
|
||||
negative = value < 0
|
||||
# issue29167: wrap accesses to _value2member_map_ in a list to avoid race
|
||||
# conditions between iterating over it and having more psuedo-
|
||||
# conditions between iterating over it and having more pseudo-
|
||||
# members added to it
|
||||
if negative:
|
||||
# only check for named flags
|
||||
|
|
|
@ -1216,7 +1216,7 @@ class ConfigDialog(Toplevel):
|
|||
which are boolean, and can be toggled with a True/False button.
|
||||
|
||||
Methods:
|
||||
load_extentions:
|
||||
load_extensions:
|
||||
extension_selected: Handle selection from list.
|
||||
create_extension_frame: Hold widgets for one extension.
|
||||
set_extension_value: Set in userCfg['extensions'].
|
||||
|
|
|
@ -579,7 +579,7 @@ dddiv1056 divide 1e-277 -1e+311 -> -0E-398 Underflow Subnormal Inexact Rounded
|
|||
dddiv1057 divide -1e-277 1e+311 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
dddiv1058 divide -1e-277 -1e+311 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dddiv1060 divide 1e-291 1e+101 -> 1E-392 Subnormal
|
||||
dddiv1061 divide 1e-291 1e+102 -> 1E-393 Subnormal
|
||||
dddiv1062 divide 1e-291 1e+103 -> 1E-394 Subnormal
|
||||
|
|
|
@ -248,7 +248,7 @@ dddvi1056 divideint 1e-277 -1e+311 -> -0
|
|||
dddvi1057 divideint -1e-277 1e+311 -> -0
|
||||
dddvi1058 divideint -1e-277 -1e+311 -> 0
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dddvi1060 divideint 1e-291 1e+101 -> 0
|
||||
dddvi1061 divideint 1e-291 1e+102 -> 0
|
||||
dddvi1062 divideint 1e-291 1e+103 -> 0
|
||||
|
|
|
@ -26,7 +26,7 @@ extended: 1
|
|||
clamp: 1
|
||||
rounding: half_even
|
||||
|
||||
-- These tests comprese three parts:
|
||||
-- These tests comprise three parts:
|
||||
-- 1. Sanity checks and other three-operand tests (especially those
|
||||
-- where the fused operation makes a difference)
|
||||
-- 2. Multiply tests (third operand is neutral zero [0E+emax])
|
||||
|
@ -458,7 +458,7 @@ ddfma2756 fma 1e-277 -1e-311 0e+384 -> -0E-398 Underflow Subnormal Inexact
|
|||
ddfma2757 fma -1e-277 1e-311 0e+384 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
ddfma2758 fma -1e-277 -1e-311 0e+384 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
ddfma2760 fma 1e-291 1e-101 0e+384 -> 1E-392 Subnormal
|
||||
ddfma2761 fma 1e-291 1e-102 0e+384 -> 1E-393 Subnormal
|
||||
ddfma2762 fma 1e-291 1e-103 0e+384 -> 1E-394 Subnormal
|
||||
|
|
|
@ -347,7 +347,7 @@ ddmul756 multiply 1e-277 -1e-311 -> -0E-398 Underflow Subnormal Inexact Rounded
|
|||
ddmul757 multiply -1e-277 1e-311 -> -0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
ddmul758 multiply -1e-277 -1e-311 -> 0E-398 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
ddmul760 multiply 1e-291 1e-101 -> 1E-392 Subnormal
|
||||
ddmul761 multiply 1e-291 1e-102 -> 1E-393 Subnormal
|
||||
ddmul762 multiply 1e-291 1e-103 -> 1E-394 Subnormal
|
||||
|
|
|
@ -759,7 +759,7 @@ divx959 divide 9E-999999999 -9.100 -> -9.8901099E-1000000000 Inexact Rounded Und
|
|||
|
||||
-- overflow and underflow (additional edge tests in multiply.decTest)
|
||||
-- 'subnormal' results now possible (all hard underflow or overflow in
|
||||
-- base arithemtic)
|
||||
-- base arithmetic)
|
||||
divx960 divide 1e-600000000 1e+400000001 -> 1E-1000000001 Subnormal
|
||||
divx961 divide 1e-600000000 1e+400000002 -> 1E-1000000002 Subnormal
|
||||
divx962 divide 1e-600000000 1e+400000003 -> 1E-1000000003 Subnormal
|
||||
|
|
|
@ -580,7 +580,7 @@ dqdiv1756 divide 1e-4277 -1e+3311 -> -0E-6176 Underflow Subnormal Inexact Round
|
|||
dqdiv1757 divide -1e-4277 1e+3311 -> -0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
dqdiv1758 divide -1e-4277 -1e+3311 -> 0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dqdiv1760 divide 1e-6069 1e+101 -> 1E-6170 Subnormal
|
||||
dqdiv1761 divide 1e-6069 1e+102 -> 1E-6171 Subnormal
|
||||
dqdiv1762 divide 1e-6069 1e+103 -> 1E-6172 Subnormal
|
||||
|
|
|
@ -249,7 +249,7 @@ dqdvi1056 divideint 1e-277 -1e+311 -> -0
|
|||
dqdvi1057 divideint -1e-277 1e+311 -> -0
|
||||
dqdvi1058 divideint -1e-277 -1e+311 -> 0
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dqdvi1060 divideint 1e-291 1e+101 -> 0
|
||||
dqdvi1061 divideint 1e-291 1e+102 -> 0
|
||||
dqdvi1062 divideint 1e-291 1e+103 -> 0
|
||||
|
|
|
@ -26,7 +26,7 @@ maxExponent: 6144
|
|||
minExponent: -6143
|
||||
rounding: half_even
|
||||
|
||||
-- These tests comprese three parts:
|
||||
-- These tests comprise three parts:
|
||||
-- 1. Sanity checks and other three-operand tests (especially those
|
||||
-- where the fused operation makes a difference)
|
||||
-- 2. Multiply tests (third operand is neutral zero [0E+emax])
|
||||
|
@ -476,7 +476,7 @@ dqfma2756 fma 1e-4277 -1e-3311 0e+6144 -> -0E-6176 Underflow Subnormal Inex
|
|||
dqfma2757 fma -1e-4277 1e-3311 0e+6144 -> -0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
dqfma2758 fma -1e-4277 -1e-3311 0e+6144 -> 0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dqfma2760 fma 1e-6069 1e-101 0e+6144 -> 1E-6170 Subnormal
|
||||
dqfma2761 fma 1e-6069 1e-102 0e+6144 -> 1E-6171 Subnormal
|
||||
dqfma2762 fma 1e-6069 1e-103 0e+6144 -> 1E-6172 Subnormal
|
||||
|
|
|
@ -355,7 +355,7 @@ dqmul756 multiply 1e-4277 -1e-3311 -> -0E-6176 Underflow Subnormal Inexact Roun
|
|||
dqmul757 multiply -1e-4277 1e-3311 -> -0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
dqmul758 multiply -1e-4277 -1e-3311 -> 0E-6176 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
dqmul760 multiply 1e-6069 1e-101 -> 1E-6170 Subnormal
|
||||
dqmul761 multiply 1e-6069 1e-102 -> 1E-6171 Subnormal
|
||||
dqmul762 multiply 1e-6069 1e-103 -> 1E-6172 Subnormal
|
||||
|
|
|
@ -25,7 +25,7 @@ rounding: half_up
|
|||
maxExponent: 384
|
||||
minexponent: -383
|
||||
|
||||
-- These tests comprese three parts:
|
||||
-- These tests comprise three parts:
|
||||
-- 1. Sanity checks and other three-operand tests (especially those
|
||||
-- where the fused operation makes a difference)
|
||||
-- 2. Multiply tests (third operand is neutral zero [0E+emax])
|
||||
|
@ -610,7 +610,7 @@ fmax2756 fma 1e-777777 -1e-411111 0E+999999 -> -0E-1000007 Underflow Subnorma
|
|||
fmax2757 fma -1e-777777 1e-411111 0E+999999 -> -0E-1000007 Underflow Subnormal Inexact Rounded Clamped
|
||||
fmax2758 fma -1e-777777 -1e-411111 0E+999999 -> 0E-1000007 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
precision: 9
|
||||
fmax2760 fma 1e-600000 1e-400001 0E+999999 -> 1E-1000001 Subnormal
|
||||
fmax2761 fma 1e-600000 1e-400002 0E+999999 -> 1E-1000002 Subnormal
|
||||
|
|
|
@ -533,7 +533,7 @@ mulx756 multiply 1e-777777777 -1e-411111111 -> -0E-1000000007 Underflow Subnorm
|
|||
mulx757 multiply -1e-777777777 1e-411111111 -> -0E-1000000007 Underflow Subnormal Inexact Rounded Clamped
|
||||
mulx758 multiply -1e-777777777 -1e-411111111 -> 0E-1000000007 Underflow Subnormal Inexact Rounded Clamped
|
||||
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
|
||||
-- 'subnormal' boundary (all hard underflow or overflow in base arithmetic)
|
||||
precision: 9
|
||||
mulx760 multiply 1e-600000000 1e-400000001 -> 1E-1000000001 Subnormal
|
||||
mulx761 multiply 1e-600000000 1e-400000002 -> 1E-1000000002 Subnormal
|
||||
|
|
|
@ -22,7 +22,7 @@ def isnum(x):
|
|||
return 0
|
||||
|
||||
def isRat(x):
|
||||
"""Test wheter an object is an instance of the Rat class."""
|
||||
"""Test whether an object is an instance of the Rat class."""
|
||||
return isinstance(x, Rat)
|
||||
|
||||
class Rat(object):
|
||||
|
|
|
@ -1253,7 +1253,7 @@ class TestLRU:
|
|||
self.assertEqual(mock_int.__hash__.call_count, 2)
|
||||
self.assertEqual(f.cache_info(), (1, 1, 1, 1))
|
||||
|
||||
# Cache eviction: No use as an argument gives no additonal call
|
||||
# Cache eviction: No use as an argument gives no additional call
|
||||
self.assertEqual(f(6, 2), 20)
|
||||
self.assertEqual(mock_int.__hash__.call_count, 2)
|
||||
self.assertEqual(f.cache_info(), (1, 2, 1, 1))
|
||||
|
|
|
@ -11,7 +11,7 @@ from .. import util
|
|||
|
||||
class Using__package__:
|
||||
|
||||
"""Use of __package__ supercedes the use of __name__/__path__ to calculate
|
||||
"""Use of __package__ supersedes the use of __name__/__path__ to calculate
|
||||
what package a module belongs to. The basic algorithm is [__package__]::
|
||||
|
||||
def resolve_name(name, package, level):
|
||||
|
|
|
@ -1598,19 +1598,19 @@ class ExecTests(unittest.TestCase):
|
|||
def test_execve_invalid_env(self):
|
||||
args = [sys.executable, '-c', 'pass']
|
||||
|
||||
# null character in the enviroment variable name
|
||||
# null character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT\0VEGETABLE"] = "cabbage"
|
||||
with self.assertRaises(ValueError):
|
||||
os.execve(args[0], args, newenv)
|
||||
|
||||
# null character in the enviroment variable value
|
||||
# null character in the environment variable value
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT"] = "orange\0VEGETABLE=cabbage"
|
||||
with self.assertRaises(ValueError):
|
||||
os.execve(args[0], args, newenv)
|
||||
|
||||
# equal character in the enviroment variable name
|
||||
# equal character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT=ORANGE"] = "lemon"
|
||||
with self.assertRaises(ValueError):
|
||||
|
@ -2430,7 +2430,7 @@ class SpawnTests(unittest.TestCase):
|
|||
def _test_invalid_env(self, spawn):
|
||||
args = [sys.executable, '-c', 'pass']
|
||||
|
||||
# null character in the enviroment variable name
|
||||
# null character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT\0VEGETABLE"] = "cabbage"
|
||||
try:
|
||||
|
@ -2440,7 +2440,7 @@ class SpawnTests(unittest.TestCase):
|
|||
else:
|
||||
self.assertEqual(exitcode, 127)
|
||||
|
||||
# null character in the enviroment variable value
|
||||
# null character in the environment variable value
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT"] = "orange\0VEGETABLE=cabbage"
|
||||
try:
|
||||
|
@ -2450,7 +2450,7 @@ class SpawnTests(unittest.TestCase):
|
|||
else:
|
||||
self.assertEqual(exitcode, 127)
|
||||
|
||||
# equal character in the enviroment variable name
|
||||
# equal character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT=ORANGE"] = "lemon"
|
||||
try:
|
||||
|
@ -2460,7 +2460,7 @@ class SpawnTests(unittest.TestCase):
|
|||
else:
|
||||
self.assertEqual(exitcode, 127)
|
||||
|
||||
# equal character in the enviroment variable value
|
||||
# equal character in the environment variable value
|
||||
filename = support.TESTFN
|
||||
self.addCleanup(support.unlink, filename)
|
||||
with open(filename, "w") as fp:
|
||||
|
|
|
@ -668,25 +668,25 @@ class ProcessTestCase(BaseTestCase):
|
|||
subprocess.Popen([sys.executable, "-c", "pass#\0"])
|
||||
|
||||
def test_invalid_env(self):
|
||||
# null character in the enviroment variable name
|
||||
# null character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT\0VEGETABLE"] = "cabbage"
|
||||
with self.assertRaises(ValueError):
|
||||
subprocess.Popen([sys.executable, "-c", "pass"], env=newenv)
|
||||
|
||||
# null character in the enviroment variable value
|
||||
# null character in the environment variable value
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT"] = "orange\0VEGETABLE=cabbage"
|
||||
with self.assertRaises(ValueError):
|
||||
subprocess.Popen([sys.executable, "-c", "pass"], env=newenv)
|
||||
|
||||
# equal character in the enviroment variable name
|
||||
# equal character in the environment variable name
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT=ORANGE"] = "lemon"
|
||||
with self.assertRaises(ValueError):
|
||||
subprocess.Popen([sys.executable, "-c", "pass"], env=newenv)
|
||||
|
||||
# equal character in the enviroment variable value
|
||||
# equal character in the environment variable value
|
||||
newenv = os.environ.copy()
|
||||
newenv["FRUIT"] = "orange=lemon"
|
||||
with subprocess.Popen([sys.executable, "-c",
|
||||
|
|
|
@ -950,7 +950,7 @@ class CatchWarningTests(BaseTest):
|
|||
self.assertIs(wmod.filters, orig_filters)
|
||||
|
||||
def test_record_override_showwarning_before(self):
|
||||
# Issue #28835: If warnings.showwarning() was overriden, make sure
|
||||
# Issue #28835: If warnings.showwarning() was overridden, make sure
|
||||
# that catch_warnings(record=True) overrides it again.
|
||||
text = "This is a warning"
|
||||
wmod = self.module
|
||||
|
|
|
@ -255,7 +255,7 @@ class TestMockingMagicMethods(unittest.TestCase):
|
|||
|
||||
for entry in _magics:
|
||||
self.assertTrue(hasattr(mock, entry))
|
||||
self.assertFalse(hasattr(mock, '__imaginery__'))
|
||||
self.assertFalse(hasattr(mock, '__imaginary__'))
|
||||
|
||||
|
||||
def test_magic_mock_equality(self):
|
||||
|
|
24
Misc/HISTORY
24
Misc/HISTORY
|
@ -1597,7 +1597,7 @@ Library
|
|||
negative values the same way for keyword arguments as it does for
|
||||
positional arguments.
|
||||
|
||||
- Issue #21812: turtle.shapetransform did not tranform the turtle on the
|
||||
- Issue #21812: turtle.shapetransform did not transform the turtle on the
|
||||
first call. (Issue identified and fixed by Lita Cho.)
|
||||
|
||||
- Issue #21635: The difflib SequenceMatcher.get_matching_blocks() method
|
||||
|
@ -3245,7 +3245,7 @@ Core and Builtins
|
|||
|
||||
- Issue #19466: Clear the frames of daemon threads earlier during the
|
||||
Python shutdown to call objects destructors. So "unclosed file" resource
|
||||
warnings are now corretly emitted for daemon threads.
|
||||
warnings are now correctly emitted for daemon threads.
|
||||
|
||||
- Issue #19514: Deduplicate some _Py_IDENTIFIER declarations.
|
||||
Patch by Andrei Dorian Duma.
|
||||
|
@ -3386,7 +3386,7 @@ Library
|
|||
- Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID,
|
||||
NID, short name and long name.
|
||||
|
||||
- Issue #19282: dbm.open now supports the context management protocol. (Inital
|
||||
- Issue #19282: dbm.open now supports the context management protocol. (Initial
|
||||
patch by Claudiu Popa)
|
||||
|
||||
- Issue #8311: Added support for writing any bytes-like objects in the aifc,
|
||||
|
@ -3481,7 +3481,7 @@ Library
|
|||
- Issue #19227: Remove pthread_atfork() handler. The handler was added to
|
||||
solve #18747 but has caused issues.
|
||||
|
||||
- Issue #19420: Fix reference leak in module initalization code of
|
||||
- Issue #19420: Fix reference leak in module initialization code of
|
||||
_hashopenssl.c
|
||||
|
||||
- Issue #19329: Optimized compiling charsets in regular expressions.
|
||||
|
@ -4175,7 +4175,7 @@ Library
|
|||
|
||||
- Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
|
||||
inside subjectAltName correctly. Formerly the module has used OpenSSL's
|
||||
GENERAL_NAME_print() function to get the string represention of ASN.1
|
||||
GENERAL_NAME_print() function to get the string representation of ASN.1
|
||||
strings for ``rfc822Name`` (email), ``dNSName`` (DNS) and
|
||||
``uniformResourceIdentifier`` (URI).
|
||||
|
||||
|
@ -4268,7 +4268,7 @@ IDLE
|
|||
Documentation
|
||||
-------------
|
||||
|
||||
- Issue #18743: Fix references to non-existant "StringIO" module.
|
||||
- Issue #18743: Fix references to non-existent "StringIO" module.
|
||||
|
||||
- Issue #18783: Removed existing mentions of Python long type in docstrings,
|
||||
error messages and comments.
|
||||
|
@ -5022,7 +5022,7 @@ Library
|
|||
Thomas Barlow.
|
||||
|
||||
- Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by
|
||||
extention load_module()) now have a better chance of working when reloaded.
|
||||
extension load_module()) now have a better chance of working when reloaded.
|
||||
|
||||
- Issue #17804: New function ``struct.iter_unpack`` allows for streaming
|
||||
struct unpacking.
|
||||
|
@ -5135,8 +5135,8 @@ Library
|
|||
error message has been removed. Patch by Ram Rachum.
|
||||
|
||||
- Issue #18080: When building a C extension module on OS X, if the compiler
|
||||
is overriden with the CC environment variable, use the new compiler as
|
||||
the default for linking if LDSHARED is not also overriden. This restores
|
||||
is overridden with the CC environment variable, use the new compiler as
|
||||
the default for linking if LDSHARED is not also overridden. This restores
|
||||
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.
|
||||
|
||||
- Issue #18113: Fixed a refcount leak in the curses.panel module's
|
||||
|
@ -5207,7 +5207,7 @@ Library
|
|||
specifically addresses a stack misalignment issue on x86 and issues on
|
||||
some more recent platforms.
|
||||
|
||||
- Issue #8862: Fixed curses cleanup when getkey is interrputed by a signal.
|
||||
- Issue #8862: Fixed curses cleanup when getkey is interrupted by a signal.
|
||||
|
||||
- Issue #17443: imaplib.IMAP4_stream was using the default unbuffered IO
|
||||
in subprocess, but the imap code assumes buffered IO. In Python2 this
|
||||
|
@ -5382,7 +5382,7 @@ Library
|
|||
internal XML encoding is not UTF-8 or US-ASCII. It also now accepts bytes
|
||||
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.
|
||||
|
||||
- Issue #5289: Fix ctypes.util.find_library on Solaris.
|
||||
|
@ -26790,7 +26790,7 @@ using sre (without changes to the re API).
|
|||
|
||||
filecmp - supersedes the old cmp.py and dircmp.py modules.
|
||||
|
||||
tabnanny - check Python sources for tab-width dependance. (Moved from
|
||||
tabnanny - check Python sources for tab-width dependence. (Moved from
|
||||
Tools/scripts/.)
|
||||
|
||||
urllib2 - new and improved but incompatible version of urllib (still
|
||||
|
|
|
@ -454,7 +454,7 @@ Library
|
|||
Rodola'.
|
||||
|
||||
- bpo-30595: multiprocessing.Queue.get() with a timeout now polls its reader in
|
||||
non-blocking mode if it succeeded to aquire the lock but the acquire took
|
||||
non-blocking mode if it succeeded to acquire the lock but the acquire took
|
||||
longer than the timeout.
|
||||
|
||||
- bpo-28556: Updates to typing module: Add generic AsyncContextManager, add
|
||||
|
@ -892,7 +892,7 @@ Library
|
|||
re.sub() replacement templates regular expressions now are errors.
|
||||
|
||||
- Issue #28835: Fix a regression introduced in warnings.catch_warnings():
|
||||
call warnings.showwarning() if it was overriden inside the context manager.
|
||||
call warnings.showwarning() if it was overridden inside the context manager.
|
||||
|
||||
- Issue #27172: To assist with upgrades from 2.7, the previously documented
|
||||
deprecation of ``inspect.getfullargspec()`` has been reversed. This decision
|
||||
|
@ -1680,7 +1680,7 @@ Library
|
|||
again. But they still are deprecated and will be disabled in 3.7.
|
||||
|
||||
- Issue #28835: Fix a regression introduced in warnings.catch_warnings():
|
||||
call warnings.showwarning() if it was overriden inside the context manager.
|
||||
call warnings.showwarning() if it was overridden inside the context manager.
|
||||
|
||||
- Issue #27172: To assist with upgrades from 2.7, the previously documented
|
||||
deprecation of ``inspect.getfullargspec()`` has been reversed. This decision
|
||||
|
|
|
@ -3670,7 +3670,7 @@ _build_callargs(PyCFuncPtrObject *self, PyObject *argtypes,
|
|||
*/
|
||||
if (ob == NULL)
|
||||
goto error;
|
||||
/* The .from_param call that will ocurr later will pass this
|
||||
/* The .from_param call that will occur later will pass this
|
||||
as a byref parameter. */
|
||||
PyTuple_SET_ITEM(callargs, i, ob);
|
||||
*poutmask |= (1 << i); /* mark as out arg */
|
||||
|
|
|
@ -824,7 +824,7 @@ PyDoc_STRVAR(Compressor_doc,
|
|||
"be FORMAT_XZ (default), FORMAT_ALONE, or FORMAT_RAW.\n"
|
||||
"\n"
|
||||
"check specifies the integrity check to use. For FORMAT_XZ, the default\n"
|
||||
"is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not suport integrity\n"
|
||||
"is CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not support integrity\n"
|
||||
"checks; for these formats, check must be omitted, or be CHECK_NONE.\n"
|
||||
"\n"
|
||||
"The settings used by the compressor can be specified either as a\n"
|
||||
|
|
|
@ -1038,7 +1038,7 @@ path_converter(PyObject *o, void *p)
|
|||
}
|
||||
else if (is_buffer) {
|
||||
/* XXX Replace PyObject_CheckBuffer with PyBytes_Check in other code
|
||||
after removing suport of non-bytes buffer objects. */
|
||||
after removing support of non-bytes buffer objects. */
|
||||
if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
|
||||
"%s%s%s should be %s, not %.200s",
|
||||
path->function_name ? path->function_name : "",
|
||||
|
|
|
@ -3313,7 +3313,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
|
|||
^- (-oparg-1)
|
||||
^- (-oparg-2)
|
||||
|
||||
`callable` will be POPed by call_funtion.
|
||||
`callable` will be POPed by call_function.
|
||||
NULL will will be POPed manually later.
|
||||
*/
|
||||
res = call_function(&sp, oparg, NULL);
|
||||
|
|
Loading…
Reference in New Issue