<div class="gmail_extra">In my company we have a bunch of projects developed under Python 2 and we are not planning to switch in a short time for many reasons (time, distro packaging as already stated by Mike, compatibility with 3rd party components); so I'm not in favour of an Eric4 dismiss.<br>
<br>This said, I sponsor the bare maintenance of Eric4 (i.e. bug fixing), with Eric5 being the "main product".<br><br>Regards,<br>Leo<br><br><div class="gmail_quote">
Il giorno 20 aprile 2012 19:21, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>></span> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Mittwoch, 18. April 2012, 22:51:36 schrieb Mikhail Terekhov:<br>
> Detlev,<br>
><br>
> I'd like to propose to remove Python debugger association using extension<br>
> (i.e. *.py2/*.pyw2 or<br>
> *.py3/*.pyw3) in Eric5 and instead use what language is specified in the<br>
> project properties.<br>
<br>
Valid point. Actually eric5 applies the project language settings if the file<br>
is a Python file, the project is a Python project and the respective<br>
configuration option is set on the Project page of the config dialog (on by<br>
default). However, that automatism cannot work for individual script, i.e<br>
those not belonging to a project. However, latest eric5 version introduced the<br>
capability to mark a file's programming language with an eflags comment at the<br>
end of the file.<br>
<br>
> There<br>
> are some reasons in no particular order:<br>
><br>
> * neither *.py2 nor *.py3 is widely used extension for python scripts. I<br>
> may be wrong but I've<br>
> seen nothing but *.py or *.pyw for either python 2 or 3. BTW Eric5/Eric4<br>
> itself doesn't use these<br>
> extensions<br>
<br>
You are absolutely right.<br>
<br>
> * as a consequence of the above it becomes tedious to change settings over<br>
> and over again<br>
> depending on what project you are working on<br>
<br>
See above. Actually I don't change this setting anymore (which might indicate<br>
it's superfluous).<br>
<br>
> * with regard to the project as a whole using extension for this purpose<br>
> is redundant with regard<br>
> to project's language setting<br>
> * if there is a real need to mix different python versions in one project<br>
> then may be it is a good idea<br>
> to add one more choice in the run/debug script/project dialogs to select<br>
> desired interpreter<br>
> version for run/debug?<br>
> * making switch between python 2 and 3 easy in Eric5 would make Eric4<br>
> really obsolete and<br>
> would eliminate the burden of maintaining it :)<br>
<br>
It is easy already. However, as long as Python3 is not yet as widely used as<br>
Python2 I might have the need to maintain both variants :( That said, most of<br>
the new development is done on eric5 with just a few things backported to<br>
eric4.<br>
<br>
What does the eric community suggest?<br>
<br>
Regards,<br>
Detlev<br>
<span><font color="#888888">--<br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a><br>
_______________________________________________<br>
Eric mailing list<br>
<a href="mailto:Eric@riverbankcomputing.com" target="_blank">Eric@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
</font></span></blockquote></div><br></div>