Earlier quoted context omitted.
That tool is not a permanent addition to the list of dependencies, but for a single migration effort. As such, it is unnecessary to include it in the standard library.
It should still be hosted somewhere that won't disappear tomorrow if GH goes bust or starts packing malware.
Python 3.12.0 is to remove long-deprecated items
241–250 of 257 posts
Re: Python 3.12.0 is to remove long-deprecated items
#242Earlier quoted context omitted.
Several groups of people offered to maintain python 2. They were told very clearly they could not do so "officially", and we're even threatened with lawyers if their thing looked like it could be mistaken for "Python 2".
Here's an actively maintained version of Python 2: https://www.activestate.com/products/python/python-2-7/ As you can see, it is still offered, and the PSF doesn't have a problem with that. The problem with those other groups is that they didn't want to maintain Python 2. They wanted to take it and develop it, evolving the language separately from Python 3 - while also calling the result "Python 2.8" (and presumably…
It would be nice if this was linked from python.org as well.
Re: Python 3.12.0 is to remove long-deprecated items
#243Earlier quoted context omitted.
Do you have pointers to that? The one I saw was called “python 2.8” which is definitely a point of confusion for people who might think it was supported.
Look up Tauthon , believe that was the name.
Re: Python 3.12.0 is to remove long-deprecated items
#244Earlier quoted context omitted.
> If you had a set of single simple python functions maybe they wouldn't have broke as much if at all? Like (python 2): print "hello world!" ? ( https://docs.python.org/2/tutorial/introduction.html )
Python 3 came out 14 years ago, and changing the syntax of one function wasn’t even a big deal then. Literally a 10 minute code search to fix a project. It might be time to move on…
Our codebase is was (and is) old, but the forced change came recently, when ubuntu decided to remove python 2 support (ubuntu 20.04?). And when ubuntu decides that they want python >=3.12 as the only version installed, this means another change and more work to fix stuff that worked just fine.
Re: Python 3.12.0 is to remove long-deprecated items
#245wait, since when python.org has a discuss subdomain? And it's running Discourse which is built on RoR? What the...
Re: Python 3.12.0 is to remove long-deprecated items
#246Re: Python 3.12.0 is to remove long-deprecated items
#247Re: Python 3.12.0 is to remove long-deprecated items
#248I thought having smtpd was useful but I guess people must be using better maintained alternatives. Anyone care to comment on what they are using for receiving emails in Python? Update: smtplib is still on, so that makes sense.
> Anyone care to comment on what they are using for receiving emails in Python? In most cases, you use an existing MTA (like Postfix or whatnot) and set it up to deliver mail to a Python script. Or, even less directly, you use an IMAP library to access mail after it's delivered to a mailbox, or use a mail provider which can call a webhook over HTTP when an email is received. For the rare situations where you do reall…
Re: Python 3.12.0 is to remove long-deprecated items
#249Earlier quoted context omitted.
Okay, then practically you can't pin versions and have it work forever.
You can. Package everything you need with the environment and you’re done. Now whether future versions of whatever container you choose to run it in will support establishing the environment is a separate detail. There is no answer. You can go all the way to reserving an entire computer to run mission critical code but you don’t know if it is future proof in terms of electrical specifications. That’s the point of civ…
See, that's a beautiful example, just not in the direction that I think you intend it. I can, in fact, take an appliance that's a few decades old and plug it into a modern outlet and it'll work just fine. I do not, in fact, have to preserve an entire electrical grid just to run my application^w appliance, because the underlying infrastructure maintains compatibility.
Re: Python 3.12.0 is to remove long-deprecated items
#250Earlier quoted context omitted.
Obsolete means no longer in use or useful. It's been argued in this thread that it's both in use and useful. But yes, there are more secure protocols that overlap with most of what telnet can be used for.
Obsolete doesn’t mean something has no possibility of being useful but rather that it’s no longer commonly used because there are better alternatives. My son’s beloved steam locomotives still run but nobody uses them for normal commercial service because they became obsolete shortly after the invention of diesel and electric. > (of words, equipment, etc.) No longer in use; gone into disuse; disused or neglected (ofte…