[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Yury Selivanov
Yury Selivanov added the comment: > Today we've all collectively made Python a better programming language. Literally can't stop doing that for some reason... :) -- ___ Python tracker ___

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Larry Hastings added the comment: Thanks for the quick turnaround reviews! Today we've all collectively made Python a better programming language. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Larry Hastings added the comment: New changeset f36ba12809d5db1b76464d8f1f04dad8d685ec78 by larryhastings in branch 'master': bpo-32697: Definition order of kwonly params is now guaranteed preserved. (#5391) https://github.com/python/cpython/commit/f36ba12809d5db1b76464d8f1f04dad8d685ec78 -

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
Change by Larry Hastings : -- keywords: +patch pull_requests: +5226 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue32697] Guarantee that Python preserves the order of kwonly parameters

2018-01-28 Thread Larry Hastings
New submission from Larry Hastings : Following on from the "Can Python guarantee the order of keyword-only parameters?", here's a patch to enforce that guarantee. It adds documentation that makes the guarantee, and adds tests that make at least a passable attempt at testing that it's true. I