[Patches] [ python-Patches-541924 ] this.py too verbose

noreply@sourceforge.net noreply@sourceforge.net
Wed, 10 Apr 2002 11:11:15 -0700


Patches item #541924, was opened at 2002-04-10 11:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=541924&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Duncan Booth (duncanb)
Assigned to: Nobody/Anonymous (nobody)
Summary: this.py too verbose

Initial Comment:
The 'Easter Egg' file this.py might be regarded as 
something of an advert for Python, but its 
implementation is excessively verbose as it rolls its 
own rot13 decoding code when Python already has 
perfectly usable rot13 coding built in.

The attached context diff replaces the 5 lines 
currently used to decode the Zen string with a single 
line:
  print s.decode('rot13')


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-04-10 20:11

Message:
Logged In: YES 
user_id=21627

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=541924&group_id=5470