Stark · @Stark9837
485 followers · 2536 posts · Server techhub.social

I actually like , I've been meaning to use and implement generic classes more, especially when developing packages that are extendable.

peps.python.org/pep-0695/

@Python

#pep695 #opensource #python

Last updated 2 years ago

· @multimeric
311 followers · 263 posts · Server genomic.social

Woo, PEP 695: Type Parameter Syntax has been accepted for Python 3.12! Soon you will be able to define generic functions and classes without using TypeVar ugliness.

More info: discuss.python.org/t/pep-695-t

#python #pep695

Last updated 2 years ago

Rick Wong – Tech & code  · @ryguw
147 followers · 115 posts · Server fosstodon.org

needs a simpler generics syntax. The proposal PEP 695 is already here: peps.python.org/pep-0695/ Hope it advances to the next stage this year. In the mean time, is there a transpiler like or another way to use proposed syntax for hobby projects?

#python #babel #pep695 #generics

Last updated 3 years ago