-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
guidelineTo be included in guidelines PEPTo be included in guidelines PEP
Description
From Mark's proposal
New API should not mutate immutable objects. The biggest offenders are currently:
- tuples (for those we need better creation options -- from array&size, from list)
- strings/bytes (for these we might need a string builder API – a list-of-strings has overhead over a list of
char*
) - type objects (for these we might want a "set IMMUTABLE flag" function to be called after the type is set up)
Metadata
Metadata
Assignees
Labels
guidelineTo be included in guidelines PEPTo be included in guidelines PEP