MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
method
Search

[$] A method for replacing Python tuple entries

Wednesday March 23, 2022. 10:11 PM , from LWN.net
A recent discussion on the python-ideas mailing list gives some insight
into how to—or how not to—propose a feature to be added to the language. At first
blush, adding a method to Python's immutable tuple
type for replacing one of its elements is not a particularly strange idea,
nor one that would cause much in the way of backward-compatibility
concerns. Even though there was some evidence offered that such a method might be
useful, it seems pretty unlikely that the idea will go anywhere, at least
in part because of the repetitive, bordering on aggressive, manner in which its
benefits were argued.
https://lwn.net/Articles/888945/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Sep, Mon 16 - 11:27 CEST