Chris Angelico wrote: [snip] > > You're assuming that everyone's definition of Scalar will be the same, > though. I haven't seen that proven. In many cases, the correct check > is "is iterable but is not str". In others, it's "is iterable but is > not (str,bytes)". Some will see an os.stat() result as atomic, some > won't. Some will see a tuple as atomic, some won't. Which ones should > be registered as Scalar? What exactly is the type's definition? > ChrisA
I do realize that one size can never fit all. I still think it's valuable to provide something that is will be the right fit for the vast majority of situations (as best we can assess what those are likely to be). _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/WNO77ZZJCLH7H2T7H6JNMNCMNPJSDC2M/ Code of Conduct: http://python.org/psf/codeofconduct/
