On 29/08/2019 22:10:21, Andrew Barnert via Python-ideas wrote:

As I’ve said before, I believe that anything that doesn’t have a builtin type 
does not deserve builtin syntax. And I don’t understand why that isn’t a 
near-ubiquitous viewpoint.
+1 (maybe that means I'm missing something).
Just curious:  Is there any reason not to make decimal.Decimal a built-in type?  It's tried and tested.  There are situations where floats are appropriate, and others where Decimals are appropriate (I'm currently using it myself); conceptually I see them as on an equal footing.  If it were built-in, there would be good reason to accept 1.23d meaning a Decimal literal (distinct from a float literal), whether or not (any part of) the OP was adopted.
Rob Cliffe
  But it’s not just you; at least three people (all of whom dislike the whole 
concept of custom affixes) seem at least in principle open to the idea of 
adding builtin affixes for types that don’t exist. Which makes me think it’s 
almost certainly not that you’re all crazy, but that I’m missing something 
important. Can you explain it to me?
_______________________________________________
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/GZF2UHWTJNNREOMUEB3HB5BISNHYXFZH/
Code of Conduct: http://python.org/psf/codeofconduct/


---
This email has been checked for viruses by AVG.
https://www.avg.com
_______________________________________________
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/HZTLBTRRK3YMN5S4E3IM77AY4G3LELIP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to