[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Dominik, thanks for the suggestion. Zackery, thanks for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0fbddb14dc03f61738af01af88e7d8aa8df07336 by Miss Skeleton (bot) in branch '3.9': bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726) (GH-22727)

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset a22a19f3548f6064035e7c59a19cda1e9506db92 by Zackery Spytz in branch 'master': bpo-40341: Remove some "discouraged solutions" in Doc/faq/programming.rst (GH-22726)

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21693 pull_request: https://github.com/python/cpython/pull/22727 ___ Python tracker

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-10-16 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +21692 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22726 ___ Python tracker

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-04-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I rather like the discussion in [How do I write a function with output parameters]. Some variant of each of those solutions arise in code reviews over and over again. Rarely do the occur in simplistic examples, but they do occur. The simple examples

[issue40341] Programming FAQ includes actively discouraged solutions; Should those be removed?

2020-04-20 Thread Dominik V.
New submission from Dominik V. : The Programming FAQ contains multiple solutions (examples) which it describes as "shouldn't be used". The question is why are these included in the first place? Some of them are complicated in a way that a (new) programmer is unlikely to discover them by