<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1348.17">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 13.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 13.0px Helvetica; min-height: 16.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 12.0px; font: 13.0px Helvetica; color: #011892}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica; color: #000000; min-height: 16.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica; color: #000000}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 16.0px; font: 13.0px Helvetica; min-height: 16.0px}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 16.0px; font: 13.0px Helvetica}
</style>
</head>
<body>
<p class="p1">On 2015-09-22 03:59:07 +0000, Andrew Barnert via Python-ideas said:</p>
<p class="p2"><br></p>
<p class="p3">I'm not saying they have a right to expect/demand that Guido never change his mind about anything anywhere ever, just that maybe they get a little extra consideration on backward compatibility with their use of ? than with their use of ! or % (which have been in use as operators or parts of operators for decades).</p>
<p class="p4"><br></p>
<p class="p5">I just wanted to quickly comment on what my original stance was regarding IPython's extensions to the base Python language.<span class="Apple-converted-space">  </span>This was where I stood as I made decisions when the project was basically just me, and over time we've mostly adopted this as project policy.</p>
<p class="p6"><br></p>
<p class="p7">We fully acknowledge that IPython has to be a strict superset of the Python language, and we are<span class="Apple-converted-space">  </span>most emphatically *not* a fork of the lanugage intended to be incompatible. We've added some extensions by hijacking a few characters that are invalid in the base language for thigns we deemed to be useful while working interactively, but we always accept that, if the language moves in our direction, it's our job to pack up and move again to a new location.</p>
<p class="p6"><br></p>
<p class="p7">In fact, that already happened once: before Python 2.4, our prefix for "magic functions" was the @ character, and when that was introduced as the decorator prefix, we had to scramble.<span class="Apple-converted-space">  </span>We carefully decided to pick %, knowing that an existing binary operator would be unlikely to be added also as a new unary prefix.</p>
<p class="p6"><br></p>
<p class="p7">Now, accepting that as our reality doesn't mean that at least we don't want to *inform* you folks of what our uses are, so that at least you can consider them in your decision-making process.<span class="Apple-converted-space">  </span>Since in some cases, that means there's an established ~ 15 years of a community with a habit of using a particular syntax for something, that may be confused if things change.<span class="Apple-converted-space">  </span>So at least, we want to let you know.</p>
<p class="p6"><br></p>
<p class="p7">Due precisely to these recent conversations (I had a very similar thread a few days ago with Nick about the ! operator, which we also use in all kinds of nasty ways), we have started documenting more precisely all these differences, so the question "where exactly does IPython go beyond Python" can be answered in one place.<span class="Apple-converted-space">  </span>You can see the progress here:</p>
<p class="p6"><br></p>
<p class="p7"><a href="https://github.com/ipython/ipython/pull/8821">https://github.com/ipython/ipython/pull/8821</a></p>
<p class="p6"><br></p>
<p class="p7">We hope this will be merged soon into our docs, and it should help you folks have a quick reference for these questions.</p>
<p class="p6"><br></p>
<p class="p7">Finally, I want to emphasize that these things aren't really changing much anymore, this is all fairly stable.<span class="Apple-converted-space">  </span>All these choices have by now stabilized, we only introduced the @ -> % transition when python 2.4 forced us, and more recently we introduced the notion of having a double-%% marker for "cell magics", but that was ~ 4 years ago, and it didn't require a new character, only allowing it to be doubled. <span class="Apple-converted-space"> </span></p>
<p class="p6"><br></p>
<p class="p7">Best,</p>
<p class="p6"><br></p>
<p class="p7">f</p>
</body>
</html>