[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 76821bab9cb77fa7f847e66f8b2309ca30546c7f by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-37691: Let math.dist() accept sequences and iterables for coordinates (GH-14975) (GH-14984) https://github.com/python/cpython/commit/76

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +14751 pull_request: https://github.com/python/cpython/pull/14984 ___ Python tracker ___ __

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 6b5f1b496f0b20144592b640b9c975df43a29eb0 by Raymond Hettinger in branch 'master': bpo-37691: Let math.dist() accept sequences and iterables for coordinates (GH-14975) https://github.com/python/cpython/commit/6b5f1b496f0b20144592b640b9c975df4

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-26 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +14744 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14975 ___ Python tracker __

[issue37691] Let math.dist() accept coordinates as sequences

2019-07-26 Thread Raymond Hettinger
New submission from Raymond Hettinger : I did some user testing with Python 3.8 and found that math.dist() was a little restrictive in only accepting coordinates as tuples. Mostly it worked out fine except but was a little inconvenient with generalized unpacking: label, *coordinates = cur