Skip to content

Update PEP 3135 (super()) #46565

Closed
Closed

Description

@gvanrossum
BPO 2312
Nosy @gvanrossum, @birkenfeld
Files
  • pep3135: the new PEP
  • pep-3135.diff: diff for the PEP
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gvanrossum'
    closed_at = <Date 2009-03-11.19:15:44.071>
    created_at = <Date 2008-03-16.21:38:56.765>
    labels = ['docs']
    title = 'Update PEP 3135 (super())'
    updated_at = <Date 2009-03-11.19:15:44.070>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2009-03-11.19:15:44.070>
    actor = 'gvanrossum'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2009-03-11.19:15:44.071>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2008-03-16.21:38:56.765>
    creator = 'gvanrossum'
    dependencies = []
    files = ['13303', '13305']
    hgrepos = []
    issue_num = 2312
    keywords = ['patch']
    message_count = 6.0
    messages = ['63600', '83462', '83474', '83475', '83476', '83477']
    nosy_count = 3.0
    nosy_names = ['gvanrossum', 'georg.brandl', 'lieryan']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue2312'
    versions = ['Python 3.0']

    Activity

    1. gvanrossum commented on Mar 16, 2008

      @gvanrossum
      MemberAuthor

      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.

    2. added
      docs
      on Mar 16, 2008
    3. lieryan commented on Mar 11, 2009

      lieryanmannequin
      Mannequin

      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__

    4. gvanrossum commented on Mar 11, 2009

      @gvanrossum
      MemberAuthor

      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?

    5. lieryan commented on Mar 11, 2009

      lieryanmannequin
      Mannequin

      Here is the unified diff.

    6. gvanrossum commented on Mar 11, 2009

      @gvanrossum
      MemberAuthor

      Thanks! Reviewing now...

    7. gvanrossum commented on Mar 11, 2009

      @gvanrossum
      MemberAuthor

      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.)

    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    docs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions