[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2022-03-19 Thread miss-islington
miss-islington added the comment: New changeset fcd57996899569ec6b8028bc5b75f973f7074e21 by Miss Islington (bot) in branch '3.9': bpo-44544: add textwrap placeholder arg (GH-27671) https://github.com/python/cpython/commit/fcd57996899569ec6b8028bc5b75f973f7074e21 --

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2022-03-19 Thread miss-islington
miss-islington added the comment: New changeset c1f327f30db09388fc777196e233b7a6182c6efa by Miss Islington (bot) in branch '3.10': bpo-44544: add textwrap placeholder arg (GH-27671) https://github.com/python/cpython/commit/c1f327f30db09388fc777196e233b7a6182c6efa --

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2022-03-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset cb7874f49d3d55df73a3c529773af14e2e344fb7 by andrei kulakov in branch 'main': bpo-44544: add textwrap placeholder arg (GH-27671) https://github.com/python/cpython/commit/cb7874f49d3d55df73a3c529773af14e2e344fb7 -- nosy: +asvetlov

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2022-03-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +30083 pull_request: https://github.com/python/cpython/pull/31993 ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2022-03-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +30082 pull_request: https://github.com/python/cpython/pull/31992 ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-08-08 Thread Andrei Kulakov
Change by Andrei Kulakov : -- pull_requests: +26159 pull_request: https://github.com/python/cpython/pull/27671 ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 019a8b08fa28b26e009fd10395c7b767848b4e77 by Miss Islington (bot) in branch '3.9': bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425) https://github.com/python/cpython/commit/019a8b08fa28b26e009fd10395c7b767848b4e77 --

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 97af790495f580a60253f9d8c50b26eeb53d9926 by Miss Islington (bot) in branch '3.10': bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27424) https://github.com/python/cpython/commit/97af790495f580a60253f9d8c50b26eeb53d9926 --

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25954 pull_request: https://github.com/python/cpython/pull/27425 ___ Python tracker ___

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1 by Jack DeVries in branch 'main': bpo-44544: [doc] list all textwrap func kwargs (GH-26999) https://github.com/python/cpython/commit/c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1 -- nosy: +lukasz.langa

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +25953 pull_request: https://github.com/python/cpython/pull/27424 ___ Python tracker

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-02 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 2.0 -> 3.0 pull_requests: +25559 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26999 ___ Python tracker

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: > - in case of fill, some args are a no-op, so they can be omitted from the > signature, that will make it much easier to see all effective arguments. I was mistaken here, this applies to `shorten`, not to `fill` func. --

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
Andrei Kulakov added the comment: Additionally, I think this issue contributes to likelihood of people running into https://bugs.python.org/issue43518 or similar issues with these 3 functions. -- ___ Python tracker

[issue44544] Add full list of possible args to textwrap: wrap, fill, shorten

2021-07-01 Thread Andrei Kulakov
New submission from Andrei Kulakov : https://docs.python.org/3.11/library/textwrap.html The 3 functions - wrap, fill, shorten -- have a signature like `(..., **kwargs)`, where kwargs are instance attrs of TextWrap. It would be better to list all possible args in the signature because: -