Elektrine lite

← Feed

@dalke@toots.nu

Post #3474448

2026-06-29 17:48 UTC

@nedbat@hachyderm.io ... yes? I mean, I mentioned the *args-as-tuple observation from your essay, and tried to build on it by highlighting a case where Python uses a tuple for homogenous data, but unlike with *args it's not so clear that a list could make more sense. I think it's a tuple for the more technical reason that if __bases__ is a (mutable) list then it's very hard if not impossible to prevent an inheritance cycle.

Replies (0)

No replies.