<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello list, <div class=""><div class=""><br class=""></div><div class="">TL;DR:</div><div class=""><br class=""></div><div class="">Who is relying on IPython.utils.Pycolorize.Parser, and other ColorAnsi functionality ?</div><div class="">I’m wondering if/how much deprecation time and backward compatibility is needed.</div><div class="">Are you using “Embed” in esoteric ways (like through pexpect/subprocess ?)</div><div class="">Please speak now.</div><div class=""><br class=""></div><div class="">Longer version</div><div class=""><br class=""></div><div class="">Hi all, I’m working on refactoring all the ANSI code handling of IPython[1].</div><div class="">Some code in here is more than a decade old, and have a lot a redundant code, which often now</div><div class="">is available with a better API[2] in libraries like Pygments.</div><div class="">This part of the code also deals with prompt formatting Because yes you can put CWD,</div><div class="">and date in IPython prompt if you like, and in color, and it is relatively annoying to keep compatibility with old and new API </div><div class="">at the same time. </div><div class=""><br class=""></div><div class="">So are any of you heavy users of the API in these region of the code base ?</div><div class="">If so can you point me at your usage, so that I could make the migration to the new API</div><div class="">easier in your use case ?</div><div class=""><br class=""></div><div class="">Also if you are using IPython-embed through Expect or subprocess and alike, the new ASCII escape sequence</div><div class="">might break previously made assumptions, I want to make sure these are not broken either. </div><div class=""><br class=""></div><div class="">Thank you for reading me until the end, here is a gif[3][4] of the potential new IPython themes as a reward. </div><div class=""><br class=""></div><div class="">--</div><div class="">[1] <a href="https://github.com/ipython/ipython/pull/8966" class="">https://github.com/ipython/ipython/pull/8966</a></div><div class="">[2] well, mostly, the naming of ascii color is discutable.</div><div class="">[3] <a href="https://twitter.com/Mbussonn/status/663953838521520128?cn=cmV0d2VldA==&refsrc=email" class="">https://twitter.com/Mbussonn/status/663953838521520128?cn=cmV0d2VldA%3D%3D&refsrc=email</a></div><div class="">[4] It’s pronounced Jif not Gif: <a href="http://mashable.com/2014/07/16/how-to-say-gif/#FQuOGTRNREqp" class="">http://mashable.com/2014/07/16/how-to-say-gif/#FQuOGTRNREqp</a></div></div></body></html>