[issue41000] IDLE: only allow single instance

2020-07-27 Thread Terry J. Reedy
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 finished

[issue41000] IDLE: only allow single instance

2020-07-27 Thread E. Paine
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

[issue41000] IDLE: only allow single instance

2020-06-17 Thread E. Paine
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. Th

[issue41000] IDLE only allow single instance

2020-06-17 Thread Terry J. Reedy
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

[issue41000] IDLE only allow single instance

2020-06-17 Thread E. Paine
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 u

[issue41000] IDLE only allow single instance

2020-06-17 Thread E. Paine
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