Opened 14 years ago

Closed 13 years ago

#430 closed Defect (Fixed)

Use of PyErr_Fetch in JVPythonChatPlugin will lead to supurious "unknown errors"

Reported by: Mark Rowe <mark+colloquy@…> Owned by: timothy
Component: Colloquy (Mac) Version: Local Build
Severity: Minor Keywords: python
Cc:

Description

The documentation on PyErr_Fetch says:

The value and traceback object may be NULL even when the type object is not.

The logic in JVPythonChatPlugin which uses PyErr_Fetch will always report an unknown error if the retrieved value is NULL.

Change History (1)

comment:1 Changed 13 years ago by timothy

  • Resolution set to fixed
  • Status changed from new to closed

Fixes [3425].

Note: See TracTickets for help on using tickets.