Re: [Python-Dev] Generator objects and list comprehensions?

2017-02-02 Thread Lukasz Langa
> On Feb 2, 2017, at 2:17 AM, Anders Munch wrote: > > Give Python 2 a little more credit. We are, it told you what your issue was: yield outside a function. Consider: >>> def f(): ... l = [(yield 1) for x in range(10)] ... print(l) >>> gen = f() >>> for i in range(11): ... ge

Re: [Python-Dev] Generator objects and list comprehensions?

2017-02-02 Thread Anders Munch
Craig Rodrigues : > Make this return a list on Python 3, like in Python 2:  [(yield 1) for x in  > range(10)]  Give Python 2 a little more credit. Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more informa

Re: [Python-Dev] Heads up: possible double-comments on bpo for commits

2017-02-02 Thread Victor Stinner
2017-02-02 22:24 GMT+01:00 Maciej Szulik : > Ezio confirmed pushing all the changes to bugs.python.org already. > I'm very sorry for all the inconvenience caused by previous mistakes. If > your > issues was closed make sure to verify it was closed properly and re-open if > needed. Don't worry. Bre

Re: [Python-Dev] Heads up: possible double-comments on bpo for commits

2017-02-02 Thread Maciej Szulik
On Thu, Feb 2, 2017 at 6:01 PM, Victor Stinner wrote: > 2017-02-01 18:32 GMT+01:00 Victor Stinner : > > To finish with an empty change: > > Information on IRC: > > Known issue: http://psf.upfronthosting.co.za/roundup/meta/issue611 > > "Maciej is working on it" > > Good & thanks! > > I just fixed

Re: [Python-Dev] re performance

2017-02-02 Thread MRAB
On 2017-02-02 04:37, Franklin? Lee wrote: On Thu, Jan 26, 2017 at 4:13 PM, Sven R. Kunze wrote: Hi folks, I recently refreshed regular expressions theoretical basics *indulging in reminiscences* So, I read https://swtch.com/~rsc/regexp/regexp1.html However, reaching the chart in the lower thi

Re: [Python-Dev] Heads up: possible double-comments on bpo for commits

2017-02-02 Thread Victor Stinner
2017-02-01 18:32 GMT+01:00 Victor Stinner : > To finish with an empty change: Information on IRC: Known issue: http://psf.upfronthosting.co.za/roundup/meta/issue611 "Maciej is working on it" Good & thanks! Victor ___ Python-Dev mailing list Python-De

Re: [Python-Dev] SSL certificates recommendations for downstreampython packagers

2017-02-02 Thread Cory Benfield
> On 2 Feb 2017, at 03:38, Stephen J. Turnbull > wrote: > > Cory Benfield writes: > >> The TL;DR is: I understand Christian’s concern, but I don’t think >> it’s important if you’re very, very careful. > > But AIUI, the "you" above is the end-user or admin of end-user's > system, no? We know

Re: [Python-Dev] Heads up: possible double-comments on bpo for commits

2017-02-02 Thread Victor Stinner
Oh, I noticed another strange thing: The Roundup Robot closed the issue http://bugs.python.org/issue29368 but I don't see any explicit "Close issue #xxx" or "Close #xxx" in the commit message of the two commits. Is it deliberate to close an issue after any commit? Victor 2017-01-31 19:18 GMT+01

Re: [Python-Dev] Investigating Python memory footprint of one real Web application

2017-02-02 Thread INADA Naoki
Thanks, Ivan. I confirmed 3000 negative cache entries were removed by your patch! https://gist.github.com/methane/3c34f11fb677365a7e92afe73aca24e7 On Thu, Feb 2, 2017 at 1:16 AM, Ivan Levkivskyi wrote: > Inada-san, > > I have made a PR for typing module upstream > https://github.com/python/ty