◐ Shell
clean mode source ↗

gh-96397: Document that attributes need not be identifiers by jeff5 · Pull Request #96454 · python/cpython

Clarify that the name of an attribute need not be a valid Python identifier, in particular through setarr(), noting that this precludes use of the dot notation to access them.

@jeff5 jeff5 mentioned this pull request

Aug 31, 2022

ChrisBarker-NOAA

This was referenced

Sep 13, 2022

gvanrossum

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 29, 2022
…honGH-96454)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 9a11ed8)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 29, 2022
…honGH-96454)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 9a11ed8)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

miss-islington added a commit that referenced this pull request

Sep 29, 2022
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 9a11ed8)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

miss-islington added a commit that referenced this pull request

Sep 29, 2022
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 9a11ed8)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request

Oct 2, 2022
…hon#96454)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

pablogsal pushed a commit that referenced this pull request

Oct 22, 2022
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 9a11ed8)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>