Improve Python compatibility with xpcom/idl-parser/xpidl.py

RESOLVED WORKSFORME

Status

()

--
trivial
RESOLVED WORKSFORME
9 years ago
7 years ago

People

(Reporter: djeter, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090723 SeaMonkey/2.1a1pre (djeter_dyn_idx01)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090723 SeaMonkey/2.1a1pre

When building using Python 2.6, xpcom/idl-parser/xpidl.py produces a deprecation warning:

DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
  self.message = message


Reproducible: Always
(Reporter)

Comment 1

9 years ago
Created attachment 390313 [details] [diff] [review]
Patch v0.1: Initial patch for xpidl.py

Trunk patch for xpidl.py
(Reporter)

Updated

9 years ago
Version: unspecified → Trunk
Attachment #390313 - Flags: review?(khuey)
Is this still necessary?  I don't see these warnings ...
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.