[Python-Dev] Adding syntax for units of measure

Terry Reedy tjreedy at udel.edu
Tue Jun 23 09:00:26 CEST 2009


Tobias C. Rittweiler wrote:

> Has anyone added special syntax to allow writing numeric literals with
> physical units? So you can write 12m + 34cm, and would get 12.34m.

Python-dev is for concrete discussion of development of the next 
versions. Questions and speculative discussion should generally be 
directed to python-list and concrete proposals to python-ideas.

There have been posts on this subject on python-list and you can search 
the archive. That list is mirrored as newsgroup 
gmane.comp.python.general at news.gmane.org, which I believe has its own 
searchable archive.

tjr



More information about the Python-Dev mailing list