#pypy IRC log for Thursday, 2011-12-08

harrison (~quassel@adsl-69-209-220-254.dsl.chcgil.ameritech.net) left irc: Read error: Connection reset by peer00:10
harrison (~quassel@adsl-69-209-220-254.dsl.chcgil.ameritech.net) joined #pypy.00:10
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/73700:12
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace00:13
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.00:22
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host00:22
voidspace (~anonymous@python/psf/voidspace) joined #pypy.00:22
overminder (~overminde@wf119-103.ust.hk) joined #pypy.00:27
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 260 seconds00:27
derdon (~derdon@pD9E1DEEC.dip.t-dialin.net) left irc: Remote host closed the connection00:36
amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 248 seconds00:43
Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) left irc: Ping timeout: 252 seconds00:44
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection00:44
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.00:45
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Read error: Connection reset by peer00:46
aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.00:46
nedbat (~nedbat@python/psf/nedbat) joined #pypy.00:47
Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) joined #pypy.00:58
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/16301:08
Alex_Gaynorresponsible thing: split writing paper over two nights (at least).  gaynor thing: write ten page paper in one night, start at 10:3001:11
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds01:14
rguillebertnever happened to me 0:)01:14
whitelynx (~whitelynx@75.110.189.230) left irc: Ping timeout: 244 seconds01:18
Alex_Gaynorerr, wrong channel :)01:19
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace01:21
gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) left irc: Ping timeout: 240 seconds01:29
stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy.01:31
nedbat (~nedbat@python/psf/nedbat) joined #pypy.01:31
whitelynx (~whitelynx@75.111.197.204) joined #pypy.01:34
Nick change: Gulaway -> Gulopine01:35
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/188101:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/61801:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/63501:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/114601:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/29801:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/82001:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/146201:37
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/74201:37
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/28601:37
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds01:41
aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection01:46
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.01:47
etrepum (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 240 seconds01:49
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 244 seconds01:51
gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) joined #pypy.01:57
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/28601:58
mtigas (~mtigas@users.spokesman.com) left irc: Quit: mtigas01:59
stakkarsarigo: I checked the buildbot, but did not find your changes checked in.01:59
brads (~brads@S0106602ad06e67e1.ed.shawcable.net) joined #pypy.02:02
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.02:16
nedbat (~nedbat@python/psf/nedbat) joined #pypy.02:27
linq (~ident@24-246-25-39.cable.teksavvy.com) joined #pypy.02:29
stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Quit: schnarch02:29
squiddy (~squiddy@f053080138.adsl.alicedsl.de) left irc: Quit: Leaving02:31
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.02:32
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection02:35
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.02:36
harrison (~quassel@adsl-69-209-220-254.dsl.chcgil.ameritech.net) left irc: Ping timeout: 240 seconds02:36
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 240 seconds02:40
Shanita (~John@osbk-4db1538a.pool.mediaWays.net) joined #pypy.02:40
Kaskuka (~John@osbk-4db16ffd.pool.mediaWays.net) left irc: Ping timeout: 240 seconds02:41
brads_ (~brads@S0106602ad06e67e1.ed.shawcable.net) joined #pypy.02:49
brads (~brads@S0106602ad06e67e1.ed.shawcable.net) left irc: Read error: Connection reset by peer02:49
Nick change: brads_ -> brads02:49
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/96802:51
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.02:56
overminder (~overminde@wf119-103.ust.hk) left irc: Quit: Leaving03:01
zain (~textual@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net) joined #pypy.03:01
thinker` (~thinker@203.69.99.17) joined #pypy.03:02
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated!03:06
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds03:11
zain (~textual@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net) left irc: Ping timeout: 248 seconds03:14
nedbat (~nedbat@python/psf/nedbat) joined #pypy.03:14
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy03:18
rokujyouhitoma (~rokujyouh@173.227.61.4) left irc: Remote host closed the connection03:21
zain (~textual@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net) joined #pypy.03:23
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 260 seconds03:29
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer03:38
zain (~textual@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net) left irc: Quit: Computer has gone to sleep.03:45
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/188103:51
zain (~textual@74-95-7-92-SFBA.hfc.comcastbusiness.net) joined #pypy.03:59
linq (~ident@24-246-25-39.cable.teksavvy.com) left irc: Ping timeout: 240 seconds04:05
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.04:11
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Client Quit04:13
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.04:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/146204:50
zain (~textual@74-95-7-92-SFBA.hfc.comcastbusiness.net) left irc: Ping timeout: 252 seconds04:54
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/82004:56
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.05:00
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/63505:04
pybot joined #pypy.05:15
-ChanServ (ChanServ@services.)- [#pypy] Welcome!05:15
ThomasWaldmann (~twaldmann@moinmoin/coreteam/thomas) joined #pypy.05:15
apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy.05:15
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.05:15
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood05:15
dD0T (~dD0T@unaffiliated/dd0t) joined #pypy.05:15
-ChanServ (ChanServ@services.)- [#stackless] Welcome to #stackless. This channel is for the discussion of matters relating to Stackless Python. Remember that others in this channel may not be in the same timezone as you, so stick around for an answer (even if only in your channel history) if you ask a question. The mailing list is also recommended as being a faster place to get help (http://www.stackless.com/mailman/listinfo/stackless).05:16
Eruquen (Eruquen@server3.raumopol.de) joined #pypy.05:16
xorAxAx (~alexander@moinmoin/coreteam/alexander) joined #pypy.05:17
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.05:17
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood05:17
alexsuraci (u1962@gateway/web/irccloud.com/x-fmgkunpvlhywhrbp) joined #pypy.05:18
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.05:18
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) left irc: Changing host05:18
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.05:18
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-jhyiwpemvoorwycm) joined #pypy.05:18
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.05:18
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood05:19
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.05:20
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood05:20
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/61805:23
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.05:23
apollo13 (~apollo13@unaffiliated/apollo13) left irc: Ping timeout: 268 seconds05:23
apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy.05:25
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-jhyiwpemvoorwycm) left irc: Excess Flood05:26
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-rgtzudjklhivhojf) joined #pypy.05:26
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.05:26
stargaming (stargaming@server3.raumopol.de) joined #pypy.05:33
setmeaway (~setmeaway@119.201.52.190) left irc: Quit: Leaving05:45
setmeaway (~setmeaway@119.201.52.190) joined #pypy.05:46
ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) joined #pypy.05:48
oal (u4126@gateway/web/irccloud.com/x-nmdnucfmlpdbesxp) joined #pypy.05:51
asmeurer_____ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.05:55
asmeurer (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Ping timeout: 240 seconds05:56
Nick change: asmeurer_____ -> asmeurer05:56
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy.06:03
thinker` (~thinker@203.69.99.17) left irc: Remote host closed the connection06:12
Nick change: Gulopine -> Gulaway06:16
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/74206:22
aleksi (~aleksi@85.235.191.82) joined #pypy.06:24
RiaanFV (~riaanfv@41-133-33-231.dsl.mweb.co.za) joined #pypy.06:25
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection reset by peer06:28
ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) left irc: Quit: ericflo06:39
RiaanFV (~riaanfv@41-133-33-231.dsl.mweb.co.za) left irc: Quit: Leaving06:42
brads (~brads@S0106602ad06e67e1.ed.shawcable.net) left irc: Ping timeout: 268 seconds06:43
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.06:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/29806:57
fijal (~fijal@41.52.94.74) joined #pypy.07:14
fijalwhy is gmail black today?07:20
Alex_Gaynorfijal: it's normal for me07:21
fijalthe gmail logo is black07:23
rokujyouhitoma (~rokujyouh@12.51.221.130) joined #pypy.07:23
fijalgood07:26
fijalnow only thing that's left is to turn what I have into an actual solution07:26
fijaland use matplotlib from pypy07:26
fijaldone07:26
brutal_chaosfijal: yay07:26
brutal_chaosyou're around07:26
fijalbrutal_chaos: yes, why?07:26
brutal_chaoswhat should I send to the dev ml?07:26
fijalabout what?07:27
brutal_chaos(benchmarks)07:27
fijalsorry, I'm having my first coffee, my IQ is halfed07:27
fijalhalved even07:27
fijal"hello, those are the benchmarks on clang and shadowstack, discuss"?07:27
fijalmachine spec please as well07:27
fijaland compiler versions07:27
brutal_chaosfijal: kk, do I attach the results.json?07:28
fijalcan't you just paste the stdout?07:28
brutal_chaosyes, sure.07:28
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.07:28
brutal_chaoswasn't sure which was necessary. on it.07:28
fijalstdout is essentially a human-readable version of json07:29
fijalI don't think json has more info innit07:29
fijalAlex_Gaynor: it's kinda neat hack, I'm proud ;-)07:29
asmeurer (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer07:34
K-os (~gabriel@port-18238.pppoe.wtnet.de) joined #pypy.07:35
brutal_chaosReport on Linux infinity 3.1.1-gentoo #1 SMP PREEMPT Sun Nov 20 03:57:03 PST 2011 x86_64 AMD Turion(tm) II Dual-Core Mobile M52007:35
brutal_chaosTotal CPU cores: 207:35
Alex_Gaynorfijal: it's quite nice :)07:35
brutal_chaosgood enough info?07:35
brutal_chaosfijal? ^07:36
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.07:37
hongminhee (u295@gateway/web/irccloud.com/x-juuehcrfxwjrnmtl) joined #pypy.07:38
fijalbrutal_chaos: yop07:39
fijalbrutal_chaos: personally I would like to know your cache size07:39
fijaland what pypy thinks about it :)07:39
fijalcat /proc/cpuinfo07:40
fijalcat /proc/cpuinfo | grep cache07:40
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer_07:42
brutal_chaosfijal: sent. :)07:47
fijalcool07:47
fijaldid not receive yet07:47
fijalbrutal_chaos: so what are you comparing against?07:52
fijalvs asmgcc one?07:53
brutal_chaosnothing yet I guess. Going to run the tests against your prebuilt one tonight.07:53
fijalno no07:53
fijalhow did you run it?07:53
fijalit always compares something with something else07:53
fijalwhat was the command line?07:54
brutal_chaosnot sure, one sec07:54
brutal_chaospypy ./runner.py07:55
brutal_chaosthat's all07:55
fijalok well07:55
fijalI think you compared pypy to pypy07:55
fijala bit useless07:55
brutal_chaoslol07:56
brutal_chaosfun07:56
brutal_chaosfijal: how was supposed to run the benchmarks? I'll rerun them tonight07:57
fijal./runner.py --baseline=one -p twop07:58
fijalwhere one and two are your things to compare07:58
fijal--baseline defaults to whatever interpreter you use to run runner07:58
brutal_chaospypy ./runner.py --baseline=/usr/bin/pypy -p /usr/src/python07:59
brutal_chaos?07:59
fijalfor example08:00
brutal_chaoskk, I'll run that tonight08:00
fijalbut a comparison with cpython is not as exciting as pypy with shadowstack vs pypy with asmgcc08:00
brutal_chaosok, compare it to your prebuilt one?08:01
brutal_chaosfijal: your prebuilt Linux 64bit one08:01
fijalsounds good08:03
brutal_chaosfijal: btw, has that email showed up yet?08:04
fijalyes08:04
brutal_chaosshown*08:04
brutal_chaoscool08:04
fijalAlex_Gaynor: hey08:14
fijalAlex_Gaynor: imagine that you do08:14
fijalpip install scipy_pypy08:14
fijaland you get all the scipy routines just like that08:15
fijalvia this bridge08:15
fijalain't it awesome?08:15
Alex_Gaynorpretty cool08:15
fijalthat's quite some work08:15
Alex_Gaynoryou need to disable cpyext with your pypy though right?08:15
fijalbut I want to write a blog post08:15
fijalyes08:15
Alex_Gaynorembed CPython is a much cooler solution anyways :)08:15
Alex_Gaynorfijal: which first, this one or benchmarks?08:16
Action: Alex_Gaynor is writing another paper08:16
fijalI dunno08:16
fijalbenchmarks require quite a few things that are hard ;-)08:16
Alex_Gaynorpypy is good at solving hard problems08:17
Alex_Gaynoror transforming them into trivial problems08:17
fijalyeah well08:17
fijalI dunno, I make my presentation today08:17
Alex_GaynorWant to provide runtime feedback into the JIT on a per-function basis deciding if loops should be unrolled?  Add a decorator!08:17
fijalso probably none of them today08:17
Alex_Gaynorpresentation to a PUG?08:17
Alex_GaynorShow them the benchmarks and this stuff, it's seriously cool.08:18
rokujyouhitoma (~rokujyouh@12.51.221.130) left irc: Remote host closed the connection08:21
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy08:23
stargaming (stargaming@server3.raumopol.de) left irc: Changing host08:27
stargaming (stargaming@unaffiliated/stargaming) joined #pypy.08:27
fijalyes08:28
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.08:35
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Client Quit08:35
sunoano (~sa@unaffiliated/sunoano) left irc: Quit: Leaving.08:37
arigato (~arigo@82.113.99.213) joined #pypy.08:39
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) joined #pypy.08:44
Nick change: Guest86987 -> Fluxid08:47
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:47
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.08:48
Alex_Gaynorcfbolz: do you think consistency with prolog is an important property for Python code?08:50
cfbolzfor me, yes08:50
cfbolz:-)08:50
Alex_Gaynorhehe, I rather liked prolog, I just can't imagine writing actual programs in it08:51
cfbolzAlex_Gaynor: that feeling goes away after you've written your first medium-sized program in it08:51
Alex_Gaynoryes, I only wrote small programs like maze solvers and parsers08:52
mikefcfijal: scipypy?? ooooo! :)08:52
Alex_Gaynormikefc: did you see his matplotlib example?08:52
mikefcnope. where at?08:52
Alex_Gaynormikefc: http://baroquesoftware.com/~fijal/extreme_hacks.png08:52
mikefcthat's pretty fucking awesome08:53
mikefcdare i ask: speed?08:53
mikefcis scipypy using numpypy for array stuff there?08:54
Action: mikefc gets excited08:54
Alex_Gaynorbasically he's embedding CPYthon inside of pypy08:54
Alex_Gaynorusing ctypes08:54
Alex_Gaynorand then passing the array address to CPython, where it's loaded up and displayed08:54
Alex_Gaynorso you're sharing the raw memory between the two of them08:54
mikefcoh. nice. a handy bridge.08:54
Action: mikefc wants native scipypy and numpypy :)08:54
Alex_Gaynoryeah, works nicely with anything that just reads the arryay contents08:54
mikefcnative = pypy 08:55
K-os (~gabriel@port-18238.pppoe.wtnet.de) left irc: Ping timeout: 248 seconds08:55
arigatoAlex_Gaynor: it should work also if the array content is modified, no?08:55
Alex_Gaynorin theory you can write all the slow parts of your code in pypy, and then just do the display (which isn't a time sink) in the bridge08:55
Alex_Gaynorarigato: well, as long as you don't need to change the shape or anything like this08:55
arigatoyes08:55
Alex_Gaynoryou can change elements, but nothing else08:55
arigatoyes08:55
arigatobut you can also build new arrays and pass them in the other direction, too08:55
Alex_Gaynortrue08:56
kenaan12arigo default 11104e7a656174 15/pypy/module/clr/boxing_rules.py: Comment out this hack.  I guess it was used for "checkmodule", which likely doesn't work any more with the clr module.09:00
squiddy (~squiddy@g224195234.adsl.alicedsl.de) joined #pypy.09:02
amaury (amaury_@nat/google/x-aroxchifqyoidfxw) joined #pypy.09:02
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:11
mikefcwoo!09:12
mikefcFatal RPython error: AssertionError09:12
mikefcAbort trap09:12
Action: mikefc goes "bug case" hunting09:13
arigatomikefc: in which pypy?09:14
mikefcnightly from <24hrs ago09:14
arigatofeel free to paste more information :-)09:15
mikefcI'll narrow down my test case first09:15
aurojit (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.09:19
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Ping timeout: 244 seconds09:21
arigato (~arigo@82.113.99.213) left irc: Quit: See you09:23
thinker` (~thinker@114-24-13-172.dynamic.hinet.net) joined #pypy.09:29
lucian (~lucian@78-86-111-127.zone2.bethere.co.uk) joined #pypy.09:36
voidspace (~voidspace@python/psf/voidspace) joined #pypy.09:46
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.09:50
mikefcRPython traceback:09:50
mikefc  File "jit_metainterp_optimize.c", line 159, in optimize_loop09:50
mikefc  File "jit_metainterp_optimize.c", line 510, in _optimize_loop09:50
mikefc  File "jit_metainterp_optimizeopt_unroll.c", line 13528, in UnrollOptimizer_propagate_all_forward09:50
mikefc  File "jit_metainterp_optimizeopt_optimizer.c", line 3962, in Optimizer_propagate_all_forward09:50
mikefc  File "jit_metainterp_optimizeopt_pure.c", line 2459, in OptPure_optimize_default09:50
mikefc  File "jit_metainterp_optimizeopt_fficall.c", line 1740, in OptFfiCall_optimize_CALL09:50
mikefc  File "jit_metainterp_optimizeopt_fficall.c", line 7416, in OptFfiCall_do_getsetarrayitem09:50
mikefc  File "jit_metainterp_optimizeopt_fficall.c", line 8000, in OptFfiCall__get_interior_descr09:50
mikefcFatal RPython error: AssertionError09:50
mikefcAbort trap09:50
mikefcsorry. bit too much :(09:51
mikefci'll make it a bug report. sorry09:53
Alex_Gaynordo you have a script to reproduce this?09:53
mikefcdata = numpy.zeros([100,100], dtype='uint8')09:53
mikefcfor row in xrange(100):09:53
mikefc" ".join([str(x) for x in data[row]]) 09:53
Alex_GaynorI see which assert it is, but I need the value that triggers it09:53
Alex_Gaynorwhat th ehell... how does that cause it09:53
Alex_Gaynoroh, I guess I see it09:53
Alex_Gaynorit's probably simpler than that09:53
K-os (~gabriel@dhcp-205.zbh.uni-hamburg.de) joined #pypy.09:54
mikefcpypy nightly: Python 2.7.1 (4162bc8b5f4c, Dec 05 2011, 05:42:01)09:54
Alex_Gaynorok, I see it :/09:55
Alex_Gaynorno need to file a bug09:55
mikefcit's a feature? :)09:56
mikefc"Would it be possible to have an interpreter that could support both Python 2 and Python 3 modules in the same runtime?"   ... and a pony?09:58
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:01
JaRoel|4d:p10:02
K-os (~gabriel@dhcp-205.zbh.uni-hamburg.de) left irc: Quit: Leaving10:04
setmeaway2 (oosool3@119.201.52.190) joined #pypy.10:05
setmeaway (~setmeaway@119.201.52.190) left irc: Read error: Connection reset by peer10:05
arigatocfbolz: floatstrategy is responsible for nbody_modified getting slower (~10%)10:07
Alex_Gaynorarigato: if you have a moment, could you take a look at the XXX here http://paste.pocoo.org/show/517922/10:09
K-os (~gabriel@dhcp-205.zbh.uni-hamburg.de) joined #pypy.10:09
arigatoAlex_Gaynor: that looks wrong10:12
Alex_Gaynor:)10:13
arigatoif kind == 'u', then is_signed=False (and the other is_xxx too)10:13
Alex_Gaynorah indeed, the tests passes with them all False10:14
arigatoyou need to change your test10:14
Alex_Gaynorhow so?10:14
arigatostore a value that is between 128 and 25510:14
Alex_Gaynorah, makes sense10:14
arigatoalso, if only data[0] is non-null, then the jit will never see it10:15
arigatoah, sorry10:16
arigatodata has only 1 item, the loop is not over the index10:16
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection10:17
Alex_Gaynorarigato: great thanks10:18
fijalarigato: it's more complex than that10:18
fijalfloat strategy changed some unrolling rules10:18
fijaluh maybe not10:19
Alex_Gaynorfijal: as i said, it broke UNPACK_SEQUENCE optmization wtih lists10:19
kenaan12alex_gaynor default 11617e1464542c 15/pypy/jit/metainterp/: make the dynamic interiorfield optimization work correctly with unsigned values10:19
kenaan12alex_gaynor default 1126bac7f772ca 15/pypy/module/clr/boxing_rules.py: merged upstream10:19
Alex_Gaynormikefc: ok fixed on trunk10:19
fijalAlex_Gaynor: I think carl claimed it was something else10:19
arigatofijal: I have two consecutive versions of pypy, so if needed, I can really look at the JIT code produced by each10:19
Alex_Gaynorfijal: no, I'm positive it's unpack sequence10:19
fijalarigato: ok, but IMO it's unpack sequence that makes it slow10:20
fijalbut anyway, look at traces, they're nonsense10:20
arigatounpacksequence?10:20
Alex_Gaynorarigato: UNPACK_SEQUENCE the opcoe10:20
Alex_Gaynoropcode*10:20
fijallike10:21
fijala, b, c = l10:21
Alex_Gaynorfijal: look at space.fixedview for W_ListObject10:21
fijalwhere l is a list of floats10:21
Action: fijal has no time10:21
fijalgoing to physio then walking10:21
fijalwill do some numpy in the evening10:21
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.10:23
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.10:23
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go10:23
Action: arigato tries to use jitviewer again10:23
fijalarigato: it works great for me *most of the time*10:24
fijaltimes where it does not work happen though10:24
arigatoit failed to work whenever I tried, usually for some easy-to-fix reason10:24
fijalrarely enough for me not to care10:24
fijalhalf of the blame goes on python code objects being sloppy at getting to source10:24
fijalthe other part about jitviewer not being able to run without source10:24
fijalshould be better now10:24
fijalbut well10:25
fijalI'm sorry, next incarnation will be better whenver I'll get to it :)10:25
arigato:-)10:26
fijalarigato: I want my tests to run faster under pypy :/10:26
arigato[yay, it works in this case :-)]10:26
fijalthat's a bit cheating, because I used it on nbody_modified before ;-)10:26
fijalarigato: the slow test runs are the last thing that make me not move10:27
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:28
thinker` (~thinker@114-24-13-172.dynamic.hinet.net) left irc: Ping timeout: 252 seconds10:28
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) left irc: Client Quit10:28
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:28
oalHmm, why isn't Pypy in the debian benchmark game?10:28
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.10:29
lucianoal: because they don't want it there, and it's not very relevant10:29
arigatouh, expanding the list of floats to W_Objects is done by two residual calls?10:29
arigatoinefficient10:29
oallucian: ok :)10:29
Alex_Gaynorarigato: with much allocating and copying10:29
arigatoyes10:30
Alex_Gaynorthere should be a getitems_unroll or so, that fixedview can all10:30
lucianoal: it's literally a benchmark game, and irrelevant for most workloads10:30
brutal_chaosfijal: hmm, ugh. The ssl you build against is old...10:32
voidspace (~anonymous@python/psf/voidspace) joined #pypy.10:35
brutal_chaoshow can I test pypy to make sure it'll run properly?10:35
kkris (~kris@93-82-40-215.adsl.highway.telekom.at) joined #pypy.10:37
cfbolzAlex_Gaynor: we'll ask lukas to look into it10:40
Alex_Gaynorok. thanks10:41
kenaan12arigo default 1115d89540a5c3 15/pypy/: Add a failing test for fixedview() on a list of floats that expands to too much stuff for now.10:44
squiddy (~squiddy@g224195234.adsl.alicedsl.de) left irc: Quit: Leaving10:44
cfbolzarigato: you checked in some random stuff10:50
arigatooups10:50
thinker` (~thinker@111-248-41-131.dynamic.hinet.net) joined #pypy.10:50
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.10:51
nedbat (~nedbat@python/psf/nedbat) joined #pypy.10:52
kenaan12arigo default 113ff9c88dca39 15/pypy/jit/codewriter/codewriter.py: Revert this, committed by accident.  (The other accidental commit is actually good and a complete detail, so I'm no...10:55
thinker` (~thinker@111-248-41-131.dynamic.hinet.net) left irc: Read error: Connection reset by peer11:09
Arach (~arach@95-30-210-133.broadband.corbina.ru) left irc: Ping timeout: 244 seconds11:15
thinker` (~thinker@111-248-41-131.dynamic.hinet.net) joined #pypy.11:20
lmoura (~lmoura@186.215.206.130) left irc: Ping timeout: 240 seconds11:25
lmoura (~lmoura@186.212.130.54) joined #pypy.11:25
Arach (~arach@2.95.139.234) joined #pypy.11:28
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds11:44
stakkars_ (~tismer@i59F744D8.versanet.de) joined #pypy.11:48
stakkars_whow! I did the first bootstrap.11:50
lucian (~lucian@78-86-111-127.zone2.bethere.co.uk) left irc: Ping timeout: 240 seconds11:51
bfirsh (u1308@gateway/web/irccloud.com/x-vertixxxctpxdezm) joined #pypy.11:52
stakkars_python2.6 built pypy-win32 in 16500 s11:53
stakkars_pypy-win32 builds itself in 7750 s11:55
thinker` (~thinker@111-248-41-131.dynamic.hinet.net) left irc: Ping timeout: 244 seconds11:55
stakkars_the memoty requirement was interesting:11:55
stakkars_python 2.6 needed 1.9 Gb11:56
stakkars_pypy-win32 needed 2.13 Gb11:57
stakkars_so my first attempt crashed even in python.exe with memory error, and I had to enable it for more memory11:58
stakkars_using editbin. We should add this step for all win32 builds.12:01
stakkars_interesting was the step "compile_c". This was even slower in PyPy!12:02
xiaochen (~chobits@119.80.124.179) joined #pypy.12:03
stakkars_obviously because pypy is restarted for every source file to process it, and the Jit forgets all of its knowledge between the sessions.12:03
stakkars_This is a thing to think about: How can we save Jit knowledge?12:04
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.12:04
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Remote host closed the connection12:04
stakkars_perhaps with shared memory, forking and a copy-on-write semantic?12:04
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.12:04
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Client Quit12:06
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.12:06
stakkars_all in all a wonderful experience. I will now generalize my Win64 branch to let it run on top of a 32bit interpreter, like the fast pypy-c. That is a cross-bootstrap.12:06
stakkars_compile_c: python2.6   3000 s12:12
stakkars_compile_c: pypy-32  3125 s12:13
jacob22stakkars_: Anto did experiments with dumping the state of the executable at the sprint. That way you can conserve JIT state.12:17
stakkars_jacob22: ah, I thought he had no real success.12:18
stakkars_I think that could be an important feature, for instance for running the test suites, which partially are starting python vry often.12:19
jacob22stakkars_: His problem was that he came back exactly to the dumped state and didn't have any control over the resumption.12:19
stakkars_ok, that is what I expected. One needs to write something which gives a restart point, at interpreter toplevel.12:20
jacob22stakkars_: But if you pick up the name of files to translate through an environment variable or some other external mechanism, you can steer the resumed program.12:20
jacob22Now, I don't know if the warmup time for the translation toolchain warrants such hacks, or if the time saved will be minimal.12:22
stakkars_I would not even write a dump to a file, but use shared memory, fork the process and let it forget everything but what it learned.12:23
stakkars_likewise, resetting pypy into an initial state, based on the same virtual address space12:25
stakkars_(but I fear this exactly will be hard to impossible on Windoze)12:25
brutal_chaosfijal: I cannot compare against your prebuilt pypy12:27
brutal_chaosyou compile against an old libssl and libcrypto.12:28
brutal_chaos0.9.8 vs 1.0.012:28
stakkars_well, I need to think more about this. maybe we can dump a bit more abstractly.12:29
nedbat (~nedbat@python/psf/nedbat) left irc: Disconnected by services12:31
nedbat_ (~nedbat@python/psf/nedbat) joined #pypy.12:31
brutal_chaosfijal: gentoo aparently has 0.9.8 slotted (i can have both versions installed at the same time). I am building it now and will hope the tests run.12:31
squiddy (~squiddy@w4322.dip.tu-dresden.de) joined #pypy.12:34
stakkars_jacob22: Anto's problem is actually quite similar to what I needed to do for stackless tasklet pickling. That needs a controlled way, by calling a special function. 12:42
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.12:42
mikefcAlex_Gaynor:  thanks for the fix12:45
stakkars_a last comment: The memory usage was only 10% difference between python and pypy. I expected much more.12:47
stakkars_IOW, PyPy is quite conservative at the moment, and I think it could preserve things a bit longer, or whatever gets faster by using nore memory.12:48
stakkars_(this is the warm-up for a blog post)12:49
arigato$ py.test --no-assert12:55
arigatoERROR: assertion options conflict12:55
arigatothank-you-very-much12:55
nedbat_ (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds12:58
sunoano (~sa@mail.heartinternet.co.uk) joined #pypy.13:00
sunoano (~sa@mail.heartinternet.co.uk) left irc: Changing host13:00
sunoano (~sa@unaffiliated/sunoano) joined #pypy.13:00
squiddy (~squiddy@w4322.dip.tu-dresden.de) left irc: Quit: leaving13:02
stakkars_ (~tismer@i59F744D8.versanet.de) left irc: Quit: schnarch13:09
jnoller (~jnoller@vpn.nasuni.com) joined #pypy.13:10
harrison (~quassel@adsl-69-209-212-18.dsl.chcgil.ameritech.net) joined #pypy.13:11
mikefcWhen are the new nightly releases compiled?  i.e. what time GMT?13:13
arigatoaround 2AM13:13
stakkars_ (~tismer@i59F744D8.versanet.de) joined #pypy.13:14
kenaan12arigo SpecialisedTuples 11363bac62f6dc 15/pypy/objspace/std/: Rework the source code.  Kill a few features that don't really make sense to have; write by hand a fast d...13:14
kenaan12arigo SpecialisedTuples 1138ecd0cebaa2 15/pypy/objspace/std/specialisedtupleobject.py: translation fix13:14
mikefcarigato: thanks. i've reached an impasse and need to wait for Alex_Gaynor's fix in trunk.13:14
Action: mikefc checks watch and does conversion13:15
mikefcnoon tomorrow.13:15
arigatoif you want a new release, you can force one right now, too13:15
arigatothen you'll get it in 45 minutes13:15
mikefcreally? how?13:15
arigatohttp://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-3213:16
arigato(example for linux 32)13:16
mikefc(not that i need it just at the moment. it's nearly midnight, and I don't want to stay up too too late)13:16
arigatogive your name in the form, and press "Force build"13:16
arigato:-)13:16
mikefcah. nice.13:16
mikefcit's not protected from denial of service ? anyone on the net can request a build?13:18
stakkars_arigato: on win32, this takes 7750 s! How comes?13:18
arigatoyes, I agree it sounds strange, but we didn't have any unexpected build at all, so far13:18
arigatostakkars_: I can't really know13:19
stakkars_I used "pypy-c translate.py -Ojit"13:19
arigatoyes13:19
stakkars_which created all that it could. Do you do this as well?13:20
arigatoand also "python translate.py -Ojit" takes ~1h30 on linux13:20
arigatoyes13:20
arigatoless than 2h for sure13:20
arigatopython2.613:20
arigato(and python2.7 is much faster than python2.6, according to fijal)13:21
stakkars_python 2.6 took over 4 hours13:21
stakkars_pypy took over 2 hours. Should virtualbox be so slow? Will see.13:22
arigato"pypy translate.py -O2 --no-allworkingmodules" takes 20 minutes on my laptop13:22
kenaan12arigo SpecialisedTuples 111f3ae2d48981 15/pypy/config/pypyoption.py: Add 'withspecialisedtuple' by default, at least for testing the result.13:24
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1147 [12arigo, SpecialisedTuples]13:24
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1147 [12arigo, SpecialisedTuples]13:27
arigatoaaaAaah bah13:31
arigato2.7/sre_compile.py13:31
arigatois using a ton of ' if x is "mark":"13:32
arigatoah, that has been fixed on trunk13:34
Action: arigato merges it into SpecialisedTuples13:34
kenaan12arigo SpecialisedTuples 114f1c5b700152 15/: hg merge default13:38
kenaan12arigo SpecialisedTuples 1124d1d9d80c96 15/pypy/objspace/std/tupletype.py: clean-up.13:39
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1148 [12arigo, SpecialisedTuples]13:45
stakkars_maybe I need a true windows machine to check. This also helps to check certain time related bugs (bad on a virtual)13:46
mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) joined #pypy.13:48
mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) left #pypy.13:53
Nick change: Gulaway -> Gulopine13:57
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.13:58
bivab (~david@ip-62-143-59-5.unitymediagroup.de) joined #pypy.13:59
kenaan12bivab arm-backend-2 11e70ac50eb3a3 15/pypy/jit/backend/arm/: refactor FINISH to directly store all values to the failboxes.14:00
kenaan12bivab arm-backend-2 1110bf505d8a69 15/pypy/jit/backend/arm/opassembler.py: translation fix, missing case14:00
kenaan12bivab arm-backend-2 119512dcdd4967 15/pypy/jit/backend/arm/opassembler.py: Reverse this BKPT back to a NOP here, because this is not always patched14:00
stakkars_ (~tismer@i59F744D8.versanet.de) left irc: Quit: schnarch14:09
sven_hager (~sven@dslb-092-072-028-071.pools.arcor-ip.net) joined #pypy.14:09
whitelynx|work (~whitelynx@63.241.75.144) joined #pypy.14:16
nedbat (~nedbat@python/psf/nedbat) joined #pypy.14:23
kenaan12hager ppc-jit-backend 11103beedd8034 15/pypy/jit/backend/ppc/ppcgen/: begin reimplementation of CALL on PPC6414:39
stakkars_ (~stakkars@82.113.121.173) joined #pypy.14:41
Nick change: Gulopine -> Gulaway14:42
stakkars_arigato: -O2 --noallworking 14:43
stakkars_1993 s14:44
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1148 [12arigo, SpecialisedTuples]14:48
nedbat (~nedbat@python/psf/nedbat) left irc: Disconnected by services14:49
nedbat_ (~nedbat@python/psf/nedbat) joined #pypy.14:50
ousado_ (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy.14:53
ousado (~ousado@unaffiliated/ousado) left irc: Ping timeout: 240 seconds14:53
Nick change: ousado_ -> ousado14:53
ousado (~ousado@31-18-121-45-dynip.superkabel.de) left irc: Changing host14:53
ousado (~ousado@unaffiliated/ousado) joined #pypy.14:53
cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) joined #pypy.14:58
santagada (~leonardo@201.47.217.214) joined #pypy.15:02
stakkars_ (~stakkars@82.113.121.173) left irc: Quit: Colloquy for iPhone - http://colloquy.mobi15:04
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Quit: leaving15:07
kennethreitz (~kennethre@ip65-46-252-62.z252-46-65.customer.algx.net) joined #pypy.15:09
aleksi (~aleksi@85.235.191.82) left irc: Remote host closed the connection15:10
xiaochen (~chobits@119.80.124.179) left irc: Quit: leaving15:16
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:16
roelbruggink (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:17
fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy.15:17
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 240 seconds15:19
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 240 seconds15:20
Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy.15:29
fijalstakkars: seems compile_c took tons of time15:31
fijalif it's multicore it can be sped up by quite a bit15:31
rokujyouhitoma (~rokujyouh@12.51.221.130) joined #pypy.15:33
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.15:34
fijalfzzzy: hello15:43
fzzzyhey fijal15:44
fijalhowzit?15:44
fzzzygood, what's new with you15:44
fzzzywhy am i up so early though :(15:45
fijaldon't ask me ;-)15:46
fijalfzzzy: what stops you guys from using pypy?15:47
fzzzyfijal: what do you mean? for what?15:52
fijalfor mozilla stuff15:52
fijalI wonder if you did some experiments15:52
fzzzythere's plenty of python inside mozilla but not in my department15:53
fijalah ok15:53
fijalso what do you work on, if it's not a secret?15:53
fijalsome sort of JS?15:53
fzzzyjavascript15:53
fijalI've seen your pavel15:53
fijalI assume this sort of stuff15:53
fzzzyyeah, i'm working on dom.js mostly15:53
fijalah cool15:53
fzzzyalso most of the dudes I work with are working on rust15:54
fijalthat does improve the testing story quite a lot15:54
fijalis rust implemented mostly in rust?15:54
fijalor mostly in C++?15:54
fzzzyrust is implemented in rust15:55
fzzzythere's small amounts of c++ for libuv and other standard library type stuff15:55
fijal:(15:56
fijaldoes rust come with an ffi?15:56
fzzzyyes15:56
fijalok, so why c++?15:56
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace15:57
fzzzyinstead of what? c?15:57
fzzzythere's not very much c++15:58
bivab (~david@ip-62-143-59-5.unitymediagroup.de) left irc: Quit: bivab15:59
sven_hager (~sven@dslb-092-072-028-071.pools.arcor-ip.net) left irc: Quit: Leaving15:59
fijalok16:00
fijalcool16:00
fzzzyfijal: what about #define though? that seems to be a huge problem for ffis16:00
fijalwell, I have a solution for that16:01
fijalwhich is to compile small snippets of C and to introspect the platform16:02
fijalworks fine for pypy16:02
exarkunit's a sensible solution, but I expect that when normal people start trying to use PyPy on Windows, some complaints will arise16:02
fzzzyhow do you know what the small snippets of c are?16:03
arigatoexarkun: we don't do it at runtime, only at translation time16:03
fijalfzzzy: that's what you declare in your interface files16:03
fzzzyI'm surprised there is so much c++ in rust actually: https://github.com/graydon/rust/tree/master/src/rt16:03
fijalI can imagine some sort of helpers for parsing .h file would help16:03
exarkunarigato: ah well, that's even better :)16:03
fijalexarkun: yeah16:04
fijalexarkun: rffi_platform works quite well for us16:04
fzzzyfijal: you declare small snippets of c? that sounds reasonable16:04
kenaan12hager ppc-jit-backend 11e83a924bb5d8 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: remove comments16:04
kenaan12hager ppc-jit-backend 11976ed819b3c4 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: remove debug stuff16:04
fijaltrying to expose it at applevel failed miserably16:04
fijalfzzzy: either that or you specify it somehow16:04
fijalit's a matter of convinience16:04
fijalbut we don't have say hardcoded sizes of structs16:04
fijaletc.16:04
fzzzyyes, they have been discussing whether it is possible to use clang to discover what the macro structure is like16:04
fijalarigato: would you mind if one of the nightly build will be cpyext-less16:07
fijal?16:07
roelbruggink (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:08
arigatowhich one? why? and likely yes16:08
fijalone that we have redundant16:08
fijalto make my embedding of cpython work16:08
lucianfzzzy: i would guess rewriting all that C++ in rust itself might be a good test of the language?16:08
fijalI think we have both 32 and 64bit linux that are redundant16:08
fijaland also:16:09
fijalhow do I create a code object from char* in CPython's C API?16:09
arigatoyou can use a -jitnojit, I suppose, but I still have no clue why16:09
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Remote host closed the connection16:09
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Quit: Leaving16:09
fzzzylucian: the point is to have as much implemented in rust as possible16:09
gutworthfijal: what is the char *?16:09
fijalgutworth: python code16:10
fijalarigato: I want a jit version, we have like 3 different 32bit builds a night16:10
fijalI want to embed cpython in pypy16:10
gutworthPy_Compile* and friends16:10
fijalthat requires not using cpyext16:10
fijalgutworth: Py_Compile or PyCompile?16:11
arigatofijal: why not?16:11
fijalwhy it requires not having cpyext?16:11
gutworthit's not called Py_Compile16:11
arigatofijal: yes16:11
gutworthlike Py_CompileSimpleStringFlags16:11
gutworthlook at pythonrun.h16:12
fijalarigato: because you get symbol clashes if you try to load libpython2.6.so16:12
fijalusing ctypes16:12
arigatoah, that's obscure16:12
arigatocan't you load with a flag that means "overwrite all symbols"?16:12
fijalarigato: if you tell me how, then yes, wouldn't that make cpyext stop working though?16:13
arigatoyes16:13
squiddy (~squiddy@g224195234.adsl.alicedsl.de) joined #pypy.16:14
fijalok16:14
fijalwell I guess that is fine, but how do I do that?16:14
fijalwell, "fine"16:14
arigatomaybe RTLD_DEEPBIND?16:14
fijalwhich I have to pass all the way down since ctypes does not know about it...16:15
fijalthat's however fine16:15
kenaan12arigo default 11062e9d06c908 15/pypy/jit/backend/: Hack: record at least some partial information about which frame locations are freed, and if a hint is present, try...16:15
exarkunfijal: Just write your own linker16:16
fijalexarkun: sounds like a great idea thanks!16:16
exarkun(couldn't be any harder than writing PyPy)16:16
fijalarigato: you've seen my hacks btw?16:16
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...16:18
arigatofijal: the screenshot? yes16:18
fijalok16:18
arigatoit looks like a good idea16:18
fijalit works16:18
rokujyouhitoma (~rokujyouh@12.51.221.130) left irc: Read error: Connection reset by peer16:19
kenaan12arigo SpecialisedTuples 117ad77a6f050c 15/pypy/module/cpyext/tupleobject.py: Fix.  Previously, we would risk getting a specialised tuple if enabled. That makes little sense: we can o...16:20
Action: fijal wants gateway.applevel16:20
fijalarigato: I have to reinvent all the cool APIs that objspace has in order to have anything semi-usable16:20
arigatofijal: re symbol clashes: the very obscure alternative is to ensure that pypy+cpyext defines different symbols16:23
arigatoby #define'ing them all16:24
fijalyes16:24
arigatoe.g. #define PyTuple_GetItem PyPyTuple_GetItem16:24
fijalbut this sounds like it goes slightly beyond my hacks now16:24
arigato:-)16:24
fijalalthough we have support for that16:24
fijalfor running inside16:24
arigatouh16:25
arigatook16:25
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.16:25
fijallater :)16:27
arigatoSpecialisedTuples fails because hashes are not always correct16:31
cfbolzuh??!16:32
cfbolzarigato: how?16:32
kenaan12l.diekmann default 11f19d06a5972d 15/pypy/objspace/std/: (l.diekmann, cfbolz): Be more careful about unrolling getitems. also make one less copy16:32
kenaan12l.diekmann default 116acad4874739 15/pypy/jit/backend/: merge16:32
Alex_Gaynorcfbolz: I believe that's why they call it a bug :)16:32
kenaan12l.diekmann type-specialized-instances 11e481a093e056 15/pypy/objspace/std/mapdict.py: fixes for type-specialized-attributes16:33
K-os (~gabriel@dhcp-205.zbh.uni-hamburg.de) left irc: Ping timeout: 252 seconds16:34
arigatoI have two t=(1,2,3) that are a W_TupleObject (why??) and a W_SpecialisedTupleObject_ooo (why??)16:34
arigatoand they don't have the same hash16:34
Action: pedronis any sufficiently tested code base will have only obscure bugs left16:34
arigato:-)16:34
Action: fijal just realised his hacks are untestable on CPython16:34
fijal:-)16:35
dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy.16:35
Alex_Gaynorfijal: sure they are, you just need to use the shared object for the current proc, instead of another one, I think16:35
Alex_Gaynorprobably a mess with GIL and refcounts as well16:35
arigatoah, I got at least the 2nd "why??"16:36
arigatobah, indeed, the test fails if I just write it in test_specialisedtupleobject16:37
asmeurer (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.16:38
pedronisAlex_Gaynor, at least cpython ctypes has PyDLL to deal with the GIL16:39
Alex_Gaynorpedronis: does that work if you're trying to embed CPython inside of itself?  I gues sthat's inherently a mess16:39
pedronisAlex_Gaynor, I think it's partly meant for that, but yes you are a bit on your own and need to be very careful16:40
pedronisAlex_Gaynor, the documentation says as much: http://docs.python.org/library/ctypes.html#ctypes.PyDLL16:40
fijalpedronis: I think I'm past "dragons 25k" roadsign now16:41
cfbolzarigato: about the first why, are we sure that nobody is explicitly instantiating W_TupleObject?16:41
pedronisfijal, they still sell petrol it seems16:42
fijal:]16:42
arigatowaa16:42
kenaan12arigo SpecialisedTuples 11526f61d70b8f 15/pypy/objspace/std/test/test_specialisedtupleobject.py: Kill.16:43
kenaan12arigo SpecialisedTuples 11f0cc6a3ff8e9 15/pypy/objspace/std/: Test and fix.16:43
arigatocfbolz: I checked, and I found only cpyext16:44
cfbolzarigato: "yay"16:44
arigatocfbolz: ah no, there is also the delegation from16:44
arigatoW_SpecializedTuple to W_TupleObject16:44
arigatounsure how it could happen to make a long-lived W_TupleObject16:44
arigatoah yes16:45
arigatoif we write e.g.  (1, 2) * 116:45
Rhy0lite (dje@nat/ibm/x-rprjxbrujixjwwyx) joined #pypy.16:45
arigatoshould we care?  I guess no16:45
cfbolzpfff, I guess we will find out that we *do* care :-(16:46
arigatowell right now, "tup*1 is tup" is not true any more16:47
arigatothe code is actually written, I just commented it out16:47
arigatoinstead of reviewing and rpythonifying it16:48
ltratt (~ltratt@px238.dcs.kcl.ac.uk) joined #pypy.16:50
kenaan12arigo SpecialisedTuples 11d896533b28af 15/pypy/objspace/std/: Re-add and review this code.  Needed to ensure that "tup*1 is tup", in case obscure code depends on it.16:55
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.16:55
kenaan12arigo default 118de6f245c959 15/pypy/objspace/std/iterobject.py: Kill this __init__, which nowadays contains just a duplicate of setting to w_seq --- already done in the parent __i...16:55
Action: arigato away16:56
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you16:57
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.16:57
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host16:57
voidspace (~anonymous@python/psf/voidspace) joined #pypy.16:57
neunon (~snoonan@unaffiliated/neunon) left irc: Quit: Leaving...17:01
kennethreitz (~kennethre@ip65-46-252-62.z252-46-65.customer.algx.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/17:06
ltrattHi all. I seem to having a problem with RPython finalizers and the minimark GC at -O3. One of my finalizers seems to be called while the object is still live (it free's memory, which is later used by a function in that object, causing a core dump). With semispace at -O3, for example, everything is OK. Are there any known gotchas in this area?17:07
khs (~khs@151.43.202.84.customer.cdi.no) joined #pypy.17:07
cfbolzltratt: can the finalizer resurrect the object? ie store it to a globally reachable position?17:08
ltrattnope, it contains only lltype.free(self.data)17:08
cfbolzok17:08
cfbolzthen I have no clue, sorry17:08
cfbolzalso, am about to leave17:08
ltrattthanks anyway :)17:08
ltratti noticed some commits by fijal on lightweight finalizers that might be relevant?17:09
ltrattcertainly if i stick a print statement in there, it seems to delay finalization17:09
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds17:09
fijalltratt: hey17:20
fijalltratt: what do you mean by object is still alive btw?17:21
fijalcan you show me the relevant piece of rpython?17:22
fijalfor example locals don't keep the object alive17:22
Alex_Gaynorfijal: what?  yes it does, if it's a local that can still be used it's kept alive17:22
fijalAlex_Gaynor: not in RPython17:23
Alex_Gaynorfijal: you're syaing def f(n): i = [] while len(i) < n: i.append(3); return i doesn't keep list alive17:23
ltrattfijal: i'm not sure how to extract a useful subset of my code17:23
fijalAlex_Gaynor: you know what I'm saying17:23
Alex_Gaynorno I'm pretty confused17:24
fijalif you get the raw pointer out of a field17:24
ltrattI can send you a whole wodge of stuff if you'd like :)17:24
jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy.17:24
fijalthe existance of local does not keep it alive17:24
fijalltratt: can you start with explaining what you're doing maybe?17:24
fijalis it python? is it rpython?17:24
ltrattIt's RPython, part of the Converge VM17:25
fijalhttp://paste.pocoo.org/show/518032/17:25
fijalyou're probably doing something like that17:25
ltrattAha! I think you might be right17:25
ltrattlet me try...17:26
fijalyeah, that's wrong17:26
fijalif you had gc collection in between it would explode anyway17:26
ltrattIs this stuff written down somewhere? Sometimes I worry that I'm violating subtle constraints that I could only know if I was one of you guys.17:27
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.17:29
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.17:29
ltrattI have a resizing function which does this http://pastebin.com/XgG7mePD17:29
fijaltests17:30
fijalis the only way...17:30
ltrattshould 'keepalive_until_here go before or after the free? I guess after, but then does the free work? :)17:30
fijalno, it's probably not written17:30
fijalwhat does your finalizer do?17:31
ltrattthe finalizer is just lltype.free(self.data, flavor="raw")17:31
fijalnote that keepalive has nothing to do with raw memory17:31
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 252 seconds17:31
ltrattaha17:31
ltrattok17:31
fijalso it's about keeping alive self17:32
ltrattyes, i think so17:32
ltrattbut i wonder how the reference to self can be lost, given that it's later called by other data?17:33
fijalthat needs to be kept alive after free()17:33
fijalit can be inlined somewhere?17:33
fijalsomehow?17:33
ltrattpossible, but unlikely. i suspect there's a reference to that object in the heap (it's a "Converge language level object" if that makes sense)17:34
ltrattof course, I may have made a hugely obvious mistake elsewhere, but I'm damned if I can see it at the moment17:34
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy.17:35
lesshastejust found my first short piece of code which is faster in pypy than shedskin :)17:35
lesshastethanks!17:35
ltrattfijal: if you want, i can zip it up and e-mail you my working copy to poke and prod...17:36
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated!17:36
fijalltratt: is it open source?17:38
fijalI can do a checkout17:38
ltrattthe main bit is (https://github.com/ltratt/converge/tree/pypyvm), but i'm currently in a mess of half-finished changes which aren't suitable for commit and upload yet17:39
fijalwell, make a branch17:39
Nick change: nedbat_ -> nedbat17:40
ltratti was brought up on a different commit model than PyPy: only commit something that's finished. [It's the OpenBSD model.] like i said, i'm happy to zip the whole kaboodle up...17:41
exarkunHardly any kittens will die if you commit some incomplete changes to a branch17:41
ltrattexarkun: each to their own.17:42
exarkunYou're ignoring a perfectly useful tool for no coherent reason.17:42
fijalltratt: I would be happy to help you, but I should start adopting a policy to not help people who have code to hide for free17:42
fijalI know it sounds harsh and this is not what you really mean17:42
santagada (~leonardo@201.47.217.214) left irc: Quit: Ex-Chat17:42
fijalbut still17:43
ltrattit's just a different policy for source control. You find mine weird, I find PyPy's... well, a bit weird too :) But we should all be able to run along well enough I think.17:43
exarkunI dub that argument "version control relativism"17:44
exarkunAnd it is as bogus as most of other forms of relativism.17:44
Alex_Gaynorltratt: on pypy we still try to keep default stable with onyl working stuff, we just uses branches aggressively to publish unfinished wokr, I don't think we're actually that far apart in philosophy17:44
fijalltratt: indeed, I don't think it's that different in the philosophy. I can help with open source stuff, I won't help with stuff that's not open source (for free)17:46
ltrattAlex_Gaynor: In a sense, yes. I don't want to criticise PyPy's model, as it clearly works very well for you. Similarly, other models work well for other people.17:46
ltrattfijal: it's all open source, just not yet in revision control.17:46
fijalif I can't download it it's not very open to me17:47
fijalbut stuff aside17:47
fijalif you can paste a finalizer and a method, I can probably tell you what went wrong17:47
fijalalso it should work if you put keepalive_until_here(self) at the very end17:47
exarkunltratt: What problem do you imagine will arise if you check some code into a brand new branch?17:48
fijalltratt: in the case of the JIT, the object might stay virtual and it's finalizer is called as soon as it goes away17:48
fijalif everything gets inlined it might go away before the end of the method17:48
fijalltratt: do I make any sense?17:48
ltrattfijal: ok, here's my current (complete) dump at http://tratt.net/current.tar.gz (warning: ~20MB)17:49
Action: fijal sidenotes he has 2G internet/month17:49
fijalltratt: can you understand my explanation?17:49
ltrattfijal: sort of, but I don't really understand what gets identified as virtual or lined and what doesn't.17:50
ltrattI'm a naive external user in that sense - my guides so far have been the docs, and grep'ing the pypy code.17:50
ltrattThat still leaves huge holes in my knowledge :)17:50
fijalwell, pypy is a bit undocumented17:50
fijallet me find an example17:50
fijalcan someone tell me what's wrong with this:17:50
fijalhttp://paste.pocoo.org/show/518038/17:50
fijal?17:50
fijalgutworth: ?17:50
ltrattoverall, my progress with rpython has been very fast, but it would have been crazily fast with more docs. such is life :)17:51
fijalhttp://paste.pocoo.org/show/518040/17:52
fijalltratt: how about that?17:53
ltrattthat latter one could be what's happening17:53
Alex_Gaynorfijal: no, JIT doesn't virtualize objs with del17:53
ltrattah, then it isn't ;)17:53
fijalAlex_Gaynor: even with light finalizers?17:54
Alex_Gaynorfijal: it shouldn't at least, because then __del__ would never be called17:54
aurojit (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Remote host closed the connection17:56
ltrattfijal: http://tratt.net/current.tar.xz is an 8MB download, if that helps...17:56
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.17:56
fijalAlex_Gaynor: yes it'll17:56
fijalAlex_Gaynor: I did work on it17:57
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds17:57
ltrattthis problem is manifesting at -O3 rather than -Ojit, so is the JIT virtual stuff relevant at that point? [This may be a very silly question on my part.]17:57
fijalah17:58
fijalok17:58
fijalbut that might be inlined on a different level17:58
fijalanyway17:58
fijalcan you just put keepalive_until_here and see if it helps?17:58
ltrattwould i do that on self?17:58
ltratti'm not really sure where it could reasonably go...17:59
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Ping timeout: 240 seconds18:00
fijalyes18:01
fijalon self18:01
kkris1 (~kris@80-123-41-164.adsl.highway.telekom.at) joined #pypy.18:01
ltrattok, giving it a go now...18:02
kkris (~kris@93-82-40-215.adsl.highway.telekom.at) left irc: Ping timeout: 255 seconds18:02
amaury (amaury_@nat/google/x-aroxchifqyoidfxw) left irc: Ping timeout: 252 seconds18:04
ltrattattempt #1 didn't work, trying #2 now...18:05
ltrattaha #2 that seems to have worked18:08
ltrattnow of course, i just have to work out why ;)18:09
fijalwhat's #1 and #2?18:09
fijalgutworth: ping?18:09
fijalif Return Value is new reference, do I need to incref it?18:09
ltrattdifferent locations for keepalive18:10
ltratt#2 is just after the point where it segfaults, and it seems to work... but why...? dunno ;)18:10
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace18:10
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.18:11
jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 252 seconds18:13
jacob22 (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.18:14
ltrattfijal: ok, thanks for the pointer.18:16
ltratti still don't really understand why it's working now, but it does seem to be ok. of course, now i'm worried that because i don't understand things, i've just put a sticking plaster over one, but have left others :)18:17
fijalltratt: you should always keepalive stuff around such calls18:17
ltrattonce i've got the mess sorted out and checked in, i might run it past you to see if I'm being really, really dumb18:17
fijalit's generally dangerous to live such stuff around without a keepalive18:17
ltrattI still don't really understand what keepalive is doing, to be honest, or why i need it. clearly my intuitions about the memory model are wrong.18:18
Alex_Gaynorltratt: basically, if I follow, you have memory that is "owned" by an object, and you're passing that object somewhere, but the object that owns it isn't necesarily alive as long as the raw memory it holds, so you need to tell the compiler "hey, this owns that memory, so keep it alive so long as I'm using the raw memory"18:19
ltrattAlex_Gaynor: i think the "owning" object is alive longer than the raw memory. at least, that's what should be happening ;)18:19
Alex_Gaynorltratt: right that's the problem, the owning object *should* be alive longer than it, but it has no references (a local vairable only counts as a reference *if*it can be used later), so you basically create an artificial reference until the raw memory is no longer directly in use18:20
jterraceAlex_Gaynor: you have a sec to help me debug a numpypy patch im working on for tolist() function? it's almost there, but having one problem18:21
Alex_Gaynorjterrace: sure18:21
ltratthmm, i need to think about this carefully. my gut instinct is that there should be a reference from the heap to this object, but i might be wrong.18:21
jterraceAlex_Gaynor: here's my patch so far: http://pastebin.com/qYkJQPMF it works for individual items and for single-dim arrays18:21
jterracebut for multidim, im getting back [[1,2],[1,2]] instead of [[1,2],[3,4]] which makes me think that self.desc_getitem is not returning the right slice index18:22
jterracebut i dont see why18:22
ltrattfijal and Alex_Gaynor, thanks a lot for your help today - I appreciate it!18:23
Alex_GaynorI'd hazzard a guess that tolist() doesn't work correctly on slice object18:23
Alex_GaynorI'd write direct tests for that, as well as virtual arays (i.e. a + a)18:23
jterraceoh, im supposed to use start_iterator instead of just range(self.shape[0]) eh?18:23
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Remote host closed the connection18:24
Alex_Gaynorand yeah, the iterator are generally the right way to go18:24
jterraceok18:24
Alex_Gaynornot sure if we have one that iterates by axis thoug18:24
jterraceill try that, thanks18:24
jterraceoh yeah i think it's a flat iterator18:24
ltratt (~ltratt@px238.dcs.kcl.ac.uk) left irc: Quit: Bye!18:26
jterraceooh it works18:28
Action: jterrace does a dance18:28
jterraceill write more tests and submit a pull request18:28
Alex_Gaynorgreat18:28
fijalhaha18:32
mtigas (~mtigas@users.spokesman.com) joined #pypy.18:34
hpk (~hpk@hq2.merlinux.eu) left irc: Remote host closed the connection18:35
mtigas_ (~mtigas@users.spokesman.com) joined #pypy.18:36
mtigas_ (~mtigas@users.spokesman.com) left irc: Client Quit18:36
mtigas (~mtigas@users.spokesman.com) left irc: Client Quit18:36
mtigas (~mtigas@users.spokesman.com) joined #pypy.18:37
Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Quit: ZNC - http://znc.sourceforge.net18:37
DasIch__ (~dasich@p4FFDE31D.dip.t-dialin.net) joined #pypy.18:37
voidspace (~voidspace@python/psf/voidspace) joined #pypy.18:37
voidspace (~voidspace@python/psf/voidspace) left irc: Client Quit18:38
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.18:38
voidspace (~voidspace@python/psf/voidspace) joined #pypy.18:38
DasIch_ (~dasich@p4FFDD13B.dip.t-dialin.net) left irc: Ping timeout: 240 seconds18:40
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection18:44
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.18:45
Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy.18:45
mtigas (~mtigas@users.spokesman.com) left irc: Quit: mtigas18:52
jterraceAlex_Gaynor: my first attempt at contributing: https://bitbucket.org/pypy/pypy/pull-request/15/added-tolist-function-to-numpypys-scalars18:53
jterraceif anything looks wrong, let me know, hoping to contribute more in the future18:53
Alex_Gaynorjterrace: I need lunch, but I'll give it a review this afternoon18:53
jterracethanks18:53
mtigas (~mtigas@users.spokesman.com) joined #pypy.18:54
kennethreitz (~kennethre@204.14.152.118) joined #pypy.18:55
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds18:57
`fox` (~fox@seattle237.riseup.net) joined #pypy.18:59
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum18:59
fijaler19:02
fijalhow do I get builtins into globals?19:02
fijalin CPython C API?19:03
mfoord (~anonymous@python/psf/voidspace) joined #pypy.19:03
`fox` (~fox@seattle237.riseup.net) left irc: Ping timeout: 252 seconds19:07
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) joined #pypy.19:08
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) joined #pypy.19:11
fijalok, now this is disconcerning19:13
pjenveyfijal - hmm? 19:13
fijalpjenvey: pypy ctypes19:14
espes (~espes@123-243-221-248.tpgi.com.au) left irc: Read error: Connection reset by peer19:17
kenaan12arigo SpecialisedTuples 115f96cb15c116 15/pypy/objspace/std/: - fix space.fixedlist/unpackiterable/listview to handle directly tuples   of any kind  - fix the test to ...19:17
espes (~espes@123-243-221-248.tpgi.com.au) joined #pypy.19:18
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/619 [12arigo, SpecialisedTuples]19:20
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord19:26
espes (~espes@123-243-221-248.tpgi.com.au) left irc: Remote host closed the connection19:27
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds19:30
espes (~espes@123-243-221-248.tpgi.com.au) joined #pypy.19:33
K-os (~gabriel@port-18238.pppoe.wtnet.de) joined #pypy.19:35
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.19:36
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host19:36
mfoord (~anonymous@python/psf/voidspace) joined #pypy.19:36
mfoord (~anonymous@python/psf/voidspace) left irc: Client Quit19:36
espes (~espes@123-243-221-248.tpgi.com.au) left irc: Client Quit19:38
espes (~espes@123-243-221-248.tpgi.com.au) joined #pypy.19:38
jterrace (~jterrace@aegis.CS.Princeton.EDU) left irc: Ping timeout: 240 seconds19:39
jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy.19:44
kennethreitzIs anyone working on getting pypy to work with virtualenv --relocatable?19:46
ronnykennethreitz: you might want to neogiate with antocuni (he made the virtualenv support possible019:48
kennethreitzronny: excellent, thanks19:48
Alex_Gaynoror the virtualenv people19:48
Alex_Gaynorit's expiremental at best on CPython19:48
antocunikennethreitz: AFAIK, nobody ever tried to use it19:50
antocuniwhich means that it probably doesn't work19:50
kennethreitzantocuni: oh it def doesn't. looking into fixing, just didn't want to duplicate any work already being done19:50
antocuniah, that would be cool19:50
antocuniping me if you need any help19:50
kennethreitzantocuni: thanks!19:51
antocuniI don't even know how it is implemented for cpython19:51
kennethreitz& it's a bit odd.19:51
arigato (~arigo@89.204.137.229) joined #pypy.19:51
Alex_Gaynorheh, that's charitable19:51
Action: Alex_Gaynor off19:51
daniloaf (~daniloaf@177.42.189.10) joined #pypy.19:52
daniloaf (~daniloaf@177.42.189.10) left irc: Client Quit19:55
mattip (4fb46e04@gateway/web/freenode/ip.79.180.110.4) joined #pypy.19:58
mattipCould anyone tell me what the proper protocol is for the compatability bitbucket repository? It seems only the wiki https://bitbucket.org/pypy/compatibility/wiki/Home has any content, the repository itself seems to be empty.20:01
ronnymattip: the wiki repo is in a subdir20:02
ronnymattip: i dont remember the details, fogire it yourself, shouldnt be too hard20:03
jterraceAlex_Gaynor: when you say that descr_tolist should always return a wrapped value, should i unwrap the result of the recursive call to the function, then wrap it again when returning?20:03
jterracelooks like that works - are there any performance implications to that?20:05
mattipronny: thanks, I was just wondering if the only active par tof the repository is the wiki, it seems there is space for actual compatability code but that part is empty.20:05
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) left irc: Quit: Leaving20:08
mat^2 (~mathias@212.130.113.35) joined #pypy.20:10
etrepum (~bob@64.134.236.31) joined #pypy.20:11
fijalantocuni: ping20:12
antocunipong20:12
espes (~espes@123-243-221-248.tpgi.com.au) left irc: Read error: Connection reset by peer20:13
fijalantocuni: so, I have functions that are ctypes.c_void_p20:13
fijaland what I receive are longs20:13
fijalwhy?20:13
antocunibecause there is a bug and it's untested? :-)20:14
antocuniwhat happens on cpython?20:14
ericflo (~ericflo@75.103.8.110) joined #pypy.20:14
fijalI suppose you get c_void_p20:14
espes (~espes@123-243-221-248.tpgi.com.au) joined #pypy.20:14
mattip (4fb46e04@gateway/web/freenode/ip.79.180.110.4) left irc: Ping timeout: 265 seconds20:14
antocuniinternally, _ffi indeed return a python long for pointers20:14
antocuniso it means that probably the ctypes layer "forgets" to wrap it inside a c_void20:15
jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving...20:17
fijaluh no, cpthon does the same20:17
antocuni"good"20:17
fijalwtf?20:17
Action: antocuni looks at the code20:18
fijalit's int not long but whatever20:19
fijalI bet it would be long in some other circumstances20:19
arigatofijal: I can explain you why if you care20:20
antocunifijal: look at primitive.py._CData_output20:20
fijalarigato: yes?20:20
fijalantocuni: I can imagine how is it implemented, but why?20:21
antocuniif it's a "primitive" type, it just returns it's .value20:21
antocuniI don't know what is the rationale behind it20:21
arigatoit's a primitive type like c_int.  if a function is declared to return a c_int, you actually get its .value, which is an int.  similarly for c_void_p, whose .value is a long20:21
arigatoyes20:21
antocunibut e.g. in this way it means that you get a python string instead of a c_char_p20:21
antocuniwhich is usually what you want20:22
arigatousually it's nonsense, so don't declare the function as returning c_void_p20:22
arigatouse a real pointer type20:22
antocuniwe really need to design/implement a better ffi for python :-)20:22
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.20:23
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Client Quit20:23
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/619 [12arigo, SpecialisedTuples]20:23
fijalarigato: well, yes, but I'm saying PyObject20:24
fijalwhich is an opaque structure20:24
fijalI'm fine with longs20:24
fijalI did not notice even20:24
RiaanFV (~riaanfv@41-132-169-26.dsl.mweb.co.za) joined #pypy.20:27
antocunifijal: I think that the proper way is to really define the PyObject struct and create a pointer to it20:27
fijaland what would that structure have?20:28
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy.20:28
Alex_Gaynorantocuni: I'm designing a better one, still a WIP though20:29
antocuniAlex_Gaynor: I always think about it when designing the pypy's _ffi20:30
etrepum_ (~bob@75.94.138.216) joined #pypy.20:30
antocuniwe should probably sit down and do it together :-)20:30
Alex_Gaynorantocuni: so far all I've done is written documentation, I'll push it to a repository- tonight and give you permissions20:31
antocuniI'll look at it, thanks20:31
RiaanFV (~riaanfv@41-132-169-26.dsl.mweb.co.za) left irc: Client Quit20:31
Rhy0lite (dje@nat/ibm/x-rprjxbrujixjwwyx) left irc: Quit: Leaving20:31
antocunifijal: I wrote the ctypes code to manipulate PyObjects & co. some time ago20:32
jterraceAlex_Gaynor: updated pull request, thanks for the feedback20:32
antocunibut I'm unable to find it :-/20:32
antocunifijal: ah, found :-)20:32
Alex_Gaynorjterrace: in class ATM, will review later this evening20:32
jterracethanks20:33
antocunihttp://paste.pocoo.org/show/518096/20:33
fijalhttp://paste.pocoo.org/show/518097/20:33
fijalAlex_Gaynor: ?20:33
Alex_Gaynorfijal: ?20:33
etrepum (~bob@64.134.236.31) left irc: Ping timeout: 240 seconds20:33
Nick change: etrepum_ -> etrepum20:33
fijalAlex_Gaynor: look at the paste20:33
Alex_Gaynorfijal: you're on a 64-bit platform?20:33
fijalyes20:33
Alex_Gaynorfijal: it's an issue of "long" dtype vs 64-bit int dtype20:34
fijalwell, they should be identical no?20:34
Alex_GaynorThey aren't identitcal20:34
Alex_GaynorCPython has teh same behavior20:34
fijalhow do I check what sort of dtype is that anyway?20:34
fijaldo I need to finish __array_interface__?20:34
Alex_Gaynorfijal: maybe == should work though, evne if `is` doesn't20:34
fijalit knows it's in6420:34
fijalbut I can't get the info20:34
Alex_Gaynorwhich info do you need?20:35
Alex_Gaynorfijal: looks like it's our bug http://bpaste.net/show/20817/20:35
fijalAlex_Gaynor: http://paste.pocoo.org/show/518103/20:39
fijalblog post?20:39
Alex_Gaynorfijal: that's AWESOME, tweet it first :)20:40
Alex_Gaynoradd some comments though20:40
fijallike what?20:41
Alex_Gaynorsaying it's embedding CPython and automatically sharing memory20:42
Alex_Gaynorfijal: maybe add a nicer helper API so you can do matplotlib.plot directly20:42
fijalyes yes20:43
ericflo (~ericflo@75.103.8.110) left irc: Read error: Connection reset by peer20:43
fijalI'm sure my refcounts are fucked btw20:44
Alex_Gaynorwho's aren't20:44
Alex_Gaynorwhose*20:44
Alex_GaynorPy_INCREF all the things20:44
fijalhttp://paste.pocoo.org/show/518105/20:46
fijalbetter?20:47
ericflo (~ericflo@75.103.8.110) joined #pypy.20:47
Alex_GaynorI usually put comments above the line they refer to, but yeah20:47
fijalhttp://paste.pocoo.org/show/518106/20:48
fijal?20:48
Alex_Gaynoryes, nice20:48
khs (~khs@151.43.202.84.customer.cdi.no) left irc: Quit: Leaving20:48
fijalgood, tweeted20:49
fijalI'll write a blog post20:49
Alex_Gaynorawesome20:49
Alex_Gaynornice20:49
fijalit's all in my hack dir btw20:49
fijalhttps://bitbucket.org/fijal/hack220:49
fijalwith some tests20:49
kenaan12arigo SpecialisedTuples 11bbaae4e2d252 15/pypy/objspace/std/test/test_specialisedtupleobject.py: Fixes for runappdirect on top of pypy.20:50
fijalit's not-quite-yet-working20:50
fijalas in, I'm sure you run sooner or later into some issues20:50
fijalobviously tons of things don't work20:51
Alex_Gaynorof course20:51
fijallike the next thing I would like to do would be to pass a keyword arg or so20:51
fijalbut it's just a simple matter of engineering20:51
fijalit's funny20:51
fijalI feel like I did such work already like 5 times20:52
fijalthere are so many places where you wrap or unwrap python objects around some interface20:52
Alex_Gaynorabstract all the things20:52
fijallib/distributed, cpyext, python/rpython20:52
fijaletc.20:52
Alex_Gaynor:)20:52
fijalstruct20:52
fijalctypes20:52
fijaletc.20:52
squiddy (~squiddy@g224195234.adsl.alicedsl.de) left irc: Quit: Leaving20:52
fijalit seriously all sounds very familiar20:52
fijalok20:53
fijalit's 11pm20:53
Alex_Gaynorhow did the PUG go?20:53
fijalI gonna have a glass of wine of victory and will write blog post tomorrow20:53
fijalit's on Sat20:53
Alex_Gaynorah20:53
fijalI don't have slides, but I do have cool demos :)20:53
Alex_Gaynorassuming our pycon talk is accepted, these demos will be great20:53
fijalyop20:53
fijalI should reply to martijn on pypy-dev20:54
fijal"it's all cool and doable, but I actually have interesting problems to solve"20:54
Alex_Gaynorpretty much20:54
fijalI should write a blog post on my own blog "pypy should do X"20:55
etrepum (~bob@75.94.138.216) left irc: Quit: etrepum20:56
nedbat (~nedbat@python/psf/nedbat) joined #pypy.21:03
arigato (~arigo@89.204.137.229) left irc: Quit: See you21:03
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) joined #pypy.21:09
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.21:24
fijalfor what is worth RTLD_DEEPBIND does not seem to work21:30
Alex_Gaynorin pypy, in cpython, in both?21:30
fijalwith dlopen21:31
fijalI'21:31
fijalm passing mode by hand21:31
_pyre_ (~stian@245.232.189.109.customer.cdi.no) joined #pypy.21:31
Alex_Gaynorerr, so it's broken in libc you're saying?21:31
etrepum (~bob@accessnat4.mochimedia.net) joined #pypy.21:32
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy.21:32
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host21:32
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.21:32
_pyre_just a quick question regardling pypy's try...except, does the general code inside a try except block get slower or is cost of the "try" block only in the setup?21:32
fijalI don't know21:32
fijalI can't really understand what the manpage is talking about21:33
fijalAlex_Gaynor: check man dlopen?21:33
fijal_pyre_: there is no cost for try: except: usually21:33
Alex_Gaynorfijal: http://paste.pocoo.org/show/518127/ you're trying to make it work with cpyext?21:34
_pyre_hmm, ok21:34
_pyre_trying to optimize a bit of code for pypy21:34
fijalyeah21:35
fijal_pyre_: you're a bit waaay to close to single asm instructions that way21:35
fijal_pyre_: have you looked at traces?21:35
_pyre_hmm, no, thats the next step, just now doing some general tricks to it, but there was like 15 try and excepts inside one function 21:37
Alex_Gaynoryou can't improve performanc by guessing, it's searching for a needle in ahaystakc, not shooting fish in a barrell most of the time21:37
rokujyouhitoma (~rokujyouh@173.227.61.4) joined #pypy.21:37
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Remote host closed the connection21:42
fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com21:50
fijalAlex_Gaynor: did you notice that pushes to extradoc are just fine?21:51
fijalit's only pypy that takes forever to push21:51
Alex_Gaynorfijal: were they broken at some point?21:51
Alex_Gaynorfijal: maybe we have too many branches? or something21:52
kenaan12fijal extradoc 11f6959a758880 15/blog/draft/matplotlib.rst: a draft21:52
kenaan12fijal extradoc 1137901e468764 15/planning/micronumpy.txt: merge21:52
fijaldunno21:52
fijalAlex_Gaynor: feel like reviewing?21:52
Alex_Gaynorsure-ish I'm in class so I'm only half paying attention21:52
fijalto the class or to the blog?21:53
jterraceyou pay attention in class?21:53
pjenveyprobably both21:53
fijaljterrace: yeah, he's observably less productive when he's attending classes21:54
kkris1 (~kris@80-123-41-164.adsl.highway.telekom.at) left irc: Quit: Leaving.21:55
pjenveyfijal - 3rd sentence 'right there were' -> 'right that were'21:55
fijalpjenvey: don'21:56
fijalt you have commit rights?21:56
pjenveylet's see21:56
fijalAlex_Gaynor: anyway, feel free to review, I have a screenshot can just post it21:57
kenaan12alex_gaynor extradoc 112d85277632f9 15/blog/draft/matplotlib.rst: some review21:58
Alex_Gaynorfijal: pushed some review21:58
fijalAlex_Gaynor: why not what?21:58
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.21:59
Alex_Gaynorfijal: why doens't this work on other platforms?21:59
fijalbecause ctypes is a bitch21:59
Alex_Gaynoror should it just say "has only been tested on "21:59
fijaland I don't feel like being deliberate21:59
Alex_GaynorOk, so in theory it can work, but it's untested21:59
fijalI *know* it won't work as it is now21:59
fijalbut I don't really want to care21:59
kenaan12alex_gaynor extradoc 1182c71fa181e5 15/blog/draft/matplotlib.rst: clarrify22:00
fijalotherwise good to go?22:02
kenaan12fijal extradoc 113977810e2b86 15/blog/draft/matplotlib.rst: address the review22:02
kenaan12fijal extradoc 1184a45e78b80d 15/blog/draft/matplotlib.rst: merge22:02
Alex_Gaynoradd the picture :)22:02
fijalyeah, I can't do it in rst22:03
Alex_Gaynor.. image:: 22:04
Alex_Gaynor?22:04
fijaland put what?22:04
Alex_Gaynorput the image in the repo?22:04
fijalno, that's not how blogger does it22:04
fijaldon't worry22:04
Alex_GaynorI want to see the iamge :)22:04
kenaan12fijal extradoc 113e9cbd0c0d54 15/blog/draft/: add a screenshot22:04
kenaan12fijal extradoc 1189893594fd04 15/blog/draft/matplotlib.rst: links22:05
Alex_Gaynorfijal: can yo use a screenshot tha tincludes the shell showing it being run with pypy?22:05
fijallike is this any proof of anything...22:06
Alex_Gaynorw/e looks cool IMO though22:06
fijalmeh22:06
fijalI'll stick to that one22:06
Alex_Gaynorok22:07
fijalhttp://morepypy.blogspot.com/2011/12/plotting-using-matplotlib-from-pypy.html22:08
Alex_Gaynori'll tweet it22:09
fijalOMG, my horrible spelling22:09
Alex_Gaynorfix?22:09
fijalon tweet?22:10
Alex_Gaynordelete it and RT pypyproject22:10
Alex_Gaynor:)22:10
jterracethat's awesome22:12
fijaljterrace: no, that's broken22:13
fijalbut it can be done :)22:13
stakkarsfijal: hi.22:13
jterraceit's still awesome even if it's broken22:13
stakkarsI can speed it up?22:14
fijalstakkars: speed up what?22:14
stakkarsyou said that to me, today22:14
Action: fijal has no idea22:14
K-os (~gabriel@port-18238.pppoe.wtnet.de) left irc: Quit: Leaving22:17
stakkarsfijal: stakkars: seems compile_c took tons of time22:18
stakkars[3:54pm] fijal: if it's multicore it can be sped up by quite a bit22:18
stakkars[3:56pm] 22:18
fijalstakkars: by passing --make-jobs=222:18
fijalor so22:18
fijalI don't know if it works on windows22:18
stakkarshard to find. I will toss colloquy22:18
mikefcI thought numpy was just a fancy array library?22:19
stakkarsah?? oh whow! that accelerates the build, then.22:19
exarkunmikefc: "just"22:19
fijalstakkars: only compile_c step22:19
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds22:19
stakkarsyes yes. But it involves pypy as well, because of the preprocessor analysis, I think22:20
fijalyes, but it's still parallelizable22:21
pjenveymake-jobs is usually determined automatically. not so on windows?22:21
fijalbecause of asmgcc22:21
fijalyes, I think so22:21
stakkarsin any case, my snakepit is slower than I thought, at least with virtualbox.22:21
stakkarsasmgc is -Ojit ans -O2 ?22:21
stakkarss/ans/and/22:21
antocunifijal: what is RTLD_DEEPBIND supposed to do?22:22
fijalantocuni: good question22:22
fijalantocuni: if you read the dlopen manual and understand, feel free to explain22:22
stakkarsanyway, I will try a native Linux build, to clarify the negative picture of my oh so great machine22:23
fijalstakkars: I think so22:23
stakkarsgeneral question:22:23
stakkarsdoes it make sense to run the tests with pypy-c?22:23
fijaldepends how many you want to run22:24
fijalusually no22:24
stakkarsor would I this way perhaps miss a hidden bug?22:24
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving22:24
fijalyou should not22:24
antocunifijal: it might have something to do with LD_PRELOAD. E.g., usually if you LD_PRELOAD a lib then its symbols have precedence over the newly loaded ones22:24
stakkarsusually no means the tests like "own-xxx" are run with CPython?22:25
fijalstakkars: yes22:25
antocuniDEEPBIND seems to mean that you ignore the already loaded symbols, and use the actual ones contained the in lib22:25
Action: mikefc thinks google should dump some $$$ into pypy22:25
fijalantocuni: that's not what it does22:25
Action: mikefc empties the moths and dustbunnies from his wallet22:25
fijalmikefc: why would they care btw22:25
fijal?22:25
mikefcfijal: google do a lot of python in house22:26
stakkarsso only for building, anyway. sniff :'-(22:26
fijalI don't think any of it, except youtube is performance critical22:26
wulczer (~wulczer@wulczer.org) joined #pypy.22:26
mikefcI'm just dreaming here :)22:27
fijalmikefc: getting money is tricky22:27
kennethreitz (~kennethre@204.14.152.118) left irc: Ping timeout: 252 seconds22:27
Action: mikefc robs a bank22:27
fijalmikefc: for one, I would not mind someone giving me some paid stuff to work on22:27
stakkarsok, I agree, until I have a pypy-c that ultimatively passes all standard tests, right?22:27
fijalstakkars: pypy-c -A should work btw22:28
mikefcall the people bitching about numpypy sound like those bitching about windows linux.   "We're not moving to your platform or even thinking it's good until it's compatible with a decade of other stuff"22:28
stakkarsI mean, at some point we want to use pypy as the standard and only occasionally use cpython.22:28
fijalstakkars: yes, but we're not quite there yet22:29
fijalwe have too slow interpreter/too slow jit compilation22:29
fijalone of those22:29
fijalor both22:29
stakkarspypy-c -A is what? (I cannot read or remember so many things)22:29
fijalpy.test -A22:29
fijalrun tests directly22:29
fijalapptests22:29
stakkarsdirectly, meaning what, as opposed to what?22:31
fijalas on top of py.py22:32
stakkarsdon't understand, need to look it up22:33
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/16422:36
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/73822:36
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/96922:36
kennethreitz (~kennethre@204.14.152.118) joined #pypy.22:36
antocunistakkars: all tests inside "class AppXXXTest" are run by the pypy interpreter written in rpython22:37
antocuniif you use -A, they are run directly on the python interpreter used by py.test22:37
antocuniso, py.test runs applevel tests on py.py22:37
antocunipy.test -A runs applevel tests on top of cpython22:38
antocunipypy-c py.test -A runs applevel tests on top of pypy-c22:38
Action: fijal goes to bed now22:38
fijalcool it works :)22:38
antocunifijal: I think you should really rename embed.emb before doing the blog post22:39
fijalantocuni: it's in my hack directory!!!!22:39
fijalit's name resembles the stability state it is in22:39
stakkarsyes, just found that. That means, -A makes very much sense for testing pypy-c, right22:39
antocunistill, it's ugly :-)22:39
fijalso?22:39
stakkarsantocuni: thanks22:39
fijalit's not as ugly as it's contents22:39
fijaland refcounts are wrong22:40
fijaland tons of other stuff22:40
fijalit's only a proof it works22:40
fijalyou can't even run tests without setting PYTHONPATH22:40
antocunias long as it it's only in your hack dir, it's all fine22:40
mikefcfijal: matplotlib hack is awesome!22:40
antocunibut if you put it on the blog, I'd prefer a nicer name22:40
antocunianyway, I'm not going to argue more about it :-)22:41
antocunisorry22:41
fijalantocuni: I would prefer nicer hacks22:41
fijal(seriously)22:41
fijalbtw feel free to come up with something better22:41
antocunithat' orthogonal22:41
berkerpeksag (~berkerpek@46.196.255.228) joined #pypy.22:41
antocuni(I'd prefer no more war in the world, fwiw)22:42
stakkarsantocuni: I will write a blog post. Do we prepare that as text file before, for safety and review, or directly into blogspot?22:42
berkerpeksag (~berkerpek@46.196.255.228) left irc: Client Quit22:42
antocunistakkars: we usually put the drafts in extradoc/blog/draft22:42
stakkarsah, good!22:42
jterraceAlex_Gaynor: fijal: is there a reason that numpypy.int8-int64 are exposed but not uint8-uint64?22:43
fijaljterrace: alex forgot22:44
jterracei dont see tests for uints either?22:44
jterracethe boxes are there though22:44
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 244 seconds22:44
fijal (~fijal@41.52.94.74) left irc: Read error: Connection reset by peer22:45
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) joined #pypy.22:48
Nick change: wulczer -> wulczer-afk22:49
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.22:59
rokujyouhitomaI am staying San Francisco. Does someone want to meet me?23:00
e1ven (~E1ven@SQ7/ProjectLead/E1ven) joined #pypy.23:04
e1venHey; I'm trying to donate at http://pypy.org/py3donate.html, but I'm getting an error ;()23:04
Niedar (gfghfghf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) joined #pypy.23:04
Alex_Gaynorjterrace: I was exposing them as they were pointed out to me/someone gave me code that broke, I add tests before exposing them (even though it's only one line), so it's not just a bulk thing23:05
jterracei see23:05
jterraceill add them23:05
jterraceworking on fleshing out numpypy.fromstring and found that uint8 didnt work23:06
Alex_Gaynorsee test_dtypes.py for the tests23:06
jterraceyeah i saw the int8-64 tests23:06
derdon (~derdon@p5DE8A137.dip.t-dialin.net) joined #pypy.23:10
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds23:11
jterrace (~jterrace@aegis.CS.Princeton.EDU) left irc: Quit: Leaving.23:11
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/73823:11
rokujyouhitomaso...we use rpython on work. we use it to make a some tool.23:11
rokujyouhitomabut, we dont develop programming language. we develop some command line tools.23:12
`fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds23:12
_pyre_ (~stian@245.232.189.109.customer.cdi.no) left irc: Ping timeout: 252 seconds23:22
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.23:29
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host23:29
mfoord (~anonymous@python/psf/voidspace) joined #pypy.23:29
amaury_fijal is evil23:33
amaury_with his pypy-embedding-cpython23:33
Alex_Gaynoramaury_: it's awesome :)23:33
amaury_yes, similar to the remote CPython that was tried several years ago23:34
amaury_just closer23:34
amaury_ATM I'm trying with Martijn's idea23:36
amaury_2 object space in the same translation23:36
Alex_Gaynoramaury_: since objspace is a PBC, doesn't that break stuff?23:36
amaury_well, you have 2 PBCs then23:36
Alex_Gaynorah, os it's specifically 2k and 3k, not N objspace23:37
amaury_yes23:37
stakkarswhat is the idea of pypy-embedding-cpython?23:37
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated!23:37
amaury_run numpy inside pypy :-)23:37
amaury_Alex_Gaynor: I have to disable cpyext though23:38
amaury_for the same reason as fijal's23:38
Alex_Gaynoramaury_: sure23:38
amaury_Windows would not have this issue23:38
stakkarshmm, don't see the advantage but for tests23:38
amaury_stakkars: you can share a memory buffer between pypy and numpy23:39
amaury_so you can fill an array in pypy, and have numpy compute with it23:40
Alex_Gaynoramaury_: well, you don't want numpy to compute with it, because its slow, but you can use it for rendering charts and stuff with matplotlib23:40
amaury_2 objspaces in pypy should be doable23:47
Alex_Gaynoramaury_: that doesn't answer the semantic questions though23:47
amaury_I'm currently chasing self.space out of PBC objects23:47
Alex_GaynorI knew space arguments were better than self.space :)23:47
amaury_so do I23:48
amaury_I removed them from the Function class23:48
amaury_I think it's ok to have it stored in Frames23:48
amaury_Alex_Gaynor: if you have 2 object spaces, many things are possible23:51
Alex_GaynorI like making thigns possible23:52
amaury_it would be possible that a single object is seen as a bytes string by one space23:52
amaury_and seen as unicode by the other23:52
Alex_Gaynorthat'd certainly be interesting23:52
amaury_argh, default arguments of interplevel functions are wrapped23:56
Alex_Gaynoryup, why is that an issue?  oh it requires a space :/23:57
amaury_yes, so I have two functions that are not identical23:57
Alex_Gaynorjust make it NoneNotWrapped and deal with it in the function?23:58
amaury_too many of them :/23:58
Alex_Gaynor:/23:58
amaury_store the default values in the space23:59
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer23:59
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.23:59
--- Fri Dec 9 201100:00

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