Pattern matching is sooo awesome! I am really excited about this!
You made me genuinely happy! Thanks for it!

The most awesome part for me is
https://www.python.org/dev/peps/pep-0622/#static-checkers-specification

I will totally add a support for this in dry-python/returns.

match container:
  case Success(inner):
      return inner
  case Failure(inner):
      return 'some_default'

That's what I wanted for so long!

ср, 24 июн. 2020 г. в 16:00, Jakub Stasiak <jakub@stasiak.at>:


> On 24 Jun 2020, at 14:51, Alfonso L. Castaño <alfonsoluis.castanom@um.es> wrote:
>
> I have just seen it published, looks great, thanks to all the authors!
> https://www.python.org/dev/peps/pep-0622/
> _______________________________________________
> Typing-sig mailing list -- typing-sig@python.org
> To unsubscribe send an email to typing-sig-leave@python.org
> https://mail.python.org/mailman3/lists/typing-sig.python.org/
> Member address: jakub@stasiak.at

Thanks for this, it seems immediately relevant to my interests, I’d have likely not known about it for a good while if not for your email. Subscribbed to python-dev immediately. :)

Best,
Jakub
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/
Member address: n.a.sobolev@gmail.com