help "too active" misfeature

Emile van Sebille emile at fenx.com
Sat Sep 1 10:36:34 EDT 2001


Probably, if it's not already in there.

--

Emile van Sebille
emile at fenx.com

---------
"Roman Suzi" <rnd at onego.ru> wrote in message
news:mailman.999351482.10422.python-list at python.org...
> On Sat, 1 Sep 2001, Emile van Sebille wrote:
>
> >Note that this still occurs in current cvs, and that since 2.1 there is
no
> >need to import help and when you don't things work right.  Otherwise,
> >setting the __repr__ and __str__ functions in class Helper of pydoc.py
to:
> >
> >    def __str__(self):
> >        if inspect.stack()[1][3] == '?':
> >            self()
> >            return ''
> >        return '<pydoc.Helper instance>'
> >
> >    def __repr__(self):
> >        return '<pydoc.Helper instance>'
> >
> >also appears to fix the proble.
>
> Well. But is it bug or feature? Do I need to post bug report on sf?
>
> Sincerely yours, Roman Suzi
> --
> _/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
> _/ Saturday, September 01, 2001 _/ Powered by Linux RedHat 6.2 _/
> _/ "Brain: The apparatus with which we think that we think." _/
>
>




More information about the Python-list mailing list