IRC Logs for #circuits Saturday, 2015-04-18

*** prologic_ has joined #circuits03:20
*** Romster has quit IRC06:22
*** Romster has joined #circuits06:23
*** prologic_ has quit IRC06:28
*** prologic_ has joined #circuits06:29
*** prologic_ has quit IRC06:29
*** prologic_ has joined #circuits06:29
*** Osso has joined #circuits06:51
*** prologic_ has quit IRC07:11
*** prologic_ has joined #circuits09:36
prologichmm09:39
prologicwe have some core I/O events in circuits.io that conflict with some builtins :)09:40
prologice.g: open()09:40
prologic*sigh*09:40
*** prologic_ has quit IRC09:42
*** Osso has quit IRC09:52
pdurbinso you renamed them to _open11:06
riotoh, hmm: https://www.python.org/dev/peps/pep-0492/11:29
riotasync def read_data(db):11:33
riot    data = await db.fetch('SELECT ...')11:33
riotthis looks nice.. didn't know await expressions, yet.11:33
riotah, oh, still a draft11:35
riotoup, interesting name: http://gocircuit.github.io/circuit/11:50
prologicpdurbin, looks like we did that ages ago12:19
prologicit caught me though recently12:19
prologicdidn't realized we had :)12:19
prologicriot, haha12:20
prologicthat looks like C# syntax12:20
prologicI doubt that'll get accepted at all12:20
prologicbecause it significantly changes Python grammar12:20
riotyeah, the async def foobar() look kinda weird12:33
*** Osso has joined #circuits13:08
prologicyeap13:16
prologicit'll get rejected quickly I think13:16
prologicPython itself is powerful enough to let frameworks and users do things like13:16
prologic@async13:16
prologicdef foo(...):13:16
prologicso as not to break the grammar13:16
prologicwe don't do this in circuits because circuits is all about components13:17
prologicasync is a side effect of "poller" components that deal with I/O :)13:17
rioterm. i just realize, gpg can handle streams..!? like, WUT?15:13
riotre: @async - he specifically argues against decorators and has a few other good points, but generally i agree, it deforms the language too much and doesn't look SO pythonic at second glance15:13
*** Osso has quit IRC16:10
*** Osso has joined #circuits17:59
*** ninkotech has quit IRC21:09
*** Osso has quit IRC21:30
prologicyeah23:32
prologicI don't agree with any of it23:32
prologicit all sounds very much C#-ish23:32

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!