docs.inspect: Fix BoundArguments example. Issue #22998.

--HG--
branch : 3.4
docs.inspect: Fix BoundArguments example. Issue #22998.
Merge from 3.4 after patch separately committed as 697adefaba6b.
Edit Menus section of Idle doc.  Make menu entries match current Idle in order
and case.  Edit some of the explanatory sentences and end all with a period.

--HG--
branch : 3.4
Merge with 3.4. Edit Menus section of Idle doc.
Issue #22599: Enhance tokenize.open() to be able to call it during Python
finalization.

Before the module kept a reference to the builtins module, but the module
attributes are cleared during Python finalization. Instead, keep directly a
reference to the open() function.

This enhancement is not perfect, calling tokenize.open() can still fail if
called very late during Python finalization.  Usually, the function is called
by the linecache module which is called to display a traceback or emit a
warning.

--HG--
branch : 3.4
(Merge 3.4) Issue #22599: Enhance tokenize.open() to be able to call it during
Python finalization.

Before the module kept a reference to the builtins module, but the module
attributes are cleared during Python finalization. Instead, keep directly a
reference to the open() function.

This enhancement is not perfect, calling tokenize.open() can still fail if
called very late during Python finalization.  Usually, the function is called
by the linecache module which is called to display a traceback or emit a
warning.
Issue #22914: Update the Python 2/3 porting HOWTO to describe a more
automated process.

--HG--
branch : 3.4
Merge with 3.4
Issue #22394: Add a 'venv' command to Doc/Makefile.

This will create a venv using the interpreter specified by the PYTHON
variable for the Makefile that also install Sphinx. Typical usage is
expected to be:

  cd Doc
  make venv PYTHON=../python
  make html PYTHON=venv/bin/python3
Issue #22581: Use more "bytes-like object" throughout the docs and comments.

--HG--
branch : 3.4
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
Merge heads
Issue #9647: os.confstr() ensures that the second call to confstr() returns the
same length.

--HG--
extra : rebase_source : 22fc4ba314bf21ad7682e8e84f567f34e53ca118
Fix a bad link

--HG--
branch : 3.4
Merge with 3.4
add a default limit for the amount of data xmlrpclib.gzip_decode will return (closes #16043)

--HG--
branch : 3.2
extra : source : d50096708b2d701937e78f525446d729fc28db88
Issue #16893: Update Idle doc chapter to match current Idle and add new
information.

--HG--
branch : 3.4
Merge with 3.4.
merge 3.2 (#16043)

--HG--
branch : 3.3