Re: [Python-Dev] Pydoc Improvements / Rewrite

2007-01-06 Thread Ron Adam
Laurent Gautier wrote: > 2007/1/6, Ron Adam <[EMAIL PROTECTED]>: >> Laurent Gautier wrote: > [...] > I read your comment about having not too many things changed for 2.6. > (or that will be bumped to 3000). > > A suggestion I would have would be to create an html/htmlrender module > in the pydoc

Re: [Python-Dev] features i'd like [Python 3000] ... #3: fix super()

2007-01-06 Thread Eduardo \"EdCrypt\" O. Padoan
> I was bitten by the urge to play with this today, and modified my > previous "self" hack to handle "super" also, so that the following > code works: > > class D (C): > @method > def sum(n): > return super.sum(n * 2) - self.base > > Posted as "evil2.py" here: >

Re: [Python-Dev] features i'd like [Python 3000] ... #3: fix super()

2007-01-06 Thread Robey Pointer
On 4 Dec 2006, at 3:13, Nick Coghlan wrote: > Ben Wing wrote: >> i don't like the current super() at all. having to type super(Foo, >> self).__init__(...) is messy, hard to remember, and error-prone. > > Yup. > >> it >> also introduces an unfortunate dependency in that the name of the >> clas

Re: [Python-Dev] Pydoc Improvements / Rewrite

2007-01-06 Thread Robert Kern
Phillip J. Eby wrote: > At 12:16 AM 1/6/2007 -0500, Barry Warsaw wrote: >> If you've already explained it, that's fine, but if not, could you >> outline what you have against epydoc? > > The last I tried to work with it, it had even more hardcoded typechecking > than pydoc does, spread out over m

Re: [Python-Dev] Pydoc Improvements / Rewrite

2007-01-06 Thread Phillip J. Eby
At 12:16 AM 1/6/2007 -0500, Barry Warsaw wrote: >If you've already explained it, that's fine, but if not, could you >outline what you have against epydoc? The last I tried to work with it, it had even more hardcoded typechecking than pydoc does, spread out over more of the code base. Also, over