[Chris Barker]
> > However, generator expressions ( why don’t we call them generator
> > comprehensions?)
Because nobody really liked the "iterator comprehensions" or "accumulator
displays" they were variously called at the start.
https://mail.python.org/pipermail/python-dev/2003-October/03
[Rob Cliffe]
> It's late to raise this,
By months, yes ;-)
> but what exactly are the objections to the syntax
> > expr -> name # or variations such as expr => name
> > instead of
> > name := expr
> >
> > The PEP mentions that this syntax does not have a problem that "as"
> On Jul 2, 2018, at 8:34 AM, Steven D'Aprano wrote:
Guido has decided — and despite my concerns, I’m going to enjoy my new
loop-and-a half construct:-)
But a comment on this:
> comprehension are no more special than
> assignments inside any other expression. They bind in the current scope,
> s
On 02/07/2018 19:19, Guido van Rossum wrote:
Thank you all. I will accept the PEP as is. I am happy to accept
*clarification* updates to the PEP if people care to submit them as
PRs to the peps repo (https://github.com/python/peps), and that could
even (to some extent) include summaries of di
[Michael Selik]
>>> My worry is that assignment expressions will add about 15 to 20
>>> minutes to my class and a slight discomfort.
[Tim]
>> So not intractable - which is my high-order bit ;-)
>>
>> For those who want more bits of precision (perhaps Guido), while
>> quantification is good, it nee
Thank you all. I will accept the PEP as is. I am happy to accept
*clarification* updates to the PEP if people care to submit them as PRs to
the peps repo (https://github.com/python/peps), and that could even (to
some extent) include summaries of discussion we've had, or outright
rejected ideas. But
` # noqa` works with linters
--Hobson
On Fri, Jun 29, 2018 at 6:25 AM, Brett Cannon wrote:
>
>
> On Thu, Jun 28, 2018, 21:28 Terry Reedy, wrote:
>
>> On 6/24/2018 5:03 AM, Ammar Askar wrote:
>> >> Is it possible, given that we are not paying for those reports, to
>> >> customize the 'exclude
On Wed, Jun 27, 2018 at 07:29:52PM -0500, Tim Peters wrote:
[...]
> For example, if the name is declared "global" in the outer scope, you'll
> get a compile-time error if you try to declare it "nonlocal" in the
> contained scope. "parentlocal" adjusts its meaning accordingly, becoming a
> synonym
On Wed, Jun 27, 2018 at 03:31:42PM -0700, Guido van Rossum wrote:
> I'd also like to keep the rule prohibiting use of the same name as a
> comprehension loop control variable and as an inline assignment target;
> this rule would also prohibit shenanigans with nested comprehensions (for
> any set o
On Mon, Jul 2, 2018 at 2:34 AM Michael Selik wrote:
>
> On Sun, Jul 1, 2018 at 8:21 PM Matt Arcidy wrote:
>>
>> [...] Can anyone adequately explain why this specific modality of learning,
>> a student-in-a-seat based educator, must outweigh all other modalities [...]?
>
>
> 1. It doesn't.
> 2.
> I created https://bugs.python.org/issue34022
So I ran test Python test suite of the master branch on Fedora using
OpenSUSE configure command: all tests pass.
I also run the 6 failing tests of the master branch on Debian Sid
using the same configure command than the Debian builder: the 6 tests
p
On 7/2/2018 3:38 AM, Petr Viktorin wrote:
And while I'm responding here, a bit of reflection and a heads-up:
What Fedora as a distro should do better next time is re-build the
entire ecosystem with a new Python version. For 3.7 we started doing
that too late, and there are way too many project
Hi,
2018-07-01 23:48 GMT+02:00 Matěj Cepl :
> I am working on updating openSUSE packages to python 3.7, but
> I have hit quite large number of failing tests (the testsuite
> obviously passed with 3.6), see
> https://build.opensuse.org/package/show/home:mcepl:work/python3
> (click on the red "faile
On Mon, 2018-07-02 at 14:13 +0200, Victor Stinner wrote:
> 2018-07-02 9:38 GMT+02:00 Petr Viktorin :
> > Fedora* has been building python37 since the alphas, so the
> > final update to
> > rc/stable was smoother.
> > (...)
> > * Thanks to Miro Hrončok for most of the work in Fedora
>
> This work i
2018-07-02 9:38 GMT+02:00 Petr Viktorin :
> On 07/02/18 00:59, Miro Hrončok wrote:
>> Note that we (=Fedora) unfortunately skip some tests.
>> (...)
>
> [with my Fedora hat on]
>
> Fedora* has been building python37 since the alphas, so the final update to
> rc/stable was smoother.
> (...)
> * Than
On Sun, Jul 1, 2018 at 8:21 PM Matt Arcidy wrote:
> [...] Can anyone adequately explain why this specific modality of
> learning, a student-in-a-seat based educator, must outweigh all other
> modalities [...]?
1. It doesn't.
2. It's a proxy for the other modes.
I hope this was an adequate exp
On Sun, Jul 1, 2018 at 11:36 PM Tim Peters wrote:
> [Michael Selik]
> > My worry is that assignment expressions will add about 15 to 20
> > minutes to my class and a slight discomfort.
>
> So not intractable - which is my high-order bit ;-)
>
> For those who want more bits of precision (perhaps G
On Mon, 2 Jul 2018 10:25:42 +1000
Steven D'Aprano wrote:
>
> How do people who teach other languages deal with this?
>
> Assignment expressions are hardly a new-fangled innovation of Python's.
> They're used in Java, Javascript, Ruby, Julia, R, PHP and of course
> pretty much the entire C fami
Is this message some kind of joke or did you just send it to the wrong
mailing-list/recipient?
On Sun, 1 Jul 2018 20:21:19 -0700
Matt Arcidy wrote:
> 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
> p
On 07/02/18 00:59, Miro Hrončok wrote:
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
20 matches
Mail list logo