bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7624) · python/cpython@4fde701 (original) (raw)

`@@ -1218,11 +1218,6 @@ changes, or look through the Subversion logs for all the details.

`

1218

1218

` created some new files that should be included.

`

1219

1219

`` (Fixed by Tarek Ziadé; :issue:8688.)

``

1220

1220

``

1221

``


 The ``upload`` command now longer tries to change CR end-of-line characters

1222

``

`-

to CRLF. This fixes a corruption issue with sdists that ended with a byte

`

1223

``

`-

equivalent to CR.

`

1224

``

`` -

(Contributed by Bo Bayles in :issue:32304.)

``

1225

``

-

1226

1221

`` * The :mod:doctest module's :const:IGNORE_EXCEPTION_DETAIL flag

``

1227

1222

` will now ignore the name of the module containing the exception

`

1228

1223

`` being tested. (Patch by Lennart Regebro; :issue:7490.)

``

`@@ -1535,7 +1530,7 @@ changes, or look through the Subversion logs for all the details.

`

1535

1530

` ciphers argument that's a string listing the encryption algorithms

`

1536

1531

` to be allowed; the format of the string is described

`

1537

1532

`` `in the OpenSSL documentation

``

1538

``

`` -

https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT`__.

``

``

1533

`` +

https://www.openssl.org/docs/manmaster/man1/ciphers.html#CIPHER-LIST-FORMAT`__.

``

1539

1534

`` (Added by Antoine Pitrou; :issue:8322.)

``

1540

1535

``

1541

1536

` Another change makes the extension load all of OpenSSL's ciphers and

`

`@@ -1790,7 +1785,7 @@ wish to read the Tcl/Tk manual page describing the

`

1790

1785

`Ttk theme engine, available at

`

1791

1786

`https://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.htm. Some

`

1792

1787

`screenshots of the Python/Ttk code in use are at

`

1793

``

`-

http://code.google.com/p/python-ttk/wiki/Screenshots.

`

``

1788

`+

https://code.google.com/archive/p/python-ttk/wikis/Screenshots.wiki.

`

1794

1789

``

1795

1790

`` The :mod:ttk module was written by Guilherme Polo and added in

``

1796

1791

``` :issue:2983. An alternate version called Tile.py, written by


`@@ -1813,8 +1808,8 @@ https://pypi.org/project/unittest2.

`

`1813`

`1808`

``

`1814`

`1809`

`When used from the command line, the module can automatically discover

`

`1815`

`1810`

`` tests. It's not as fancy as `py.test <http://pytest.org>`__ or

``

`1816`

``

`` -

`nose <http://code.google.com/p/python-nose/>`__, but provides a simple way

``

`1817`

``

`-

to run tests kept within a set of package directories. For example,

`

``

`1811`

`` +

`nose <https://nose.readthedocs.io/>`__, but provides a

``

``

`1812`

`+

simple way to run tests kept within a set of package directories. For example,

`

`1818`

`1813`

`` the following command will search the :file:`test/` subdirectory for

``

`1819`

`1814`

``` any importable test files named ``test*.py``::

1820

1815

``

`@@ -2728,6 +2723,39 @@ For cases where the connection establishment code can't be modified, but the

`

2728

2723

`` overall application can be, the new :func:ssl._https_verify_certificates

``

2729

2724

`function can be used to adjust the default behaviour at runtime.

`

2730

2725

``

``

2726

+

``

2727


New ``make regen-all`` build target

``

2728

`+


`

``

2729

+

``

2730

`+

To simplify cross-compilation, and to ensure that CPython can reliably be

`

``

2731

`+

compiled without requiring an existing version of Python to already be

`

``

2732

`+

available, the autotools-based build system no longer attempts to implicitly

`

``

2733

`+

recompile generated files based on file modification times.

`

``

2734

+

``

2735


Instead, a new ``make regen-all`` command has been added to force regeneration

``

2736

`+

of these files when desired (e.g. after an initial version of Python has

`

``

2737

`+

already been built based on the pregenerated versions).

`

``

2738

+

``

2739

`+

More selective regeneration targets are also defined - see

`

``

2740

`` +

:source:Makefile.pre.in for details.

``

``

2741

+

``

2742

`` +

(Contributed by Victor Stinner in :issue:23404.)

``

``

2743

+

``

2744

`+

.. versionadded:: 2.7.14

`

``

2745

+

``

2746

+

``

2747


Removal of ``make touch`` build target

``

2748

`+


`

``

2749

+

``

2750


The ``make touch`` build target previously used to request implicit regeneration

``

2751

`+

of generated files by updating their modification times has been removed.

`

``

2752

+

``

2753


It has been replaced by the new ``make regen-all`` target.

``

2754

+

``

2755

`` +

(Contributed by Victor Stinner in :issue:23404.)

``

``

2756

+

``

2757

`+

.. versionchanged:: 2.7.14

`

``

2758

+

2731

2759

`.. ======================================================================

`

2732

2760

``

2733

2761

`.. _acks27:

`