Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14029 closed defect (fixed)

XmlRpcPlugin python3 changes - iteritems()

Reported by: anonymous Owned by: Jun Omae
Priority: normal Component: XmlRpcPlugin
Severity: critical Keywords:
Cc: Jun Omae Trac Release:

Description

In python3, iteritems() was replaced by items().

I changed all occurrences in tracrpc/ticket.py to get the ticket module to work (patch will be attached). We can now use the xmlrpcplugin with python3 in production for listing, creating, and changing tickets.

I would be happy to see the patch integrated in trunk, so we don't have to use our local version.

Attachments (1)

patch.diff (2.4 KB) - added by anonymous 3 years ago.
Patch iteritems() -> items()

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by anonymous

Attachment: patch.diff added

Patch iteritems() -> items()

comment:1 Changed 3 years ago by Jun Omae

Resolution: fixed
Status: newclosed

In 18336:

XmlRpcPlugin: fix uses of dict.iteritems() with Python 3 (closes #14029)

comment:2 Changed 3 years ago by Jun Omae

Owner: changed from osimons to Jun Omae

Thanks for the reporting.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.