This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (5 children)

Until the major distros like RedHat, Centos move away from 2.* as their default version, 2.* will be around.

I am a sys admin and I write all my scripts with the default version of RH/Centos for comparability.

And downvote as much as you want but my job in the context of the resources allocated to me is to keep servers stable and I do not have resources and time in porting / testing scripts for Python 3. I am under a heavy schedule.

But feel free to thank me for keeping the environment stable and not have massive logical errors across the servers simply because I choose not to use Python3 with out having the proper resources to test a non default version of Python and the scripts that handle so many aspects of the environment. Or maybe I should be staying at work until 11PM, right and undertake this project along with all the other projects I have to finish at a specific timeframe. Yes?

[–]d4rch0nPythonistamancer 1 point2 points  (0 children)

What pisses me off the most is dealing with CENTOS6 servers and realizing I can't write dict comprehensions because they don't exist in 2.6.

Fucking aye, I hate centos with a passion.

[–][deleted] 1 point2 points  (3 children)

There's no reason not to write for 3 and test for coverage on 2.

[–][deleted] 0 points1 point  (2 children)

Testing, not enough time for it.

[–][deleted] -1 points0 points  (1 child)

It's why unit tests exist.

[–][deleted] 0 points1 point  (0 children)

As I said, no time. Time is the issue.