Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#11873 closed enhancement (fixed)

Return a NamedTuple from Mimeview.get_supported_conversions

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.1.3
Component: rendering Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Mimeview.get_supported_conversions(...) returns a namedtuple MimeConversion, with the entries retaining the same ordering as the previous tuple.

Internal Changes:

Description (last modified by Ryan J Ollos)

Mentioned in comment:7:ticket:11648, Mimeview.get_supported_conversions looks like a good case in which a namedtuple could be used.

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 6 years ago

Proposed changes in log:rjollos.git:t11873. These changes look backwards-compatible to me.

comment:2 by Ryan J Ollos, 6 years ago

Description: modified (diff)
Status: newassigned

The MimeConversion namedtuple doesn't necessarily have to have module-level scope at this time: [fd24b52e/rjollos.git].

comment:3 by Ryan J Ollos, 6 years ago

API Changes: modified (diff)

comment:4 by Ryan J Ollos, 6 years ago

Resolution: fixed
Status: assignedclosed

Committed to trunk in [13500:13501].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.