<br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 9:06 AM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>From a first quick read, I would be -1 on whitelisting types.</div><div>The strength of nbformat is that it embeds **all** the data type that are available afterward with nbconvert for example.</div>

<div>A frontend does not need to know how to show a format to store it in the file.</div></div></blockquote><div><br></div><div>You have misunderstood.  The principal use case for this is in-process IPython,</div><div>where output is not saved, and there is zero uncertainty about unsupported display formats.</div>

<div>The notebook is not relevant here, and this makes no changes at all to the behavior in the notebook.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Matthias</div><div><br></div><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888"><div>

Le 25 févr. 2013 à 08:01, MinRK a écrit :</div><br></font></span><blockquote type="cite"><div class="im">I've added IPEP 10: <div><br></div><div><a href="https://github.com/ipython/ipython/wiki/IPEP-10%3A-kernel-side-filtering-of-display-formats" target="_blank">https://github.com/ipython/ipython/wiki/IPEP-10%3A-kernel-side-filtering-of-display-formats</a></div>



<div><br></div><div>to address the issue of some library code wanting to check whether it is running in a Kernel for display-capability reasons.</div><div><br></div></div><div class="im">
_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br><a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>

</div></blockquote></div><br></div><br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br>