On Sat, Jan 29, 2022 at 3:16 AM Jure Šorn <sornj...@gmail.com> wrote:

> frozenset.from_args(1, 2, 3)


This wouldn’t solve the problem at hand, as ‘frozenset’ could be rebound.

And what advantage does this have over the existing constructors?

-CHB


> iter.from_args(1, 2, 3)
> array.array.from_args('i', 1, 2, 3)
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/3KWWCC3Z5HJJJPKNRL7CITSTHSTHYWQB/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3JWOJW5BRHJVK5VR5CZ2RY4F6JAWDFII/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to