I strongly dislike Python 3

John Bokma john at castleamber.com
Mon Jun 28 04:23:24 EDT 2010


geremy condra <debatem1 at gmail.com> writes:

> On Sun, Jun 27, 2010 at 10:35 PM, John Bokma <john at castleamber.com> wrote:

[..]

>> I've used several operating systems over many years and each OS has its
>> own issues. I am currently using mostly Linux and it's far from the
>> flawless OS some people seem to think it is. While it's true that some
>> things are easier on OS A than on OS B changing your operating system
>> because one (minor) thing "doesn't work" is often not an option.
>
> Sure, linux has its flaws- but it does include a working shell OOTB, which
> is what raised this question in the first place.

As mentioned already by someone else, install bash on Windows and
problem solved (it can be installed without Cygwin).

>> On top of that, I don't think it's that hard to make a small program
>> that one associates with .py files which checks the first line and feeds
>> the .py to the correct version of Python based on the information in the
>> aformentioned first line.
>
> I could spend my time reinventing all kinds of wheels. I'm just not sure
> why I'd want to.

It's clear that you are not interested in running Windows. But the world
is not limited to what you want. There are people out there who are
/not/ interested to switch to a different OS just because it's the
easiest option to /you/.

>> Another option (instead of installing a better shell) might be to make
>> several VMs, each with their own Python version. Run subversion (or any
>> other version control system) on your host, and you can test whatever
>> you want.
>
> Is this seriously your solution?

Sure it is. Maybe not for you, but there are people who prefer an
isolated VM to test stuff in some cases. I am one of them.

> Can you see why I would rather have a
> working shell than have to automate test suites across a half dozen
> VMs?

Install bash in that case, problem solved.

Yet another solution is to have your test suite change the file
association for the .py (and related) extensions to the correct version
of Python. I know it's not for you, you're happy on Linux, but for
others this might work perfectly.

>> There are plenty of people who are very happy with coding under an MS
>> OS. I now and then miss those days :-).
>
> Ok, and for those people things like cygwin exist. My point is just that it
> is frequently easier to do an actual linux install.

Maybe in your specific case, sure. But /again/ there are plenty of
people who use Windows /for a reason/. Why would one change an entire
operation system just to have bash? It's not needed. On top of that, I
have installed Cygwin and used it for a while, and don't see why
installing Linux is easier. Especially if a majority of the other
programs I want to use don't run under Wine / don't have alternatives on
Linux (alternative as in a suitable alternative for /my/ needs).

-- 
John Bokma                                                               j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development



More information about the Python-list mailing list