Hi Pierre,

Good to hear from you again! I gave a lot of thought to this change, and I didn't want to do it so close to the final release, but I was busy fixing other complex bugs.

From the source code point of view, things are almost exactly as before: I just changed the dialog's default to "current interpreter" and added a checkbox to let the user decide between the old and the new behavior, so the bug you mention was most probably there before.

Experienced or old time users can mark the mentioned checkbox and things for them will be as they always have been. But newbies (as Uwe mentions) will have a much easier and pleasant time with Spyder without being confronted with a complex set of options from the start.

I hope you understand my motivation: my aim is to lead Spyder to a wider audience, i.e. people who is learning or giving their first steps with Python, but maintaining all the configurability and adaptability it currently has.

I'll work hard to solve any bugs that show up (starting with yours :-) and time will tell if I took the right decision or not.

Cheers,
Carlos

El 28/04/13 07:58, Pierre Raybaut escribió:
Carlos,

I'm quite busy these days and I've just played around with latest Spyder revision, just to fix Issue 1363 (for which you asked for my help). Doing so, I've been confronted to this new behavior of the 'Run configuration' dialog which has been renamed to 'Run settings' (why not). First, I find it very risky to introduce a change of behavior of this magnitude at this stage of 2.2 release process (Release Candidate). Second, I was confronted in less than 5 minutes to a bug (an unexpected behavior actually) related to this change: when executing a program which kills the Python process (hard crash or a simple call to sys.exit), Spyder seems to be unresponsive and unable to re-run it as the current interpreter has been terminated... So, that's how I've discovered this new behavior, a quite unpleasant experience. I really think that such changes should have been introduced at an early stage of development, not just before releasing the final 2.2.

Cheers,
Pierre


2013/4/27 Carlos Córdoba <[email protected] <mailto:[email protected]>>

    I made the change so that after pressing F5 on new files, they
    always be evaluated in the current interpreter (Python or
    IPython). I just checked that it's working as I designed it (on
    Windows and Linux), i.e. If you press F5 again, then the file will
    be ran again in the selected console with the "runfile" function.

    I did it because I saw (in my courses and workshops) that people
    gets easily confused with the "Run dialog" and don't know what
    option to select. Besides, now that we have a very good IPython
    integration, I expect most people will take advantage of it and
    won't need the "Execute in a new dedicated python interpreter" option.

    However, if you want to get back the old behavior, you can mark
    the checkbox at the end of the dialog that reads:

    "Always open this dialog on a first file run".

    Cheers,
    Carlos

    El 26/04/13 17:04, Steve escribió:

        I saw some commits in the change log recently related to the
        Run Settings.  One of the changes leads to unexpected behavior.

        It appears the default interpreter option changed.  I just
        rolled back to an old commit to confirm.  The radio button for
        "Execute in a new dedicated python interpreter" used to be
        selected by default.  The new default is "Execute in current
        Python or IPython interpreter" is checked.  Because of this
        new default setting after the initial run (F5) additional
        presses of F5 do nothing.  I finally figured this out by
        realizing it was new files and it must have to do with the run
        config for new files versus files I had previously debugged.
         I think don't think new behavior is optimal.

        -Steve
-- You received this message because you are subscribed to the
        Google Groups "spyder" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected]
        <mailto:spyderlib%[email protected]>.
        To post to this group, send email to
        [email protected] <mailto:[email protected]>.
        Visit this group at
        http://groups.google.com/group/spyderlib?hl=en.
        For more options, visit https://groups.google.com/groups/opt_out.



-- You received this message because you are subscribed to the Google
    Groups "spyder" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:spyderlib%[email protected]>.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    Visit this group at http://groups.google.com/group/spyderlib?hl=en.
    For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to