<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 07/09/2016 23:41, Matt Gilson wrote:<br>
</div>
<blockquote
cite="mid:CAJCbRZbHKhfsgfNtpTDMDpOFTBFU5GY30g6u9_FCkU2K7=dhTA@mail.gmail.com"
type="cite">
<div dir="ltr">I lurk around here a lot more than I actually post</div>
</blockquote>
Very wise. I am a tournament Bridge player, and one of the things I
say to my partners is: "Bidding is very simple. When you have
something to say, say it (unless it really seems too dangerous).
When you have nothing to say, Pass".
<blockquote
cite="mid:CAJCbRZbHKhfsgfNtpTDMDpOFTBFU5GY30g6u9_FCkU2K7=dhTA@mail.gmail.com"
type="cite">
<div dir="ltr"> -- But in this case I find myself weighing in
firmly on the side of "please don't add this". It'd just add
noise in the documentation and __builtins__ namespace. There
are millions of useful functions that <i>could</i> be added to
the `list` object (or to the `__builtins__` namespace). It's
the job of the core dev team to decide which are the most useful
for everybody and this is one where (in my opinion) the
usefulness doesn't justify the additional clutter.
<div><br>
</div>
<div>It seems like the primary argument for this is that some
users would like to have this functionality baked into an
interactive session. If that's the case, then I'd like to
point out that if you find yourself wanting this in an
interactive session frequently <a moz-do-not-send="true"
href="https://docs.python.org/3/tutorial/appendix.html#the-interactive-startup-file">there
is an interactive startup file</a> that you can modify so
that this function will always be available to <i>you</i> whenever
you start up an interactive session (and you can put whatever
else in there that you like as well :-).</div>
<div><br>
</div>
<div>I hope that helps.</div>
</div>
</blockquote>
+1<br>
And incidentally, thank you for reminding me of this. I do actually
use <code class="descname">PYTHONSTARTUP</code> (mostly to
pre-import modules that I use frequently: sys, time, datetime, os,
etc. - YMMV). But your reminder may well prod me into finding new
uses.<br>
Rob Cliffe<br>
</body>
</html>