On Fri, Apr 27, 2018 at 10:56:06PM +1000, Nick Coghlan wrote:
> On 27 April 2018 at 22:28, Steven D'Aprano wrote:
>
> > On Fri, Apr 27, 2018 at 08:13:20AM +0200, Andrea Griffini wrote:
> > > Now we got standard library features requiring type annotation
> >
> > We do? Did I
On 4/27/2018 8:28 AM, Steven D'Aprano wrote:
On Fri, Apr 27, 2018 at 08:13:20AM +0200, Andrea Griffini wrote:
Now we got standard library features requiring type annotation
We do? Did I miss them? Which std lib features are you referring to?
(That's not a rhetorical question -- maybe I have
On 27 April 2018 at 22:28, Steven D'Aprano wrote:
> On Fri, Apr 27, 2018 at 08:13:20AM +0200, Andrea Griffini wrote:
> > Now we got standard library features requiring type annotation
>
> We do? Did I miss them? Which std lib features are you referring to?
>
> (That's not a
On Fri, Apr 27, 2018 at 08:13:20AM +0200, Andrea Griffini wrote:
> >> We're focused on Python 3.8 and 3.9, not Python 5 or Python 6.
>
> Hmmm... When I was hearing the repeated belated saying that Python
> will never ever jump on the statically typed ship on each and every
> static type
Fatty Morgan wrote:
Distinguishing in a rather unobtrusive way (no 'var' or 'let')
the initialization of a previously unbound variable 'name := expr'
and the re-assignment of a previously bound variable 'name = expr'
That would be a massively confusing change. It's a fine idea
for a new
>> We're focused on Python 3.8 and 3.9, not Python 5 or Python 6.
Hmmm... When I was hearing the repeated belated saying that Python will
never ever jump
on the statically typed ship on each and every static type annotation
discussion I started to
worry this wasn't indeed the case (why the urge
Hi Fatty, and welcome!
On Thu, Apr 26, 2018 at 08:00:55PM +0200, Fatty Morgan wrote:
> The natural interpretation of 'name := expr' is a PEP 526
> type-annotated variable initialization 'name : T = expr' with the
> type annotation T omitted, the tokens ':' and '=' coalesced, and
> the implied
> On Apr 26, 2018, at 11:00 AM, Fatty Morgan wrote:
>
> I would like to urge you to reconsider the use of the token ':='
> for assignment expressions.
>
> The natural interpretation of 'name := expr' is a PEP 526
> type-annotated variable initialization 'name : T = expr' with
I would like to urge you to reconsider the use of the token ':='
for assignment expressions.
The natural interpretation of 'name := expr' is a PEP 526
type-annotated variable initialization 'name : T = expr' with the
type annotation T omitted, the tokens ':' and '=' coalesced, and
the implied