I rather like supporting short float representation. Given that CPython is adopting it, I&#39;m sure Jython will adopt this approach too as part of a future Jython 3.x release.<div><br></div><div>- Jim</div><br><div class="gmail_quote">
On Tue, Apr 7, 2009 at 9:41 AM, Michael Foord <span dir="ltr">&lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Mark Dickinson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[snip...]<div class="im"><br>
  Discussion points<br>
=================<br>
<br>
(1) Any objections to including this into py3k?  If there&#39;s<br>
controversy, then I guess we&#39;ll need a PEP.<br>
  <br>
</div></blockquote>
<br>
Big +1<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(2) Should other Python implementations (Jython,<br>
IronPython, etc.) be expected to use short float repr, or should<br>
it just be considered an implementation detail of CPython?<br>
I propose the latter, except that all implementations should<br>
be required to satisfy eval(repr(x)) == x for finite floats x.<br>
  <br>
</blockquote></div>
Short float repr should be an implementation detail, so long as eval(repr(x)) == x still holds.<br>
<br>
Michael Foord<br><font color="#888888">
<br>
-- <br>
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a><br>
<a href="http://www.voidspace.org.uk/blog" target="_blank">http://www.voidspace.org.uk/blog</a></font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/jbaker%40zyasoft.com" target="_blank">http://mail.python.org/mailman/options/python-dev/jbaker%40zyasoft.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jim Baker<br><a href="mailto:jbaker@zyasoft.com">jbaker@zyasoft.com</a><br>