[Python-bugs-list] [ python-Bugs-672614 ] python -S still displays 'Type "help", "cop...'
SourceForge.net
noreply@sourceforge.net
Mon, 26 May 2003 17:07:01 -0700
Bugs item #672614, was opened at 2003-01-22 13:26
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=672614&group_id=5470
Category: Extension Modules
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 1
Submitted By: Douglas Napoleone (derivin)
>Assigned to: Martin v. Löwis (loewis)
Summary: python -S still displays 'Type "help", "cop...'
Initial Comment:
$ python -S
Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> help
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'help' is not defined
site.py sets up the builtins for help, credits, etc.
where this is printed in Py_Main() it is already known
wether or not site.py was going to be imported or not.
I know its a real nit-pick, but it has bugged me for some
time.
should be set to a LOW priority.
(and yes, the bug is still there in 2.3a1)
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-26 20:07
Message:
Logged In: YES
user_id=33168
This was checked in by Martin on 2003/03/30 17:00:39.
site.py 1.76 and 1.61.6.3
----------------------------------------------------------------------
Comment By: Michael Stone (mbrierst)
Date: 2003-02-28 14:52
Message:
Logged In: YES
user_id=670441
Douglas, I went ahead and made your patch into a diff -c at
patch number 695250, since it seemed like you
weren't going to get to as quickly as you thought.
I would have attached it here, but of course in sourceforge
I cannot.
----------------------------------------------------------------------
Comment By: Douglas Napoleone (derivin)
Date: 2003-01-26 02:31
Message:
Logged In: YES
user_id=541557
um sure....
its just:
if(!Py_NoSiteFlag)
{
fprintf(stderr, "%s\n" COPYRIGHT);
}
I'll put up a dicc -c patch on monday after I test it...
seen to many patches that dont compile ^_^
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-01-25 20:08
Message:
Logged In: YES
user_id=21627
Would you like to work on a patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=672614&group_id=5470