[issue2312] Update PEP 3135 (super())

2009-03-11 Thread Lie Ryan

Lie Ryan lie.1...@gmail.com added the comment:

The possible new PEP 3135, however I'm not that familiar with the
implementation of the new super, thus please review whether it is right
w.r.t. reality. I'm writing only from whatever I can determine from
observing the behavior of super in python 3.0.1

Probably not related, but while playing with super, I noticed several
things, I'm not sure about whether this is bug or design decision:
- super() in normal function is SystemError, instead of SyntaxError or a
more descriptive error

btw, is __class__ related to __this_class__ alt implementation? I
assume yes, so I removed the alt implementation for __this_class__

--
nosy: +lieryan
Added file: http://bugs.python.org/file13303/pep3135

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2312] Update PEP 3135 (super())

2009-03-11 Thread Guido van Rossum

Guido van Rossum gu...@python.org added the comment:

Thanks for contributing. However since you reformatted the whole file
it's kind of hard to see what you changed, which makes review laborious.
Could you try to upload a unified diff relative to the PEP source code
in Subversion?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2312] Update PEP 3135 (super())

2009-03-11 Thread Lie Ryan

Lie Ryan lie.1...@gmail.com added the comment:

Here is the unified diff.

--
keywords: +patch
Added file: http://bugs.python.org/file13305/pep-3135.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2312] Update PEP 3135 (super())

2009-03-11 Thread Guido van Rossum

Guido van Rossum gu...@python.org added the comment:

Thanks! Reviewing now...

--
assignee: georg.brandl - gvanrossum

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2312] Update PEP 3135 (super())

2009-03-11 Thread Guido van Rossum

Guido van Rossum gu...@python.org added the comment:

Submitted as revision 70312, with some additional changes.  I suppose it
could use some more work (e.g. adding the penultimate proposal to the
History section) but I'll leave that to others.  (Lie, if you feel like
writing that history section, just add it to this bug.)

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2312] Update PEP 3135 (super())

2008-03-16 Thread Guido van Rossum

New submission from Guido van Rossum [EMAIL PROTECTED]:

The super() PEP currently is completely wrong w.r.t. reality.  The
implementation is solid and won't change.  The PEP just needs to be
rewritten to match reality.

--
assignee: georg.brandl
components: Documentation
messages: 63600
nosy: georg.brandl, gvanrossum
severity: normal
status: open
title: Update PEP 3135 (super())
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2312
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com