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
b44c4520
Commit
b44c4520
authored
May 29, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27125: Fix various errors like “will [be] inherited”
parent
6ee36a5a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
15 additions
and
14 deletions
+15
-14
Demo/tkinter/guido/canvasevents.py
Demo/tkinter/guido/canvasevents.py
+1
-1
Doc/c-api/allocation.rst
Doc/c-api/allocation.rst
+1
-1
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+2
-2
Doc/library/shlex.rst
Doc/library/shlex.rst
+2
-1
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+1
-1
Lib/email/message.py
Lib/email/message.py
+1
-1
Lib/lib-tk/Tix.py
Lib/lib-tk/Tix.py
+1
-1
Lib/rfc822.py
Lib/rfc822.py
+1
-1
Lib/test/test_httplib.py
Lib/test/test_httplib.py
+2
-2
Misc/HISTORY
Misc/HISTORY
+1
-1
Objects/object.c
Objects/object.c
+1
-1
README
README
+1
-1
No files found.
Demo/tkinter/guido/canvasevents.py
View file @
b44c4520
...
...
@@ -24,7 +24,7 @@ class Object:
depends on the object; for simple objects, it may be their center.
Objects have mouse sensitivity. They can be clicked, dragged and
double-clicked. The behavior may actually determined by the pile
double-clicked. The behavior may actually
be
determined by the pile
they are in.
All instance attributes are public since the derived class may
...
...
Doc/c-api/allocation.rst
View file @
b44c4520
...
...
@@ -98,7 +98,7 @@ Allocating Objects on the Heap
Create a new module object based on a name and table of functions,
returning the new module object. If *doc* is non-*NULL*, it will be used
to define the docstring for the module. If *self* is non-*NULL*, it will
passed to the functions of the module as their (otherwise *NULL*) first
be
passed to the functions of the module as their (otherwise *NULL*) first
parameter. (This was added as an experimental feature, and there are no
known uses in the current version of Python.) For *apiver*, the only value
which should be passed is defined by the constant
...
...
Doc/library/multiprocessing.rst
View file @
b44c4520
...
...
@@ -2137,9 +2137,9 @@ connection is established both ends will demand proof that the other knows the
authentication
key
.
(
Demonstrating
that
both
ends
are
using
the
same
key
does
**
not
**
involve
sending
the
key
over
the
connection
.)
If
authentication
is
requested
but
d
o
authentication
key
is
specified
then
the
If
authentication
is
requested
but
n
o
authentication
key
is
specified
then
the
return
value
of
``
current_process
().
authkey
``
is
used
(
see
:
class
:`~
multiprocessing
.
Process
`).
This
value
will
automatically
inherited
by
:
class
:`~
multiprocessing
.
Process
`).
This
value
will
be
automatically
inherited
by
any
:
class
:`~
multiprocessing
.
Process
`
object
that
the
current
process
creates
.
This
means
that
(
by
default
)
all
processes
of
a
multi
-
process
program
will
share
a
single
authentication
key
which
can
be
used
when
setting
up
connections
...
...
Doc/library/shlex.rst
View file @
b44c4520
...
...
@@ -231,7 +231,8 @@ variables which either control lexical analysis or can be used for debugging:
This attribute is ``None`` by default. If you assign a string to it, that
string will be recognized as a lexical-level inclusion request similar to the
``source`` keyword in various shells. That is, the immediately following token
will opened as a filename and input taken from that stream until EOF, at which
will be opened as a filename and input will
be taken from that stream until EOF, at which
point the :meth:`~io.IOBase.close` method of that stream will be called and
the input source will again become the original input stream. Source
requests may be stacked any number of levels deep.
...
...
Doc/whatsnew/2.6.rst
View file @
b44c4520
...
...
@@ -3150,7 +3150,7 @@ Port-Specific Changes: Mac OS X
:func:`macostools.touched` function to be removed because it depended on the
:mod:`macfs` module. (:issue:`1490190`)
* Many other Mac OS modules have been deprecated and will removed in
* Many other Mac OS modules have been deprecated and will
be
removed in
Python 3.0:
:mod:`_builtinSuites`,
:mod:`aepack`,
...
...
Lib/email/message.py
View file @
b44c4520
...
...
@@ -579,7 +579,7 @@ class Message:
message, it will be set to "text/plain" and the new parameter and
value will be appended as per RFC 2045.
An alternate header can specified in the header argument, and all
An alternate header can
be
specified in the header argument, and all
parameters will be quoted as necessary unless requote is False.
If charset is specified, the parameter will be encoded according to RFC
...
...
Lib/lib-tk/Tix.py
View file @
b44c4520
...
...
@@ -1052,7 +1052,7 @@ class InputOnly(TixWidget):
class
LabelEntry
(
TixWidget
):
"""LabelEntry - Entry field with label. Packages an entry widget
and a label into one mega widget. It can beused be used to simplify
and a label into one mega widget. It can be
used be used to simplify
the creation of ``entry-form'' type of interface.
Subwidgets Class
...
...
Lib/rfc822.py
View file @
b44c4520
...
...
@@ -961,7 +961,7 @@ def formatdate(timeval=None):
According to RFC 1123, day and month names must always be in
English. If not for that, this code could use strftime(). It
can't because strftime() honors the locale and could generate
d
can't because strftime() honors the locale and could generate
non-English names.
"""
if
timeval
is
None
:
...
...
Lib/test/test_httplib.py
View file @
b44c4520
...
...
@@ -213,8 +213,8 @@ class HeaderTests(TestCase):
self
.
assertIn
(
b'
\
xa0
NonbreakSpace: value'
,
conn
.
_buffer
)
def
test_ipv6host_header
(
self
):
# Default host header on IPv6 transaction should wrapped by [] if
# it
s actual
IPv6 address
# Default host header on IPv6 transaction should
be
wrapped by [] if
# it
is an
IPv6 address
expected
=
'GET /foo HTTP/1.1
\
r
\
n
Host: [2001::]:81
\
r
\
n
'
\
'Accept-Encoding: identity
\
r
\
n
\
r
\
n
'
conn
=
httplib
.
HTTPConnection
(
'[2001::]:81'
)
...
...
Misc/HISTORY
View file @
b44c4520
...
...
@@ -5148,7 +5148,7 @@ Core and builtins
- All standard iterators now ensure that, once StopIteration has been
raised, all future calls to next() on the same iterator will also
raise StopIteration. There used to be various counterexamples to
this behavior, which could caused confusion or subtle program
this behavior, which could
have
caused confusion or subtle program
breakage, without any benefits. (Note that this is still an
iterator's responsibility; the iterator framework does not enforce
this.)
...
...
Objects/object.c
View file @
b44c4520
...
...
@@ -2358,7 +2358,7 @@ PyMem_Free(void *p)
/* These methods are used to control infinite recursion in repr, str, print,
etc. Container objects that may recursively contain themselves,
e.g. builtin dictionaries and lists, should use
d
Py_ReprEnter() and
e.g. builtin dictionaries and lists, should use Py_ReprEnter() and
Py_ReprLeave() to avoid infinite recursion.
Py_ReprEnter() returns 0 the first time it is called for a particular
...
...
README
View file @
b44c4520
...
...
@@ -197,7 +197,7 @@ PGO takes advantage of recent versions of the GCC or Clang compilers.
If ran, the "profile-opt" rule will do several steps.
First, the entire Python directory is cleaned of temporary files that
may resulted in a previous compilation.
may
have
resulted in a previous compilation.
Then, an instrumented version of the interpreter is built, using suitable
compiler flags for each flavour. Note that this is just an intermediary
...
...
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