[issue38967] Improve error message in enum for member name surrounded by underscore.

2020-09-13 Thread Ethan Furman
Ethan Furman added the comment: Thank you, Rubén, for the patch. Thank you, Karthikeyan, for not making me backport it. :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Pytho

[issue38967] Improve error message in enum for member name surrounded by underscore.

2020-09-13 Thread miss-islington
miss-islington added the comment: New changeset 2ec67526a6ed3312f4fac22b527ca0ff161531b8 by Zackery Spytz in branch 'master': bpo-38967: Improve the error msg for reserved _sunder_ names in enum (GH-18370) https://github.com/python/cpython/commit/2ec67526a6ed3312f4fac22b527ca0ff161531b8 ---

[issue38967] Improve error message in enum for member name surrounded by underscore.

2020-02-05 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +17746 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18370 ___ Python tracker ___ __

[issue38967] Improve error message in enum for member name surrounded by underscore.

2019-12-30 Thread Ethan Furman
Ethan Furman added the comment: Rubén, good idea. I wonder, though, if we should say: _sunder_ names, such as "%s", are reserved for future Enum use since `_sunder_` is used in the Enum docs and is unlikely to be confused with one's own variable name. -- assignee: -> ethan.furman

[issue38967] Improve error message in enum for member name surrounded by underscore.

2019-12-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue38967] Improve error message in enum for member name surrounded by underscore.

2019-12-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Error message changes in code are normally not backported to older versions so I have changed the subject accordingly and tagged 3.9. Thanks. -- assignee: docs@python -> components: +Library (Lib) -Documentation nosy: +xtreak title: Improve