| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
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.
There was a problem hiding this comment.
Looks good to me -- I've suggested a bit more verbose text, but not critical.
Sorry, something went wrong.
|
Could this be merged, or have I more to do? |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, one optional suggestion.
Sorry, something went wrong.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
|
Thanks @jeff5 for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
|
Thanks @jeff5 for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
GH-97658 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
|
GH-97659 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…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>
…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>
…hon#96454) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
| Back | FazBrowse Home | New Git URL |
Companion to #96393, and stemming from points made in the discussions at https://discuss.python.org/t/supporting-or-not-invalid-identifiers-in-kwargs/17147/26 and #96397, this proposes extending how we define "attribute" to match the behaviour of implementations and some current user practice.
Needs SC discussion, I believe.