A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129307.html below:

[Python-Dev] PEP 457: Syntax For Positional-Only Parameters

[Python-Dev] PEP 457: Syntax For Positional-Only Parameters [Python-Dev] PEP 457: Syntax For Positional-Only ParametersLarry Hastings larry at hastings.org
Wed Oct 9 15:56:49 CEST 2013
On 10/09/2013 07:15 AM, Georg Brandl wrote:
> We have quite a large
> amount of C functions with positional-only parameters.  Adding a "/"
> to each of those is a) a tedious task and b) probably not helpful for
> a lot of people:

I volunteer to ensure that the "/"s are added if this PEP is accepted.  
(I expect I'd do it myself, but who knows, maybe a volunteer would 
appear out of the woodwork.)


> ...  and the "undefined" singleton just smells wrong.  Another way
> to spell "None" is just asking for trouble.

It has to be a different value from "None", for the same reasons that 
all those other different-spellings-for-None (e.g. 
inspect.Parameter.empty) exist.

I realize you are -1 on the proposal in general, but I'd be very 
interested if you could propose an alternate approach where I didn't 
need "a new spelling for None" as you put it.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131009/b73454fb/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4