<rjo>
whitequark: ok. then "just copy the functions"?
<whitequark>
copy them when/
<whitequark>
*?
<whitequark>
I mean, I know the answer. when a method object is created. but that's nontrivial to plumb through because none of the compiler was designed to make it easy...
<GitHub40>
artiq/master 47f3e70 Robert Jordens: setup.py: really utf-8
<rjo>
whitequark: ack.
<whitequark>
in other words, the compiler does not specially treat methods in any way right now, which leads to straightforward code and matches python semantics
<whitequark>
this inheritance thing requires me to add a bunch of special cases on top of that.
<whitequark>
there are all sorts of fun questions to answer, like "what happens if someone calls a method directly"
<whitequark>
I mean cls.method(instance, ...)
<rjo>
yes. that is something i'd be happy to disallow (if it help).
<whitequark>
it... doesn't help with implementation, in fact it just adds a bunch more special cases
<whitequark>
it might help by reducing confusion
<cr1901_modern>
How does "normal Python" handle inheritance then if methods are "just another type"?
FabM has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]]
rohitksingh1 has joined #m-labs
rohitksingh has quit [Ping timeout: 276 seconds]
rohitksingh has joined #m-labs
rohitksingh1 has quit [Ping timeout: 260 seconds]
rohitksingh has quit [Ping timeout: 252 seconds]
sandeepkr has joined #m-labs
rohitksingh has joined #m-labs
mumptai has joined #m-labs
mumptai has quit [Remote host closed the connection]
sandeepkr has quit [Ping timeout: 244 seconds]
key2 has quit [Ping timeout: 276 seconds]
EvilSpirit has quit [Ping timeout: 250 seconds]
ylamarre has joined #m-labs
ylamarre has quit [Client Quit]
<cr1901_modern>
sb0: ping whenever you have free time/are awake. I'm having trouble with a MiSoC design and am unsure what's going on other than Xilinx insists on optimizing away all sequential logic (despite me having a clock connected at top level)
nkaretnikov has joined #m-labs
sandeepkr has joined #m-labs
mumptai has joined #m-labs
mumptai has quit [Remote host closed the connection]