FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implemented new 'class foo():pass' syntax · Issue #41802 · python/cpython · GitHub

Repository navigation

Implemented new 'class foo():pass' syntax #41802

Closed

Description

mannequin
BPO 1176019
Nosy @brettcannon, @nascheme
Files
  • new_class_syntax.diff: patch for new syntax
  • 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/nascheme'
    closed_at = <Date 2005-04-15.02:19:04.000>
    created_at = <Date 2005-04-03.21:47:09.000>
    labels = ['interpreter-core']
    title = "Implemented new 'class foo():pass' syntax"
    updated_at = <Date 2005-04-15.02:19:04.000>
    user = 'https://bugs.python.org/logistix'

    bugs.python.org fields:

    activity = <Date 2005-04-15.02:19:04.000>
    actor = 'nascheme'
    assignee = 'nascheme'
    closed = True
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2005-04-03.21:47:09.000>
    creator = 'logistix'
    dependencies = []
    files = ['6590']
    hgrepos = []
    issue_num = 1176019
    keywords = ['patch']
    message_count = 5.0
    messages = ['48145', '48146', '48147', '48148', '48149']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'nascheme', 'logistix']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1176019'
    versions = []

    Activity

    1. logistix commented on Apr 3, 2005

      logistixmannequin
      MannequinAuthor

      This patch implements the new 'class foo():pass' syntax
      for the ast branch. It also includes minor modifications
      required to run build graminit.c on windows machines.

    2. brettcannon commented on Apr 4, 2005

      Member

      Logged In: YES
      user_id=357491

      Do you know why graminit.c stopped working on Windows?
      Kurt's report on the merger didn't show any issues on
      Windows and so I wonder if the problem goes back to the main
      branch as well.

    3. logistix commented on Apr 4, 2005

      logistixmannequin
      MannequinAuthor

      Logged In: YES
      user_id=699438

      graminit.c is generated by pgen.exe. This process isn't fully
      automated on a windows build (like I'm guessing it is on
      linux). There is a provided makefile that works with visual
      studio's nmake for windows users. It just referenced an older
      version of the python lib file (2.3 instead of 2.5).

      I presume this hasn't caused problems in the past becuase
      people modifying grammar/grammar have been running some
      form of *nix.

      Now I'm starting to wonder if pgen generates any other files
      (i.e. header files) that I didn't include in the patch. I'll verify
      when I get home.

    4. logistix commented on Apr 4, 2005

      logistixmannequin
      MannequinAuthor

      Logged In: YES
      user_id=699438

      Just to confirm, pgen did generate a new graminit.h file, but
      there were no changes to it because we didn't add any new
      symbols. The patch I submitted is fine.

    5. nascheme commented on Apr 15, 2005

      Member

      Logged In: YES
      user_id=35752

      Looks good. Check into the AST branch. Thanks for the patch.

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

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL