Elektrine lite

← Feed

@MrBerard@mastodon.acm.org

Post #2476227

2026-05-02 13:58 UTC

@grant_h@mastodon.social Don't think it's a mutability problem, more the fact that lists are passed by reference? (And they're mutable, but that's not really their fault)

Replies (1)

  • @grant_h@mastodon.social 2026-05-02 14:02

    @MrBerard@mastodon.acm.org That, and the fact that defaults are set when the module is loaded. The long term solution is here: peps.python.org/pep-0671/ Trying to see if we can drum up some support for it!

    Open ##2476228