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

[$] A method for replacing Python tuple entries

mercredi 23 mars 2022, 22:11 , par 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
Date Actuelle
ven. 6 sept. - 18:16 CEST