STINNER Victor <vstin...@python.org> added the comment:

> By contrast, returning a plain tuple from `isocalendar()` is the easier *and* 
> more performant thing to do, and given that any benefits seem marginal I'm 
> against the switch.

Does someone have benchmark numbers? If we go with structseq, creating a new 
instance should be almost as efficient as creating a tuple, no?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue24416>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to