[Python-ideas] real numbers with SI scale factors

Steven D'Aprano steve at pearwood.info
Mon Aug 29 09:20:24 EDT 2016


On Mon, Aug 29, 2016 at 02:35:26PM +0200, Stephan Houben wrote:
> Note that the Sage computer algebra system uses Python with some syntactic
> changes implemented by a "pre-parser".
> 
> The current proposal could be implemented in a similar way and then
> integrated in, say, Ipython.
> 
> If it would prove to be wildly popular, then it would make a stronger case
> for incorporation in the core.

Indeed. My own personal feeling is that eventually unit tracking and 
dimensional checking will be considered as mainstream as garbage 
collection and type checking. But I don't think Python should try to 
blaze this trail, especially not with the current proposal.

In the meantime, if Ken is right about this being of interest to 
scientists, Sage and IPython would be the most likely places to 
start.



-- 
Steve


More information about the Python-ideas mailing list