[Python-checkins] r68055 - sandbox/trunk/pep0/pep0/pep.py
benjamin.peterson
python-checkins at python.org
Tue Dec 30 04:24:40 CET 2008
Author: benjamin.peterson
Date: Tue Dec 30 04:24:40 2008
New Revision: 68055
Log:
special case Guido
Modified:
sandbox/trunk/pep0/pep0/pep.py
Modified: sandbox/trunk/pep0/pep0/pep.py
==============================================================================
--- sandbox/trunk/pep0/pep0/pep.py (original)
+++ sandbox/trunk/pep0/pep0/pep.py Tue Dec 30 04:24:40 2008
@@ -59,7 +59,7 @@
last_name_fragment, suffix = self._last_name(name)
name_sep = name.index(last_name_fragment)
self.first = name[:name_sep].strip()
- self.last = last_name_fragment
+ self.last = last_name_fragment
self.suffix = suffix
if not self.first:
self.last_first = self.last
@@ -67,6 +67,9 @@
self.last_first = u', '.join([self.last, self.first])
if self.suffix:
self.last_first += u', ' + self.suffix
+ if self.first == "Guido":
+ # Special case for our beloved BDFL. :)
+ self.last = "GvR"
def __hash__(self):
return hash(self.first_last)
More information about the Python-checkins
mailing list