Re: [Python-Dev] Benchmarking Python and micro-optimizations

2016-11-01 Thread Ludovic Gasc
Hi, Thanks first for that, it's very interesting. About to enrich benchmark suite, I might have a suggestion: We might add REST/JSON scenarios, because a lot of people use Python for that. It isn't certainly not the best REST/JSON scenarios, because they have a small payload, but better than nothi

Re: [Python-Dev] Request for CPython 3.5.3 release

2016-07-03 Thread Ludovic Gasc
Hi Nick, First, thanks a lot for your detailed answer, it was very instructive to me. My answers below. 2016-07-03 6:09 GMT+02:00 Nick Coghlan : > On 2 July 2016 at 16:17, Ludovic Gasc wrote: > > Hi everybody, > > > > I fully understand that AsyncIO is a drop in the oce

Re: [Python-Dev] Request for CPython 3.5.3 release

2016-07-02 Thread Ludovic Gasc
to know if it's better to keep 3.4.3 for now, or if 3.5 branch is enough stable ? Have a nice week-end. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2016-06-30 9:41 GMT+02:00 Larry Hastings : > On 06/28/2016 02:51 PM, Larry Hastings wrote: > > > On 06/28/2016 02:05 PM, Yury

Re: [Python-Dev] FAT Python (lack of) performance

2016-01-25 Thread Ludovic Gasc
Hi, Just thanks for this big contribution. And maybe this project could give new ideas to optimize Python, who knows ? At least, you've win a beer for the FOSDEM event this week-end ;-) Have a nice week. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2016-01-25 19:16 GMT+01:00 Victor St

Re: [Python-Dev] Python 3.4.3 on RedHat 6.6 s390x make fails with: make: *** [sharedmods] Error 139

2015-07-22 Thread Ludovic Gasc
e day. Ludovic Gasc (GMLudo) http://www.gmludo.eu/ On 22 Jul 2015 08:23, "Terry Reedy" wrote: > On 7/21/2015 6:20 PM, Vitale, Joseph wrote: > >> Hello, >> >> Trying to install Python 3.4.3 on Red Hat 6.6 zLinux(s390x) but >> “make” fails and core dumps. Not

Re: [Python-Dev] Adding c-api async protocol support

2015-06-25 Thread Ludovic Gasc
s the best proof that the foundations are good. We should now try to publish more tutorials/examples to attract more newcomers, but I'm the first guilty: I'm completely lack of time to do that. BTW, I hope that EuroPython will be a good event to propagate some good vibes around AsyncIO. -- Ludovic

Re: [Python-Dev] Python 3 migration status update across some key subcommunities (was Re: 2.7 is here until 2020, please don't call it a waste.)

2015-06-01 Thread Ludovic Gasc
2015-05-31 16:15 GMT+02:00 Nick Coghlan : > On 31 May 2015 at 19:07, Ludovic Gasc wrote: > > About Python 3 migration, I think that one of our best control stick is > > newcomers, and by extension, Python trainers/teachers. > > If newcomers learn first Python 3, when th

Re: [Python-Dev] 2.7 is here until 2020, please don't call it a waste.

2015-05-31 Thread Ludovic Gasc
2015-05-31 0:26 GMT+02:00 Nick Coghlan : > > On 31 May 2015 04:20, "Ludovic Gasc" wrote: > > > > For now, I'm following the mailing-lists from a spy-glass: I don't read > most of the e-mails. > > However, this thread seems to be "infected"

Re: [Python-Dev] 2.7 is here until 2020, please don't call it a waste.

2015-05-30 Thread Ludovic Gasc
rly_adopter#History [2] It's in French (Google translate is your friend), however an interesting point of view of a Python trainer who has switched to Python 3: http://sametmax.com/python-3-est-fait-pour-les-nouveaux-venus/ (The website is down for now) -- Ludovic Gasc (GMLudo) http://www.g

[Python-Dev] An yocto change proposal in logging module to simplify structured logs support

2015-05-24 Thread Ludovic Gasc
x27;s used everywhere. However, except with python-logstash, to my knowledge, extra parameter isn't massively used. The only backward incompatibility I see with a new extra attribute of LogRecord, is that if you have a log like this: LOG.debug('message', extra={'extra&#x

Re: [Python-Dev] Accepting PEP 492 (async/await)

2015-05-07 Thread Ludovic Gasc
Thank you Yuri for the all process (PEP+code+handle debate). It's the first time I follow the genesis of a PEP, from the idea to the acceptation, it was very instructive to me. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2015-05-06 1:58 GMT+02:00 Guido van Rossum : > I totally f

Re: [Python-Dev] async/await in Python; v2

2015-04-22 Thread Ludovic Gasc
2015-04-22 22:46 GMT+02:00 Victor Stinner : > > Kind (A): > > - "yield-from coroutines" or "coroutines based on yield-from" > - maybe "asyncio coroutines" > - "legacy coroutines"? > "legacy coroutines" name has the advantage to be directly clear it isn't a good idea to write new source code with t

Re: [Python-Dev] async/await in Python; v2

2015-04-22 Thread Ludovic Gasc
+1 about Andrew Svetlov proposition: please help to migrate as smoothly as possible to async/await. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2015-04-22 20:32 GMT+02:00 Andrew Svetlov : > For now I can use mix asyncio.coroutines and `async def` functions, I > mean I can write `a

Re: [Python-Dev] Socket timeout: reset timeout at each successful syscall?

2015-04-04 Thread Ludovic Gasc
/slowloris/ BTW, when I've learnt AsyncIO, I've reimplemented Slowloris attack with AsyncIO in a quick'd'dirty Python script. The funny thing is that the Python script consumed less CPU and was more efficient than the original Perl script. If s