Ryan Freckleton <ryan.freckle...@gmail.com> added the comment:

An elaborate PEP for generic functions already exists, PEP 3124 [
http://www.python.org/dev/peps/pep-3124/]. Also note the reasons for
deferment. I'd be interested in creating a "more limited" generic function
implementation based on this PEP, minus func_code rewriting and the other
fancier items. Sadly I won't have any bandwidth to work on it until January
of next year.

I'd vote for keeping this issue open because of that.

On Thu, Jul 22, 2010 at 5:45 AM, Antoine Pitrou <rep...@bugs.python.org>wrote:

>
> Antoine Pitrou <pit...@free.fr> added the comment:
>
> Generic functions are a lesser-known paradigm than OO, and nowhere do
> common Python documents (including the official docs) try to teach them.
> That means the first public appearance of generic functions in the stdlib
> should really be well thought out if we don't want to encourage poor
> practices. I agree with Guido that a PEP is required to flesh out all the
> details.
>
> ----------
> nosy: +pitrou
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue5135>
> _______________________________________
>

----------
Added file: http://bugs.python.org/file18131/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5135>
_______________________________________
An elaborate PEP for generic functions already exists, PEP 3124 [<a 
href="http://www.python.org/dev/peps/pep-3124/";>http://www.python.org/dev/peps/pep-3124/</a>].
 Also note the reasons for deferment. I&#39;d be interested in creating a 
&quot;more limited&quot; generic function implementation based on this PEP, 
minus func_code rewriting and the other fancier items. Sadly I won&#39;t have 
any bandwidth to work on it until January of next year.<br>
<br>I&#39;d vote for keeping this issue open because of that.<br>
<br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 5:45 AM, Antoine 
Pitrou <span dir="ltr">&lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;</span> 
wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; 
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Antoine Pitrou &lt;<a href="mailto:pit...@free.fr";>pit...@free.fr</a>&gt; added 
the comment:<br>
<br>
Generic functions are a lesser-known paradigm than OO, and nowhere do common 
Python documents (including the official docs) try to teach them. That means 
the first public appearance of generic functions in the stdlib should really be 
well thought out if we don&#39;t want to encourage poor practices. I agree with 
Guido that a PEP is required to flesh out all the details.<br>

<br>
----------<br>
nosy: +pitrou<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker &lt;<a 
href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org</a>&gt;<br>
&lt;<a href="http://bugs.python.org/issue5135"; 
target="_blank">http://bugs.python.org/issue5135</a>&gt;<br>
_______________________________________<br>
</div></div></blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to