[Python-checkins] peps: Address Barry's comments

antoine.pitrou python-checkins at python.org
Sat Nov 19 00:49:44 CET 2011


http://hg.python.org/peps/rev/63e69dec9ef1
changeset: 3996:63e69dec9ef1
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Nov 19 00:43:54 2011 +0100
summary:
 Address Barry's comments
files:
 pep-3155.txt | 18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/pep-3155.txt b/pep-3155.txt
--- a/pep-3155.txt
+++ b/pep-3155.txt
@@ -112,6 +112,24 @@
 statically and it will not automatically follow rebinding.
 
 
+Discussion
+==========
+
+Excluding the module name
+-------------------------
+
+As ``__name__``, ``__qualname__`` doesn't include the module name. This
+makes it independent of module aliasing and rebinding, and also allows to
+compute it at compile time.
+
+Reviving unbound methods
+------------------------
+
+Reviving unbound methods would only solve a fraction of the problems this
+PEP solves, at a higher price (an additional object type and an additional
+indirection, rather than an additional attribute).
+
+
 Naming choice
 =============
 
-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /