Skip to content

Commit 137be34

Browse files
authored
bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154)
Having multiple paragraphs in a few news entry lead to inconsistent spacing while rendered in HTML by mixing "visually compact lists" (when no entry of the whole list contains multiple paragraphs) and "sparse lists" (when at least one do).
1 parent a076e4f commit 137be34

18 files changed

+38
-123
lines changed

Misc/NEWS.d/3.5.0a2.rst

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ Lawrence.
112112
.. section: Library
113113
114114
Corrected pure python implementation of timedelta division.
115-
116115
Eliminated OverflowError from ``timedelta * float`` for some floats;
117116
Corrected rounding in timedelta true division.
118117

Misc/NEWS.d/3.5.2rc1.rst

-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ Fixed the comparison of plistlib.Data with other types.
678678
.. section: Library
679679
680680
Fix an uninitialized variable in `ctypes.util`.
681-
682681
The bug only occurs on SunOS when the ctypes implementation searches for the
683682
`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
684683

Misc/NEWS.d/3.5.3rc1.rst

-1
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,6 @@ command.
751751
.. section: Library
752752
753753
Fixed calendar functions for extreme months: 0001-01 and 9999-12.
754-
755754
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
756755
don't call itermonthdates() which can cause datetime.date under/overflow.
757756

Misc/NEWS.d/3.5.4rc1.rst

-4
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ by Nir Soffer.
250250
.. section: Library
251251
252252
signal.setitimer() may disable the timer when passed a tiny value.
253-
254253
Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which
255254
is specified as taking microsecond-resolution intervals. However, on some
256255
platform, our conversion routine could convert 1e-6 into a zero interval,
@@ -1001,15 +1000,12 @@ test_zipfile64.
10011000
.. section: Tests
10021001
10031002
regrtest: Enhance regrtest and backport features from the master branch.
1004-
10051003
Add options: --coverage, --testdir, --list-tests (list test files, don't run
10061004
them), --list-cases (list test identifiers, don't run them, :issue:`30523`),
10071005
--matchfile (load a list of test filters from a text file, :issue:`30540`),
10081006
--slowest (alias to --slow).
1009-
10101007
Enhance output: add timestamp, test result, currently running tests, "Tests
10111008
result: xxx" summary with total duration, etc.
1012-
10131009
Fix reference leak hunting in regrtest, --huntrleaks: regrtest now warms up
10141010
caches, create explicitly all internal singletons which are created on
10151011
demand to prevent false positives when checking for reference leaks.

Misc/NEWS.d/3.5.5rc1.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ by revealing an inconsistency in how sys.path is initialized when executing
1010
considered a potential security issue, as it may lead to privileged
1111
processes unexpectedly loading code from user controlled directories in
1212
situations where that was not previously the case.
13-
1413
The interpreter now consistently avoids ever adding the import location's
1514
parent directory to ``sys.path``, and ensures no other ``sys.path`` entries
1615
are inadvertently modified when inserting the import location named on the
@@ -56,11 +55,10 @@ Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call
5655
.. section: Library
5756
5857
Fixed issues with binary plists:
59-
60-
* Fixed saving bytearrays.
61-
* Identical objects will be saved only once.
62-
* Equal references will be load as identical objects.
63-
* Added support for saving and loading recursive data structures.
58+
Fixed saving bytearrays.
59+
Identical objects will be saved only once.
60+
Equal references will be load as identical objects.
61+
Added support for saving and loading recursive data structures.
6462

6563
..
6664

Misc/NEWS.d/3.6.0a1.rst

-1
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,6 @@ Fixed the comparison of plistlib.Data with other types.
10811081
.. section: Library
10821082
10831083
Fix an uninitialized variable in `ctypes.util`.
1084-
10851084
The bug only occurs on SunOS when the ctypes implementation searches for the
10861085
`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
10871086

Misc/NEWS.d/3.6.0b2.rst

-2
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ xml.etree.ElementTree.Element.
378378
.. section: Library
379379
380380
Stop using localtime() and gmtime() in the time module.
381-
382381
Introduced platform independent _PyTime_localtime API that is similar to
383382
POSIX localtime_r, but available on all platforms. Patch by Ed Schouten.
384383

@@ -390,7 +389,6 @@ POSIX localtime_r, but available on all platforms. Patch by Ed Schouten.
390389
.. section: Library
391390
392391
Fixed calendar functions for extreme months: 0001-01 and 9999-12.
393-
394392
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
395393
don't call itermonthdates() which can cause datetime.date under/overflow.
396394

Misc/NEWS.d/3.6.2rc1.rst

