A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-November/075306.html below:

[Python-Dev] Should we do away with unbound methods in Py3k?

[Python-Dev] Should we do away with unbound methods in Py3k? [Python-Dev] Should we do away with unbound methods in Py3k?Christian Heimes lists at cheimes.de
Fri Nov 23 08:12:28 CET 2007
Guido van Rossum wrote:
> It looks like we're in agreement to drop unbound methods and have a
> reasonable set or arguments around it (e.g. keep staticmethod, no
> changes to methods of builtin types, etc.). Do we need a PEP? It's
> essentially a 2-line change in funcobject.c (func_descr_get()) -- plus
> fixing up half a dozen or so unittests that specifically seem to test
> the behavior of unbound methods.

I'd like to help but after staring at the code for 10 minutes I still
don't get how the descriptor function should be altered. Can you please
give an example to a mer mortal? :)

Christian
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4