Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
50bd27c
issue #32035: Update zipfile doc
srcecde Dec 4, 2017
21255fc
bpo-30928: Update idlelib/NEWS.txt to 2017 Dec 3. (#4701)
terryjreedy Dec 4, 2017
1e2fcac
bpo-32207: Improve tk event exception tracebacks in IDLE. (#4703)
terryjreedy Dec 4, 2017
f0db54a
bpo-32214: Implement PEP 557: Data Classes (#4704)
ericvsmith Dec 4, 2017
2c0c68d
bpo-30928: update idlelib/NEWS.txt. (#4706)
terryjreedy Dec 4, 2017
ca7562a
bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245)
Mariatta Dec 5, 2017
29bc193
[bpo-28556] Minor fixes for typing module (#4710)
ilevkivskyi Dec 5, 2017
9625bf5
Enable SQLite JSON functions for macOS installer build (#4712)
ned-deily Dec 5, 2017
8837dd0
bpo-19610: Warn if distutils is provided something other than a list …
nascheme Dec 5, 2017
1761a39
bpo-32035: Updated zipfile doc1
srcecde Dec 5, 2017
3d6b76a
bpo-32035: Updated zipfile doc2
srcecde Dec 5, 2017
24e0469
bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (#4715)
ned-deily Dec 5, 2017
e6f8a73
Update macOS installer to XZ 5.2.3 (#4718)
ned-deily Dec 5, 2017
b3edde8
bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)
ned-deily Dec 5, 2017
ae342cf
Add a missing space in tkinter documentation. (GH-4692)
JulienPalard Dec 5, 2017
65390ac
bpo-32035: Updated zipfile doc fix travis fail
srcecde Dec 5, 2017
d4d2b56
Tidy NEWS entry.
ned-deily Dec 5, 2017
3f9a728
Update NEWS and pydoc topics.
ned-deily Dec 5, 2017
90a6785
Bump to 3.7.0a3
ned-deily Dec 5, 2017
33c377e
bpo-32030: Simplify _PyCoreConfig_INIT macro (#4728)
vstinner Dec 5, 2017
2582f6f
Add dataclasses to CODEOWNERS. (GH-4730)
ericvsmith Dec 5, 2017
5e8cbcc
Add Guido and Ivan as owners for typing.py (#4729)
gvanrossum Dec 5, 2017
d86f29e
Merge tag 'v3.7.0a3'
ned-deily Dec 6, 2017
a2a25eb
Bump to 3.7.0a3+
ned-deily Dec 6, 2017
672b6ba
bpo-32030: pass interp to _PyImport_Init() (#4736)
vstinner Dec 6, 2017
6bf992a
bpo-32030: Add pymain_get_global_config() (#4735)
vstinner Dec 6, 2017
1b4587a
bpo-25910: Fixes redirection from http to https (#4674)
CuriousLearner Dec 6, 2017
92a3c6f
bpo-32030: Add _PyImport_Fini2() (#4737)
vstinner Dec 6, 2017
bd4ed77
bpo-32233: Fix build with --with-system-libmpdec. (#4739)
skrah Dec 6, 2017
9d25bd1
Modify configure to link with the compiler driver under HP-UX when no…
datalogics-robb Dec 6, 2017
24e77f9
Use raw strings for regex to avoid invalid escape sequences. (GH-4741)
ericvsmith Dec 6, 2017
9ab11b3
Allows non-critical upload steps to fail (#4742)
zooba Dec 6, 2017
fb77e0d
Fix hardcoded value in test_os.py (#4744)
pablogsal Dec 7, 2017
ec3057e
issue #32035: Update zipfile doc
srcecde Dec 4, 2017
2a9f863
bpo-32035: Updated zipfile doc1
srcecde Dec 5, 2017
ba77575
bpo-32035: Updated zipfile doc2
srcecde Dec 5, 2017
7c092d9
bpo-32035: Updated zipfile doc fix travis fail
srcecde Dec 5, 2017
c1aba97
Merge branch 'fix-issue-32035' of https://github.com/srcecde/cpython …
srcecde Dec 7, 2017
af68b0d
Updated zipfile doc3
srcecde Dec 7, 2017
4829bb3
Updated zipfile doc4
srcecde Dec 8, 2017
19fedd1
Merge branch 'fix-issue-32035' of https://github.com/srcecde/cpython …
Dec 8, 2017
ef8abed
Updated zipfile doc4 travis fix
Dec 8, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ Python/bootstrap_hash.c @python/crypto-team
**/*functools* @ncoghlan @rhettinger
**/*decimal* @rhettinger @skrah

**/*dataclasses* @ericvsmith

**/*idlelib* @terryjreedy

**/*typing* @gvanrossum @ilevkivskyi
2 changes: 1 addition & 1 deletion Doc/bugs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ taken on the bug.

.. seealso::

`How to Report Bugs Effectively <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_
`How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_
Article which goes into some detail about how to create a useful bug report.
This describes what kind of information is useful and why it is useful.

Expand Down
6 changes: 3 additions & 3 deletions Doc/distutils/apiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ the full reference.
Distribution constructor. :func:`setup` creates a Distribution instance.

.. versionchanged:: 3.7
:class:`~distutils.core.Distribution` now raises a :exc:`TypeError` if
``classifiers``, ``keywords`` and ``platforms`` fields are not specified
as a list.
:class:`~distutils.core.Distribution` now warns if ``classifiers``,
``keywords`` and ``platforms`` fields are not specified as a list or
a string.

.. class:: Command

Expand Down
2 changes: 1 addition & 1 deletion Doc/faq/design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ each Python stack frame. Also, extensions can call back into Python at almost
random moments. Therefore, a complete threads implementation requires thread
support for C.

Answer 2: Fortunately, there is `Stackless Python <http://www.stackless.com>`_,
Answer 2: Fortunately, there is `Stackless Python <https://bitbucket.org/stackless-dev/stackless/wiki/Home>`_,
which has a completely redesigned interpreter loop that avoids the C stack.


Expand Down
6 changes: 3 additions & 3 deletions Doc/faq/gui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ number of platforms, with Windows, Mac OS X, GTK, X11, all listed as
current stable targets. Language bindings are available for a number
of languages including Python, Perl, Ruby, etc.

wxPython (http://www.wxpython.org) is the Python binding for
`wxPython <https://www.wxpython.org>`_ is the Python binding for
wxwidgets. While it often lags slightly behind the official wxWidgets
releases, it also offers a number of features via pure Python
extensions that are not available in other language bindings. There
Expand Down Expand Up @@ -72,9 +72,9 @@ Gtk+

The `GObject introspection bindings <https://wiki.gnome.org/Projects/PyGObject>`_
for Python allow you to write GTK+ 3 applications. There is also a
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_.
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io>`_.

The older PyGtk bindings for the `Gtk+ 2 toolkit <http://www.gtk.org>`_ have
The older PyGtk bindings for the `Gtk+ 2 toolkit <https://www.gtk.org>`_ have
been implemented by James Henstridge; see <http://www.pygtk.org>.

Kivy
Expand Down
2 changes: 1 addition & 1 deletion Doc/faq/library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ Python program effectively only uses one CPU, due to the insistence that
Back in the days of Python 1.5, Greg Stein actually implemented a comprehensive
patch set (the "free threading" patches) that removed the GIL and replaced it
with fine-grained locking. Adam Olsen recently did a similar experiment
in his `python-safethread <http://code.google.com/p/python-safethread/>`_
in his `python-safethread <https://code.google.com/archive/p/python-safethread>`_
project. Unfortunately, both experiments exhibited a sharp drop in single-thread
performance (at least 30% slower), due to the amount of fine-grained locking
necessary to compensate for the removal of the GIL.
Expand Down
2 changes: 1 addition & 1 deletion Doc/faq/programming.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ which don't. One is Thomas Heller's py2exe (Windows only) at

http://www.py2exe.org/

Another tool is Anthony Tuininga's `cx_Freeze <http://cx-freeze.sourceforge.net/>`_.
Another tool is Anthony Tuininga's `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_.


Are there coding standards or a style guide for Python programs?
Expand Down
4 changes: 2 additions & 2 deletions Doc/faq/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ offender.
How do I make an executable from a Python script?
-------------------------------------------------

See http://cx-freeze.sourceforge.net/ for a distutils extension that allows you
to create console and GUI executables from Python code.
See `cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ for a distutils extension
that allows you to create console and GUI executables from Python code.
`py2exe <http://www.py2exe.org/>`_, the most popular extension for building
Python 2.x-based executables, does not yet support Python 3 but a version that
does is in development.
Expand Down
2 changes: 1 addition & 1 deletion Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Glossary

BDFL
Benevolent Dictator For Life, a.k.a. `Guido van Rossum
<https://www.python.org/~guido/>`_, Python's creator.
<https://gvanrossum.github.io/>`_, Python's creator.

binary file
A :term:`file object` able to read and write
Expand Down
2 changes: 1 addition & 1 deletion Doc/howto/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ learn more about submitting patches to Python.

* `Writing Programs with NCURSES <http://invisible-island.net/ncurses/ncurses-intro.html>`_:
a lengthy tutorial for C programmers.
* `The ncurses man page <http://linux.die.net/man/3/ncurses>`_
* `The ncurses man page <https://linux.die.net/man/3/ncurses>`_
* `The ncurses FAQ <http://invisible-island.net/ncurses/ncurses.faq.html>`_
* `"Use curses... don't swear" <https://www.youtube.com/watch?v=eN1eZtjLEnU>`_:
video of a PyCon 2013 talk on controlling terminals using curses or Urwid.
Expand Down
2 changes: 1 addition & 1 deletion Doc/howto/pyporting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -449,4 +449,4 @@ to make sure everything functions as expected in both versions of Python.

.. _"What's New": https://docs.python.org/3/whatsnew/index.html

.. _Why Python 3 exists: http://www.snarky.ca/why-python-3-exists
.. _Why Python 3 exists: https://snarky.ca/why-python-3-exists
4 changes: 2 additions & 2 deletions Doc/howto/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ To help understand the standard, Jukka Korpela has written `an introductory
guide <https://www.cs.tut.fi/~jkorpela/unicode/guide.html>`_ to reading the
Unicode character tables.

Another `good introductory article <http://www.joelonsoftware.com/articles/Unicode.html>`_
Another `good introductory article <https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/>`_
was written by Joel Spolsky.
If this introduction didn't make things clear to you, you should try
reading this alternate article before continuing.
Expand Down Expand Up @@ -487,7 +487,7 @@ References
Some good alternative discussions of Python's Unicode support are:

* `Processing Text Files in Python 3 <http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html>`_, by Nick Coghlan.
* `Pragmatic Unicode <http://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.
* `Pragmatic Unicode <https://nedbatchelder.com/text/unipain.html>`_, a PyCon 2012 presentation by Ned Batchelder.

The :class:`str` type is described in the Python library reference at
:ref:`textseq`.
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/email.generator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ over channels that are not "8 bit clean".
:data:`~email.policy.compat32` policy and ``False`` for all others).
*mangle_from_* is intended for use when messages are stored in unix mbox
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
<http://www.jwz.org/doc/content-length.html>`_).
<https://www.jwz.org/doc/content-length.html>`_).

If *maxheaderlen* is not ``None``, refold any header lines that are longer
than *maxheaderlen*, or if ``0``, do not rewrap any headers. If
Expand Down Expand Up @@ -154,7 +154,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
:data:`~email.policy.compat32` policy and ``False`` for all others).
*mangle_from_* is intended for use when messages are stored in unix mbox
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
<http://www.jwz.org/doc/content-length.html>`_).
<https://www.jwz.org/doc/content-length.html>`_).

If *maxheaderlen* is not ``None``, refold any header lines that are longer
than *maxheaderlen*, or if ``0``, do not rewrap any headers. If
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/hashlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ Keyed hashing

Keyed hashing can be used for authentication as a faster and simpler
replacement for `Hash-based message authentication code
<http://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
<https://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
BLAKE2 can be securely used in prefix-MAC mode thanks to the
indifferentiability property inherited from BLAKE.

Expand Down Expand Up @@ -699,7 +699,7 @@ implementation, extension code, and this documentation:

You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
http://creativecommons.org/publicdomain/zero/1.0/.
https://creativecommons.org/publicdomain/zero/1.0/.

The following people have helped with development or contributed their changes
to the project and the public domain according to the Creative Commons Public
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/othergui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ available for Python:
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_
PyGObject provides introspection bindings for C libraries using
`GObject <https://developer.gnome.org/gobject/stable/>`_. One of
these libraries is the `GTK+ 3 <http://www.gtk.org/>`_ widget set.
these libraries is the `GTK+ 3 <https://www.gtk.org/>`_ widget set.
GTK+ comes with many more widgets than Tkinter provides. An online
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.org/en/latest/>`_
`Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io/>`_
is available.

`PyGTK <http://www.pygtk.org/>`_
Expand All @@ -35,7 +35,7 @@ available for Python:
Compared to PyQt, its licensing scheme is friendlier to non-open source
applications.

`wxPython <http://www.wxpython.org>`_
`wxPython <https://www.wxpython.org>`_
wxPython is a cross-platform GUI toolkit for Python that is built around
the popular `wxWidgets <https://www.wxwidgets.org/>`_ (formerly wxWindows)
C++ toolkit. It provides a native look and feel for applications on
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/secrets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Other functions

Return ``True`` if strings *a* and *b* are equal, otherwise ``False``,
in such a way as to reduce the risk of
`timing attacks <http://codahale.com/a-lesson-in-timing-attacks/>`_.
`timing attacks <https://codahale.com/a-lesson-in-timing-attacks/>`_.
See :func:`hmac.compare_digest` for additional details.


Expand Down Expand Up @@ -173,7 +173,7 @@ three digits:
break


Generate an `XKCD-style passphrase <http://xkcd.com/936/>`_:
Generate an `XKCD-style passphrase <https://xkcd.com/936/>`_:

.. testcode::

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ object.
Edge and Level Trigger Polling (epoll) Objects
----------------------------------------------

http://linux.die.net/man/4/epoll
https://linux.die.net/man/4/epoll

*eventmask*

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ This example uses the iterator form::
The SQLite web page; the documentation describes the syntax and the
available data types for the supported SQL dialect.

http://www.w3schools.com/sql/
https://www.w3schools.com/sql/
Tutorial, reference and examples for learning SQL syntax.

:pep:`249` - Database API Specification 2.0
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ to speed up repeated connections from the same clients.
.. versionadded:: 3.3

.. seealso::
`SSL/TLS & Perfect Forward Secrecy <http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy.html>`_
`SSL/TLS & Perfect Forward Secrecy <https://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy>`_
Vincent Bernat.

.. method:: SSLContext.wrap_socket(sock, server_side=False, \
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/tkinter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ this should open a window demonstrating a simple Tk interface.
`Programming Python <http://learning-python.com/books/about-pp4e.html>`_
Book by Mark Lutz, has excellent coverage of Tkinter.

`Modern Tkinter for Busy Python Developers <http://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/>`_
`Modern Tkinter for Busy Python Developers <https://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/>`_
Book by Mark Rozerman about building attractive and modern graphical user interfaces with Python and Tkinter.

`Python and Tkinter Programming <https://www.manning.com/books/python-and-tkinter-programming>`_
Expand Down Expand Up @@ -154,7 +154,7 @@ background material, while the second half can be taken to the keyboard as a
handy reference.

When trying to answer questions of the form "how do I do blah", it is often best
to find out how to do"blah" in straight Tk, and then convert this back into the
to find out how to do "blah" in straight Tk, and then convert this back into the
corresponding :mod:`tkinter` call. Python programmers can often guess at the
correct Python command by looking at the Tk documentation. This means that in
order to use Tkinter, you will have to know a little bit about Tk. This document
Expand Down Expand Up @@ -183,7 +183,7 @@ documentation that exists. Here are some hints:
`ActiveState Tcl Home Page <http://tcl.activestate.com/>`_
The Tk/Tcl development is largely taking place at ActiveState.

`Tcl and the Tk Toolkit <http://www.amazon.com/exec/obidos/ASIN/020163337X>`_
`Tcl and the Tk Toolkit <https://www.amazon.com/exec/obidos/ASIN/020163337X>`_
The book by John Ousterhout, the inventor of Tcl.

`Practical Programming in Tcl and Tk <http://www.beedub.com/book/>`_
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test runner
Kent Beck's original paper on testing frameworks using the pattern shared
by :mod:`unittest`.

`Nose <https://nose.readthedocs.org/en/latest/>`_ and `py.test <http://pytest.org>`_
`Nose <https://nose.readthedocs.io/>`_ and `py.test <https://docs.pytest.org/>`_
Third-party unittest frameworks with a lighter-weight syntax for writing
tests. For example, ``assert func(10) == 42``.

Expand Down
8 changes: 4 additions & 4 deletions Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,10 @@ ZipFile Objects

.. method:: ZipFile.writestr(zinfo_or_arcname, data[, compress_type])

Write the string *data* to the archive; *zinfo_or_arcname* is either the file
name it will be given in the archive, or a :class:`ZipInfo` instance. If it's
an instance, at least the filename, date, and time must be given. If it's a
name, the date and time is set to the current date and time.
Writes a file into archive. The content is `data`; it can be a `bytes` or a `str` data.
*zinfo_or_arcname* is either the name of the file in the archive or a :class:`ZipInfo` instance.
If it's an instance, at least the filename, date, and time must be given.
If it's a name, the date and time is set to the current date and time.
The archive must be opened with mode ``'w'``, ``'x'`` or ``'a'``.

If given, *compress_type* overrides the value given for the *compression*
Expand Down
2 changes: 1 addition & 1 deletion Doc/tutorial/interactive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ bpython_.

.. _GNU Readline: https://tiswww.case.edu/php/chet/readline/rltop.html
.. _IPython: https://ipython.org/
.. _bpython: http://www.bpython-interpreter.org/
.. _bpython: https://www.bpython-interpreter.org/
2 changes: 1 addition & 1 deletion Doc/using/mac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ X by Apple, and the latest version can be downloaded and installed from
https://www.activestate.com; it can also be built from source.

*wxPython* is another popular cross-platform GUI toolkit that runs natively on
Mac OS X. Packages and documentation are available from http://www.wxpython.org.
Mac OS X. Packages and documentation are available from https://www.wxpython.org.

*PyQt* is another popular cross-platform GUI toolkit that runs natively on Mac
OS X. More information can be found at
Expand Down
6 changes: 3 additions & 3 deletions Doc/using/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ for detailed information about platforms with pre-compiled installers.
by Mark Pilgrim, 2004,
ISBN 1-59059-356-1

`For Windows users <http://python.swaroopch.com/installation.html#installation-on-windows>`_
`For Windows users <https://python.swaroopch.com/installation.html#installation-on-windows>`_
in "Installing Python"
in "`A Byte of Python <http://python.swaroopch.com/>`_"
in "`A Byte of Python <https://python.swaroopch.com/>`_"
by Swaroop C H, 2003


Expand Down Expand Up @@ -871,7 +871,7 @@ shipped with PyWin32. It is an embeddable IDE with a built-in debugger.
cx_Freeze
---------

`cx_Freeze <http://cx-freeze.sourceforge.net/>`_ is a :mod:`distutils`
`cx_Freeze <https://anthony-tuininga.github.io/cx_Freeze/>`_ is a :mod:`distutils`
extension (see :ref:`extending-distutils`) which wraps Python scripts into
executable Windows programs (:file:`{*}.exe` files). When you have done this,
you can distribute your application without requiring your users to install
Expand Down
6 changes: 3 additions & 3 deletions Doc/whatsnew/2.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,7 @@ wish to read the Tcl/Tk manual page describing the
Ttk theme engine, available at
https://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some
screenshots of the Python/Ttk code in use are at
http://code.google.com/p/python-ttk/wiki/Screenshots.
https://code.google.com/archive/p/python-ttk/wikis/Screenshots.wiki.

The :mod:`ttk` module was written by Guilherme Polo and added in
:issue:`2983`. An alternate version called ``Tile.py``, written by
Expand All @@ -1832,8 +1832,8 @@ https://pypi.python.org/pypi/unittest2.

When used from the command line, the module can automatically discover
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
`nose <http://code.google.com/p/python-nose/>`__, but provides a simple way
to run tests kept within a set of package directories. For example,
`nose <https://nose.readthedocs.io/>`__, but provides a
simple way to run tests kept within a set of package directories. For example,
the following command will search the :file:`test/` subdirectory for
any importable test files named ``test*.py``::

Expand Down
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ and the ``__annotations__`` attribute.
and Guido van Rossum. Implemented by Ivan Levkivskyi.

Tools that use or will use the new syntax:
`mypy <http://github.com/python/mypy>`_,
`pytype <http://github.com/google/pytype>`_, PyCharm, etc.
`mypy <http://www.mypy-lang.org/>`_,
`pytype <https://github.com/google/pytype>`_, PyCharm, etc.


.. _whatsnew36-pep515:
Expand Down
6 changes: 2 additions & 4 deletions Doc/whatsnew/3.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,8 @@ README.rst is now included in the list of distutils standard READMEs and
therefore included in source distributions.
(Contributed by Ryan Gonzalez in :issue:`11913`.)

:class:`distutils.core.setup` now raises a :exc:`TypeError` if
``classifiers``, ``keywords`` and ``platforms`` fields are not specified
as a list. However, to minimize backwards incompatibility concerns,
``keywords`` and ``platforms`` fields still accept a comma separated string.
:class:`distutils.core.setup` now warns if the ``classifiers``, ``keywords``
and ``platforms`` fields are not specified as a list or a string.
(Contributed by Berker Peksag in :issue:`19610`.)

http.client
Expand Down
20 changes: 3 additions & 17 deletions Include/internal/pystate.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,8 @@ typedef struct {
wchar_t *home;
} _PyPathConfig;

#ifdef MS_WINDOWS
#define _PyPathConfig_INIT \
{.program_full_path = NULL, \
.prefix = NULL, \
.dll_path = NULL, \
.module_search_path = NULL, \
.program_name = NULL, \
.home = NULL}
#else
#define _PyPathConfig_INIT \
{.program_full_path = NULL, \
.prefix = NULL, \
.exec_prefix = NULL, \
.module_search_path = NULL, \
.program_name = NULL, \
.home = NULL}
#endif
#define _PyPathConfig_INIT {.module_search_path = NULL}
/* Note: _PyPathConfig_INIT sets other fields to 0/NULL */

PyAPI_DATA(_PyPathConfig) _Py_path_config;

Expand Down Expand Up @@ -116,6 +101,7 @@ typedef struct pyruntimestate {
} _PyRuntimeState;

#define _PyRuntimeState_INIT {.initialized = 0, .core_initialized = 0}
/* Note: _PyRuntimeState_INIT sets other fields to 0/NULL */

PyAPI_DATA(_PyRuntimeState) _PyRuntime;
PyAPI_FUNC(_PyInitError) _PyRuntimeState_Init(_PyRuntimeState *);
Expand Down
Loading