08:51 <grenoya> bonjour
09:11 <afpy_user|14709> bonjours a tous je suis nouveau sur ce forum, comment fonctionne t-il.
09:29 <haypo> trop tard
09:29 <haypo> "alors, le principe, c'est d'être patient" :-p
10:08 <gawel> haypo: tiens il parait qu'on peut pas faire await self.async.truc() en python3.5. SyntaxError. C'est vrai ?
10:09 <haypo> gawel: si tu creuses dans les détails, tu trouveras le démon
10:09 <haypo> gawel: await et async sont et ne sont pas des mots clés :)
10:09 <haypo> gawel: yury qui a implémenté la PEP 492 a hacké le parseur pour supporter await et "async def/for/with" sans casser immédiatement la compatibilité en ajoutant deux mots clés
10:10 <haypo> gawel: en gros, évite les mots "await" et "async" car bientôt ça sera des mots clés :-D
10:12 <yota> ca ouvre des portes ?
10:13 <haypo> yota: ça ouvre des mots valises
10:13 <mathieui> gawel, il y a une astuce comme ce ne sont pas des mots-clefs, mais des fois ça marche pas
10:14 <haypo> mathieui: quand j'ai relu la PEP avec qu'elle soit validée, il y avait une liste de patterns qui ne marchaient pas :)
10:14 <haypo> mathieui: je crois qu'ils ont été corrigés entre temps
10:15 <mathieui> hm ?
10:15 <haypo> perso j'avais proposé "from __future__ import await" pour dire au parseur "je sais ce que je fais, n'essaye pas de deviner"
10:15 <mathieui> on a vu quelques trucs qui faisaient des erreurs en codant des trucs en 3.5 au boulot
10:15 <mathieui> faudra que je me renseigne
10:17 <haypo> mathieui: ça a été corrigé, regarde la vieille version de la PEP https://hg.python.org/peps/file/4fe76401ee20/pep-0492.txt#l901
10:19 <haypo> gawel: bon, je confirme, ça ne marche pas "await ... async ..." http://paste.alacon.org/38621 (testé avec python 3.6)
10:19 <gawel> c'est tout pourri :)
10:19 <haypo> gawel: au chiotte python !
10:19 <gawel> surtout asyncio. en plus la doc est pourrie
10:20 <haypo> gawel: ouais, c'est clair
10:20 <haypo> gawel: ça n'existe pas ce que sont coroutines, taches, futures, etc.
10:20 <mathieui> haypo, en vrai ensure_future a remplacé async() juste pour async/await ?
10:21 <haypo> mathieui: hé oui :)
10:23 <haypo> gawel: si ça peut te rassurer, trollius est plus pourri qu'asyncio
10:24 <gawel> pas étonnant, c'est du bricolage
10:24 <haypo> gawel: j'ai monté tout ce projet juste pour troller vendredi
10:25 <gawel> vendredi 13, en plus
10:25 <gawel> brrr
10:25 <haypo> gawel: pff, j'ai deux chats noirs à la maison, je ne suis pas supersticieux
10:26 <gawel> moi non plus, c'était juste pour accentuer tes propos
10:26 <haypo> gawel :)
10:29 <gawel> hihihi
10:34 <yota> cd
10:34 <yota> git pull
10:34 <mathieui> rm .git -rf
10:36 <yota> hmm
10:36 <yota> 2s
10:37 <haypo> mathieui: j'ai déjà exécuté ça, bah c'est pas drôle
10:38 <yota> faut le vouloir
10:39 <haypo> yota: je voulais supprimer .tox
10:42 <yota> perso, dés que j'ai rm dans la ligne, je relis 2x
10:42 <yota> et .tox est un fichier non ?
10:42 <yota> donc le -r est inutile
10:54 <grenoya> yota: rm -i dans le .bashrc c'est la première chose que je fais après une installation
10:55 <yota> ah ben si maintenant on se rajoute des protections aussi, trop facile
10:55 <yota> moi je suis en root tout le temps
10:55 <yota> :)
10:57 <grenoya> j'ai trop souvent entendu le cri primaire d'un étudiant venant de faire "rm *.*" dans sa home ou son répertoire de données. Je préconise d'imposer le "rm -i" :)
10:58 <yota> meuh non
10:58 <yota> apprentissage a la dure
10:58 <yota> tu fais la connerie 1x, et tu apprends
10:58 <serge_sans_paill> +1 yota, c'est comme ça que les enfants apprenent
10:58 <serge_sans_paill> apprennent*
11:02 <mathieui> berk rm -i
11:03 <mathieui> tous les machins d’enseignement sup où j’ai été l’avaient en alias par défaut
11:04 <haypo> mathieui: la sortie de la commande "alias" est longue sur mon PC :)
11:04 <haypo> haypo@smithers$ alias rm
11:04 <haypo> alias rm='rm -i --one-file-system'
11:04 <haypo> pour me protéger des rm -rf, je crée maintenant des snapshots btrfs
11:42 <natim> Vous savez qui est PoPy ?
11:43 <natim> C'est lui https://github.com/popy ?
11:47 <haypo> natim: c'est lui je crois http://media.canal-plus.com/wwwplus/image/4/12/3/VIGNETTE_AUTO_509357_H.ogfb.jpg
11:47 <natim> ahah
11:47 <haypo> :)
11:49 <natim> Sans aucun doute
12:27 <alain_afpy> ERROR www(2) HTTPConnectionPool(host='www.afpy.org', port=80): Request timed out. (timeout=10)
12:30 <alain_afpy> INFO www fixed
14:15 <alain_afpy> matin
17:22 <natim> Et voilà http://linuxfr.org/news/afpy-camp-ideas-box-de-bibliotheque-sans-frontieres-les-28-et-29-novembre-2015
17:26 <natim> feth: https://twitter.com/Natim/status/665204032370249728