[Patches] [ python-Patches-494098 ] trivial typo in Lib/site.py
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 17 Dec 2001 07:40:49 -0800
Patches item #494098, was opened at 2001-12-16 23:23
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=494098&group_id=5470
Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 3
Submitted By: Skip Montanaro (montanaro)
Assigned to: Barry Warsaw (bwarsaw)
Summary: trivial typo in Lib/site.py
Initial Comment:
Line 17 of Lib/site.py begins with
\(and sys.exec_prefix,
I
believe the \ is superfluous. (If CVS wasn't at
RC1 I would just
have checked in the change...)
Skip
----------------------------------------------------------------------
>Comment By: Barry Warsaw (bwarsaw)
Date: 2001-12-17 07:40
Message:
Logged In: YES
user_id=12800
Yes, it was there to workaround an annoying XEmacs bug.
I've tried some simple edits with XEmacs 21.4.5 (downloading
and compiling 21.4.6 now...) and I can't trigger any broken
fontlocking, so perhaps this has been fixed (wishful thinking?).
I'll get rid of the backslash and close this bug report. If
the problem resurfaces, I'll push on the XEmacs crowd to fix
their editor. Note that I haven't tested FSF Emacs at all.
It's stupid for us to have to continue to worm around editor
bugs. :(
Fixed in site.py 1.38
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-17 06:02
Message:
Logged In: YES
user_id=6380
Good thing you assigned it to Barry -- I believe it's there
to avoid an Emacs issue; a line in a docstring should never
begin with '('.
But since \( isn't a Python escape, if you print the doc
string, it will contain the \(. Also, there are a few bits
of latex in the doc string... Strange.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=494098&group_id=5470