#pypy IRC log for Monday, 2011-11-14

timonatorthat's great!00:01
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep00:39
jterrace (~jterrace@pu116187.student.Princeton.EDU) left irc: Quit: Leaving.00:41
Guest81860 (~jared@061093200075.ctinets.com) joined #pypy.00:45
nedbatAlex_Gaynor: hmm, I get a different but similar error with your build line:  undefined reference to `SSLv2_method'00:48
Alex_Gaynornedbat: grumble, I believe that's a bug in our ssl lib that was fixed between 1.6 and tip00:48
Alex_Gaynor:/00:48
nedbatAlex_Gaynor: ok, I can try again with the latest stable nightly.00:49
nedbatAlex_Gaynor: when you get a chance, can you try my build line?  ./pypy/translator/goal/translate.py -O2 --sandbox00:49
Alex_Gaynork, I'm not booted into my linux partition ATM, but I'll try later this evening00:50
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.00:52
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Client Quit00:53
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.00:53
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Client Quit00:53
Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Quit: ZNC - http://znc.sourceforge.net00:55
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.01:10
stakkarsfijal, arigo: where exactly does the file "ffitarget.h" come from, and why are there changes?01:13
stakkarsthere are different versions out there, and I'd like to know more.01:15
derdon (~derdon@pD9E1C4FD.dip.t-dialin.net) left irc: Remote host closed the connection01:18
Guest81860 (~jared@061093200075.ctinets.com) left irc: Ping timeout: 252 seconds01:18
derdon (~derdon@pD9E1C4FD.dip.t-dialin.net) joined #pypy.01:19
derdon (~derdon@pD9E1C4FD.dip.t-dialin.net) left irc: Remote host closed the connection01:19
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1840 [12alex, jit-dynamic-getarrayitem]01:20
lameiro (~lameiro@173.120-240-81.adsl-dyn.isp.belgacom.be) left irc: Quit: Ex-Chat01:27
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/71101:27
stakkarsfijal: solved, thanks01:39
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/184101:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/56701:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/26401:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/61101:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/110301:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/79601:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/143801:44
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/70101:44
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/26101:44
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/26101:44
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/26401:53
arkx (arkx@hilla.kapsi.fi) left irc: Ping timeout: 276 seconds02:16
arkx (arkx@hilla.kapsi.fi) joined #pypy.02:16
nedbatAlex_Gaynor: your build command works fine for me in 48894-56079dacea00.  Trying --sandbox there now.02:35
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/184102:42
asmeurer__ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Ping timeout: 248 seconds02:44
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/143802:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/110302:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/61102:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/56702:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/79602:45
Shinata (~John@osbk-4db069c2.pool.mediaWays.net) left irc: Ping timeout: 240 seconds02:48
Moku (~John@osbk-4db06ce4.pool.mediaWays.net) joined #pypy.02:48
Nick change: Moku -> Guest7797702:48
crakdmirror (~crakdmirr@174.127.114.26) left irc: Quit: ZNC - http://znc.sourceforge.net02:50
crakdmirror (~crakdmirr@174.127.114.26) joined #pypy.02:52
crakdmirror (~crakdmirr@174.127.114.26) left irc: Client Quit02:52
crakdmirror (~crakdmirr@174.127.114.26) joined #pypy.02:53
nedbatAlex_Gaynor: OK, my command works fine in 48894-56079dacea0 also!  I guess it isn;t an issue.  fijal's changesets about this should be reverted I guess.  Sorry for the false alarm.02:57
nedbatAlex_Gaynor: although, when I run pypy-c, I get:  sll_os.ll_os_getenv(sPYPY_GENERATIONGC_NURSERY02:58
nedbatFatal error during initialization: out of memory02:58
nedbatAborted02:58
asmeurer (~asmeurer@dhcp-altamirano-203.resnet.nmt.edu) joined #pypy.03:01
Nick change: crakdmirror -> basepi_03:03
Nick change: basepi_ -> basepi03:03
Nick change: basepi -> basepi_03:07
Nick change: basepi_ -> basepi03:07
basepi (~crakdmirr@174.127.114.26) left irc: Quit: ZNC - http://znc.sourceforge.net03:08
basepi (~basepi@174.127.114.26) joined #pypy.03:12
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds03:28
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.03:37
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/70103:42
asmeurer (~asmeurer@dhcp-altamirano-203.resnet.nmt.edu) left irc: Ping timeout: 248 seconds03:42
asmeurer___ (~asmeurer@dhcp-altamirano-203.resnet.nmt.edu) joined #pypy.03:42
canta (~canta@77-20-123-240-dynip.superkabel.de) left irc: Quit: Leaving.03:57
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.04:30
chickamade (~chickamad@118.69.67.203) joined #pypy.04:34
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.04:40
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.04:49
Sho_ (~EHS1@kde/hein) joined #pypy.04:57
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) left irc: Quit: Leaving.05:19
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) joined #pypy.05:27
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.05:30
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.05:34
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) left irc: Quit: Leaving.05:35
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep05:53
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.05:59
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Read error: Connection reset by peer06:01
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) joined #pypy.06:04
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) left irc: Quit: Leaving.06:09
Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy.06:13
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) joined #pypy.06:21
Nick change: Gulopine -> Gulaway06:27
mat^2 (~mathias@212.130.113.35) left irc: 06:35
Guest77977 (~John@osbk-4db06ce4.pool.mediaWays.net) left irc: Remote host closed the connection06:37
asmeurer___ (~asmeurer@dhcp-altamirano-203.resnet.nmt.edu) left irc: Quit: asmeurer___06:37
Moku (~John@osbk-4db06ce4.pool.mediaWays.net) joined #pypy.06:39
Nick change: Moku -> Shinata06:40
asmeurer_ (~asmeurer@71.216.240.168) joined #pypy.06:54
Nick change: stargaming- -> stargaming07:06
kkris (~kris@80-123-43-97.adsl.highway.telekom.at) joined #pypy.07:07
asmeurer_ (~asmeurer@71.216.240.168) left irc: Quit: asmeurer_07:08
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds07:10
EnCuKou (~encukou@a91-156-243-246.elisa-laajakaista.fi) left irc: Remote host closed the connection07:18
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.07:24
amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Read error: Operation timed out07:25
asmeurer_ (~asmeurer@71.216.240.168) joined #pypy.07:25
Nick change: Gulaway -> Gulopine07:27
ronnymoin07:30
fijal (~fijal@77-254-63-221.adsl.inetia.pl) left irc: Ping timeout: 248 seconds07:31
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds07:31
kkris (~kris@80-123-43-97.adsl.highway.telekom.at) left irc: Quit: Leaving.07:32
elipsionmornin'07:38
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.07:51
dgl (~dgl@109.86.165.231) joined #pypy.07:52
dgl (~dgl@109.86.165.231) left irc: Client Quit07:52
Nick change: Gulopine -> Gulaway07:55
EnCuKou (~encukou@193.167.65.94) joined #pypy.07:57
Ademan (~dan@adsl-71-141-252-21.dsl.snfc21.pacbell.net) left irc: Quit: leaving08:01
chickamade_ (~chickamad@118.69.67.203) joined #pypy.08:07
bobbyz (~bobbyz@c-67-184-43-39.hsd1.il.comcast.net) joined #pypy.08:09
chickamade (~chickamad@118.69.67.203) left irc: Ping timeout: 260 seconds08:10
Nick change: chickamade_ -> chickamade08:10
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) joined #pypy.08:12
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) left irc: Changing host08:12
Trundle (~andy@python/site-packages/trundle) joined #pypy.08:12
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:41
asmeurer_ (~asmeurer@71.216.240.168) left irc: Quit: asmeurer_08:44
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.08:51
lac (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.08:52
lac (quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left #pypy.08:52
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:54
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) joined #pypy.08:58
kenaan12fijal numpy-multidim-shards 11e49090902cb5 15/pypy/module/micronumpy/: one more test and start working on repr09:02
arigato (~arigo@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.09:24
amaury_ (~amaury_@74.125.57.33) joined #pypy.09:25
fijalarigato: hi09:26
arigatofijal: hi09:26
fijalwe have a new pypy website for the release btw09:26
arigatoare you fixing the clock_gettime failures or should I revert ad8b93cf993c for now?09:26
fijalI kinda forgot09:26
Action: fijal is not fixing anything09:26
fijalarigato: I'm flying today, so I'm unusable for two days probably09:27
arigatook09:27
fijalit's a bit hard to fix, because it works for me :/09:27
arigato:-/09:27
kenaan12arigo default 11f718100d7782 15/pypy/translator/platform/: Backout ad8b93cf993c and 38f173ee998a, which fail on tannit.09:29
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) left irc: Quit: Leaving09:29
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) joined #pypy.09:29
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:29
Action: arigato wonders how you know it works, given that translation is broken anyway09:29
arigato(my fault)09:29
kenaan12bivab arm-backend-2 1102cab8c5480f 15/: merge default09:29
kenaan12bivab arm-backend-2 11f6952466347e 15/pypy/jit/backend/arm/test/: make sure arm backend tests are only executed when running on ARM09:30
kenaan12bivab ppc-jit-backend 113e3ed29ed104 15/: merge upstream09:30
fijalarigato: I wrote a genc test09:30
fijaltest_standalone09:30
fijaland poked a bit09:30
fijalbut among other things, my gcc does not require -lrt to be at the end09:30
fijalso it's nothing new, the bug is there forever09:30
fijalbut simply people came with new gcc that is more strict09:31
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-ppc-32/builds/1 [12David Schneider, ppc-jit-backend]09:31
arigatoyes, but that doesn't explain how the tests fail on tannit09:31
fijalah, that's yet-another-issue09:32
fijalno, maybe the same one09:32
fijalno idea, maybe older gcc wants -lrt to be at the beginning?09:32
fijalor we forgot to pass it at all or so?09:32
fijalyes, I think we simply don't write it to makefile09:33
fijalarigato: want me to fix it?09:33
arigatofeel free09:33
arigatobut please store the class attributes in tuples, not in lists09:33
arigatowe had issues with exactly this at some point09:34
fijalok09:38
kenaan12arigo default 113ed133d0ce83 15/pypy/objspace/std/: Fix annotation issues.09:38
kenaan12fijal default 113cbd94863224 15/pypy/translator/platform/: a test and a fix09:40
kenaan12fijal default 11654821ec2610 15/pypy/translator/platform/: use tuple09:40
kenaan12fijal default 11e36e879eb1fe 15/pypy/: merge09:40
fijalarigato: done09:40
kenaan12arigo default 111931f105c85b 15/pypy/objspace/std/test/test_sliceobject.py: Skip an assert in a test that fails on Python 2.5.09:41
kenaan12arigo default 111be28eed2789 15/pypy/translator/platform/: merge heads09:41
fijalarigato: if we're using Håkan all over the place, then also please use fijaB09:41
fijal:-)09:41
arigatofijaB: but then you don't get beeped on irc09:42
fijalindeed, but that's about blog posts and not irc09:43
fijalI suppose more "official" things09:44
Sho_ (~EHS1@kde/hein) left irc: Quit: Stop leaking memory like it's going out of fashion.09:45
bivab (david@fwstups.cs.uni-duesseldorf.de) left #pypy.09:46
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.09:47
arigatofijal: thanks!  now the tests pass on tannit too :-)09:49
fijalgood09:49
fijalthis was a simple fix that broke everything :/09:49
fijaland was supposed to only take one commit09:49
arigatoof course09:49
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.09:49
fijalwhen is/was FSCons?09:50
arigatoI just talked with jacob who suggests that we try (again) to avoid doing small changes directly to "default"09:50
antocuni (~antocuni@host70-121-dynamic.11-79-r.retail.telecomitalia.it) joined #pypy.09:50
arigatoantocuni: hi09:50
arigatoI just talked with jacob who suggests that we try (again) to avoid doing small changes directly to "default"09:50
antocunihi09:51
antocunibecause we break it too often?09:51
Sho_ (~EHS1@kde/hein) joined #pypy.09:51
arigatoyes, even if "too often" is only "once in a while it's broken for two days"09:51
fijalantocuni: hi09:51
fijalantocuni: I have opinions about the checkpointing work09:51
antocuniam I the culprit by chance? :-)09:51
antocunifijal: yes?09:51
fijalwell, the stuff you tried does not address the actual issue09:52
fijalthe actual issue being that it's hard to write python applications that clean up the state09:52
fijalI tried a bit, but a lot of stuff is reading configurations at import time etc.09:52
fijalit's technically possible, but it would not work out of the box on pretty much anything09:52
antocuniyes, I fear you are right09:52
antocunithis is a problem of both the checkpointing approach and the fork approach09:53
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.09:53
fijalyes, precisely09:54
fijalthat's why advanced application checkpointing does not address anything really09:54
antocuniwell, it was more for trying whether it works09:54
Action: arigato writes a mail instead09:55
fijalarigato: instead of?09:55
arigatoinstead of fighting to have a chance to expose the whole problem without being interrupted?09:55
fijalarigato: sorry :)09:56
antocunidid I jump in the middle of a discussion by chance? :-)09:56
fijalarigato: I can discuss that a bit, mostly because I'm against that rule09:56
arigatoantocuni: no, I only posted one line09:57
arigatoso you arrived at the aborted start of the discussion09:57
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.09:59
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1104 [12arigo]09:59
arigatofijal: sorry, seems that I'm in a bad mood this morning :-(  please ignore me...10:00
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) left irc: Ping timeout: 240 seconds10:02
antocunipff, two days of "upgrading" ubuntu and I'm still not 100% done10:05
kenaan12arigo default 111368405e24e1 15/pypy/module/test_lib_pypy/test_pwd.py: skip on win32.10:12
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 256 seconds10:13
derdon (~derdon@p5DE89701.dip.t-dialin.net) joined #pypy.10:21
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) joined #pypy.10:21
fijalarigato: meh, got kicked out10:21
fijalarigato: so, what is your opinion?10:22
fijalor you simply don't want to discuss?10:22
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Quit: unbit10:22
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.10:22
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Read error: Connection reset by peer10:23
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.10:23
chickamade (~chickamad@118.69.67.203) left irc: Quit: chickamade10:25
antocuniAlex_Gaynor: I'm looking at jit-dynamic-getarrayitem: so, IIUC, the {get,set}items which are done through libffi are always emitted as {get,set}interiorfield_raw?10:26
fijalantocuni: ok, cool, you could have told me before you would look there ;-)10:28
antocunifijal: uh?10:31
fijalwell, alex told me to review this10:31
fijalif you're reviewing, then it does not make sense to repeat no?10:31
antocuniI just skimmed over the commits10:32
fijalif you didn't plan to review, then please do it :)10:32
antocunithey look fine, it's the same kind of code which I had to write for ffistruct10:32
fijalmaybe it should be the same code?10:32
antocunifijal: ok, I review everything but the x86 part, and you review that one :-)10:32
fijalok10:32
kenaan12arigo default 11335d74f2d6e3 15/pypy/interpreter/test/test_executioncontext.py: This number of quotes suddenly stopped working on Windows, but with one level of quotes less it seems to work.  I h...10:33
antocunifijal: no, most of it it's really a long chain of functions which are almost empty and almost the same but need to be different for the annotator, the codewriter, etc.10:33
fijalright10:33
fijalthe x86 part looks fine10:34
fijal(also very small)10:34
fijalthen there is a question why do we need the static version at all10:34
arigatofijal: sorry, seems that I'm in a bad mood this morning :-(  please ignore me...10:34
fijal(does it buy us anything really?)10:34
fijalarigato: :]10:34
antocunifijal: sorry, I'm going afk10:34
fijalantocuni: I suppose that's more a question to alex10:35
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/262 [12arigo]10:36
fijalhttp://www.jobcareerdb.com/2011/job-vacancy-devopsinfrastructure-engineer-palo-alto.html10:37
fijalpypy in job ad10:37
fijalin a job ad10:38
stakkars (~tismer@213-65-251-34-no35.business.telia.com) left irc: Quit: schnarch10:39
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds10:41
arigato:-)10:42
fijala technology choice seems a bit arbitrary, but would be cool to know if surveymonkey is using pypy10:43
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.10:44
lucian_ (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.10:45
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Read error: Connection reset by peer10:45
Nick change: lucian_ -> lucian10:46
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1104 [12arigo]10:50
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) left irc: Quit: Leaving10:52
fijal_ (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) joined #pypy.10:52
Nick change: fijal_ -> fijal10:52
Nick change: ojii -> ojii|lunch10:57
antocunifijal: wow, that's cool11:03
antocunimaybe we should write to them asking whether they are actually using pypy?11:03
fijalfeel free11:03
Action: antocuni does11:03
antocunieh, the hard part is to find the right email addres11:04
antocuni*address11:04
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-ppc-32/builds/1 [12David Schneider, ppc-jit-backend]11:09
Squarepy (~Squarepy@ip4da70b11.direct-adsl.nl) joined #pypy.11:14
kenaan12antocuni extradoc 11bba5526b4eb5 15/blog/draft/2011-11-gborg-sprint-report.rst: twaks11:18
Squarepy (~Squarepy@ip4da70b11.direct-adsl.nl) left irc: Changing host11:22
Squarepy (~Squarepy@unaffiliated/squarepy) joined #pypy.11:22
kenaan12arigo extradoc 1137cc0ee778a9 15/talk/fscons2011/: latest version11:22
kenaan12arigo extradoc 11614c01f2ba2b 15/blog/draft/2011-11-gborg-sprint-report.rst: Typo11:22
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection11:22
fijal (~fijal@188.147.230.166.nat.umts.dynamic.t-mobile.pl) left irc: Ping timeout: 260 seconds11:23
arigatoyay, "that will be the perfect excuse to eat another cake :-)"11:23
antocuniyep :-)11:24
antocuniif nobody objects, I'm posting it11:24
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.11:24
kenaan12bivab ppc-jit-backend 1108426f22e5d5 15/pypy/jit/codewriter/heaptracker.py: fix for tests11:25
antocunihttp://morepypy.blogspot.com/2011/11/gothenburg-sprint-report.html11:26
Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy.11:32
kenaan12bivab ppc-jit-backend 11cdd52796a997 15/pypy/jit/backend/x86/test/test_assembler.py: another fix for the ppc tests11:36
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-ppc-32/builds/2 [12David Schneider, ppc-jit-backend]11:37
amaury_ (~amaury_@74.125.57.33) left irc: Ping timeout: 244 seconds11:44
Fluxidantocuni: "This needs a lot of work because a lot of PyPy is written under the assumption than assumption that the long type in C has the same bit size than void*,"11:56
Fluxidassumption than assumption that?11:57
kirmathere should be empty line between paragraphs11:58
nedbat (~nedbat@python/psf/nedbat) joined #pypy.12:06
Nick change: ojii|lunch -> ojii12:16
antocuniFluxid: thank you, I fixed it12:24
Fluxidnp12:26
ltratt (~ltratt@87.115.8.1) joined #pypy.12:34
ltrattHi. Does anyone have a dummys explanation of how yield is implemented in PyPy? In the RPython Converge VM, I'm using stacklets to implement generators, but a bug (#907) prevents that working on --opt>1.12:37
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.12:40
cfbolzhello12:40
cfbolzI am seeing typos in the sprint report, ok to fix them?12:41
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.12:42
arigatoltratt: hi12:44
arigatoltratt: sorry I didn't answer your mail yet, I was busy at a sprint and a conference12:44
ltrattarigato: No problem! I thought it might be something that others were better placed to answer - I have very little idea who's responsible for what bits in PyPy yet :)12:45
arigato:-)12:46
ltrattThe new Converge VM is getting to the point where I'm struggling to answer questions just by grep'ing, which has been a remarkably successful tactic upto now.12:46
cfbolz:-)12:47
cfbolzltratt: at the latest you can pester me with question in january :-)12:47
ltrattcfbolz: oh, you can bet your bottom euro I will ;)12:47
arigatobasically, for generators, you need to have a "frame" class, but I think you do in the "cf" variable12:48
antocunicfbolz: I think you can just click on the small pencil at the bottom of the page12:48
cfbolzantocuni: I was more wondering whether somebody else was editing at the moment12:48
antocuniI'm not12:48
arigatoltratt: that means that to execute a "yield", you do it like a "return", except that the "cf" is stored around12:48
cfbolzantocuni: you "bake" a cake, you don't "cook" it :-)12:49
arigatoltratt: later, to resume the generator, you call bc_loop again with the same "cf"12:49
ltrattarigato: ok, that's what I guessed. It means that RPython generators need to manually maintain state over yields.12:49
arigatoyes12:49
antocunicfbolz: yes, but the important thing is that you *eat* it :-)12:49
cfbolzeh12:49
cfbolzyes, indeed12:49
arigatoltratt: that's a bit more work than just using stacklet, but it's more explicit, and avoids needing stacklets12:50
ltrattarigato: I tried that in one C VM years ago, and it made many things very icky. Maybe because of the relative terseness of RPython it won't be so bad.12:50
cfbolzltratt: can your generators recurse? or are they really like python's?12:51
ltrattarigato: i like the stacklets approach to generators, though I'm unclear what the performance penalty is.12:51
ltrattcfbolz: they are mostly like Python's, except they're much more ubiquitous.12:51
cfbolzrights12:51
ltrattthe bytecode generators are handled nicely, but its the ones implemented in RPython that are a pain. Storing / unpacking state can be very tedious.12:52
basepi (~basepi@174.127.114.26) left irc: Quit: ZNC - http://znc.sourceforge.net12:52
arigatoah, I see12:52
arigatoindeed, Python (being CPython or PyPy) doesn't have generators at the level of the interpreter12:53
arigatoit's implemented explicitly by storing and unpacking state12:54
basepi (~basepi@server.cmyers.net) joined #pypy.12:54
ltrattarigato: stacklets get around that very neatly :)12:55
arigatoyes12:55
ltrattarigato: in the old C VM I used setjmp / longjmp and stack copying for the same purpose. Evil, but surprisingly portable.12:56
arigato:-/12:56
arigatowhat you may really need is generator support in RPython12:56
arigatoit is something we are vaguely thinking of adding to RPython every now and then12:57
ltrattarigato: that would be even easier i guess12:57
ltrattone advantage i have is that in Converge I know when called functions might possibly be resumed, so often i can dynamically optimise away expensive techniques (e.g. stacklets)12:58
mat^2 (~mathias@212.130.113.35) joined #pypy.12:59
stargaming (stargaming@server3.raumopol.de) left irc: Changing host13:01
stargaming (stargaming@unaffiliated/stargaming) joined #pypy.13:01
ronnyarigato: isnt it possible to transform a generator to a iterator with statemachine?13:02
arigatoronny: yes13:04
arigatoideally we'd like an automatic transformation of this kind done very early during translation13:04
arigatoit would allow us to re-enable at least pypy/interpreter/pyparser/pytokenizer.py13:05
arigatoit was originally a big generator, but has been converted to accumulate and return a list of results13:06
mat^2I see that during the sprint, some Windows bugs were fixed - does that include https://bugs.pypy.org/issue849?13:06
arigatoit creates issues like requiring tons of memory to compile large files, or not really supporting incremental compilation (e.g. when the input is a pipe)13:07
arigatomat^2: yes, I think so13:07
mat^2I'm translating myself, so I'll make sure to report back13:08
mat^2arigato: nice13:08
arigatothank you :-)13:08
ronnyarigato: btw, are there any possibilities for significantly speeding up translation?13:12
arigatonot that I can think up13:12
ronnyarigato: im tinkering with the idea to use execnet to do the actual translation on a other box and streaming back the results13:13
arigatowhat is the advantage over ssh'ing there?13:14
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-ppc-32/builds/2 [12David Schneider, ppc-jit-backend]13:14
ronnyplatform checks on the local box, so gcc would run local13:14
ronnyalso it could be used to kill the memory usag right before invoking gcc13:14
ronnyso it would help to automate doing the expensive stuff on a remote box and help to avoid one "swap of death" issue13:15
arigatonote that this is not a "swap of death" issue13:15
ronnyarigato: on my box it kind of is13:16
arigatoit's just a "swap a lot for a bit but then proceed normally" issue13:16
k_bx (~k_bx@195.20.130.1) joined #pypy.13:16
arigatoyou can already work around it, e.g. by setting "translate.py --source"13:16
ronnybtw, can we switch the default mode of translate, to invoke itself with --source, then start the compile13:17
arigatofeel free to hack something, preferrably based on the existing pypy/tool/runsubprocess.py13:19
arigatoe.g. the final call to run_subprocess() could pass a flag "final=True" that kills the current process by doing an execv instead of a popen13:20
arigatowell, it's not really related to runsubprocess.py, actually13:21
arigatoprobably just do a execv to run the final compilation, and that's it13:22
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) left irc: Quit: Leaving.13:23
lizardo (~lizardo@201009105166.user.veloxzone.com.br) joined #pypy.13:29
kenaan12bivab ppc-jit-backend 11deb6836af9be 15/pypy/jit/: more test fixes13:34
Guest81860 (~jared@061093200075.ctinets.com) joined #pypy.13:36
Alex_Gaynorantocuni: yes I'm using interiorfield everywhere, I added an optimization to the x86 backend so if it's equivilant to getarrayitem_raw there's no penalty13:37
antocuniok, cool13:37
dimazest (~dimazest@balticom-202-59.balticom.lv) joined #pypy.13:38
Rhy0lite (dje@nat/ibm/x-vtoqopwdtgiwgqdy) joined #pypy.13:40
jared (~jared@061093200075.ctinets.com) joined #pypy.13:41
Guest81860 (~jared@061093200075.ctinets.com) left irc: Read error: Connection reset by peer13:41
Nick change: jared -> Guest3571013:41
Nick change: Hong_MinHee -> hongminhee13:45
Nick change: Gulaway -> Gulopine13:54
lucianthis nuitka thing might be interesting13:56
cfbolzlucian: nuitka?13:56
lucianthis thing http://www.nuitka.net/blog/nuitka-a-python-compiler/13:57
lucianit seems to actually work13:57
cfbolzah, yet another static compiler for python13:57
cfbolzgives a speedup of 2-3 at most13:57
Alex_Gaynorcfbolz: Not Python, a subset of Python :)13:57
cfbolzeven worse13:58
lucianyeah. it's GPLv3 and has an odd project structure, so unlikely to get too far13:58
lucianAlex_Gaynor: it's a surprisingly large subset13:58
lucianit falls back on libpython's eval if needed, afaict13:58
kenaan12cfbolz set-strategies 11c3ed604fcfb5 15/: merge14:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1105 [12Carl Friedrich Bolz, set-strategies]14:00
Alex_Gaynorcfbolz: Is llgraph's Descr supposed to be seen in translation (even in tests) ever?14:02
cfbolzdon't think so14:02
cfbolzAlex_Gaynor: btw, it seems lukas will start on type-specializing instances soonish14:02
Action: Alex_Gaynor wonders what he did to break this on his branch14:02
Alex_Gaynorcfbolz: Cool, dynamic specialization, or a static set of subclasses?14:03
cfbolzAlex_Gaynor: in a minimal way, ie with tagging and not GC support14:03
cfbolzdynamic14:03
Alex_Gaynorcfbolz: how is his tagging different from the translator option?14:04
cfbolzcompletely unrelated14:04
cfbolzthe tagging is only used to not have to implement GC support14:05
cfbolzarigato: should I still get memory errors in _shape_to_ffi_type?14:05
ltratt (~ltratt@87.115.8.1) left irc: Ping timeout: 252 seconds14:05
ltratt (~ltratt@87.115.8.1) joined #pypy.14:05
cfbolzAlex_Gaynor: the idea is still to have the type of an instance's fields encoded in the map14:06
cfbolzand then store unboxedly14:06
Alex_Gaynorcfbolz: so in theory someone coul combine his work on encoding it in the map with GC integration :)14:08
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.14:08
cfbolzAlex_Gaynor: yes14:08
Alex_Gaynorcool14:08
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.14:09
Action: Alex_Gaynor -> class14:11
arigatocfbolz: re memory errors:14:17
EnCuKou (~encukou@193.167.65.94) left irc: Remote host closed the connection14:17
arigatocfbolz: yes, I fear so, unless the pypy that you're *using* to run translate.py is very recent14:17
arigatounsure if it's worth writing a hack to make it work on older pypy's14:18
Rhy0lite (dje@nat/ibm/x-vtoqopwdtgiwgqdy) left irc: Quit: Leaving14:30
lizardo_ (~lizardo@201008201030.user.veloxzone.com.br) joined #pypy.14:30
lizardo (~lizardo@201009105166.user.veloxzone.com.br) left irc: Ping timeout: 258 seconds14:30
kenaan12arigo default 11913f736ff114 15/pypy/module/_rawffi/test/test__rawffi.py: Add a test for ed83fd7b7ec1.14:32
Rhy0lite (dje@nat/ibm/x-sjkqybftuqlceyri) joined #pypy.14:32
whitelynx (~whitelynx@li117-47.members.linode.com) joined #pypy.14:38
cfbolzarigato: ah, I see14:43
cfbolzarigato: ok, will update my pypy14:43
EnCuKou (~encukou@a91-156-243-246.elisa-laajakaista.fi) joined #pypy.14:43
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.14:45
cfbolzarigato: i've been playing with the slf-in-slf meta-interpreter again14:46
arigato:-)14:46
cfbolzour optimizations have gotten a lot better14:46
arigatogood14:46
cfbolzso now we can remove the meta-interpreter almost fully14:46
arigatowhat is left? :-)14:47
cfbolzsome allocation of integers14:47
cfbolzbecause the same integer exists in several places14:47
cfbolzie is passed twice along the jump14:47
canta (~canta@77-20-123-240-dynip.superkabel.de) joined #pypy.14:48
arigatoah, which is also a (minor) issue with pypy (running python)14:48
cfbolzit is?14:49
arigatoyes14:50
arigatohttp://paste.pocoo.org/show/507693/14:51
arigatothis is not as optimized as without the "j = i"14:51
arigato(at least it was the case in pypy 1.6)14:51
cfbolzah, bah14:51
cfbolzI see14:51
cfbolzarigato: also the meta-slf stuff is a great benchmark for optimizer performance :-)14:52
arigato:-)14:52
aboudreaultIs there a PPA for pypy with ubuntu packages?14:52
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1105 [12Carl Friedrich Bolz, set-strategies]14:52
arigatoaboudreault: I can't definitely answer this question, but I think so14:53
aboudreaultarigato, ok14:54
arigatobut you might get better results anyway by downloading the trunk at http://buildbot.pypy.org/nightly/trunk/14:54
aboudreaultok, just checking to replace CPython on a server.14:54
bfirsh (u1308@gateway/web/irccloud.com/x-vqqljpezvqvklqug) joined #pypy.14:59
Nick change: Gulopine -> Gulaway14:59
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.15:00
gutworth (~benjamin@dhcp-128-36-89-186.central.yale.edu) joined #pypy.15:05
ltrattarigato: do exceptions propagate over stacklet switches? I'm guessing not.15:05
arigatoif there is an exception, you cannot call the switch() method at all15:06
arigatobut if a non-main stacklet terminates with an exception, then yes15:07
masquerade (~rdeaton@galactica.lug.udel.edu) left irc: Read error: Operation timed out15:07
arigatoah, no15:07
arigatoindeed, you crash if a non-main stacklet terminates with an exception15:08
ltrattarigato: ok, that's what I'm seeing :)15:08
arigatothere is code in module/_continuation that catches the exception and propagates it to the parent15:08
masquerade (~rdeaton@galactica.lug.udel.edu) joined #pypy.15:08
arigatobasically a non-main stacklet *must* terminate by returning a valid stacklet to jump to15:08
Nick change: masquerade -> Guest5889415:09
ltrattOK, I was wondering if I might need to do that.15:09
fijal (~fijal@195.175.230.246) joined #pypy.15:10
ltrattAlthough I'm not sure if I should keep on using stacklets or not, anway! Decisions, decisions..15:10
arigato:-)15:11
ltrattI think I probably will keep using them, as they keep the VM nice and clean. If they're fixed, brilliant. If RPython grows generators, it's a simple search and replace to move thing to generators. If I move to the "store state and restore", it's more of a one-way ticket, and it's pretty icky...15:12
Action: fijal greets from istanbul airport15:19
Rhy0liteheh.  hi, fijal!15:20
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.15:20
Squarepy (~Squarepy@unaffiliated/squarepy) left irc: Quit: Leaving15:22
arigatohi :-)15:22
fijalronny: remote machine translation is a very likely non-feature15:23
fijalAlex_Gaynor: ping15:23
espes (espes@2001:470:1f05:ca1::) left irc: Ping timeout: 244 seconds15:25
exarkunfijal: You mean PyPy will never translate super fast on my beowulf cluster?15:27
fijalexarkun: this question is so wrong, I don't know how to answer15:28
xorAxAxexarkun: it will probably some day, but not remotely if you follow fijals point :)15:29
fijalexarkun: I guess my point was that ssh+screen is a very good remote compilation protocol15:29
cfbolzexarkun: you still have one of those?15:30
exarkuncfbolz: Heh.  No, I never had one. :)15:31
cfbolzbeowulf clusters are so 90ies15:31
exarkunindeed :)15:31
fijalcfbolz: cool about specialized instances15:32
fijalcfbolz: we should start merging lukas branches though ;-)15:32
cfbolzwill take some time15:33
cfbolzyes15:33
fijaldid alex review list-strategies?15:33
cfbolzfijal: I think list-strategies should be mergeable after the release15:33
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.15:33
fijalok15:33
fijalwe have the release branch15:33
fijalso feel free15:33
arigatowell15:34
cfbolzno, that makes merging more annoying15:34
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1842 [12fijal, release-1.7.x]15:34
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/702 [12fijal, release-1.7.x]15:34
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-win-x86-32/builds/537 [12fijal, release-1.7.x]15:34
arigatoI honestly think that we should just merge everything on the release branch soon15:34
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1106 [12fijal, release-1.7.x]15:34
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/568 [12fijal, release-1.7.x]15:34
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/265 [12fijal, release-1.7.x]15:34
fijalarigato: did we fix bugs?15:34
arigatoyes, tons, on Windows, for example15:34
fijalok15:35
fijalshould I stop the buildbots then?15:35
arigatothe Windows situation improved from "crashes randomly" to "seems to work"15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/265 [12fijal, release-1.7.x]15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/568 [12fijal, release-1.7.x]15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1106 [12fijal, release-1.7.x]15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/pypy-c-app-level-win-x86-32/builds/537 [12fijal, release-1.7.x]15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/702 [12fijal, release-1.7.x]15:35
bbot213Exception: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1842 [12fijal, release-1.7.x]15:36
fijalno point in overloading slaves then15:36
arigatoI'm still trying to run the Windows buildbot and to figure out which tests are really fixed and which ones need more attention15:36
fijalok15:36
fijalI'll take care about the new website and renaming numpy then15:36
arigato(please do not stop my windows build :-)  i'm waiting for it since 6 hours)15:37
fijalI only stopped mine15:37
kenaan12edelsohn ppc-jit-backend 113db474e494aa 15/pypy/jit/backend/ppc/ppcgen/codebuilder.py: refactor load_from_addr.  clarify register usage in store_reg.15:40
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/15:41
Rhy0litebivab: ping15:41
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Remote host closed the connection15:43
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.15:44
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Quit: unbit15:45
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.15:45
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Read error: Connection reset by peer15:46
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.15:51
cfbolzRhy0lite: david and sven are both busy right now, sven might come online a while15:52
Rhy0liteok15:52
Action: arigato -> ferry15:52
Action: cfbolz -> home15:55
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Client Quit15:55
gutworth (benjamin@dhcp-128-36-89-186.central.yale.edu) left #pypy.15:56
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection reset by peer15:58
nedbat (nedbat@python/psf/nedbat) left #pypy ("Leaving").16:02
nedbat (~nedbat@python/psf/nedbat) joined #pypy.16:02
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.16:03
nedbatfijal: btw: using the latest stable nightly code, I didn't have that same build problem.  I think you should probably revert the change you made for me.16:05
nedbatfijal: sorry for the noise.16:05
fijalnedbat: well, latest nightly fixed that16:06
fijalI added extra small change16:06
fijal(for makefiles)16:06
nedbatok, thanks.16:07
Nick change: Guest58894 -> masquerade16:07
arigatoas usual, no clue whatsoever what detail of the windows configuration changed16:12
fijalarigato: are you on a ferry?16:12
arigatonow the test run fails to locate libexpat.dll and gives a nice dialog box saying so16:12
arigatofijal: no, about to leave16:12
arigatoI will be tonight16:12
arigato...well, as usual I suppose I'll give up understanding what could have changed, and hack, e.g. by copying libexpat.dll around16:13
bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Quit: bivab16:14
arigatofwiw, on win64 christian used a tool that is able to figure out that a dialog box has been opened and click itself on the "Ok" button16:16
arigatoadvanced technology16:16
fijalI've seen such tools for windows16:16
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) joined #pypy.16:18
arigato:-/16:18
arigato (~arigo@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Quit: See you16:18
fijalhttps://bitbucket.org/fijal/talk/src/default/blog/analysing-performance.rst16:19
fijalanyone feel like reviewing?16:19
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:19
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.16:20
Rhy0litefijal: I'll take a loot16:20
Rhy0litelook16:20
fijaldon't take my loot please16:20
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.16:23
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 240 seconds16:24
Nick change: lizardo_ -> lizardo16:27
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) joined #pypy.16:27
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...16:28
AndrewHarrison (~Adium@66-215-59-147.dhcp.atsc.ca.charter.com) left irc: Client Quit16:29
fijal (~fijal@195.175.230.246) left irc: Ping timeout: 244 seconds16:29
Alex_Gaynorfijal: pong16:34
Rhy0liteI hope they didn't take him to a Turkish prison16:38
nedbat (nedbat@python/psf/nedbat) left #pypy ("Leaving").16:38
Alex_Gaynorantocuni: ping16:40
fijal (~fijal@195.175.230.246) joined #pypy.16:41
kenaan12hager ppc-jit-backend 11a1d07117b3f1 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: Fixed assertion that made multiple tests fail due to side effect16:44
Alex_Gaynorfijal: pong again?16:45
mattip (~chatzilla@109.64.118.235) joined #pypy.16:45
fijalAlex_Gaynor: why do we need static descrs now that we have dynamic ones btw?16:45
Alex_Gaynorfijal: you mean have all descrs be purely integer based?16:46
fijalyes16:46
fijalI guess16:46
Alex_Gaynornot sure, I don't know the original design decisions for descrs16:46
fijalyou mean why creating descrs is not rpython?16:47
fijalI think caching plays a role16:47
fijalbut we can cache on rpython level as well16:47
fijalbtw, do you make sure that identical descrs are cached?16:48
Alex_GaynorUh, I guess, I just mean I don't know what other purposes descrs might serve, the dynamic info seems sufficient for what the backend does16:48
Trundle (~andy@python/site-packages/trundle) left irc: Remote host closed the connection16:48
Alex_Gaynorfijal: they aren't with llmodel ATM, that should be a WeakValueDict for a cache I suppose?16:49
fijalthen well, let's make all descrs RPython16:49
fijalwhy Weak?16:49
Alex_Gaynorif you deallocate assembler you should lose descr, I suppose16:49
Alex_Gaynorfijal: on that note, what's the point of llgraph's Descr class, instead of using the llsupport ones?16:50
fijalwho's using llgraph Descr?16:50
fijalit should not be seen by the translation16:50
Alex_Gaynorllgraph16:50
`fox` (~fox@host150-111-dynamic.17-79-r.retail.telecomitalia.it) joined #pypy.16:50
Alex_Gaynorit's seen in my branch's test_ztranslation16:50
Alex_GaynorI don't know what I did to break that16:50
fijaltest_ztranslation runs on llgraph no?16:51
Alex_GaynorI have no idea16:51
fijalyes16:51
fijalmetainterp/test/test_ztranslation.py16:51
fijalthis one16:51
Alex_Gaynoryes16:52
stakkars (~tismer@89.204.154.73) joined #pypy.16:53
Alex_Gaynorfijal: it fails on my branch because getdescr is seen, I guess because it can in theory be called at runtime16:53
fijalah16:53
fijalso you changed that :-P16:53
fijalyou have to do something about it then16:53
Alex_Gaynorhow else should I create a descr at runtime!16:53
fijalmake it rpython then16:53
Alex_Gaynorwell ISTM it's fixed automatically if you just switch to using llsupport's descrs16:53
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Remote host closed the connection16:54
fijaldoes that even work on llgraph?16:55
fijalif so maybe we can move descrs to model and just ignore llgraph.Decr16:55
fijalor remove it entirely?16:55
Sho_ (~EHS1@kde/hein) left irc: Quit: Stop leaking memory like it's going out of fashion.16:55
mattip (chatzilla@109.64.118.235) left #pypy.16:55
fijalI mean - this is the point where it's worth simplifying things16:55
fijalwithout adding new stuff to the mess16:55
Alex_Gaynorfijal: I dunno, I was trying to have one branch that didn't involve 3 layers of yak shaving16:55
fijalhow about having jit-simplify-descrs branch first then?16:56
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/262 [12arigo]16:56
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/263 [12fijal, release-1.7.x]16:56
Alex_GaynorYes I suppose.  /me wishes he had a lacky who would do this work for him.16:56
fijalI'm busy with other stuff :-P16:57
antocuni_ (~antocuni@host216-125-dynamic.6-79-r.retail.telecomitalia.it) joined #pypy.16:57
antocuni (~antocuni@host70-121-dynamic.11-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds17:00
witulski (~stupsi@134.99.16.23) joined #pypy.17:02
mattip (~chatzilla@bzq-109-64-118-235.red.bezeqint.net) joined #pypy.17:05
mattipAlex_Gaynor: ping17:07
Alex_Gaynormattip: pong17:07
JaRoel|4d (~jaroel|4d@2001:980:7133:1:6c40:286b:dd77:2045) joined #pypy.17:08
mattipI am available for small well defined tasks17:08
fijalmattip: hi17:08
mattipFijal: hi17:09
mattipfijal: I have been playing with multidimensional arrays17:09
fijalcool17:09
fijalI've rewritten a large chunk of them17:09
mattipand I think I see an easy way to do transpose and matrixmultiply17:10
mattipusing your shards17:10
mattipSo I'm just kind of hanging out waiting for the branch to mature17:10
fijalcool17:10
k_bx (~k_bx@195.20.130.1) left irc: Remote host closed the connection17:11
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds17:13
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.17:14
ahall (~ahall@2001:bd0:100::666) joined #pypy.17:19
Action: fijal found a crash in split_jit_merge_points17:19
fijalnice :/17:20
fprimex (~fprimex@fl-67-233-144-228.dhcp.embarqhsd.net) joined #pypy.17:20
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.17:20
kenaan12fijal numpy-multidim-shards 119121efb3b83f 15/pypy/module/micronumpy/interp_numarray.py: move to_str to the base class17:22
kenaan12fijal numpy-multidim-shards 11c857554d0c6c 15/pypy/module/micronumpy/: rpythonize a bit. Disable _immutable_fields_ for now17:22
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Ping timeout: 240 seconds17:23
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) joined #pypy.17:25
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) left irc: Changing host17:25
ixokai (~ixokai@pdpc/supporter/student/ixokai) joined #pypy.17:25
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.17:26
fijalgood17:32
fijalAlex_Gaynor: I have an obscure case of arraycopy not optimized correctly17:33
fijalwant to have a look?17:33
fijalmattip: making descr_repr work on numpy-multidim-shards is a good idea?17:33
Alex_Gaynorfijal: sure17:33
kenaan12fijal numpy-multidim-shards 1114f8da6a95bf 15/pypy/module/micronumpy/: Make array iterators a once-off immutable things.17:34
fijalAlex_Gaynor: run test_zjit -k test_multidim_slice --viewloops17:35
Alex_Gaynorfijal: on that branch?17:35
fijalyes17:35
fijalguards are there to stay I believe17:35
fijalstore sinking does not work across boundaries, otherwise the above commit would make no sense17:36
Alex_Gaynorfijal: uh, segfaults for me17:36
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy17:37
antocuni__ (~antocuni@host86-122-dynamic.6-79-r.retail.telecomitalia.it) joined #pypy.17:38
fijalAlex_Gaynor: yes, but after it shows the loop ;-)17:39
fijalnot sure what segfaults17:39
Alex_Gaynorfijal: no,it just segfaults and dies :)17:39
fijalnice17:39
mattipfijal: sorry, went away for a minute. I'm not sure what the question is.17:39
mattipfijal: it's a good idea, do you want me to do it?17:40
fijalmattip: you were looking for a simple task right?17:40
ltratt (~ltratt@87.115.8.1) left irc: Quit: Bye all.17:40
fijalif you feel like doing it that would be great17:40
fijalbecause I broke it17:40
antocuni_ (~antocuni@host216-125-dynamic.6-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds17:40
fijalwhile moving to shards17:40
fijalalso, it would be nice if to_str receives a builder17:40
fijalinstead of creating a new one locally17:40
mattipOK, I have to run, but I will take a look later tonight. Have a good flight.17:40
stakkars (~tismer@89.204.154.73) left irc: Quit: schnarch17:41
fijalmattip: cool17:41
mattipfijal: builder? Like a StringBuilder?17:41
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.17:42
fijalyes17:42
mattipOK, I'll poke around and see if I "get" the concept.17:43
mattip (chatzilla@bzq-109-64-118-235.red.bezeqint.net) left #pypy ("late").17:43
fijalAlex_Gaynor: ups17:43
kenaan12fijal numpy-multidim-shards 11ba1a3becc049 15/pypy/module/micronumpy/test/test_numarray.py: one more test and make the other test failing without problems with repr17:43
fijalups, indeed I broke it17:43
fijalAlex_Gaynor: I'll fix it first17:44
Alex_Gaynorfijal: thanks17:45
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.17:47
jacob22_fijal: The line " PYPYLOG=log ./test.py" needs a bit of explaining. Is "log" the name of the logfile you are creating? Is ./test.py the program you are profiling, and if so, I guess it needs a #/usr/bin/env pypy line at the beginning.17:50
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving17:51
jacob22_fijal: The rest of the post is very nice and clear.17:51
fijalyes, you have to run it under pypy17:51
fijalwhatever way17:51
fijalI guess I'm officially dead by now17:54
fzzzy (~donovan@nat/mozilla/x-auzwlaoobuwscgrg) joined #pypy.17:56
Alex_Gaynorfijal: llsupport's descr things need gc_ll_descr, which llgraph doesn't have17:56
fijalsee?17:57
Alex_Gaynor?17:57
fijalit's mess17:58
fijala mess :)17:58
Alex_Gaynoryes17:58
fijalCall1 has values None18:00
fijalhow that can happen?18:01
fijaluh18:02
fijalAlex_Gaynor: consider this18:02
fijala = numpy.array([...])18:02
fijalb = a + a18:02
fijalc = b + b18:03
fijaland I force b18:03
fijalnow I can't force c18:03
fijalany more18:03
Alex_Gaynorthat's a bug18:03
Alex_Gaynorwe even have a test for this, I claim18:03
kenaan12hager ppc-jit-backend 11c76ce86e60ff 15/pypy/jit/backend/ppc/ppcgen/: Implemented COPYSTRCONTENT18:04
fijalanyway, I'm down in the yak-shaving territory18:06
Alex_Gaynorfijal: pff, me too, descrs are a mess, Idon't feel like refactoring the whole world18:06
fijalwe don18:06
fijal't have a test for this18:06
fijalnot directly I think18:06
Alex_GaynorI don't understand how they translate at all though, since some descrs have an int attribute and others have a EffectINfo one18:07
lizardo_ (~lizardo@201009096007.user.veloxzone.com.br) joined #pypy.18:07
Alex_Gaynorfijal: test_numarry:test_auto_force18:07
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.18:07
fijalI think this is a different combination of forces18:08
fijalanyway, fixed18:08
lizardo (~lizardo@201008201030.user.veloxzone.com.br) left irc: Ping timeout: 258 seconds18:08
Alex_Gaynorfijal: want to fix my test_ztranslation issue now :)18:08
fijalno :)18:10
Alex_Gaynorme neither18:10
kenaan12fijal numpy-multidim-shards 118521a920ed05 15/pypy/module/micronumpy/: provide some sort of descr_repr (a broken one) and a fix18:10
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 240 seconds18:14
Alex_Gaynorfijal: can you explain how llgraph translate at all ATM?18:14
fprimex (~fprimex@fl-67-233-144-228.dhcp.embarqhsd.net) left irc: Quit: Leaving18:14
fijalwith black magic18:16
fijalit has a boundary18:16
fijalrpython/not rpython18:16
fijallook how the runner.py interacts with llimpl18:17
Alex_Gaynorfijal: I'm talking about the Descrs themselves, some have an int extra_info, others have an EffecInfo18:17
fijalbut they get compiled18:18
fijalseparately into stuff that's in llimpl18:18
fijalno?18:18
Alex_GaynorI don't know, I'm asking :)18:18
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Quit: Leaving18:18
fijalAlex_Gaynor: I'm sorry I'm dead18:20
fijalI'll go off maybe read a book18:20
Alex_Gaynorok, I'll hack hack hack I guess18:20
kenaan12fijal numpy-multidim-shards 11f7cb08c0396d 15/pypy/module/micronumpy/: some partial fixes, will continue later18:20
fijalread the blog post I posted here18:21
kenaan12hager ppc-jit-backend 1134e139792020 15/pypy/jit/backend/ppc/ppcgen/: Implemented COPYUNICODECONTENT18:22
Alex_Gaynorfijal: you keep changing these tests, maybe make sure they're correct before you commit them in the first place ;)18:23
fijalwell18:23
fijalthat's the whole problem18:23
fijalI don't quite know what they should be upfront18:23
fijalI'll change them again18:23
fijal(they fail now)18:23
mat^2I can confirm that https://bugs.pypy.org/issue849 is fixed in trunk18:24
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum18:25
bobbyz (~bobbyz@c-67-184-43-39.hsd1.il.comcast.net) left irc: Quit: Leaving18:26
fijal (~fijal@195.175.230.246) left irc: Ping timeout: 260 seconds18:30
witulski (stupsi@134.99.16.23) left #pypy.18:30
mat^2running pyglet in pypy trunk on win32 raises this exception: http://paste.pocoo.org/show/jyAabBpSG1kocwpkPGWs/18:32
Nick change: lizardo_ -> lizardo18:32
CIA-6803matpow2 07roundup * 10#849/pypy 1.6, pyglet crash on win32: 18:35
CIA-68The segfault seems to have been fixed in PyPy trunk. Now I get exceptions and18:35
CIA-68warnings like this, though: http://paste.pocoo.org/show/rPNQr4baBys ... * 14https://bugs.pypy.org/issue84918:35
pedronis_ (~pedronis@73-53.195-178.cust.bluewin.ch) joined #pypy.18:41
pedronis (~pedronis@73-53.195-178.cust.bluewin.ch) left irc: Ping timeout: 260 seconds18:41
Nick change: antocuni__ -> antocuni18:45
antocuniAlex_Gaynor: pong18:45
Alex_Gaynorantocuni: do you know if metainterp/test_ztranslation passed on ffistruct?18:45
antocuniI could translate until the most recent commits, so I suppose that it passed18:46
antocunibut I never actually tried, I think18:46
Alex_Gaynorwell, my branch translates as well, but fails that one because llgraph is different from x8618:47
antocuniuhm18:47
Alex_Gaynorbut looking at your diffa gain, my issue wouldn't apply to you, so I guess I'll just hack some more18:47
antocuni(I'm reading the logs) if the translator sees the llgraph descrs, it's probably because you are doing too much in runner.py18:48
antocuniyou should move everything which is not rpython inside llimpl.py18:48
Alex_Gaynoryes, I guess so, thanks18:48
antocunibtw, I'm not sure about fijal's proposal about descrs18:48
Guest35710 (~jared@061093200075.ctinets.com) left irc: Ping timeout: 245 seconds18:48
Alex_GaynorI gave up on simplifying descrs,someone else can try with that mess18:48
antocuniso far they are prebuilt because we can cache them18:49
antocuniand for dynamic ones, we don't case about creating new ones because they are not too many anyway18:49
Alex_Gaynorok, I'll hack some more18:50
etrepum (~bob@accessnat4.mochimedia.net) joined #pypy.18:50
etrepum (~bob@accessnat4.mochimedia.net) left irc: Client Quit18:54
etrepum (~bob@accessnat4.mochimedia.net) joined #pypy.18:55
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.19:08
kenaan12edelsohn ppc-jit-backend 113a6600bf032a 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: setarrayitem and getarrayitem offsets are immediate values.19:11
Nick change: mcdonc_ -> mcdonc19:14
kenaan12edelsohn ppc-jit-backend 11b6a18d1530bf 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: setarrayitem and getarrayitem cannot add offset with addi.19:19
hakanardohow do I debug this: http://paste.pocoo.org/show/507882/19:20
hakanardoany way I can dig out the name offending attribute?19:20
[mat^2] (~mathias@212.130.113.35) joined #pypy.19:20
Alex_Gaynorhakanardo: change that raise Exception to just be `raise`, and you'll probably have to do it in 1 other place, but eventually you'll get a useful location for pdb19:21
Alex_Gaynorhakanardo: I did this exact thing the other day :/19:21
mat^2 (~mathias@212.130.113.35) left irc: Ping timeout: 260 seconds19:21
hakanardook, I'll try19:21
hakanardothanx19:21
aisipos (~aisipos@wc.lax.truecarcorp.com) joined #pypy.19:22
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.19:25
nickik (~nick@217.150.239.67) joined #pypy.19:28
nickik (~nick@217.150.239.67) left irc: Client Quit19:29
kenaan12hakanardo jit-targets 1136b8365a8bba 15/pypy/jit/metainterp/optimizeopt/unroll.py: translation fix19:32
Shinata (~John@osbk-4db06ce4.pool.mediaWays.net) left irc: Read error: Connection reset by peer19:33
hakanardothat gave me two more lines of mandelbrot and a new crash :)19:35
Alex_Gaynorprogress!19:35
Moku (~John@osbk-4db06ce4.pool.mediaWays.net) joined #pypy.19:35
Nick change: Moku -> Guest7822419:36
hakanardoany idea on how to tackle this one: http://paste.pocoo.org/show/507894/19:36
hakanardoAlex_Gaynor: indeed!19:37
Alex_Gaynorno idea what tha tone means19:38
hakanardome neither...19:38
hakanardo_ (~hakanardo@h59ec009e.seluldx.dyn.perspektivbredband.net) joined #pypy.19:43
Alex_Gaynorhakanardo: any idea what http://paste.pocoo.org/show/507895/ means?19:45
kkris (~kris@80-123-36-150.adsl.highway.telekom.at) joined #pypy.19:48
hakanardonot realy19:48
jacob22_ (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 260 seconds19:48
jacob22_ (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.19:48
hakanardoa wild guess would be something about mixing *args, **kwyards and/or default argments19:49
hakanardodifferently on different implementations of the same method19:49
kenaan12alex_gaynor jit-dynamic-getarrayitem 1146c3f314a1e7 15/pypy/jit/backend/model.py: added these to base model19:52
kenaan12alex_gaynor jit-dynamic-getarrayitem 1199efe7320cf1 15/pypy/jit/backend/llgraph/runner.py: don't cache dynamic descrs, progress maybe19:52
kenaan12alex_gaynor jit-dynamic-getarrayitem 1169c9793c54c0 15/pypy/jit/backend/model.py: remove the dupe19:53
aat (~aat@c-67-188-9-79.hsd1.ca.comcast.net) joined #pypy.19:58
tlynn (~tlynn@cpc6-cmbg14-2-0-cust121.5-4.cable.virginmedia.com) joined #pypy.19:59
fox__ (~fox@host239-108-dynamic.244-95-r.retail.telecomitalia.it) joined #pypy.20:07
`fox` (~fox@host150-111-dynamic.17-79-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds20:07
Squarepy (~Squarepy@ip4da70b11.direct-adsl.nl) joined #pypy.20:07
Squarepy (~Squarepy@ip4da70b11.direct-adsl.nl) left irc: Changing host20:08
Squarepy (~Squarepy@unaffiliated/squarepy) joined #pypy.20:08
stakkars (~tismer@p5DDB5E98.dip.t-dialin.net) joined #pypy.20:08
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving20:10
etrepum (~bob@accessnat4.mochimedia.net) left irc: Quit: etrepum20:17
Squarepy (~Squarepy@unaffiliated/squarepy) left irc: Quit: Leaving20:23
Trundle (~andy@89.204.155.169) joined #pypy.20:28
Trundle (~andy@89.204.155.169) left irc: Changing host20:28
Trundle (~andy@python/site-packages/trundle) joined #pypy.20:28
Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Ping timeout: 252 seconds20:32
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.20:38
Nick change: Guest78224 -> Shinita20:39
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection20:43
aisipos (~aisipos@wc.lax.truecarcorp.com) left irc: Read error: Operation timed out20:46
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer_20:48
stakkars_ (~tismer@dslb-088-072-232-162.pools.arcor-ip.net) joined #pypy.20:51
antocuni (~antocuni@host86-122-dynamic.6-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds20:54
ixokai (~ixokai@pdpc/supporter/student/ixokai) left irc: Quit: Bye!20:55
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.20:56
stakkars_ (~tismer@dslb-088-072-232-162.pools.arcor-ip.net) left irc: Quit: schnarch20:57
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.20:57
__main__ (~main@adsl-99-173-15-158.dsl.pltn13.sbcglobal.net) left irc: Read error: Connection reset by peer20:59
basepi (~basepi@server.cmyers.net) left irc: Quit: ZNC - http://znc.sourceforge.net21:02
basepi (~basepi@server.cmyers.net) joined #pypy.21:03
__main__ (~main@adsl-99-173-15-158.dsl.pltn13.sbcglobal.net) joined #pypy.21:09
kkris (~kris@80-123-36-150.adsl.highway.telekom.at) left irc: Quit: Leaving.21:13
stakkars_ (~tismer@dslb-088-072-232-162.pools.arcor-ip.net) joined #pypy.21:13
tilgovi (~randall@199.36.158.16) joined #pypy.21:16
tilgovi (~randall@199.36.158.16) left irc: Changing host21:16
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.21:16
aisipos (~aisipos@wc.lax.truecarcorp.com) joined #pypy.21:18
stakkars__ (~tismer@p5DDB5E98.dip.t-dialin.net) joined #pypy.21:19
stakkars (~tismer@p5DDB5E98.dip.t-dialin.net) left irc: Read error: Connection reset by peer21:19
Nick change: stakkars__ -> stakkars21:19
kenaan12boemmels lang-scheme 1184d83d4e7639 15/scheme/execution.py: naming consistency21:28
Nick change: pedronis_ -> pedronis21:29
jaw^ (~jaw@karl1-149.cust.blixtvik.net) joined #pypy.21:32
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.21:34
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection21:40
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.21:41
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Ping timeout: 245 seconds21:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/263 [12fijal, release-1.7.x]21:53
rekamso (~textual@67.51.82.66) joined #pypy.21:57
fzzzy (~donovan@nat/mozilla/x-auzwlaoobuwscgrg) left irc: Quit: fzzzy21:58
fzzzy (~donovan@nat/mozilla/x-immkjxtsvtnduvxe) joined #pypy.22:00
Rhy0lite (dje@nat/ibm/x-sjkqybftuqlceyri) left irc: Quit: Leaving22:04
fox__ (~fox@host239-108-dynamic.244-95-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds22:08
kenaan12ctismer win64-stage1 11bb40c355d38d 15/pypy/rlib/clibffi.py: fixed clibffi.py, but win32.c must be replaced, and I don't know yes by what.22:11
kenaan12ctismer win64-stage1 114b214639c276 15/: Merge with default22:11
kenaan12ctismer win64-stage1 110b37384fbaad 15/pypy/translator/c/src/libffi_msvc/win64.asm: added the win64.asm source from cpython22:11
kenaan12ctismer win64-stage1 11e1834e63c531 15/pypy/rlib/clibffi.py: added win64.asm22:11
stakkars_ (~tismer@dslb-088-072-232-162.pools.arcor-ip.net) left irc: Quit: schnarch22:12
asmeurer (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.22:23
fzzzy (~donovan@nat/mozilla/x-immkjxtsvtnduvxe) left irc: Quit: fzzzy22:25
fzzzy (~donovan@nat/mozilla/x-zalwykhlbyeqkhii) joined #pypy.22:27
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.22:28
stakkars_ (~tismer@p5DC4696F.dip0.t-ipconnect.de) joined #pypy.22:30
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Remote host closed the connection22:31
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection22:33
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.22:33
stakkars__ (~tismer@p5DC4696F.dip0.t-ipconnect.de) joined #pypy.22:34
stakkars_ (~tismer@p5DC4696F.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer22:34
stakkars_ (~tismer@p5DC4696F.dip0.t-ipconnect.de) joined #pypy.22:36
stakkars__ (~tismer@p5DC4696F.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer22:36
zain2 (~zain@69.38.221.130) joined #pypy.22:37
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Ping timeout: 260 seconds22:38
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.22:43
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/13822:44
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/71222:44
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/94122:44
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection22:50
Rhyolite (~dje@pool-108-6-25-71.nycmny.fios.verizon.net) left irc: Quit: Leaving22:51
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.22:51
stakkars__ (~tismer@p5DC4696F.dip0.t-ipconnect.de) joined #pypy.22:53
stakkars_ (~tismer@p5DC4696F.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer22:53
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Read error: Connection reset by peer22:53
Rhyolite (~dje@pool-108-6-25-71.nycmny.fios.verizon.net) joined #pypy.22:53
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.22:53
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection22:56
lizardo (~lizardo@201009096007.user.veloxzone.com.br) left irc: Quit: Leaving22:57
antocuni (~antocuni@host86-122-dynamic.6-79-r.retail.telecomitalia.it) joined #pypy.23:02
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.23:05
JaRoel|4d (~jaroel|4d@2001:980:7133:1:6c40:286b:dd77:2045) left irc: Remote host closed the connection23:10
stakkars__ (~tismer@p5DC4696F.dip0.t-ipconnect.de) left irc: Quit: schnarch23:10
JaRoel|4d (~jaroel|4d@2001:980:7133:1:6c40:286b:dd77:2045) joined #pypy.23:10
JaRoel|4d (~jaroel|4d@2001:980:7133:1:6c40:286b:dd77:2045) left irc: Ping timeout: 244 seconds23:15
mattip (~chatzilla@bzq-109-64-118-235.red.bezeqint.net) joined #pypy.23:16
mattipamaury: ping23:17
mattipamaury_: ping23:18
amaury_pong23:18
mattipHi. I saw you commented on wxPython-dev about recreating your patch23:19
amaury_:-)23:19
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) left irc: Remote host closed the connection23:19
mattipI applied it to the wtk files, built it and tried to run, but something went wrong 23:19
amaury_traceback, or gdb stack?23:20
whitelynx (~whitelynx@li117-47.members.linode.com) left irc: Quit: Ex-Chat23:20
amaury_ah, with a recent pypy you'll get weird errors23:20
amaury_like: a wx.Window is not a wx.EvtHandler23:21
mattipIn short, _PyObject_GetDictPtr gave an empty pointer23:21
amaury_mattip: that's expected in pypy23:21
mattipWhere under cPython it gave a proper pointer to a dictionary.23:21
amaury_yes, it cannot be fixed23:21
mattipHmm.23:22
amaury_pypy objects are not PyObjects23:22
amaury_so how can I give the address of the pointer to x.__dict__?23:22
Shinita (~John@osbk-4db06ce4.pool.mediaWays.net) left irc: Ping timeout: 240 seconds23:23
amaury_at this point, x.__dict__ is still a pypy reference,23:23
mattipDon't the swig wrappers need this to work?23:23
amaury_no23:23
amaury_in every swig generated file there is #define SWIG_PYTHON_SLOW_GETSET_THIS23:24
amaury_by default this is commented out23:24
amaury_but pypy needs it23:24
mattipAhah.23:24
amaury_mattip: didn't you apply the patch?23:24
amaury_it contains a similar fix23:25
mattipI guess I missed some of the chunks, I had to do it by hand.23:25
amaury_I did the same23:25
mattipI will take a closer look.23:25
amaury_enabling SWIG_PYTHON_SLOW_GETSET_THIS is easier23:25
mattipOK, thnks.23:26
amaury_but the current pypy is a bit broken23:27
amaury_the typesystems of different source files are not correctly shared23:27
amaury_and you'll get type errors like: self is not of the expected type23:28
mattipWell, it's a start anyway...23:29
maxyz (~maxy@186.23.74.228) left irc: Ping timeout: 276 seconds23:30
maxyz (~maxy@186.23.74.228) joined #pypy.23:33
mattipamaury_: It seems that the last half of the patch is already in the sources.23:37
amaury_possible23:37
amaury_not entirely though23:38
amaury_ah bitbucket is *very slow* here23:38
kenaan12amauryfa default 11c074503990bb 15/pypy/module/cpyext/: cpyext: turn some parameters into const char*23:40
kenaan12amauryfa default 1105ed38d2c537 15/pypy/module/cpyext/modsupport.py: Fix usages of Py_InitModule outside of the module init() function. SWIG for example uses it to share the type sy...23:41
amaury_mattip: fixed23:41
mattipamaury_: cool. Hopefullly it will translate and tomorow I can give it a spin.23:42
amaury_well, it did translate here :-)23:43
amaury_mattip: I also fixed a couple of reference counting issues in wxPython23:44
mattipamaury_: beyond the ones in the patch?23:46
apanda (~apanda@dhcp-45-162.EECS.Berkeley.EDU) joined #pypy.23:46
amaury_mattip: yes23:46
amaury_for example, in helpers.cpp, in __wxPySetDictionary23:47
amaury_it would be good to Py_INCREF(wxPython_dict)23:47
amaury_otherwise this stores a borrowed reference in a global variable23:48
amaury_i.e. cpyext will delete it as soon as the function returns23:48
mattipRight.23:49
amaury_(more exactly: when the args tuple is reclaimed)23:49
bbot24Finished ??: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/13823:50
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/13923:50
Alex_Gaynoramaury_: perhaps you should speak with dmalcolm about getting some detectors into his GCC thingy for common refcounting issues23:50
amaury_Note that it's never an issue with CPython23:51
Alex_Gaynoramaury_: so is it a bug on our end?23:54
amaury_not really23:54
amaury_I'll try to explain23:54
amaury_suppose you create a new object: obj = PyString_FromString("hello")23:55
amaury_its refcount is 123:55
amaury_now put it into a tuple: t = PyTuple_New(), PyTuple_SetItem(t, 0, obj);23:55
amaury_PyTuple_SetItem *steals* the reference23:56
Alex_Gaynorlowering the effective refcount to 0?23:56
amaury_no23:56
amaury_not with CPython23:56
amaury_because the tuple has a reference to the object23:56
amaury_but with cpyext,23:56
amaury_the tuple is a pypy object23:56
amaury_which stores pypy objects23:57
amaury_so refcount falls to zero23:57
amaury_now, if the next lines happens to use obj again23:57
amaury_it will work with CPython23:57
amaury_and crash pypy23:57
Alex_Gaynorhmm23:58
amaury_strictly speaking, pypy is "right" to crash23:58
Alex_Gaynorgood enough for me23:58
amaury_because obj does not own the reference anymore23:58
amaury_ownership was transferred to the tuple23:59
Alex_Gaynorsounds like it's fair for dave's tool to complain them23:59
Alex_Gaynorthen*23:59
amaury_it's tricky sometimes23:59
--- Tue Nov 15 201100:00

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