Terry J. Reedy added the comment:
We cannot prevent files being viewed and possibly modified by multiple programs
and in general, should not. I often open a file in more than one python
version. In any case, the proposed change would have a high chance on
introducing bugs. I just
E. Paine added the comment:
Is it worth me developing a PR for this issue, as it may be a suitable fix for
#38946? (I am not guaranteeing any code, though, but I will try). If not, I
will probably close this issue.
--
___
Python tracker
E. Paine added the comment:
I appreciate your concerns Terry and I guess I must start by saying as much as
I like notepad++, I don't like how their instances work. This issue shouldn't
change any behaviour (from a user's perspective) other than not being able to
open the same file twice.
Terry J. Reedy added the comment:
I am somewhat dubious about this. IDLE *must* allow side-by-side windows.
AFAIK, single instance Notepad++ does not allow this. Tiles rather than only
tabbed windows can potentially be done with with one process (turtledemo), but
we are not there yet. I
E. Paine added the comment:
Sorry, I feel I need to clarify. When I say "... requires ... #40893 to be
pulled ..." I mean that that would be the preferred way to transfer tabs. If
TkDND is not available, or the version is a backport (which wouldn't have the
bindings) then tab transfer will
New submission from E. Paine :
I propose that IDLE only allows a single instance, but behaves mostly like
before (multiple shells, etc.). The main motivation for this issue is to (1)
stop the same file being opened more than once and (2) make a tabbed interface
easier to implement.
Starting