…ythonGH-17773) This uses the heuristic of assuming a named tuple is a subclass of tuple with a _fields attribute. This change means that contents of a named tuple wouldn't be converted - if a user wants to have ConvertingTuple functionality from a namedtuple, they will have to implement it themselves. (cherry picked from commit 46abfc1) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
@vsajip: Status check is done, and it's a success ✅ . |
|
@vsajip: Status check is done, and it's a success ✅ . |
This uses the heuristic of assuming a named tuple is a subclass of
tuple with a _fields attribute. This change means that contents of
a named tuple wouldn't be converted - if a user wants to have
ConvertingTuple functionality from a namedtuple, they will have to
implement it themselves.
(cherry picked from commit 46abfc1)
Co-authored-by: Vinay Sajip vinay_sajip@yahoo.co.uk
https://bugs.python.org/issue39142