This cynical view on students is shocking! Everyone on this list has
been a student or a learner for far longer than an educator, and the
perspective from students and learners are far more important than
educators to assess this angle regardless. Can anyone adequately
explain why this specific
On Sun, Jul 1, 2018 at 5:28 PM Steven D'Aprano wrote:
> On Sun, Jul 01, 2018 at 08:35:08AM -0700, Michael Selik wrote:
> > On Sun, Jul 1, 2018 at 12:39 AM Tim Peters wrote:
> >
> > > So, ya, when someone claims [assignment expressions will] make Python
> > > significantly harder to teach, I'm
On Sun, Jul 01, 2018 at 08:35:08AM -0700, Michael Selik wrote:
> On Sun, Jul 1, 2018 at 12:39 AM Tim Peters wrote:
>
> > So, ya, when someone claims [assignment expressions will] make Python
> > significantly harder to teach, I'm skeptical of that claim.
> >
>
> I don't believe anyone is making
On Jul 1, 2018, at 17:48, Matěj Cepl wrote:
> On 2018-06-28, 00:58 GMT, Ned Deily wrote:
>> On behalf of the Python development community and the Python 3.7 release
>> team, we are pleased to announce the availability of Python 3.7.0.
>
> I am working on updating openSUSE packages to python 3.7,
On Sun, Jul 1, 2018 at 8:35 AM, Michael Selik wrote:
> As Mark and Chris said (quoting Mark below), this is just one straw in the
> struggle against piling too many things on the haystack. Unlike some
> changes to the language, this change of such general use that it won't be
> an optional
On 1.7.2018 23:48, Matěj Cepl wrote:
On 2018-06-28, 00:58 GMT, Ned Deily wrote:
On behalf of the Python development community and the Python 3.7 release
team, we are pleased to announce the availability of Python 3.7.0.
I am working on updating openSUSE packages to python 3.7, but
I have hit
On 2018-06-28, 00:58 GMT, Ned Deily wrote:
> On behalf of the Python development community and the Python 3.7 release
> team, we are pleased to announce the availability of Python 3.7.0.
I am working on updating openSUSE packages to python 3.7, but
I have hit quite large number of failing tests
On Sun, Jul 1, 2018 at 12:39 AM Tim Peters wrote:
> So, ya, when someone claims [assignment expressions will] make Python
> significantly harder to teach, I'm skeptical of that claim.
>
I don't believe anyone is making that claim. My worry is that assignment
expressions will add about 15 to 20
On 30 June 2018 at 23:54, Tin Tvrtković wrote:
> [...]
>
> An attrs class has a special class-level field, __attrs_attrs__, which
> holds the attribute definitions. So maybe we can define a protocol:
>
> class AttrsClass(Protocol):
> __attrs_attrs__: ClassVar[Tuple[Attribute, ...]]
>
> then
On Fri, Jun 22, 2018 at 7:28 PM, Chris Barker via Python-Dev <
python-dev@python.org> wrote:
>
> But once it becomes a more common idiom, students will see it in the wild
> pretty early in their path to learning python. So we'll need to start
> introducing it earlier than later.
>
> I think this
I think I'll bow out of this now. It's just too tedious.
Like here:
[Nick]
> I never said the motivation was to gain performance relative to the
> two-statement version - I said the motivation given in the PEP is to
> gain performance relative to the *repeated subexpression* version,
>
On Sat, Jun 30, 2018 at 11:32:03PM -0500, Tim Peters wrote:
[...]
> So, no, gaining performance is _not_ the motivation here. You already had
> a way to make it "run fast'. The motivation is the _brevity_ assignment
> expressions allow while _retaining_ all of the two-statement form's
>
On 1 July 2018 at 14:32, Tim Peters wrote:
> [Nick]
>
>> The PEP specifically cites this example as motivation:
>
> The PEP gives many examples. Your original was a strawman
> mischaracterization of the PEP's _motivations_ (note the plural: you only
> mentioned "minor performance improvement",
Nick Coghlan wrote:
That's a performance argument, not a readability one (as if you don't
care about performance, you can just repeat the subexpression).
Repeated subexpressions can be a readability issue too, since you
have to examine them to notice they are actually the same. They
also
14 matches
Mail list logo