Skip to content

PyExc_BufferError is declared but nowhere defined #47545

Closed

Description

@pitrou
BPO 3295
Nosy @pitrou, @benjaminp
Files
  • buffererror.patch
  • 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 = None
    closed_at = <Date 2008-07-05.23:38:43.456>
    created_at = <Date 2008-07-05.22:29:38.681>
    labels = ['interpreter-core', 'type-crash']
    title = 'PyExc_BufferError is declared but nowhere defined'
    updated_at = <Date 2008-07-30.23:50:35.834>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2008-07-30.23:50:35.834>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-07-05.23:38:43.456>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2008-07-05.22:29:38.681>
    creator = 'pitrou'
    dependencies = []
    files = ['10821']
    hgrepos = []
    issue_num = 3295
    keywords = ['patch']
    message_count = 6.0
    messages = ['69306', '69308', '69312', '70436', '70445', '70446']
    nosy_count = 3.0
    nosy_names = ['teoliphant', 'pitrou', 'benjamin.peterson']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue3295'
    versions = ['Python 2.6', 'Python 3.0']

    Activity

    1. pitrou commented on Jul 5, 2008

      @pitrou
      MemberAuthor

      Astonishingly, PyExc_BufferError is defined in pyerrors.h but it is
      defined nowhere. Consequently, any piece of code raising a
      PyExc_BufferError will cause the interpreter to crash as soon as it
      tries to do something with the exception...

    2. added
      interpreter-core
      type-crash
      on Jul 5, 2008
    3. pitrou commented on Jul 5, 2008

      @pitrou
      MemberAuthor

      The following patch fixes it.

    4. benjaminp commented on Jul 5, 2008

      @benjaminp
      Contributor

      Done in r64751.

    5. benjaminp commented on Jul 30, 2008

      @benjaminp
      Contributor

      ... and backported to the trunk in r65310.

    6. pitrou commented on Jul 30, 2008

      @pitrou
      MemberAuthor

      About r65312, BufferError inherits from StandardError, not directly from
      Exception :)

    7. benjaminp commented on Jul 30, 2008

      @benjaminp
      Contributor

      On Wed, Jul 30, 2008 at 6:46 PM, Antoine Pitrou <report@bugs.python.org> wrote:

      Antoine Pitrou <pitrou@free.fr> added the comment:

      About r65312, BufferError inherits from StandardError, not directly from
      Exception :)

      [ Benjamin slaps his head not for the first time today... ]

    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

    No one assigned

      Labels

      interpreter-coretype-crash

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions