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/2003-April/034715.html below:

[Python-Dev] Wrappers and keywords

[Python-Dev] Wrappers and keywords [Python-Dev] Wrappers and keywordsDavid LeBlanc whisper@oz.net
Thu, 17 Apr 2003 12:51:08 -0700
(You'll excuse me I hope if this is deemed inappropriate. I'm posting this
here rather than in the general list since it's about the language and not
it's application.)

I am curious to know why the, what seems to me kludgy, "def x(): pass  x =
(static|class)method(x)" syntax was chosen over a simple "staticdef x
():..." or "classdef x ():..." def specialization syntax? Either method adds
keywords to the language, but a direct declaration seems clearer and less
error prone to me compared to the "call->assignment magically makes a
wrapper" method. Is it hard to do the needed special wrapping directly?

Regards,

David LeBlanc
Seattle, WA USA




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