-1
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,6 @@ the link targets for :func:`bytes` and :func:`bytearray` are now their
872872
respective type definitions, rather than the corresponding builtin function
873873
entries. Use :ref:`bytes <func-bytes>` and :ref:`bytearray <func-bytearray>`
874874
to reference the latter.
875-
876875
In order to ensure this and future cross-reference updates are applied
877876
automatically, the daily documentation builds now disable the default output
878877
caching features in Sphinx.

Misc/NEWS.d/3.6.3rc1.rst

+3-19
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ ImportError rather than SystemError.
196196
.. section: Core and Builtins
197197
198198
Improve signal delivery.
199-
200199
Avoid using Py_AddPendingCall from signal handler, to avoid calling
201200
signal-unsafe functions. The tests I'm adding here fail without the rest of
202201
the patch, on Linux and OS X. This means our signal delivery logic had
@@ -596,7 +595,6 @@ Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`.
596595
.. section: Library
597596
598597
signal.setitimer() may disable the timer when passed a tiny value.
599-
600598
Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which
601599
is specified as taking microsecond-resolution intervals. However, on some
602600
platform, our conversion routine could convert 1e-6 into a zero interval,
@@ -774,7 +772,6 @@ Add a missing xmlns to python.manifest so that it matches the schema.
774772
.. section: IDLE
775773
776774
IDLE code context -- fix code update and font update timers.
777-
778775
Canceling timers prevents a warning message when test_idle completes.
779776

780777
..
@@ -817,7 +814,6 @@ IDLE - make tests pass with zzdummy extension disabled by default.
817814
818815
Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the
819816
background in order to make live
820-
821817
interaction and experimentation with tkinter applications much easier.
822818

823819
..
@@ -847,7 +843,6 @@ Rearrange IDLE configdialog GenPage into Window, Editor, and Help sections.
847843
.. section: IDLE
848844
849845
IDLE - Add docstrings and tests for outwin subclass of editor.
850-
851846
Move some data and functions from the class to module level. Patch by Cheryl
852847
Sabella.
853848

@@ -868,24 +863,20 @@ IDLE - Do not modify tkinter.message in test_configdialog.
868863
.. section: IDLE
869864
870865
Convert IDLE's built-in 'extensions' to regular features.
871-
872866
About 10 IDLE features were implemented as supposedly optional extensions.
873867
Their different behavior could be confusing or worse for users and not good
874868
for maintenance. Hence the conversion.
875-
876869
The main difference for users is that user configurable key bindings for
877870
builtin features are now handled uniformly. Now, editing a binding in a
878871
keyset only affects its value in the keyset. All bindings are defined
879872
together in the system-specific default keysets in config-extensions.def.
880873
All custom keysets are saved as a whole in config-extension.cfg. All take
881874
effect as soon as one clicks Apply or Ok.
882-
883875
The affected events are '<<force-open-completions>>', '<<expand-word>>',
884876
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
885877
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global)
886878
customizations made before 3.6.3 will not affect their keyset-specific
887879
customization after 3.6.3. and vice versa.
888-
889880
Inital patch by Charles Wohlganger.
890881

891882
..
@@ -974,7 +965,6 @@ continue to pass. Patch by Cheryl Sabella.
974965
.. section: IDLE
975966
976967
IDLE - Factor FontPage(Frame) class from ConfigDialog.
977-
978968
Slightly modified tests continue to pass. Fix General tests. Patch mostly by
979969
Cheryl Sabella.
980970

@@ -1007,7 +997,6 @@ the tabs and will enable splitting the groups into classes.
1007997
.. section: IDLE
1008998
1009999
IDLE -- Factor a VarTrace class out of ConfigDialog.
1010-
10111000
Instance tracers manages pairs consisting of a tk variable and a callback
10121001
function. When tracing is turned on, setting the variable calls the
10131002
function. Test coverage for the new class is 100%.
@@ -1029,12 +1018,10 @@ IDLE: Add more tests for General tab.
10291018
.. section: IDLE
10301019
10311020
IDLE - Improve configdialog font page and tests.
1032-
10331021
In configdialog: Document causal pathways in create_font_tab docstring.
10341022
Simplify some attribute names. Move set_samples calls to var_changed_font
10351023
(idea from Cheryl Sabella). Move related functions to positions after the
10361024
create widgets function.
1037-
10381025
In test_configdialog: Fix test_font_set so not order dependent. Fix renamed
10391026
test_indent_scale so it tests the widget. Adjust tests for movement of
10401027
set_samples call. Add tests for load functions. Put all font tests in one
@@ -1077,12 +1064,9 @@ Patch by Louie Lu.
10771064
.. section: IDLE
10781065
10791066
Document coverage details for idlelib tests.
1080-
1081-
* Add section to idlelib/idle-test/README.txt.
1082-
1083-
* Include check that branches are taken both ways.
1084-
1085-
* Exclude IDLE-specific code that does not run during unit tests.
1067+
Add section to idlelib/idle-test/README.txt.
1068+
Include check that branches are taken both ways.
1069+
Exclude IDLE-specific code that does not run during unit tests.
10861070

10871071
..
10881072

Misc/NEWS.d/3.6.4rc1.rst

+13-23
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ function.
1818
.. section: Core and Builtins
1919
2020
Fixed several issues in printing tracebacks (PyTraceBack_Print()).
21-
22-
* Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks.
23-
* Setting sys.tracebacklimit to None now causes using the default limit.
24-
* Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using
25-
the limit LONG_MAX rather than the default limit.
26-
* Fixed integer overflows in the case of more than 2**31 traceback items on
27-
Windows.
28-
* Fixed output errors handling.
21+
Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks.
22+
Setting sys.tracebacklimit to None now causes using the default limit.
23+
Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using
24+
the limit LONG_MAX rather than the default limit.
25+
Fixed integer overflows in the case of more than 2**31 traceback items on
26+
Windows.
27+
Fixed output errors handling.
2928

3029
..
3130
@@ -308,7 +307,6 @@ value of property is ``VT_EMPTY``. Initial patch by Mark Mc Mahon.
308307
Fix wrong usage of :func:`collections.namedtuple` in the
309308
:meth:`RobotFileParser.parse() <urllib.robotparser.RobotFileParser.parse>`
310309
method.
311-
312310
Initial patch by Robin Wellner.
313311

314312
..
@@ -340,11 +338,10 @@ characters/bytes for non-negative *n*. This makes it compatible with
340338
.. section: Library
341339
342340
Fixed issues with binary plists:
343-
344-
* Fixed saving bytearrays.
345-
* Identical objects will be saved only once.
346-
* Equal references will be load as identical objects.
347-
* Added support for saving and loading recursive data structures.
341+
Fixed saving bytearrays.
342+
Identical objects will be saved only once.
343+
Equal references will be load as identical objects.
344+
Added support for saving and loading recursive data structures.
348345

349346
..
350347
@@ -392,10 +389,8 @@ Reduce performance overhead of asyncio debug mode.
392389
.. section: Library
393390
394391
Fixed determining the MAC address in the uuid module:
395-
396-
* Using ifconfig on NetBSD and OpenBSD.
397-
* Using arp on Linux, FreeBSD, NetBSD and OpenBSD.
398-
392+
Using ifconfig on NetBSD and OpenBSD.
393+
Using arp on Linux, FreeBSD, NetBSD and OpenBSD.
399394
Based on patch by Takayuki Shimizukawa.
400395

401396
..
@@ -913,7 +908,6 @@ Avoid wholesale rebuild after `make regen-all` if nothing changed.
913908
914909
Return ``None`` when ``View.Fetch()`` returns ``ERROR_NO_MORE_ITEMS``
915910
instead of raising ``MSIError``.
916-
917911
Initial patch by Anthony Tuininga.
918912

919913
..
@@ -997,7 +991,6 @@ persist while IDLE remains open
997991
.. section: IDLE
998992
999993
Test_code_module now passes if run after test_idle, which sets ps1.
1000-
1001994
The code module uses sys.ps1 if present or sets it to '>>> ' if not.
1002995
Test_code_module now properly tests both behaviors. Ditto for ps2.
1003996

@@ -1034,7 +1027,6 @@ a bit about the additions.
10341027
.. section: IDLE
10351028
10361029
Simplify the API of IDLE's Module Browser.
1037-
10381030
Passing a widget instead of an flist with a root widget opens the option of
10391031
creating a browser frame that is only part of a window. Passing a full file
10401032
name instead of pieces assumed to come from a .py file opens the possibility
@@ -1099,10 +1091,8 @@ for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
10991091
.. section: Tools/Demos
11001092
11011093
Make redemo work with Python 3.6 and newer versions.
1102-
11031094
Also, remove the ``LOCALE`` option since it doesn't work with string
11041095
patterns in Python 3.
1105-
11061096
Patch by Christoph Sarnowski.
11071097

11081098
..

Misc/NEWS.d/3.6.5rc1.rst

-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ locale to the ``LC_NUMERIC`` locale to decode ``decimal_point`` and
539539
``thousands_sep`` byte strings if they are non-ASCII or longer than 1 byte,
540540
and the ``LC_NUMERIC`` locale is different than the ``LC_CTYPE`` locale.
541541
This temporary change affects other threads.
542-
543542
Same change for the :meth:`str.format` method when formatting a number
544543
(:class:`int`, :class:`float`, :class:`float` and subclasses) with the ``n``
545544
type (ex: ``'{:n}'.format(1234)``).

0 commit comments

Comments
 (0)