[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 nosied everybody who +1'd my original proposal in python-dev, because I'm 
looking for someone to review the patch.  Beta 1 gets tagged on Sunday, so can 
someone rubber-stamp this today?

--
assignee: larry
components: Interpreter Core
messages: 310975
nosy: eric.snow, gregory.p.smith, larry, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Guarantee that Python preserves the order of kwonly parameters
type: enhancement
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com