This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Improve IDLE news handling
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.10
Status: open Resolution:
Dependencies: 17221 Superseder:
Assigned To: terry.reedy Nosy List: ezio.melotti, ned.deily, python-dev, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2013-03-21 07:58 by terry.reedy, last changed 2022-04-11 14:57 by admin.

Messages (10)
msg184858 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2013-03-21 07:58
Idle news items should be collected together in one place and released both in an IDLE section of each Misc/NEWS and in each idlelib/NEWS.txt. Once a decision is made where to collect them originally, a script should be written to make appropriate copies. If someone volunteers, scattered entries in current Misc/NEWS could be collected together.
msg184859 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-21 08:32
I think it would be better to keep everything in an IDLE section in Misc/NEWS, and have something/someone extract the section(s) before the release.  In Lib/idlelib/NEWS.txt we probably don't need to have separate sections for alphas/betas/rcs like we do in Misc/NEWS.
msg185612 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2013-03-31 04:50
This is related to #17221. I agree that news items need to be consolidated in both Misc/NEWS and Lib/idlelib/NEWS.txt.
msg185980 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-04-03 23:46
Setting #17221 as a dependency.  Once that is fixed it would be good to keep IDLE entries in Misc/NEWS, and copy them in Lib/idlelib/NEWS.txt before the release.
msg185989 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2013-04-04 00:56
I put 1 or 2 items in idlelib/NEWS, but it does not really matter which way they go. I guess the greater separation in Misc/NEWS says they should go there first, as moving to idlelib would delete reliease info. I will move the one item over sometime, maybe after the big patch.
msg222994 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-07-14 06:08
New changeset aa059a8fb55a by Terry Jan Reedy in branch '2.7':
Issue #17506: Synchronize Misc/NEWS and idlelib/NEWS.txt for 2.7.
msg222995 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2014-07-14 06:09
The items in Misc/NEWS and idlelib/NEWS.text were mostly disjoint.
msg296388 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-19 23:14
To minimize news merge headaches, I have been pushing news items separately from IDLE patches, usually in batches of at least two.  It has not been too much bother to copy from NEWS.txt to NEWS.

If and when news handling is automated, I will request that items directed at the IDLE section also go to NEWS.txt.
msg370862 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-06-06 23:36
Separate news items are now consolidated during the release process.  But two issue with copying them.  1. They are not line wrapped, whereas news.txt is.  2. I don't always make (or keep) entries identical.
msg370872 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-06-07 03:56
A suggestion: rather than trying to maintain a separate IDLE news file ("don't repeat yourself), it might be much easier to link to the IDLE section in each releases's formatted CHANGELOG now included in Python 3 docsets.  For example:

Yes, users would have to scroll down to each release's IDLE section but I suspect that wouldn't be a huge burden considering how infrequently change files are consulted.  To be even more useful, IDLE could first attempt to find the changelog in the Python installer's bundled copy of the docset like the F1 key does.  For example, with the macOS installer, the corresponding file URL is:

Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61708
2020-06-07 03:56:10ned.deilysetnosy: + ned.deily
messages: + msg370872
2020-06-06 23:36:47terry.reedysetmessages: + msg370862
versions: + Python 3.10, - Python 3.6, Python 3.7
2017-06-19 23:14:35terry.reedysetmessages: + msg296388
components: + IDLE
versions: + Python 3.6, Python 3.7, - Python 2.7, Python 3.3, Python 3.4
2014-07-14 06:09:44terry.reedysetmessages: + msg222995
2014-07-14 06:08:07python-devsetnosy: + python-dev
messages: + msg222994
2013-04-04 00:56:49terry.reedysetmessages: + msg185989
2013-04-03 23:46:29ezio.melottisetdependencies: + Resort Misc/NEWS
messages: + msg185980
2013-03-31 04:50:52roger.serwysetnosy: + roger.serwy
messages: + msg185612
2013-03-21 08:32:57ezio.melottisettype: enhancement

messages: + msg184859
nosy: + ezio.melotti
2013-03-21 07:58:43terry.reedycreate