Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0f84764a
Commit
0f84764a
authored
Mar 11, 2013
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
parent
98472b83
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
14 additions
and
14 deletions
+14
-14
Doc/library/email.policy.rst
Doc/library/email.policy.rst
+1
-1
Doc/library/ipaddress.rst
Doc/library/ipaddress.rst
+3
-3
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+1
-1
Doc/library/unittest.mock.rst
Doc/library/unittest.mock.rst
+1
-1
Lib/email/_encoded_words.py
Lib/email/_encoded_words.py
+1
-1
Lib/email/_header_value_parser.py
Lib/email/_header_value_parser.py
+1
-1
Lib/email/mime/text.py
Lib/email/mime/text.py
+1
-1
Lib/email/policy.py
Lib/email/policy.py
+1
-1
Lib/test/test_decimal.py
Lib/test/test_decimal.py
+1
-1
Lib/tkinter/__init__.py
Lib/tkinter/__init__.py
+1
-1
Lib/unittest/mock.py
Lib/unittest/mock.py
+1
-1
Modules/socketmodule.c
Modules/socketmodule.c
+1
-1
No files found.
Doc/library/email.policy.rst
View file @
0f84764a
...
...
@@ -327,7 +327,7 @@ added matters. To illustrate::
each resulting line to the ``max_line_length``. If ``cte_type`` is
``7bit``, non-ascii binary data is CTE encoded using the ``unknown-8bit``
charset. Otherwise the original source header is used, with its existing
line breaks and an
d an
y (RFC invalid) binary data it may contain.
line breaks and any (RFC invalid) binary data it may contain.
.. note::
...
...
Doc/library/ipaddress.rst
View file @
0f84764a
...
...
@@ -393,7 +393,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
.. attribute:: is_link_local
These attributes are true for the network as a whole if they are true
true
for both the network address and the broadcast address
for both the network address and the broadcast address
.. attribute:: network_address
...
...
@@ -452,7 +452,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
.. method:: overlaps(other)
``True`` if this network is partly or wholly contained in *other* or
or
*other* is wholly contained in this network.
*other* is wholly contained in this network.
.. method:: address_exclude(network)
...
...
@@ -582,7 +582,7 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
.. attribute:: is_site_local
These attribute is true for the network as a whole if it is true
true
for both the network address and the broadcast address
for both the network address and the broadcast address
Operators
...
...
Doc/library/stdtypes.rst
View file @
0f84764a
...
...
@@ -2637,7 +2637,7 @@ copying.
>>> z.nbytes
48
Cast 1D/unsigned char to
to
2D/unsigned long::
Cast 1D/unsigned char to 2D/unsigned long::
>>> buf = struct.pack("L"*6, *list(range(6)))
>>> x = memoryview(buf)
...
...
Doc/library/unittest.mock.rst
View file @
0f84764a
...
...
@@ -988,7 +988,7 @@ patch
you pass in `create=True`, and the attribute doesn't exist, patch will
create the attribute for you when the patched function is called, and
delete it again afterwards. This is useful for writing tests against
attributes that your production code creates at runtime. It is off by
by
attributes that your production code creates at runtime. It is off by
default because it can be dangerous. With it switched on you can write
passing tests against APIs that don't actually exist!
...
...
Lib/email/_encoded_words.py
View file @
0f84764a
...
...
@@ -14,7 +14,7 @@ to a public API if there is demand.
# cte (Content Transfer Encoding) is either 'q' or 'b' (ignoring case). In
# theory other letters could be used for other encodings, but in practice this
# (almost?) never happens. There could be a public API for adding entries
# to t
o t
he CTE tables, but YAGNI for now. 'q' is Quoted Printable, 'b' is
# to the CTE tables, but YAGNI for now. 'q' is Quoted Printable, 'b' is
# Base64. The meaning of encoded_string should be obvious. 'lang' is optional
# as indicated by the brackets (they are not part of the syntax) but is almost
# never encountered in practice.
...
...
Lib/email/_header_value_parser.py
View file @
0f84764a
...
...
@@ -1864,7 +1864,7 @@ def get_dtext(value):
""" dtext = <printable ascii except
\
[ ]> / o
b
s-dtext
obs-dtext = obs-NO-WS-CTL / quoted-pair
We allow anything except the excluded characters, but
but
if we find any
We allow anything except the excluded characters, but if we find any
ASCII other than the RFC defined printable ASCII an NonPrintableDefect is
added to the token's defects list. Quoted pairs are converted to their
unquoted values, so what is returned is a ptext token, in this case a
...
...
Lib/email/mime/text.py
View file @
0f84764a
...
...
@@ -26,7 +26,7 @@ class MIMEText(MIMENonMultipart):
Content-Transfer-Encoding header will also be set.
"""
# If no _charset was specified, check to see
see
if there are non-ascii
# If no _charset was specified, check to see if there are non-ascii
# characters present. If not, use 'us-ascii', otherwise use utf-8.
# XXX: This can be removed once #7304 is fixed.
if
_charset
is
None
:
...
...
Lib/email/policy.py
View file @
0f84764a
...
...
@@ -23,7 +23,7 @@ class EmailPolicy(Policy):
"""+
PROVISIONAL
The API extensions enabled by this
this
policy are currently provisional.
The API extensions enabled by this policy are currently provisional.
Refer to the documentation for details.
This policy adds new header parsing and folding algorithms. Instead of
...
...
Lib/test/test_decimal.py
View file @
0f84764a
...
...
@@ -4492,7 +4492,7 @@ class PyWhitebox(unittest.TestCase):
x
=
Decimal
(
2
**
578
)
**
Decimal
(
"-0.5"
)
def
test_py_immutability_operations
(
self
):
# Do operations and check that it didn't change
change
internal objects.
# Do operations and check that it didn't change internal objects.
Decimal
=
P
.
Decimal
DefaultContext
=
P
.
DefaultContext
setcontext
=
P
.
setcontext
...
...
Lib/tkinter/__init__.py
View file @
0f84764a
...
...
@@ -3152,7 +3152,7 @@ class Text(Widget, XView, YView):
def peer_create(self, newPathName, cnf={}, **kw): # new in Tk 8.5
"""Creates a peer text widget with the given newPathName, and any
optional standard configuration options. By default the peer will
have the same start and
and
end line as the parent widget, but
have the same start and end line as the parent widget, but
these can be overriden with the standard configuration options."""
self.tk.call(self._w, 'peer', 'create', newPathName,
*self._options(cnf, kw))
...
...
Lib/unittest/mock.py
View file @
0f84764a
...
...
@@ -1417,7 +1417,7 @@ def patch(
you pass in `create=True`, and the attribute doesn't exist, patch will
create the attribute for you when the patched function is called, and
delete it again afterwards. This is useful for writing tests against
attributes that your production code creates at runtime. It is off by
by
attributes that your production code creates at runtime. It is off by
default because it can be dangerous. With it switched on you can write
passing tests against APIs that don't actually exist!
...
...
Modules/socketmodule.c
View file @
0f84764a
...
...
@@ -3609,7 +3609,7 @@ sock_sendmsg(PySocketSockObject *s, PyObject *args)
the next header, it checks its (uninitialized) cmsg_len
member to see if the "message" fits in the buffer, and
returns NULL if it doesn't. Zero-filling the buffer
ensures that th
at
doesn't happen. */
ensures that th
is
doesn't happen. */
memset
(
controlbuf
,
0
,
controllen
);
for
(
i
=
0
;
i
<
ncmsgbufs
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment