On Thu, Jun 3, 2021 at 2:01 PM Chris Angelico <ros...@gmail.com> wrote:
> On Fri, Jun 4, 2021 at 6:44 AM Barry Warsaw <ba...@python.org> wrote: > > > > I think it makes sense, and I do see a difference between Provisional > and Unstable. Is this anything more than a documentation label? > > > > Would it be a pipe dream to hope that static checkers could be taught > to recognize them? Not a huge deal, but it would mean you could ask > something to analyze your code (I hesitate to call it a type checker, > since this is nothing to do with data types, but the same kind of > tool) and it'd tell you whether your code is (a) portable to all OSes, > (b) portable to all Pythons, and (c) stable across versions. > Yeah, this could easily be taken on by any of the many linters. > BTW, does "unstable" cover things like dis.dis(), which have existed > and will continue to exist for many versions, but their output can > change? In one sense, dis.dis() always does the exact same thing: it > shows you the disassembly of a piece of code. In another sense, its > output changes drastically when things change. > That's debatable. I sure hope people aren't ever parsing dis output. -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6YBZPGE7HLMV6DHOSQ4PKICADESPR7AM/ Code of Conduct: http://python.org/psf/codeofconduct/