It Will Take Fedora More Releases To Switch Off Python 2 (phoronix.com)
An anonymous reader quotes Phoronix:
Finalizing Fedora's switch from Python 2 to Python 3 by default is still going to take several more Fedora release cycles and should be done by the 2020 date when Python 2 will be killed off upstream. While much of Fedora's Python code is now compatible with Py3, the /usr/bin/python still points to Python 2, various python-* packages still mean Python 2... The end game is to eventually get rid of Python 2 from Fedora but that is even further out.
Fedora is now gathering feedback on a Wiki page explaining the switch.
Fedora is now gathering feedback on a Wiki page explaining the switch.
Switching `python3` to `python` is just inane at this point. Get rid of `python` in general and explicitly call what you need, the problem will resolve itself over time, and there will not be a problem with python4 following in suit. Either that or go the java route (which is also a nightmare to manage).
--
tora
tora
Python developers themselves have stated in PEP 394 that /usr/bin/python should *not* be linked to python3. Instead scripts should just use #!env python3 explicitly in the shebang to requestion python 3.x Or python4, or python5, as those generations are some day released.
I think it's Arch linux that changed /usr/bin/python to point to python3, but this is not recommended by any Python developer and horribly breaks things unnecessarily and is incompatible with all other distros. Besides if /usr/bin/python pointed to python3, and if python4 comes along, we'd have to go through all this rubbish again. Explicit in this case is better than implicit.
And not python. It broke compatibility and there are a ton of projects that have little use for the new major version.
Why didn't they just give Python 3 a different name entirely?
"His name was James Damore."
The best thing was to fuck over everyone else and piggyback on the name of an existing incompatible project?
Why not just eliminate Python completely and free us all from it's terrible reign? ;)
Anons need not reply. Questions end with a question mark.
I think you mean "this is almost as bad as the disaster know as Perl"
Lots of crusty legacy and fanatical users mixed with users with a if it aint broke don't fix it attitude.
It will be around for a long time.
Maybe including both?
http://saveie6.com/
If you're an MBA at an auto manufacturer, you probably want people to trade in their cars after a year or two, rather than keeping them for 9 or 10 years. If you're an MBA at Apple, you want people to throw away their $1,000plus iToy every year or two, rather than keeping it for several years. Same thing here. Language writers love writing new languages, but can't be bothered with maintenance and fixing bugs.
I'm not repeating myself
I'm an X window user; I'm an ex-Windows user
I believe if you recall correctly, they weren't completely incompatible.
1) Mac OS 8.x and later began forcing developer to the Carbon API... which was certainly better than doing things like waiting or hardware timers and injecting values into kernel space to change window titles.
2) Mac OS X shipped with the Carbon API which means that if a developer put most of his/her effort into porting their apps to Carbon, it should have just been a recompile.
3) Mac OS X shipped with Classic mode compatibility which had about a 98% success rate in running earlier Mac software... from OS 9 and Apple even maintained and updated OS 9 for a few versions to support newer Carbon APIs for the hold outs.
4) Every time Apple sneezed all software had to be recompiled for Mac. I'm not sure if you remember, but Adobe made their fortune selling upgrades with every version of Mac OS because going from Mac OS 5.0.1 to Mac OS 5.1 would move memory locations and all software would need to be updated and Adobe charged for that.
BTW I was coding on Mac OS X back when it was called Yellow Box and shipped with the Mac Classic desktop. For nearly a year, I worked on an operating system which in every possible way was in fact Mac OS 10. The only thing that made Mac OS X less of a Mac OS was that it actually did work with earlier software most of the time.
Aren't you overheating yourself just a little here?
You wrote code in the language Python 2. It will still run with Python 2. Without rewrite. Forever (as long as a distro supports it or you can compile it yourself).
However, it will not evolve, and probably cease getting updates in itself and 3rd party libraries.
If, however, you want to use an evolving language for your next project, you may want to consider the language Python 3. Or any other language, which will probably have a steeper learning curve if Python 2 is your main proficiency.
If you don't like it, don't use it.
If you get paid to use it, be happy.
Why didn't Apple give Mac OS X (AKA NeXTSTEP, AKA macOS) a different name that wouldn't be confused with Mac OS (AKA System, AKA System Softwware), given that they're completely different and basically incompatible operating systems?
I don't know about you, but I was able to run all of the MacOS 9 applications that I tried on Mac OS X. I started playing Diablo II again recently: Blizzard only released a native OS X installer a few years ago, prior to that the installer on the disk was a classic binary and needed to run in the emulator (which only worked on PowerPC, making it impossible to install on modern Macs).
I am TheRaven on Soylent News
...either way, the new language was going to be a direct competitor to the old language, so yes it was the "best" thing.
"His name was James Damore."
Are you saying Indiana Jones, Johnny Depp and Perry the Platypus aren't men?
-- Make America hate again!
Python has long had the problem of trying to provide the 'right' answer and anytime they decided they at one point had the 'wrong' answer, they change minds and break compatibility, for the sake of the newcomers to the current language.
On the one hand, it means python doesn't have to contend with problems other languages have of needing to support old syntaxes and mechanisms that are pretty ugly (Javascript has accumulated tons of different ways of supporting object oriented design).
On the other mind, it is frustrating as hell to provide python software to third parties to use with their interpreter of choice. Even when you go through all sorts of hell to make sure it works on python 2.6, 2,7, 3.3, 3.4, 3.5, and 3.6, some python zealot will still bitch about 'oh, you shouldn't be supporting 2 at all, especially not 2.6', not caring that you have tons of users still using 2.6 that you'd rather not tell to fuck off.
XML is like violence. If it doesn't solve the problem, use more.
In other words, python 2 got stable after the developers got bored of it and stopped fucking around with it.
It's interesting because python isn't too shabby in terms of nice looking syntax, but the developers are so damn fickle and screw with things within a release because they lack the patience/discipline to tolerate something 'ugly' for the sake of compatibility...
XML is like violence. If it doesn't solve the problem, use more.
Google's little recruitment test is still explicitly python 2.
XML is like violence. If it doesn't solve the problem, use more.
sizeof(int);
The base types in C are implementation/platform defined. That is considered a feature as it allows decisions to be made that make the most sense for the platform. In general this means the int type is going to be the fastest type.
In modern C practices though there are the u_intXX_t types that allow you to select a specific size integer, should you need that.
The real flaw with C is the whole preprocessor mess. If you were going to attack C about something, that is what you aim at.
The third problem is RPM. It's an antiquated package format. They should use APT instead. Then DNF can be discarded in favor of the APT tools. Problem solved.
Pretty sure you're trolling, but I do take issue with this. RPM is perfectly fine, especially compared to raw .dkpg (spec files are comprehensible, and the ability to have a %verifyscript alone is a major, major win)). In regards to apt, even yum (with its plugin ecosystem) had a number of benefits over apt-get and cousins. I'm no fan of DNF and still consider it to be a classic case of someone's pet project and pet API winning out solely because the conservatives yelling "stop" were looking away for a moment, but this is in line with all the other bone-headed things Fedora was doing around that time... :/
Hire a Linux system administrator, systems engineer,