| jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) joined #pypy. | 00:00 | |
| mtigas (~mtigas@users.spokesman.com) left irc: Quit: mtigas | 00:03 | |
| kennethreitz (~kennethre@204.14.152.118) left irc: Ping timeout: 240 seconds | 00:03 | |
| bgola (~bgola@c9518082.virtua.com.br) left irc: Remote host closed the connection | 00:04 | |
| Alex_Gaynor | jterrace: I'd say i'm surprised by the spelling error, but I'm not even close :) | 00:07 |
|---|---|---|
| jterrace | hehe | 00:07 |
| jterrace | question for you | 00:07 |
| jterrace | is there a way to check if a space object is a string? | 00:07 |
| harrison (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) joined #pypy. | 00:07 | |
| jterrace | space.isinstance_w(w_item, space.w_str) works but the compile tests fail | 00:08 |
| jterrace | because FakeSpace doesnt have w_str | 00:08 |
| Alex_Gaynor | add w_str to FakeSpace then | 00:08 |
| jterrace | oh i wanst sure if that was just a missing type or if it wasnt there for a reason | 00:08 |
| Alex_Gaynor | it's the minimal thing to make those tests work | 00:09 |
| jaredw (~jared@122-59-91-107.jetstream.xtra.co.nz) left irc: Remote host closed the connection | 00:09 | |
| jterrace | ok | 00:09 |
| Alex_Gaynor | no, nothing about it is intentional in that sense | 00:09 |
| jterrace | i have some more changes for exposing uint dtypes (with tests), and i added the rest of the functionality to fromstring function, which involved changing the dtype coerce methods to handle string | 00:09 |
| Alex_Gaynor | do they not? | 00:10 |
| jterrace | they dont | 00:10 |
| jterrace | e.g., np.int32('30') did not work | 00:10 |
| jterrace | because space.int(space.wrap('3')) does not work | 00:10 |
| harrison_ (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) joined #pypy. | 00:11 | |
| harrison (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 252 seconds | 00:12 | |
| jterrace | Alex_Gaynor: did you get a chance to review my updated pull request for tolist()? i have another pull request ready to submit if you accept it :) | 00:14 |
| Alex_Gaynor | jterrace: sigh, I fail, will get to it tommorrow, right now I'm more tired than I ever have been before | 00:14 |
| jterrace | heh np | 00:15 |
| jterrace | the rest are sitting on jterrace/pypy for now | 00:15 |
| Alex_Gaynor | k | 00:15 |
| kennethreitz (~kennethre@204.14.152.118) joined #pypy. | 00:15 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/165 | 00:26 |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) joined #pypy. | 00:33 | |
| Rotund | Hi guys. Do you have a port of pylibmc for pypy? Or do you suggest another memcache module? | 00:34 |
| voidspace (~anonymous@python/psf/voidspace) joined #pypy. | 00:38 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection | 00:43 | |
| jterrace (~jterrace@aegis.CS.Princeton.EDU) left irc: Quit: Leaving. | 00:46 | |
| linq (~ident@24-246-25-39.cable.teksavvy.com) joined #pypy. | 00:50 | |
| pjenvey | hiphop VM, huh? | 00:52 |
| rokujyouhitoma (~rokujyouh@173.227.61.3) left irc: Remote host closed the connection | 01:03 | |
| Nick change: Gulaway -> Gulopine | 01:03 | |
| rokujyouhitoma (~rokujyouh@173.227.61.3) joined #pypy. | 01:03 | |
| overminder (overminder@2002:af9f:6c2e::af9f:6c2e) joined #pypy. | 01:17 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 01:18 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/739 | 01:19 |
| JaRoel|4d (~jaroel|4d@sink.jaroel.nl) joined #pypy. | 01:20 | |
| squiddy (~squiddy@f053084199.adsl.alicedsl.de) left irc: Quit: Leaving | 01:20 | |
| papercrane | Rotund: there's the python version, which should work, but it has some unfortunate problems under heavy load | 01:22 |
| ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo | 01:27 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/973 | 01:28 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds | 01:31 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1883 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/621 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/637 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1152 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/822 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/744 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1464 | 01:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/300 | 01:38 |
| voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace | 01:41 | |
| Rotund | papercrane, thanks. | 01:56 |
| Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Ping timeout: 244 seconds | 01:57 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 02:00 | |
| rokujyouhitoma (~rokujyouh@173.227.61.3) left irc: Remote host closed the connection | 02:01 | |
| Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy. | 02:03 | |
| derdon (~derdon@pD9E1CE32.dip.t-dialin.net) left irc: Remote host closed the connection | 02:06 | |
| bbot2 | 13Exception: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/81 [12ctismer, win64-stage1] | 02:11 |
| Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy. | 02:13 | |
| papercrane (~papercran@75.101.111.82) left irc: Ping timeout: 240 seconds | 02:22 | |
| harrison_ (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 252 seconds | 02:29 | |
| harrison (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) joined #pypy. | 02:33 | |
| gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) joined #pypy. | 02:34 | |
| mikefc | Would it be possible to write image format interpreters in rpython and compile them to a JIT? | 02:34 |
| Action: mikefc is still hazy on everything under pypy's hood | 02:35 | |
| Action: gutworth apparently runs a grad student tutoring charity | 02:35 | |
| gutworth | yes | 02:36 |
| gutworth | but you could write them in python | 02:36 |
| gutworth | and get them jitted :) | 02:36 |
| harrison_ (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) joined #pypy. | 02:37 | |
| harrison (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 268 seconds | 02:38 | |
| mikefc | gutworth: yeah. but if i went one level down and treated the image as the program, and wrote the interpreter directly in rptyhon? | 02:39 |
| Action: mikefc has too many stupid ideas and not enough time | 02:39 | |
| Kaskuka (~John@osbk-4d08b5d8.pool.mediaWays.net) joined #pypy. | 02:40 | |
| Guest95497 (~John@osbk-4db17084.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 02:40 | |
| gutworth | you could do it | 02:42 |
| gutworth | so I suggest you use your time efficiently and write it in python | 02:42 |
| mikefc | yeah :) | 02:42 |
| linq (~ident@24-246-25-39.cable.teksavvy.com) left irc: Ping timeout: 252 seconds | 02:43 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1883 | 02:45 |
| Vorpal (~AnMaster@unaffiliated/anmaster) left irc: Ping timeout: 248 seconds | 02:51 | |
| gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated! | 02:58 | |
| mikefc | if it's his semester research project, it sure sounds like he hasn't done any work at all so far.. | 03:03 |
| harrison_ (~quassel@adsl-76-217-38-197.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 252 seconds | 03:11 | |
| asenchi (~asenchi@206.173.142.114) left irc: Ping timeout: 260 seconds | 03:16 | |
| kalenz (~kalenz@ping.kalenz.fr) left irc: Read error: Operation timed out | 03:29 | |
| kalenz (~kalenz@ping.kalenz.fr) joined #pypy. | 03:30 | |
| Nick change: kalenz -> Guest10683 | 03:30 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 04:00 | |
| bbot2 | 4Finished ??: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/621 | 04:15 |
| bbot2 | 4Finished ??: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/637 | 04:15 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/622 | 04:15 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/638 | 04:15 |
| overminder (overminder@2002:af9f:6c2e::af9f:6c2e) left irc: Ping timeout: 252 seconds | 04:20 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) left irc: Ping timeout: 255 seconds | 04:21 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) joined #pypy. | 04:24 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 04:28 | |
| Count_Niedar (gfghfghf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) left irc: Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ) | 04:31 | |
| Niedar (~dgdfg@host-173-230-2-190.vanodod.clients.pavlovmedia.com) joined #pypy. | 04:37 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1152 | 04:37 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds | 04:42 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/822 | 04:47 |
| Arach (~arach@2.95.83.234) joined #pypy. | 04:55 | |
| Niedar (~dgdfg@host-173-230-2-190.vanodod.clients.pavlovmedia.com) left irc: Quit: Leaving | 05:10 | |
| gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) left irc: Ping timeout: 240 seconds | 05:17 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 05:23 | |
| media-498 (~media-498@unaffiliated/firippu) joined #pypy. | 05:23 | |
| media-498 (~media-498@unaffiliated/firippu) left irc: Read error: Connection reset by peer | 05:58 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) left irc: Ping timeout: 252 seconds | 05:59 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 06:01 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/638 | 06:20 |
| fprimex (~brent@fl-67-233-144-239.dhcp.embarqhsd.net) left irc: Quit: stuff! | 06:21 | |
| ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy. | 06:28 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/622 | 06:42 |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/744 | 06:42 |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection | 06:56 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 06:56 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 255 seconds | 07:01 | |
| apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy. | 07:16 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 07:18 | |
| rokujyouhitoma (~rokujyouh@12.51.221.130) joined #pypy. | 07:22 | |
| Nick change: Gulopine -> Gulaway | 07:35 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 07:39 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1464 | 07:45 |
| asmeurer__ (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) left irc: Quit: asmeurer__ | 07:59 | |
| fijal (~fijal@196.209.233.36) joined #pypy. | 08:12 | |
| fijal (~fijal@196.209.233.36) left irc: Read error: Connection reset by peer | 08:15 | |
| `fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) joined #pypy. | 08:21 | |
| fijal (~fijal@196.209.233.36) joined #pypy. | 08:36 | |
| fijal (~fijal@196.209.233.36) left irc: Read error: Connection reset by peer | 08:39 | |
| stakkars_ (~tismer@p5DDB72FD.dip.t-dialin.net) joined #pypy. | 08:45 | |
| stakkars (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Ping timeout: 252 seconds | 08:49 | |
| Nick change: stakkars_ -> stakkars | 08:49 | |
| fijal (~fijal@196.209.233.36) joined #pypy. | 08:56 | |
| squiddy (~squiddy@f053082034.adsl.alicedsl.de) joined #pypy. | 09:02 | |
| arigato (~arigo@89.204.154.165) joined #pypy. | 09:06 | |
| arigato | oups. everything is broken | 09:06 |
| fijal | :/ | 09:07 |
| fijal | arigato: good morning armin | 09:07 |
| fijal | :-) | 09:07 |
| arigato | hi :-) | 09:07 |
| arigato | I'm annoyed that we are not getting any benchmark since 2 days, but checking in at least 3 different things whose speed influence we'd like to know | 09:08 |
| arigato | ah wrong, we got the automatic results yesterday | 09:09 |
| arigato | but all the manual {benchmark-run} I started failed | 09:09 |
| fijal | "good" | 09:10 |
| fijal | not so good | 09:10 |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy. | 09:16 | |
| kenaan | 12arigo temp2 112db53dd9c46e 15/: close temporary branch | 09:18 |
| kenaan | 12arigo default 11b8e86a5f522b 15/pypy/module/imp/importing.py: Baaaaah. Don't rely on "is" being true for two independently wrapped strings. It fails on py.py, for example. | 09:18 |
| kenaan | 12arigo default 11998ae4038c2f 15/pypy/translator/goal/: fixes for test_app_main. | 09:23 |
| arigato | "oh well" | 09:26 |
| arigato | the point is that I believe that we have now reached the "5x" goal again | 09:26 |
| arigato | but I'm annoyed because I cannot see it :-) | 09:26 |
| fijal (~fijal@196.209.233.36) left irc: Ping timeout: 240 seconds | 09:30 | |
| rokujyouhitoma (~rokujyouh@12.51.221.130) left irc: Remote host closed the connection | 09:35 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/300 | 09:42 |
| pedronis_ (~pedronis@73-53.195-178.cust.bluewin.ch) joined #pypy. | 10:08 | |
| pedronis (~pedronis@73-53.195-178.cust.bluewin.ch) left irc: Read error: Connection reset by peer | 10:08 | |
| setmeaway2 (oosool3@119.201.52.190) left irc: Quit: Leaving | 10:12 | |
| setmeaway (~setmeaway@119.201.52.190) joined #pypy. | 10:12 | |
| durin42 (~durin@adium/durin42) left irc: Ping timeout: 240 seconds | 10:18 | |
| durin42 (~durin@adium/durin42) joined #pypy. | 10:20 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 10:24 | |
| `fox` (~fox@host91-171-dynamic.245-95-r.retail.telecomitalia.it) left irc: Ping timeout: 244 seconds | 10:26 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Ping timeout: 244 seconds | 10:29 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 252 seconds | 10:31 | |
| kennethreitz (~kennethre@204.14.152.118) left irc: Quit: Computer has gone to sleep. | 10:32 | |
| danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy. | 10:35 | |
| xiaochen (~chobits@123.125.146.24) joined #pypy. | 10:47 | |
| kenaan | 12arigo default 11386488dbe96d 15/pypy/module/imp/test/test_import.py: Skip these tests in py.test -A. | 10:49 |
| kenaan | 12hakanardo jit-targets 1151117c91db41 15/pypy/module/pypyjit/test_pypy_c/test_call.py: fix test | 10:56 |
| kenaan | 12hakanardo jit-targets 11b63f055c491d 15/pypy/module/pypyjit/test_pypy_c/test_00_model.py: at bit more logging | 10:56 |
| kenaan | 12hakanardo jit-targets 1138465568087c 15/: hg merge 8de6f245c959 | 10:57 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/623 [12hakanardo, jit-targets] | 10:58 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 268 seconds | 11:03 | |
| fijal (~fijal@41.51.194.164) joined #pypy. | 11:08 | |
| fijal (~fijal@41.51.194.164) left irc: Read error: Connection reset by peer | 11:11 | |
| derdon (~derdon@p5DE89DB3.dip.t-dialin.net) joined #pypy. | 11:11 | |
| arigato (~arigo@89.204.154.165) left irc: Ping timeout: 252 seconds | 11:12 | |
| fijal (~fijal@41-133-220-93.dsl.mweb.co.za) joined #pypy. | 11:12 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 11:14 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 244 seconds | 11:20 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/623 [12hakanardo, jit-targets] | 11:21 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 11:22 | |
| lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy. | 11:29 | |
| kenaan | 12hakanardo jit-targets 118474a7603bbe 15/pypy/: hg merge default | 11:29 |
| kenaan | 12hakanardo jit-targets 11b08cf0eb7990 15/pypy/jit/backend/x86/regalloc.py: fix | 11:31 |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 11:38 | |
| kkris (~kris@80-123-38-195.adsl.highway.telekom.at) joined #pypy. | 11:42 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 11:45 | |
| unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Read error: Connection reset by peer | 11:51 | |
| unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy. | 11:51 | |
| DasIch_ (~dasich@p4FFDCD7B.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 11:52 | |
| ojii (~ojii@22-14.62-81.cust.bluewin.ch) joined #pypy. | 11:53 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 12:09 | |
| lvh (~lvh@python/psf/lvh) joined #pypy. | 12:16 | |
| lvh | Hey :) | 12:17 |
| lvh | So I found something out recently and I'm asking some of my old colleagues nicely if I can write a report on this | 12:17 |
| ronny | yo lvh | 12:18 |
| lvh | My old day job did some heavy GIS number crunching; everything was in Python, but there were large parts that had to be rewritten in some god-awful mix of Fortran, MATLAB, ASM and C because everything else was too slow | 12:18 |
| lvh | Except that now it's not, and they're throwing out crazy amounts of my old Fortran code | 12:18 |
| lvh | so I'd like to say 1) yay pypy, 2) yay TDD and crazy extensive test suites | 12:18 |
| ronny | sounds good, when snakes eat fortran there is win | 12:19 |
| lvh | ronny: Unfortunately they're not ASM free yet | 12:21 |
| ronny | lvh: one thing after another, right? | 12:21 |
| lvh | ronny: But that's because we have this ancient packet radio standard to support, and the hardware that supports it is something that fits in an SGI server from the nineties | 12:22 |
| lvh | And the driver for that is ASM. | 12:22 |
| lvh | at least it's MIPS ASM, I guess :) | 12:22 |
| ronny | lol | 12:22 |
| lvh | hey, it works! | 12:22 |
| ronny | mips asm is fun, writing a os for a mips thing isnt | 12:22 |
| lvh | That thing still runs the latest version of IRIX it supported, so its' not that bad | 12:23 |
| lvh | whatever, we whistle bytes into it over serial port and bytes come back | 12:23 |
| lvh | after that it's basically a black box coffee table to me | 12:23 |
| lvh | (the fun part is that it actually literally is a coffee table now) | 12:23 |
| ronny | heh | 12:23 |
| norox (~norox@2a00:801::2d0:b7ff:fea0:c753) joined #pypy. | 12:24 | |
| ronny | lvh: whats a good place to discuss the async pep? | 12:27 |
| lvh | ronny: no idea | 12:28 |
| lvh | python-dev maybe? | 12:28 |
| lvh | it's on hiatus, I don't have time to work on it, sorry | 12:28 |
| lvh | startup == too much work | 12:28 |
| ronny | lvh: i see | 12:29 |
| lvh | ronny: I also had to cancel the talk because I have to be in Chicago. During that day of Pycon. | 12:31 |
| ronny | ok | 12:32 |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 12:33 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 12:33 | |
| lvh | I'm not entirely happy with that but unfortunately I don't have a lot of options. I guess the github issue tracker is a good place to vent grievances | 12:33 |
| lvh | if I had time to monitor and reply to everything I'd say python-dev | 12:33 |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) joined #pypy. | 12:33 | |
| ronny | lvh: i think i'll handle the stuff in detail after my thesis | 12:35 |
| lvh | ronny: when's that | 12:35 |
| fijal | o/ | 12:44 |
| fijal | lvh: yay! | 12:44 |
| lvh | fijal: Less fortran! | 12:45 |
| lvh | fijal: Apparently version+1 is going to be 100% fortran free; they're even throwing the compiler out from the build machines | 12:45 |
| lvh | definitely a good day :) | 12:45 |
| fijal | cool!!!!! | 12:45 |
| lvh | C with embedded ASM is probably going to stay for a bit longer though | 12:46 |
| lvh | (change is dangerous) | 12:46 |
| fijal | right | 12:47 |
| fijal | and it's hard to test as well | 12:47 |
| lvh | well, we have functional tests | 12:47 |
| fijal | lvh: btw, you can always hire me as a consultant to make stuff faster | 12:47 |
| lvh | the problem is that they take 2 days to run | 12:47 |
| lvh | fijal: I would; but I don't work there anymore :) | 12:48 |
| fijal | haha :) | 12:48 |
| fijal | what do you do these days? | 12:48 |
| lvh | fijal: startup | 12:50 |
| lvh | fijal: so let's go with "working until my eyes pop out of their sockets, pop them back in, work some more" | 12:51 |
| fijal | okey | 12:51 |
| Action: fijal does not do that | 12:51 | |
| lvh | fijal: hence why we're not hiring you yet ;) | 12:52 |
| fijal | yeah, makes sense | 12:54 |
| lvh | fijal: Maybe we will eventually; we do some big data some more and man I don't want to write java :( | 12:54 |
| voidspace (~voidspace@python/psf/voidspace) left irc: Read error: Connection reset by peer | 12:55 | |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 12:55 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 12:58 | |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) left irc: Read error: No route to host | 13:03 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 13:04 | |
| kenaan | 12hakanardo jit-targets 11f78f16899afb 15/pypy/jit/metainterp/: fall back on jumping to preamble if retracing fails | 13:04 |
| fijal | lvh: haha | 13:09 |
| lvh | (for all the nasty things I can say about java, *man* the recent versions of the JVM are fast.) | 13:11 |
| fijal | note that Java has not much to do with JVM | 13:12 |
| fijal | I would personally probably just emit JVM bytecode | 13:12 |
| fijal | it's more dynamic | 13:12 |
| lvh | well, I meant that recent versions of the JVM can run java pretty damn fast | 13:13 |
| lvh | moreso it seems than other jvm-based languages | 13:14 |
| fijal | yeah | 13:14 |
| fijal | but other jvm-based languages are not that great at compiling to jvm | 13:14 |
| fijal | anyway | 13:14 |
| fijal | it kinda proves that the jvm-based approach kinda fails | 13:15 |
| fijal | lvh: we can compete though :) | 13:15 |
| lvh | definitely | 13:15 |
| lvh | mostly because your language isn't as bad | 13:15 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 13:26 | |
| fijal | nedbat: ping? | 13:29 |
| nedbat | fijal: hey | 13:31 |
| fijal | nedbat: can you reply on an issue? | 13:31 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 13:31 | |
| fijal | you'll know | 13:31 |
| nedbat | sure, where? | 13:31 |
| fijal | https://bugs.pypy.org/issue949 | 13:31 |
| nedbat | sigh: invalid cert, why does firefox refuse to do anything? | 13:32 |
| gsnedders | Because most people don't understand what an invalid cert is, and it's better to fail-secure than fail-insecure | 13:33 |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) joined #pypy. | 13:33 | |
| Action: fijal is not convinced | 13:33 | |
| fijal | gsnedders: hi | 13:33 |
| fijal | nedbat: just accept it | 13:33 |
| voidspace | but is it better to succeed insecure - for a resource that doesn't *need* to be secure - or fail secure | 13:33 |
| fijal | gsnedders: it's not like I can easily say "this cert is fine" | 13:33 |
| nedbat | I know: chrome lets me do that, firefox provides no mechanism. | 13:33 |
| fijal | how do you make it work in chrome? | 13:34 |
| nedbat | chrome gives me a dialog, with a button, Proceed Anyway. | 13:35 |
| fijal | right | 13:35 |
| nedbat | fijal: it doesn't matter, i'm reading it in Chrome. You're right, I know all about this. | 13:35 |
| fijal | but it does not give you a way to say "I'm fine with this cert" | 13:36 |
| fijal | I won't pay XX$/year for the certificate which is equally valid, just browsers are happier | 13:36 |
| gsnedders | voidspace: Trusting the user to make the right decision often fails. And I'm pretty sure Fx does have a UI for it... | 13:36 |
| fijal | I'm fine if anyone else feels like sponsoring it | 13:36 |
| gsnedders | Under the, "I Understand the Risks" of the Fx page you can add an exception. | 13:37 |
| nedbat | gsnedders: I don't get a page in Fx, maybe an option I've turned off? | 13:38 |
| CIA-13 | 03fijal 07roundup * 10#827/import xml.etree.cElementTree fails: [resolved] I'm closing this issue, feel free to reopen if it still causes issues * 14https://bugs.pypy.org/issue827 | 13:39 |
| nedbat | fijal: my branch has fixes for a few of the problems this bug reports. Do you want to merge it? There are tests. :) | 13:39 |
| fijal | nedbat: I won't merge it now, but yeah, I can | 13:39 |
| fijal | nedbat: like evening/tomorrow (no promises though) | 13:39 |
| gsnedders | nedbat: This is in Fx11, been a while since I've used anything older. | 13:40 |
| fijal | nedbat: feel free to answer to him "yes, it's broken on 1.7, we have some fixes, not yet merged" | 13:40 |
| nedbat | 11? I have 8... | 13:40 |
| gsnedders | I get it in Fx8 too. | 13:40 |
| nedbat | fijal: ok, great. | 13:40 |
| xiaochen (~chobits@123.125.146.24) left irc: Quit: leaving | 13:40 | |
| gsnedders | nedbat: i.e., what is currently in mozilla-central, effectively trunk | 13:41 |
| nedbat | gsnedders: what happened to 9+10? I don't understand version numbers any more. | 13:41 |
| nedbat | fijal: should I send a pull request? | 13:41 |
| fijal | nedbat: version numbers are so yesterday | 13:41 |
| fijal | nedbat: you don't have to, it's on nedbat-sandbox right? | 13:41 |
| nedbat | fijal: correct | 13:41 |
| fijal | yeah, no point | 13:42 |
| gsnedders | nedbat: 9 is currently in beta | 13:42 |
| gsnedders | nedbat: 10 is currently in "aurora" (practically alpha) | 13:42 |
| gsnedders | nedbat: and then 11 is the current development tree | 13:42 |
| Action: fijal thinks it's heavy nonsense | 13:42 | |
| gsnedders | Basically you have four branches (release + those) and every six weeks there's a new release, so the current beta becomes release, aurora becomes beta, and a new aurora is branched off from the main development tree. | 13:43 |
| CIA-13 | 03nedbat 07roundup * 10#949/1.7 Sandbox problems: | 13:55 |
| CIA-13 | There are a few separate problems mentioned here. I have a branch (nedbat-sandbox) with | 13:55 |
| CIA-13 | fixes for a few of them: | 13:55 |
| CIA-13 | - The gcc invocation has to ... * 14https://bugs.pypy.org/issue949 | 13:55 |
| CIA-13 | 03nedbat 07roundup * 10#949/1.7 Sandbox problems: | 13:59 |
| CIA-13 | I forgot to mention: fijal has said he will merge the nedbat-sandbox branch | 13:59 |
| CIA-13 | soonish... * 14https://bugs.pypy.org/issue949 | 13:59 |
| kenaan | 12fijal default 1122d20cc8666b 15/lib_pypy/distributed/socklayer.py: Fail slightly bettter than a SyntaxError | 14:02 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 14:06 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 14:06 | |
| derdon (~derdon@p5DE89DB3.dip.t-dialin.net) left irc: Remote host closed the connection | 14:07 | |
| hakanardo | is test_pypy_c currently broken: http://paste.pocoo.org/show/518812/ | 14:10 |
| fijal | hakanardo: armin broke stuff | 14:13 |
| hakanardo | ok | 14:14 |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 14:14 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 14:15 | |
| arigato | hakanardo__: sorry, checkins from yesterday and today are breaking in the jit-targets branch | 14:19 |
| arigato | I can have a look | 14:19 |
| hakanardo | arigato: thanx | 14:20 |
| arigato | I doubt that just changing the assert is enough | 14:20 |
| abki_ | hi | 14:20 |
| arigato | hi | 14:20 |
| abki_ | I have troubles running pypy on my machine | 14:20 |
| abki_ | it says ./bin/pypy: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory | 14:20 |
| hakanardo | ok, is default currently working again? | 14:20 |
| arigato | I think so, yes | 14:20 |
| abki_ | I assume the sole way to solve this is installed this version for libbz2 ? | 14:21 |
| arigato | abki_: yes, or hack and put a symlink and hope, if you have a different version of libbz2.so.1.x | 14:21 |
| Nick change: pedronis_ -> pedronis | 14:21 | |
| hakanardo | arigato: cool, I want to run benchmarks to compare default and jit-targets | 14:22 |
| hakanardo | if they turn out ok I think it could be merged... | 14:22 |
| arigato | cool | 14:22 |
| arigato | indeed, x86/test/test_runner.py explodes on the line following the assert | 14:23 |
| arigato | the x86 backend in jit-targets really needs clean-up | 14:24 |
| arigato | e.g. we cannot have a JUMP going to a loop any more, so a few attributes like looptoken._x86_arglocs should be killed | 14:24 |
| abki_ | I only have libbz2.so and symlinking doesn't work | 14:24 |
| arigato | abki_: you need to put the symlink in the same /usr/lib/ directory | 14:25 |
| abki_ | arigato: that's what I've done, I got a "invalid elf header" | 14:25 |
| arigato | (usual mess of binary distributions on linux) | 14:25 |
| arigato | no clue then, try installing libbz2 from source | 14:25 |
| abki_ | already tried that it conflicts with some packages I don't want to break my system | 14:26 |
| abki_ | I build from source | 14:26 |
| hakanardo | arigato: I think the logic in pyjitpl and be simplified and clean up quite a bit too once multiple intermediate labels are supported | 14:27 |
| hakanardo | but it will alter it's behaviour a bit too so its for a separate branch | 14:28 |
| fijal (~fijal@41-133-220-93.dsl.mweb.co.za) left irc: Ping timeout: 255 seconds | 14:30 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 14:31 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 14:31 | |
| harrison (~quassel@adsl-69-209-194-17.dsl.chcgil.sbcglobal.net) joined #pypy. | 14:32 | |
| abki_ | the translation process seems to have discovered every bits it needs | 14:33 |
| harrison_ (~quassel@adsl-69-209-194-17.dsl.chcgil.ameritech.net) joined #pypy. | 14:36 | |
| overminder (~overminde@143.89.167.3) joined #pypy. | 14:36 | |
| harrison (~quassel@adsl-69-209-194-17.dsl.chcgil.sbcglobal.net) left irc: Ping timeout: 240 seconds | 14:36 | |
| arigato | hakanardo: yes | 14:38 |
| arigato | same for the backend | 14:38 |
| kenaan | 12arigo jit-targets 119addc6b0c977 15/pypy/jit/backend/: Fix. | 14:39 |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 14:42 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 14:42 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 14:42 | |
| arigato | hakanardo: also, I think it would be relatively simple after jit-targets to change the way CALL_ASSEMBLER is emitted | 14:44 |
| arigato | to pass only 4 or 5 arguments instead of all the stuff from the virtualizable | 14:44 |
| arigato | and have the called loop start by reading things out of the virtualizable | 14:44 |
| arigato | before the first LABEL | 14:45 |
| Alex_Gaynor | arigato: will we still need to allocate the frame object? | 14:45 |
| Vorpal (~AnMaster@unaffiliated/anmaster) joined #pypy. | 14:45 | |
| hakanardo | arigato: cool | 14:46 |
| arigato | Alex_Gaynor: yes, that's independent | 14:46 |
| Alex_Gaynor | arigato: PyPy: the art of keeping messes independent | 14:46 |
| arigato | hakanardo: then we can kill execute_token() and set_future_variable() and friends | 14:47 |
| arigato | and from the interpreter we can just call the generated assembler like CALL_ASSEMBLER does | 14:47 |
| arigato | because it will then have a known fixed number of arguments | 14:47 |
| hakanardo | nice | 14:47 |
| arigato | (I started in jit-simplify-backendintf long ago already, but was stopped by the fact that I'd then need to generate an extra loop just to read out of the virtualizable and jump to the real loop) | 14:49 |
| hakanardo | and without labels that would generate a lot of mov's | 14:50 |
| arigato | yes | 14:50 |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 14:50 | |
| Action: arigato looks at failures in jit-targets/.../x86/test | 14:50 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 14:52 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 14:52 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 14:52 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 14:55 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 14:55 | |
| kenaan | 12arigo jit-targets 1195089d049fe7 15/pypy/jit/backend/x86/: Reset the targettoken's _x86_loop_code attribute between tests. | 14:59 |
| arigato | done, the rest I think is also failing in metainterp/test/ | 14:59 |
| arigato | but test_ztranslation works, so pypy has chances to translate | 15:00 |
| Alex_Gaynor | arigato: the comment above TargetToken._x86_loop_code = 0 should be updated I think | 15:00 |
| arigato | thanks | 15:01 |
| arigato | if you had an idea to avoid the hack altogether it would be even better :-) | 15:01 |
| Alex_Gaynor | I haven't even investigated what the hack is :) | 15:01 |
| kenaan | 12arigo jit-targets 116c2822188033 15/pypy/jit/backend/x86/regalloc.py: Update comment. | 15:01 |
| arigato | we use this default value of 0 to know if the JUMP at the end of the current loop goes back to a LABEL in the same loop (so not compiled yet) or not | 15:02 |
| Alex_Gaynor | this determines whether we need to clean up the stack or not? | 15:03 |
| arigato | no | 15:03 |
| arigato | this is for "hint_frame_positions": to know when we can initialize this dict | 15:03 |
| arigato | if we JUMP somewhere else, it can be initialized before assembling the loop's operations | 15:04 |
| arigato | but if we JUMP back to the middle of the same loop, it can only be initialized when we assemble the corresponding LABEL | 15:04 |
| Alex_Gaynor | I haven't had enough coffee or tea this morning I think :) | 15:05 |
| arigato | :-) | 15:05 |
| arigato | sorry for giving a bit obscure explanations | 15:05 |
| Alex_Gaynor | no worries, I need to catch a train anyways | 15:05 |
| Alex_Gaynor | bye | 15:05 |
| arigato | see you | 15:05 |
| kenaan | 12alex_gaynor default 116c4b9c3bc0d6 15/pypy/module/micronumpy/test/test_zjit.py: some of these generate getfield_gc_pures now | 15:06 |
| hakanardo | arigato: I think metainterp/test/ passes except for test_ztranslation | 15:07 |
| hakanardo | but I'll rerrun to make sure... | 15:08 |
| kenaan | 12arigo jit-targets 11959af14f07a4 15/pypy/jit/backend/x86/regalloc.py: Comments. | 15:08 |
| arigato | hakanardo: I think the merge added a few extra tests using the old interface | 15:08 |
| hakanardo | right, I fixed them | 15:09 |
| hakanardo | (but did not push) | 15:09 |
| arigato | ah .-) | 15:09 |
| arigato | ok | 15:09 |
| hakanardo | and now I had to merge twice... | 15:09 |
| kenaan | 12hakanardo jit-targets 11a1c0dc4d1391 15/pypy/jit/metainterp/test/test_ajit.py: fix+ | 15:10 |
| kenaan | 12hakanardo jit-targets 11f95dbc2efd61 15/pypy/jit/metainterp/test/: port tests | 15:10 |
| kenaan | 12hakanardo jit-targets 117c782d5ad65b 15/pypy/jit/backend/: hg merge | 15:10 |
| kenaan | 12hakanardo jit-targets 118164cef19074 15/pypy/jit/backend/x86/regalloc.py: hg merge | 15:10 |
| arigato | sorry :-) | 15:10 |
| hakanardo | np :) | 15:10 |
| hakanardo | would you like to look at test_ztranslation in metainterpreter aswell? | 15:11 |
| hakanardo | I have no clue about whats going on there... | 15:11 |
| arigato | ok | 15:11 |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 15:11 | |
| hakanardo | something blows up in llinterp | 15:12 |
| arigato | which test? | 15:12 |
| hakanardo | both of them... | 15:12 |
| arigato | ok | 15:12 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 15:12 | |
| hakanardo | thanx | 15:13 |
| hakanardo | note that translating pypy using translate,py -Ojit does work | 15:13 |
| arigato | good :-) | 15:14 |
| hakanardo | (or atleast it did prior to merging default today) | 15:14 |
| cheater (~cheater@ip-80-226-24-11.vodafone-net.de) joined #pypy. | 15:16 | |
| cheater | hi | 15:16 |
| cheater | i understand pypy has a special version of etree, different from the one available via pip install.. is that correct? | 15:16 |
| cheater | i mean that it also supports different (more?) syntax | 15:16 |
| kenaan | 12arigo jit-targets 110da687824062 15/pypy/jit/backend/x86/test/test_recompilation.py: Fix: read 'frame_depth' before assembling the bridge. | 15:16 |
| cheater | i am looking to extend etree to support a little more xpath syntax, however i don't know where i would go with that | 15:18 |
| arigato | cheater: no | 15:18 |
| arigato | we don't have the version that is written in C in CPython, | 15:19 |
| arigato | and instead we hacked so that if you try to import it, | 15:19 |
| arigato | you end up with the Python version | 15:19 |
| cheater | arigato: there's a C version of it? i thought it was all Python | 15:19 |
| arigato | cheater: no, there is a C version in CPython | 15:19 |
| cheater | where is the .so? | 15:19 |
| cheater | just out of curiosit] | 15:19 |
| cheater | y | 15:19 |
| arigato | _elementtree.so | 15:20 |
| Shanita (~John@osbk-4db06a58.pool.mediaWays.net) joined #pypy. | 15:20 | |
| Kaskuka (~John@osbk-4d08b5d8.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 15:20 | |
| exarkun | cheater: Are you going to maintain a fork of elementtree? | 15:20 |
| cheater | exarkun: i was hoping to fix a bug (which according to warnings emitted by etree is in the pipeline somehow) and possibly add a selector | 15:21 |
| cheater | exarkun: i think those could easily go back into the main tree. | 15:21 |
| cheater | but if not i'll have a fork. | 15:22 |
| exarkun | Is it a divergence between PyPy and CPython? | 15:22 |
| cheater | from what i see, and i might be doing something stupid, but the pypy one is version 1.7 with vastly different source, whereas the one my cpython has is 1.3 i believe | 15:22 |
| fijal (~fijal@197.175.204.67) joined #pypy. | 15:22 | |
| Action: fijal is helping to build pypy debian packages | 15:23 | |
| cheater | oh no, this one is 1.2.6 | 15:23 |
| cheater | the cpython one that is. | 15:23 |
| exarkun | cheater: The main reason I'm asking is the first paragraph of http://effbot.org/zone/element-xpath.htm | 15:23 |
| cheater | it's not a divergence, it's just an extension of the xpath support | 15:24 |
| exarkun | "a full XPath engine is outside the scope of the core library." | 15:24 |
| cheater | i'm not sure what you are getting at | 15:25 |
| cheater | are you saying that because someone who first wrote the library never wanted to bother adding full xpath support, i shouldn't add support for one minor piece of syntax, and etree should forever remain without this support? | 15:26 |
| exarkun | I just thought you might not have known that upstream doesn't seem very interested in xpath. Maybe you knew already, and maybe upstream would be happy to take this patch. I don't know. | 15:26 |
| exarkun | cheater: No, I just wanted to save you some time. | 15:26 |
| cheater | i've read that one already | 15:26 |
| cheater | however, etree is the only thing i can find that has xpath support at all | 15:26 |
| exarkun | I pointed out what I wanted to point out, so I don't see any reason for the conversation to continue any further. | 15:26 |
| cheater | unless you can suggest something else? | 15:27 |
| exarkun | lxml has very good xpath support | 15:27 |
| DasIch (~dasich@p4FFDCD7B.dip.t-dialin.net) joined #pypy. | 15:27 | |
| cheater | i was not aware lxml works under pypy at all? | 15:27 |
| cheater | does it? | 15:27 |
| jterrace (~Adium@dynamic-oit-vapornet-b-25.Princeton.EDU) joined #pypy. | 15:27 | |
| exarkun | I don't think it does. | 15:27 |
| cheater | so we're back to the situation of me needing to extend etree somehow. | 15:27 |
| exarkun | You could work on getting lxml to work with PyPy, instead. | 15:28 |
| jterrace | what are you trying to add to etree? | 15:28 |
| exarkun | That would be a much better outcome, in my opinion. :) | 15:28 |
| cheater | lxml is completely based on libxml2. | 15:28 |
| cheater | which is a wrapper around a C lib. | 15:28 |
| cheater | i understand pypy doesn't support c libs at all. | 15:28 |
| arigato | ? | 15:28 |
| exarkun | PyPy supports C libraries very well. | 15:28 |
| cheater | getting libxml in its whole to work seems much more difficult than getting etree to work | 15:29 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 15:29 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 15:29 | |
| exarkun | That may be true. | 15:29 |
| cheater | where the second "work" just means adding or fixing some details | 15:29 |
| Nick change: Guest10683 -> kalenz | 15:29 | |
| exarkun | The extra work comes with extra payoff, though. | 15:29 |
| arigato | but we're unlikely to include a custom enhanced version of etree in pypy, though | 15:29 |
| fijal | nice | 15:29 |
| fijal | a cpython test | 15:29 |
| jterrace | is it possible to append an object-space object to an object-space list? | 15:30 |
| cheater | i'm not going to be able to rationalize that extra work for the people paying for it. | 15:30 |
| fijal | http://paste.pocoo.org/show/518851/ | 15:30 |
| fijal | a question - what *actually* happens when you fail to import resource? | 15:30 |
| exarkun | cheater: Oh well. | 15:31 |
| cheater | exarkun: to be honest, i like etree much more than lxml | 15:31 |
| cheater | and even if i don't succeed in fixing its xpath up to where i can use it, i can ducttape over it | 15:31 |
| exarkun | It's always very nice to walk around on duct tape. | 15:32 |
| jterrace | what's wrong with etree xpath? | 15:32 |
| cheater | there are only a few use cases here that need special attention. | 15:32 |
| cheater | exarkun: yes. | 15:32 |
| exarkun | jterrace: It's minimally functional. | 15:32 |
| cheater | jterrace: it also has a bug | 15:32 |
| fijal | arigato, exarkun: any idea what the code above does if you fail to import resource? | 15:32 |
| cheater | jterrace: the extra functionality i need is doing x/y/@property | 15:32 |
| fijal | :-) | 15:32 |
| exarkun | fijal: if `import resource´ raises ImportError, then I would hope that execution proceeds to the except suite, which does nothing. | 15:32 |
| fijal | cheater: obviously you're free to do anything you want in your own program in case it was not clear | 15:32 |
| exarkun | fijal: But that's too obvious, so I suppose it does something else. | 15:33 |
| fijal | exarkun: no :) | 15:33 |
| gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) joined #pypy. | 15:33 | |
| fijal | exarkun: it fails with NameError on resource.error | 15:33 |
| cheater | jterrace: the bug is that if you have a document like <bar><baz/></bar> then to access baz you do ./baz or /baz. libxml2 does /bar/baz which is the correct thing to do. | 15:33 |
| cheater | fijal: :) | 15:33 |
| exarkun | fijal: Aha, of course. Nice. | 15:33 |
| arigato | :-) | 15:33 |
| fijal | that's cpython test suite | 15:33 |
| fijal | gutworth: feel like fixing? | 15:33 |
| exarkun | The correct spelling is `except (ImportError, ValueError): pass\nexcept resource.error: pass\n´ of course. | 15:33 |
| fijal | exarkun: right | 15:33 |
| cheater | but again.. i am wonhdering, why does the pypy version of etree have a different version, and different source? i can't find a place to download that version for cpython | 15:34 |
| fijal | exarkun: or two try: except: blocks | 15:34 |
| cheater | wondering :) | 15:34 |
| fijal | because if import resource raise something else | 15:34 |
| fijal | you don't want NameError | 15:34 |
| arigato | cheater: it does not | 15:34 |
| arigato | cheater: pypy has the pure Python version from CPython | 15:34 |
| arigato | cheater: and not the C version from CPython | 15:34 |
| arigato | from xml.etree import ElementTree | 15:35 |
| Action: fijal ponders if he should file a bug on bugs.python.org | 15:35 | |
| kenaan | 12hakanardo jit-targets 113c35f57a7f67 15/pypy/jit/metainterp/: cleaner to use jump_args | 15:35 |
| kenaan | 12hakanardo jit-targets 116c6cf4df068d 15/pypy/jit/backend/x86/test/test_recompilation.py: hg merge | 15:35 |
| exarkun | fijal: That's in a unit test? I'd also say that the test should be split up into several, so that there is one test method for each expected code path, and then the methods that require resource to be available be skipped on platforms where it is not. | 15:37 |
| fijal (~fijal@197.175.204.67) left irc: Read error: Connection reset by peer | 15:37 | |
| cheater | hmmmm. | 15:38 |
| stakkars_ (~tismer@p5DC4680D.dip0.t-ipconnect.de) joined #pypy. | 15:45 | |
| jterrace | should space.call_method(somelist_w, 'append', item_w) work? | 15:46 |
| stakkars_ | hi all! I got windows problems | 15:47 |
| Alex_Gaynor | jterrace: no, it works on wrapped lists | 15:47 |
| Alex_Gaynor | somelist_w.append works for unwrapped lists of (anything) | 15:47 |
| jterrace | that's what i want to do | 15:48 |
| jterrace | i want to append an object-space object to an object-space list | 15:48 |
| jterrace | is that not kosher? | 15:48 |
| cheater | arigato: sorry. the etree version in the pypy downloadable executable is 1.3 but if i check it from cpython it's 1.2.6. but if i check under python2.7 (my system's default is 2.6.5) then it's 1.3 too. you're right, thanks. | 15:48 |
| stakkars_ | in running tests, I pretty got "access denied" errors when certain files are closed, but something goes wrong. | 15:48 |
| Alex_Gaynor | no, that's fine, if you have a wrapped list you use call_method | 15:48 |
| stakkars_ | is that effekt known? | 15:48 |
| jterrace | ok, so that above is legal rpython? | 15:48 |
| Alex_Gaynor | if you have a wrapped list it should be named w_somelist though :) | 15:48 |
| Alex_Gaynor | jterrace: yes | 15:48 |
| jterrace | ok | 15:48 |
| jterrace | nice catch on forgetting the asserts in those scalar tests | 15:49 |
| jterrace | such a noob mistake | 15:49 |
| stakkars_ | is there a known issue with tempfiles maybe? temp directories are possibly | 15:49 |
| stakkars_ | suffering a racing condition in creating a new folder. | 15:50 |
| Alex_Gaynor | The wisdom of fresh eyes | 15:50 |
| stakkars_ | I also have the effect that after building pypy, when trying a build right after that, I get access denied errors. | 15:50 |
| stakkars_ | trying the second time then works. :-( | 15:51 |
| stakkars_ | so there is a lot still crappy about windoze&. | 15:51 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 15:51 | |
| cheater | so how do i get the "fastest" pypy on my server? | 15:51 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 15:51 | |
| jterrace | there is an ubuntu PPA | 15:51 |
| cheater | do i use the binary distribution, do i get the source and build it, do i translate it to C? | 15:51 |
| cheater | i'll look at the PPA thanks. | 15:52 |
| cheater | if i wanted to do it manually though, what is the build process? | 15:52 |
| jterrace | http://pypy.org/download.html#building-from-source | 15:52 |
| stakkars_ | cheater: build it if you have over 2 GB memory | 15:52 |
| cheater | i do | 15:53 |
| stakkars_ | cheater: go to pypy/translator/goal | 15:53 |
| stakkars_ | and run: | 15:53 |
| stakkars_ | python translate.py -Ojit targetpypystandalone | 15:54 |
| cheater | what is targetpypystandalone? | 15:54 |
| kenaan | 12arigo jit-targets 11195866ee2672 15/pypy/jit/backend/llgraph/llimpl.py: Fixes for metainterp/test/test_ztranslation. Unsure if it's really worth the burden to maintain this mess just... | 15:54 |
| stakkars_ | that is the target that you want to build. The standalone pypy-c | 15:54 |
| arigato | it's all explained at http://pypy.org/download.html#building-from-source | 15:54 |
| jterrace | ^ | 15:54 |
| Action: arigato just copy-and-pasted jterrace's url :-) | 15:55 | |
| stakkars_ | well, but sometimes just giving a hand motivates pretty much | 15:55 |
| arigato | hakanardo: fixed | 15:55 |
| arigato | stakkars_: sure, sorry | 15:56 |
| stakkars_ | but right, I should always include the pointer to pypy.org as well | 15:56 |
| overminder (~overminde@143.89.167.3) left irc: Ping timeout: 252 seconds | 15:57 | |
| stakkars_ | btw., I think to add some shortcut for pypystandalone, because you have to type this crap, | 15:58 |
| stakkars_ | just in order to divide general options and backend options ;-) | 15:58 |
| arigato | tab-completion to the rescue | 15:58 |
| arigato | (you can also type "targetpypystandalone.py", it works equally) | 15:59 |
| stakkars_ | yes, but on windows, tab-completion kills the rest of the line, where my options are sitting | 15:59 |
| arigato | ah well, then you need a better terminal | 15:59 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/624 [12hakanardo, jit-targets] | 15:59 |
| stakkars_ | (arigato: yes, that was added by me, because I was so annoyed of windows) | 16:00 |
| arigato | there are tons of them for windows, I am told | 16:00 |
| jterrace | Alex_Gaynor: how does micronumpy/test/test_compile.py pass when i'm using invalid rpython? shouldnt they fail? | 16:00 |
| stakkars_ | arigato: very nice hint, thank you! will look into it. | 16:00 |
| Alex_Gaynor | jterrace: That doesn't test RPython compilation, test_ztranslation does though | 16:01 |
| jterrace | that passes too | 16:01 |
| arigato | ah, then I'm interested :-) | 16:01 |
| Alex_Gaynor | paste your diff? | 16:01 |
| jterrace | it's the same as the pull request right now | 16:01 |
| jterrace | 215 passed, 5 skipped | 16:01 |
| stakkars_ | btw, the make option is linux specific. The windows build just fails because of "-j". | 16:03 |
| stakkars_ | again something to fix ;-) | 16:03 |
| rokujyouhitoma (~rokujyouh@12.51.221.130) joined #pypy. | 16:04 | |
| arigato | jterrace: ah bah | 16:04 |
| arigato | sorry | 16:04 |
| Alex_Gaynor | how?!? | 16:04 |
| jterrace | i dont know! | 16:04 |
| jterrace | hehe | 16:04 |
| arigato | hum no, "unwrap()" is marked NOT_RPYTHON | 16:04 |
| arigato | uh no | 16:05 |
| Alex_Gaynor | bugs :) | 16:05 |
| arigato | test_ztranslation.py fails for me | 16:05 |
| jterrace | ./pytest.py pypy/module/micronumpy/test/*.py | 16:05 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 16:05 | |
| jterrace | is that the right way to run it? | 16:05 |
| Alex_Gaynor | jterrace: You may need to merge in default | 16:05 |
| jterrace | i did yesterday | 16:06 |
| stakkars_ | jterrace: ou can omit the /*.py | 16:06 |
| arigato | I'm running it at c904560ff1b3 | 16:06 |
| arigato | and test_ztranslation explodes as expected | 16:06 |
| jterrace | me too | 16:06 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 16:06 | |
| jterrace | it passes for me | 16:06 |
| jterrace | huh | 16:06 |
| Alex_Gaynor | ./pytest.py pypy/module/micronumpy is enough, but yeah | 16:06 |
| rokujyouhitoma | hi, guys. my colleague written the article. | 16:07 |
| rokujyouhitoma | "The fastest Python Implementation x5 faster than PyPy" | 16:07 |
| rokujyouhitoma | http://blog.shibu.jp/article/51727515.html?1323515738 | 16:07 |
| stakkars_ | hae? faster than pypy??? | 16:08 |
| jterrace | ack i didnt run hg merge | 16:08 |
| Action: jterrace curses in anger at learning mercurial | 16:08 | |
| arigato | rokujyouhitoma: if he means "pypy is 5x faster than cpython", then isn't the title of this blog post bogus? | 16:09 |
| arigato | jterrace: :-/ | 16:09 |
| stakkars_ | jterrace: great, because you then can greatly diff against the working revision and fix bugs | 16:09 |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 16:10 | |
| arigato | rokujyouhitoma: ah, sorry, I see what is meant. | 16:11 |
| rokujyouhitoma | arigato: "The fastest Python Implementation x5 faster than PyPy" | 16:11 |
| arigato | it's about RPython | 16:11 |
| arigato | yes | 16:11 |
| rokujyouhitoma | yes :) | 16:11 |
| Alex_Gaynor | RPython isn't an implemntation of Python :) | 16:13 |
| stakkars_ | uff, misleading article, and basically arguing with RPython, which belongs to PyPy... | 16:14 |
| cheater | heh. | 16:14 |
| cheater | does twisted work under rpython? | 16:14 |
| stakkars_ | I would say "very unlikely". Too much Python | 16:15 |
| Alex_Gaynor | Not a chance | 16:16 |
| Alex_Gaynor | it runs fine under pypy though | 16:16 |
| cheater | that i know :) | 16:16 |
| arigato | nothing just happens to work in RPython | 16:16 |
| cheater | :) | 16:16 |
| stakkars_ | look at simple things, try for instance to compile decimal.py under RPython. | 16:17 |
| stakkars_ | then you learn very quickly what works and what not, and how to split a module | 16:18 |
| myf | hi pypyers, two days ago i asked a question about the slow speed beautifulsoup on pypy compared to python. does anyone has an idea now? | 16:18 |
| myf | have | 16:18 |
| cheater | maybe old style classes and new style classes in mixed inheritance? | 16:19 |
| hakanardo | arigato: thanx! | 16:19 |
| arigato | hakanardo: :-) | 16:20 |
| arigato | cheater: that's a random comment without even looking at the source code | 16:20 |
| cheater | arigato: yes! | 16:21 |
| cheater | arigato: it is. | 16:21 |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) joined #pypy. | 16:22 | |
| arigato | myf: yes: | 16:26 |
| arigato | http://paste.pocoo.org/show/518872/ | 16:26 |
| arigato | this script shows that BeautifulSoup just requires tons of warm-up time | 16:26 |
| arigato | but it ends up much faster than CPython | 16:26 |
| arigato | after 3-4 seconds | 16:26 |
| arigato | replace the range(50) with range(500) for more impressive results :-) | 16:27 |
| myf | that's the warming up bit i suppose? | 16:28 |
| myf | exciting, let me test it out | 16:28 |
| arigato | I'm getting 12.4 seconds on pypy, and 52 seconds on python2.5 | 16:28 |
| overminder (~overminde@wf097-252.ust.hk) joined #pypy. | 16:28 | |
| arigato | so it's not too far from our 5x-speed-up informal goal | 16:28 |
| arigato | (...that I just decided on the spot for the present purposes) | 16:29 |
| myf | suppose you process a batch of files on beautifulsoup, pypy is going to be much faster. it's just taking a long time for the first one. is it? | 16:31 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 16:31 | |
| arigato | yes | 16:32 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 16:32 | |
| arigato | or even for the first 10 ones | 16:32 |
| stakkars_ | arigato: always a good way to boost speed: compare against python 2.5 :-) | 16:32 |
| arigato | we can see in this script, which prints one "." per processed file, that it starts slowly and gets faster and faster | 16:32 |
| myf | right right | 16:33 |
| arigato | stakkars_: ok ok :-) | 16:33 |
| myf | ohh i see the result now. fascinating | 16:33 |
| Rotund | myf, do you understand the basic idea of how pypy gets the speed ups over CPython | 16:33 |
| arigato | also, if the processed pages are all different instead of equal, it might increase the warm-up time even more | 16:33 |
| myf | on my machine pypy does it 3.4 sec and cpython 7.24 | 16:34 |
| myf | Rotund, would you enlighten me? | 16:34 |
| arigato | yes, roughly the same here | 16:34 |
| arigato | for 50 | 16:34 |
| myf | right | 16:34 |
| Rotund | It is basically profiling your code as you run it | 16:35 |
| myf | the jit bit? | 16:35 |
| Rotund | It then optimizes based on the profiling | 16:35 |
| Rotund | So, if you see that variable X is always an int, you can speed that up. | 16:35 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 16:35 | |
| arigato | it's not as fancy as this implies | 16:35 |
| myf | someone has said that beautifulsoup has tons of regex in it so during the warm up time it is taking sweet time to compile | 16:36 |
| arigato | it "profiles" in the sense of "oh, this loop has been looping 1000 times, let's compile it" | 16:36 |
| myf | hmm | 16:36 |
| arigato | and then to compile, it just traces one iteration | 16:36 |
| Rotund | You need to make sure that X is an int, but if it is, you get a big boost as you don't have to JIT and then keep running it and you may notice other speedups | 16:36 |
| Rotund | arigato, my understanding was that it would also use variable types as hints | 16:37 |
| arigato | not directly: it's a bit more indirect, but it gets a similar result | 16:38 |
| arigato | basically it is a tracing JIT, so it compiles only the path that was followed during the traced iteration | 16:38 |
| Rotund | Okay. I mainly listened into the pypy training before the sprints at PyCon | 16:38 |
| arigato | if this path contain 5 type checks that fail and a 6th one that succeed on a variable X, | 16:38 |
| arigato | then it's optimized into a single type check (the one that succeeds) in the machine code | 16:39 |
| arigato | and moreover if the variable X doesn't change during the loop, the type check is then moved outside the loop | 16:39 |
| nedbat | can anyone take a look at test_sandlib.py or another sandbox test file and help me understand how to test an issue? | 16:40 |
| arigato | yes? | 16:40 |
| Rotund | One way or another, you need to "prime the pump" to get the big speedups out of pypy. | 16:40 |
| nedbat | Currently the sandbox fails to "import site". I wanted to add a test that also fails to import site, but I couldn't make it fail with a small case. | 16:40 |
| arigato | Rotund: yes, and this warm-up time is quite long so far (it could be optimized too) | 16:41 |
| nedbat | arigato: I tried this http://paste.pocoo.org/show/518885/ at the bottom of test_sandlib.py, but it doesn't fail. | 16:41 |
| stakkars_ (~tismer@p5DC4680D.dip0.t-ipconnect.de) left irc: Quit: schnarch | 16:42 | |
| arigato | nedbat: I think that generally speaking, side.py should not be executed in a sandboxed process | 16:42 |
| arigato | nedbat: because it can do too much random things | 16:42 |
| arigato | site.py sorry | 16:42 |
| nedbat | arigato: that may be. Currently, it is imported by default in the sandboxed proc, and fails, due to calling os.getuid and os.geteuid. | 16:42 |
| arigato | nedbat: your example doesn't make sense I think | 16:42 |
| nedbat | arigato: can you explain how? I'm sure i'm confusing layers. | 16:43 |
| arigato | compile() compiles an RPython program | 16:43 |
| arigato | nedbat: just fix it by calling the sandboxed pypy with the "-S" option | 16:43 |
| nedbat | arigato: i'm not trying to fix my code (I've already done precisely that), I'm trying to fix pypy. | 16:43 |
| arigato | compile() compiles an RPython program, which means these tests are about testing the sandboxing feature of the translation tool-chain, but not the sandboxed pypy at all | 16:44 |
| nedbat | arigato: today if you run the sandbox example, it printer "couldn't import site" | 16:44 |
| nedbat | *prints | 16:44 |
| arigato | the fix is in pypy_interact.py | 16:44 |
| nedbat | arigato: you mean to add the -S ? | 16:45 |
| arigato | e.g. line 41, add "-S" to the arguments, yes | 16:45 |
| arigato | you could also argue that a sandboxed pypy should by default not run site.py, but changing that is a bit more involved, | 16:46 |
| arigato | because the code is the same between non-sandbox and sandbox pypy's | 16:46 |
| nedbat | arigato: could you point me to a test that tests the "sandboxed pypy"? I would like very much to have a test that covers this issue. | 16:46 |
| arigato | there is no test :-( | 16:47 |
| arigato | because it requires a complete translation of a sandboxed pypy first | 16:47 |
| arigato | so if sandboxing were a feature more actively maintained, we would have a buildbot setup that translates a sandboxed pypy and runs specific tests | 16:47 |
| arigato | but it's not :-( | 16:48 |
| arigato | ah, there is test_pypy_interact.py | 16:48 |
| arigato | but it works by building a "mini-pypy-like" executable instead | 16:49 |
| mat^2 (~mathias@212.130.113.35) joined #pypy. | 16:49 | |
| nedbat | arigato: why are these two things different? 1) importing site inside the full-blown sandboxed pypy, and 2) importing site inside one of these mini-pypy-like executables built by the unit tests? | 16:50 |
| arigato | 1) imports "site" in a pypy interpreter. 2) is at RPython-level, where "import site" basically has no effect | 16:51 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/624 [12hakanardo, jit-targets] | 16:51 |
| arigato | in RPython, "import foo" is run at translation time and the resulting "foo" module plugged in place, as a constant | 16:51 |
| nedbat | arigato: right, ok. | 16:52 |
| nedbat | arigato: and a unit test that built a real sandboxed pypy would take an hour to run. | 16:52 |
| arigato | yes | 16:53 |
| arigato | we would like instead to have a set of tests that run with a previously-built sandboxed pypy | 16:53 |
| arigato | like we have a set of tests that run with a previously-built pypy-with-a-jit | 16:54 |
| arigato | and checks how it compiles small (pure Python) examples | 16:54 |
| nedbat | arigato: can you point me where that existing test is? | 16:54 |
| arigato | yes: it's all files in pypy/module/pypyjit/test_pypy_c/ | 16:55 |
| arigato | it requires quite a bit of setup, unfortunately | 16:55 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 16:56 | |
| jterrace | Alex_Gaynor: arigato: getting a translation error now that im not sure how to understand | 16:56 |
| jterrace | this is my current diff: http://pastebin.com/WFHF7HWB | 16:57 |
| arigato | mostly the run() method at test_00_model.py:25 | 16:57 |
| jterrace | the error i'm getting (http://pastebin.com/raw.php?i=cFkRSnBT) doesn't make much sense to me | 16:57 |
| asmeurer__ (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) joined #pypy. | 16:59 | |
| arigato | I'm unsure to see why you added tolist() | 16:59 |
| jterrace | i added it to the type itself where it could be unboxed | 16:59 |
| jterrace | instead of having to check its type in genericbox | 16:59 |
| jterrace | i thought that would be the right thing to do | 16:59 |
| arigato | but why to the TypeDef? this adds it to app-level, i.e. it is user-visible | 16:59 |
| jterrace | yeah, it's supposed to be | 17:00 |
| jterrace | numpy.int32(5).tolist() == 5 | 17:00 |
| arigato | ah well, you're doing two things at the same time then | 17:00 |
| arigato | you're trying to fix translation errors, but at the same time writing new functionality | 17:00 |
| kkris (~kris@80-123-38-195.adsl.highway.telekom.at) left irc: Read error: Connection reset by peer | 17:00 | |
| jterrace | the rest of the tests pass though | 17:00 |
| jterrace | including testing the scalar tolist | 17:01 |
| jterrace | except for the translation | 17:01 |
| arigato | I'm sure. just saying that it would be great to focus on the translation issue instead | 17:01 |
| jterrace | the previous version had scalar tolist as well | 17:01 |
| jterrace | that's how the recursive tolist on arrays works | 17:01 |
| jterrace | since it calls the base version | 17:01 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 17:02 | |
| arigato | feel free to check in, if it passes the same amount of tests as before, plus the new ones | 17:02 |
| jterrace | it does, but the translate test still doesnt pass | 17:02 |
| arigato | I know | 17:02 |
| jterrace | let me see if it's the translation of the scalar that's breaking it or the translation of the numarray tolist | 17:03 |
| arigato | I can help you, but please first commit this changeset | 17:03 |
| jterrace | ok | 17:03 |
| jterrace | one minute | 17:03 |
| jterrace | arigato: i just pushed to jterrace/pypy with a branch name numpy_tolist | 17:10 |
| jterrace | (sorry realized after that convention is numpy-tolist) | 17:10 |
| arigato | ok | 17:10 |
| Alex_Gaynor | jterrace: we'll live, I'll look after I get off my train :) | 17:11 |
| tumbleweed (~stefanor@ubuntu/member/tumbleweed) joined #pypy. | 17:11 | |
| arigato | for me, running "py.test test_ztranslation.py", the first translation failure is: | 17:11 |
| arigato | http://paste.pocoo.org/show/518897/ | 17:12 |
| jterrace | yeah | 17:12 |
| jterrace | that's what i pasted | 17:12 |
| arigato | sorry :-) | 17:12 |
| jterrace | that's ok | 17:12 |
| arigato | hum, a SomeObject | 17:12 |
| jterrace | so im confused how to parse what this is saying? | 17:12 |
| arigato | let me fix that in checkcompile(), it should have crashed earlier | 17:13 |
| jterrace | ok | 17:13 |
| Alex_Gaynor | it's because your space.wrap() is on either a bool, float, or int | 17:13 |
| arigato | uh? no | 17:13 |
| Alex_Gaynor | you need to move the space.wrap into the method thayt knows that type in itemtype | 17:13 |
| Alex_Gaynor | arigato: yes | 17:13 |
| Alex_Gaynor | at least, that's what the error is | 17:13 |
| arigato | well, not the one I pasted | 17:13 |
| Alex_Gaynor | well, I meant the issue with the code, I didn't look at the exact error | 17:14 |
| jterrace | oh because i'm calling self.unbox? | 17:14 |
| arigato | if you say so, but I'm still confused, because you can call space.wrap() with various arguments | 17:14 |
| arigato | the problem is not in space.wrap() itself | 17:14 |
| arigato | http://paste.pocoo.org/show/518900/ | 17:16 |
| jterrace | what's that do? | 17:17 |
| arigato | that's a fix, gives better error messages, hopefully | 17:17 |
| Alex_Gaynor | arigato: you can't space.wrap(<float> or <int> or <bool>) since the types get merged | 17:17 |
| Alex_Gaynor | you end up with a SomeObject | 17:17 |
| arigato | Alex_Gaynor: my point is that you can't *have* an object that is <float> or <int> or <bool> | 17:18 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 17:18 | |
| Alex_Gaynor | arigato: right | 17:18 |
| arigato | that's a problem unrelated to calling space.wrap() on it | 17:18 |
| Alex_Gaynor | true, I was just trying to be clear about where I was describing | 17:18 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 17:18 | |
| arigato | sorry | 17:18 |
| kenaan | 12arigo default 11969865e9cb30 15/pypy/objspace/fake/objspace.py: Forbid SomeObject there. | 17:19 |
| kkris (~kris@93-82-47-109.adsl.highway.telekom.at) joined #pypy. | 17:19 | |
| gutworth | shouldn't be allowing SomeObjects be False by default? | 17:20 |
| arigato | gutworth: yes, probably, nowadays | 17:20 |
| arigato | it is, for stand-alone builds | 17:20 |
| arigato | jterrace: http://paste.pocoo.org/show/518904/ | 17:20 |
| overminder (~overminde@wf097-252.ust.hk) left irc: Ping timeout: 244 seconds | 17:21 | |
| arigato | this says that the various methods eval() are called at the place with the ==> marker | 17:21 |
| jterrace | so i cant call space.wrap(i) ? | 17:21 |
| arigato | but they have incompatible signatures | 17:21 |
| jterrace | space.int(i) ? | 17:21 |
| arigato | the problem is not space.wrap, it's the call to eval() | 17:21 |
| jterrace | oh | 17:22 |
| arigato | this place can call (at least) the three methods listed in the beginning | 17:22 |
| arigato | eval() of W_NDimArray, or of ViewArray, or of Scalar | 17:22 |
| Alex_Gaynor | I think eval is fine, it's the descr_tolist on W_GenericBox that's fine | 17:22 |
| arigato | indeed, this place is a line in descr_tolist, at interp_numarray.py line 921 | 17:23 |
| Alex_Gaynor | I'm talking about interp_boxes.py | 17:23 |
| arigato | I think there are several errors, and we're talking about different ones | 17:25 |
| jterrace | have to run for a bit, thanks for that change | 17:26 |
| jterrace | ill try and fix it later | 17:26 |
| arigato | the issue is that eval() takes an instance as argument, e.g. a ConstantIterator, but not 0 | 17:29 |
| jterrace (~Adium@dynamic-oit-vapornet-b-25.Princeton.EDU) left irc: Quit: Leaving. | 17:32 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) left irc: Ping timeout: 252 seconds | 17:34 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 17:35 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 17:35 | |
| fijal (~fijal@197.172.88.160) joined #pypy. | 17:37 | |
| fijal (~fijal@197.172.88.160) left irc: Read error: Connection reset by peer | 17:42 | |
| Action: arigato off | 17:43 | |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you | 17:44 | |
| cheater | added x/y/@z support to etree | 17:50 |
| cheater | it was very easy | 17:50 |
| cheater | under 20 loc :) | 17:50 |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 17:50 | |
| DanKluev (~root@78-24-225-196-dsl.vntc.ru) left irc: Quit: Leaving. | 17:55 | |
| DanKluev (~root@78-24-225-196-dsl.vntc.ru) joined #pypy. | 17:57 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 17:58 | |
| jterrace (~Adium@dynamic-oit-vapornet-b-25.Princeton.EDU) joined #pypy. | 18:02 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Ping timeout: 240 seconds | 18:03 | |
| jterrace (~Adium@dynamic-oit-vapornet-b-25.Princeton.EDU) left irc: Quit: Leaving. | 18:11 | |
| arigato (~arigo@82.113.121.130) joined #pypy. | 18:22 | |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 18:23 | |
| DasIch_ (~dasich@p4FFDFC5D.dip.t-dialin.net) joined #pypy. | 18:37 | |
| DasIch (~dasich@p4FFDCD7B.dip.t-dialin.net) left irc: Ping timeout: 252 seconds | 18:40 | |
| mattip (~chatzilla@bzq-79-180-110-4.red.bezeqint.net) joined #pypy. | 18:42 | |
| cheater (~cheater@ip-80-226-24-11.vodafone-net.de) left irc: Ping timeout: 252 seconds | 18:44 | |
| mattip | Uhh, I think I stuffed up one of the build bots (bigboard?) with a win32 build | 18:45 |
| mattip | I started the build over a da ago, but it is still in the app-level (-A) test stage, and sending it an interrupt didn't kill the build. | 18:47 |
| mattip | can anyone help? | 18:47 |
| mattip | s/a da ago/a day ago/ | 18:47 |
| Alex_Gaynor | I'm not sure who, besides arigato, has admin on that box | 18:48 |
| mattip | arigato: ping | 18:48 |
| arigato | pong | 18:48 |
| mattip | Hi. can you see what I said a minute ago or should I repost? | 18:48 |
| arigato | I don't see any builder pending | 18:48 |
| arigato | ah yes | 18:49 |
| arigato | sorry | 18:49 |
| arigato | I'm not an admin on that box, but I can at least log in as buildslave | 18:49 |
| Alex_Gaynor | whoops | 18:50 |
| mattip | arigato: any idea what went wrong? | 18:51 |
| arigato | no | 18:51 |
| arigato | ah yes | 18:51 |
| exarkun | in general, interrupt doesn't work for windows slaves. | 18:51 |
| arigato | it's blocked showing a dialog box, of course | 18:51 |
| bbot2 | 13Exception: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/288 [12mattip, default] | 18:51 |
| Action: arigato clicked Ok | 18:51 | |
| Alex_Gaynor | of coruse | 18:51 |
| arigato | :-( | 18:52 |
| arigato | ok, you can restart your build if needed | 18:52 |
| arigato | it's likely to get the same dialog box | 18:52 |
| arigato | but if you don't interrupt but just ask me to click ok | 18:52 |
| arigato | it should go past it | 18:52 |
| mattip | um, I guess I should find out why first. What dialog? | 18:52 |
| arigato | (as a temporary measure) | 18:52 |
| arigato | it's the same old dialog, not something new, actually | 18:53 |
| arigato | "libexpat.dll not found" | 18:53 |
| arigato | I never understood who was trying to load it, because libexpat.dll is properly copied in the same directory as pypy-c.exe | 18:53 |
| mattip | That opens a dialog box? not nice. | 18:54 |
| arigato | well it's windows | 18:54 |
| Alex_Gaynor | windows has a tendency to do such things | 18:54 |
| mattip | Is it the runtime <arbitrary number> error or another one? | 18:54 |
| arigato | I don't think it displays an arbitrary number | 18:54 |
| arigato | to fix it, we'd need motivation and stakkars' instructions for how to set up the "auto-clicker" tool | 18:55 |
| Alex_Gaynor | it's some registery key I thikn | 18:55 |
| arigato | hah, naive | 18:55 |
| mattip | I have some experience with canceling windows dialog box using registry keys, but I would need a screen capture of the dialog box. | 18:55 |
| arigato | the problem is that it's not just one registry key | 18:56 |
| arigato | it's a mess of things that can each end up opening a dialog box, and each of them has some way or other to disable it | 18:56 |
| arigato | we already set one or two registry keys | 18:56 |
| arigato | mattip: I'll take a screenshot next time | 18:57 |
| mattip | Thanks. If I'm not around, send a link to matti <period> picus <at> gmail <period> com | 18:58 |
| arigato | (that's basically why I prefer an auto-clicker tool, which should just work in all cases) | 18:58 |
| mattip | Ok, motivation I've got, I will try to talk to stakkers when he's around. | 18:58 |
| arigato | :-) | 18:59 |
| cheater (~cheater@ip-80-226-24-12.vodafone-net.de) joined #pypy. | 18:59 | |
| RiaanFV (~riaanfv@41-132-169-26.dsl.mweb.co.za) joined #pypy. | 18:59 | |
| mattip | I have another naive question: how much network traffic does a buildbot slave use for default builds of pypy? | 19:06 |
| mattip | Does the slave need to clone the repository for each build? | 19:06 |
| khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) left irc: Quit: Leaving | 19:07 | |
| mattip | stakkars: ping | 19:08 |
| Action: arigato finds "clickoff" | 19:09 | |
| arigato | http://www.johanneshuebner.com/en/clickoff.shtml | 19:09 |
| arigato | mattip: no, the slave can keep the already-cloned repo between builds | 19:09 |
| arigato | and if you care, you can even manually initialize the few repos needed on a typical slave | 19:10 |
| arigato | to avoid a few complete downloads | 19:10 |
| kenaan | 12ned nedbat-sandbox 117fa920a29974 15/pypy/translator/sandbox/: Implement from os: getuid, geteuid, getgid, getegid; in an attempt to get 'import site' working, but the probl... | 19:11 |
| jterrace (~Adium@dynamic-oit-vapornet-b-25.Princeton.EDU) joined #pypy. | 19:14 | |
| mattip | arigato: thanks | 19:15 |
| mattip | arigato: what would it take to get clickoff installed on bigboard? | 19:18 |
| arigato | very naively I thought it wouldn't require an admin and installation | 19:20 |
| arigato | but of course I was wrong | 19:20 |
| Action: arigato looks if there is a Python program | 19:21 | |
| stakkars | no time right now | 19:33 |
| stakkars | financial work, give me two hours | 19:34 |
| derdon (~derdon@p5DE89AF6.dip.t-dialin.net) joined #pypy. | 19:34 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 240 seconds | 19:34 | |
| CIA-13 | 03nedbat 07roundup * 10#949/1.7 Sandbox problems: | 19:37 |
| CIA-13 | About the "import site" problem: it seems to involve more than a few changes. The | 19:37 |
| CIA-13 | best thing to do is to use "-S" in the sandbox arguments, to ... * 14https://bugs.pypy.org/issue949 | 19:37 |
| arigato | ok, found http://mail.python.org/pipermail/python-win32/2002-December/000635.html and tried it, it works nicely | 19:39 |
| arigato | next time we get the dialog box, we can add its description to the program, and then we won't be annoyed any more by it | 19:39 |
| arigato | I know it's not the perfect solution | 19:40 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 19:40 | |
| arigato | but with minimal extra hacking it can be ok | 19:42 |
| arigato | (a unix-like solution for a windows-only annoyance) | 19:42 |
| mattip | arigato: thanks. Sometime after the nightly build starts I will try to take a look and give you a heads up. | 19:44 |
| Insectoid | This issue with random dll dialog boxes is a deeper problem, I think. At least, I'm seeing similar with my WX build. From what I was able to determine last night, it has no problem importing .dll (or .pyd files) from the same directory, but blows up when they're elsewhere. | 19:51 |
| jterrace | think i fixed tolist | 19:51 |
| Insectoid | For instance, with WX, which has several pyd files. If I import, for instance, _core_ from within the wx directory it works. If I import wx, it blows up when importing _core_.pyd with a missing wx DLL. | 19:51 |
| Alex_Gaynor | jterrace: is it in the pull request? | 19:51 |
| jterrace | no, going to update it now | 19:51 |
| Alex_Gaynor | k | 19:51 |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy. | 19:55 | |
| fijal (~fijal@41.49.224.41) joined #pypy. | 19:55 | |
| fijal | hey | 19:58 |
| fijal | wtf is ITIN | 19:59 |
| jterrace | Alex_Gaynor: ok, pull request is updated | 19:59 |
| jterrace | all tests pass now | 20:00 |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 20:00 | |
| mattip | Insectoid: interesting. You have a working build of WX? Cool. | 20:00 |
| mattip | Is this for win32? | 20:00 |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) left irc: Client Quit | 20:01 | |
| mattip | From what I know, dlopen should be calling LoadLibrary with the name of the file to open. | 20:02 |
| mattip | If the name has no slashes in it, the documentation of LoadLibrary claims that the dll (or pyd) can be anywhere on the system path. | 20:03 |
| mattip | Maybe pypy is adding a "." or a "./" to the path? | 20:03 |
| mattip | fijal: Individual Taxpayer Identification Number (ITIN)? | 20:04 |
| fijal | yes | 20:04 |
| fijal | mattip: I'm trying to understand if PSF is wanting me to do something illegal or not | 20:05 |
| fijal | voidspace: ping | 20:05 |
| mattip | Anyone can get one, you do not have to be a citizen. | 20:05 |
| fijal | right | 20:05 |
| Action: fijal is super puzzled | 20:06 | |
| fijal | the main info about ITIN seems to be that they won't report that to homeland security | 20:06 |
| fijal | "In addition to use by unauthorized immigrants, ITINs are used by foreign investors in United States real estate. Such investors need ITINs to file federal and state tax returns to report rental income." | 20:07 |
| Alex_Gaynor | jterrace: ok on the wrong OS, I'll play with this and merge once I'm back under linux | 20:07 |
| fijal | I don't really feel like fitting in either of those categories | 20:07 |
| jterrace | thanks | 20:07 |
| mattip | US citizen -> ITIN == Social Security Number. Non-US citizen-> ITIN == random number issued to you for tax-collecting purposes. | 20:08 |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy. | 20:08 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 20:09 | |
| mattip | All income generated in the US needs to be taxed there. You will need to file a US tax report. | 20:09 |
| fijal | mattip: google soc has not been taxed | 20:10 |
| fijal | in the states | 20:10 |
| mattip | The wierder thing is that US citizens must file tax reports even if they live 365 days a year outside the US. | 20:10 |
| fijal | mattip: that's normal, polish have to do the same | 20:10 |
| mattip | Yes but even if they have no US based income. | 20:11 |
| fijal | in theory I should even pay taxes in poland sometimes | 20:11 |
| Alex_Gaynor | fijal: really? I thought US was one of few countries that taxed based on citizenship and not living location | 20:11 |
| fijal | Alex_Gaynor: one of the few :) | 20:12 |
| fijal | so I guess poland is another | 20:12 |
| Action: lucian wonders if he should be paying taxes in romania | 20:12 | |
| mattip | Maybe SOC has some tax exempt status as it is somehow connected to students, but IANAL | 20:12 |
| lucian | it sounds stupid, double-dipping like that | 20:12 |
| mattip | whoops IANAA (accountant) | 20:12 |
| jerith | Perhaps they just want a return stating that you have no taxable incamoe? | 20:12 |
| jerith | *income | 20:12 |
| lucian | mattip: GSoC participants pay taxes in the country they work in | 20:13 |
| Fluxid | < mattip> The wierder thing is that US citizens must file tax reports even if they live 365 days a year outside the US. | 20:13 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 255 seconds | 20:13 | |
| Fluxid | what, really? | 20:13 |
| mattip | But they are employees of Google USA? | 20:13 |
| Fluxid | damn, i have double citizenship.. | 20:13 |
| lucian | mattip: technically, they're contractors of Google, yes | 20:13 |
| mattip | lucian: but Google has offices locally in many countries. | 20:14 |
| lucian | i know non-US students pay no US taxes (i didn't) | 20:14 |
| lucian | mattip: regardless, everyone deals with Google US for GSoC | 20:14 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 20:15 | |
| mattip | OK, I dunno. I only know that it was a real pain to find an accountant here (Israel) that understands dual citizenship and taxes. | 20:15 |
| Alex_Gaynor | huh, I'm a little surprised, that's a pretty sizable group of people, though I know at least one person who uses an american accountant because that's easier | 20:16 |
| RiaanFV (~riaanfv@41-132-169-26.dsl.mweb.co.za) left irc: Quit: Leaving | 20:16 | |
| mattip | Well, alot of people (like Fluxid) don't really know/care about the obligations. I happen to be a stickler for filing correctly. The IRS only takes notice if you are a big fish. | 20:18 |
| Action: fijal is not particularly big | 20:18 | |
| Fluxid | well i live outside us since i'm 3, and work/pay taxes in poland, i thought i don't need to do anythin. mattip how can i find some info about this? | 20:19 |
| mattip | I even make a FBAR declaration http://www.irs.gov/businesses/small/article/0,,id=210244,00.html | 20:21 |
| Action: mattip looking at irs website for Fluxid | 20:21 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 252 seconds | 20:23 | |
| mattip | Fluxid: start here http://www.irs.gov/businesses/small/international/article/0,,id=97324,00.html | 20:23 |
| fijal | Alex_Gaynor: checkins like 6c4b9c3bc0d6 are utter nonsense | 20:23 |
| fijal | I want my way to check loops back | 20:23 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 20:24 | |
| Fluxid | mattip: thanks | 20:24 |
| Alex_Gaynor | fijal: well, not totally useless | 20:24 |
| fijal | no? | 20:24 |
| fijal | I mean we'll break such things all the time | 20:24 |
| Alex_Gaynor | the test still makes the assertion we want | 20:24 |
| fijal | did you look at traces? | 20:24 |
| fijal | does it? | 20:25 |
| Alex_Gaynor | it also makes a bunch of other unimportant ones | 20:25 |
| fijal | what does it mean we have 2 extra guards class? | 20:25 |
| Alex_Gaynor | yes, it has float_add: 4, it would be float_add: 8 if it was wrong | 20:25 |
| Alex_Gaynor | or something like that | 20:25 |
| mattip (chatzilla@bzq-79-180-110-4.red.bezeqint.net) left #pypy. | 20:25 | |
| Alex_Gaynor | fijal: that's the unimportant extra assertion | 20:25 |
| Action: fijal heavily doubts that | 20:25 | |
| fijal | I just skip them | 20:25 |
| fijal | because it's nonsense to keep them around | 20:25 |
| Alex_Gaynor | well, then we don't know if it's broken | 20:25 |
| fijal | we don't know either way | 20:26 |
| Alex_Gaynor | yes you do, because you can tell by reading traces | 20:26 |
| fijal | if some operation is no longer moved to the preamble only, the number stays the same, no? | 20:26 |
| fijal | there are many ways you can organize the same number of resops | 20:26 |
| Alex_Gaynor | yes, but that's not what this test is about | 20:26 |
| fijal | and not all of them are equally good | 20:26 |
| Alex_Gaynor | Yes, we have other tests for that stuff though | 20:27 |
| fijal | it used to be about that, it's not about that any more | 20:27 |
| Alex_Gaynor | no it's not | 20:27 |
| Alex_Gaynor | this one is specifically about what do I do if part of the tree was precomputed | 20:27 |
| fijal | eh | 20:27 |
| fijal | then make it float_add=4 | 20:28 |
| fijal | if this is what you're checking | 20:28 |
| linq (~ident@24-246-25-39.cable.teksavvy.com) joined #pypy. | 20:32 | |
| Nick change: Gulaway -> Gulopine | 20:52 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 268 seconds | 20:57 | |
| arigato | Alex_Gaynor, fijal: hakanardo said the jit-targets branch is getting ready to be merged | 21:01 |
| Alex_Gaynor | Cool | 21:01 |
| arigato | just wanted to tell you :-) | 21:01 |
| arigato | the micronumpy test with obscure "getfield_gc=41" can then be made more precise | 21:02 |
| arigato | I mean, we need to invent something else, but at least it's better than now because it's about to break due to the jit-targets merge | 21:02 |
| fijal | cool | 21:03 |
| etrepum (~bob@69-9-57-57.static.logl001.digis.net) left irc: Quit: etrepum | 21:10 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) joined #pypy. | 21:12 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 21:13 | |
| fijal | arigato: just merge it then maybe? | 21:20 |
| fijal | arigato: I'm fine with skipping the obscure merge for now | 21:20 |
| fijal | er | 21:20 |
| fijal | the obscure failure | 21:20 |
| fijal | I'm refactoring stuff so it would not be so reliant on preamble anyway | 21:20 |
| arigato | :-) | 21:24 |
| arigato | I'll leave hakanardo decide when it's ready for merge | 21:25 |
| arigato | but today we fixed probably the last failures | 21:25 |
| arigato | it'll make bivab unhappy though, because it's yet another change for the arm backend :-/ | 21:26 |
| mtigas (~mtigas@c-67-185-214-42.hsd1.wa.comcast.net) joined #pypy. | 21:27 | |
| mtigas (~mtigas@c-67-185-214-42.hsd1.wa.comcast.net) left irc: Client Quit | 21:28 | |
| tumbleweed | why does pypy ship two unicodedata versions? | 21:28 |
| mtigas (~mtigas@c-67-185-214-42.hsd1.wa.comcast.net) joined #pypy. | 21:29 | |
| etrepum (~bob@c-76-27-62-239.hsd1.ut.comcast.net) joined #pypy. | 21:31 | |
| fijal | arigato: and ppc one | 21:40 |
| fijal | arigato: what we miss for having arm in trunk though? | 21:40 |
| fijal | other than a buildbot | 21:40 |
| ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving... | 21:40 | |
| fijal (~fijal@41.49.224.41) left irc: Read error: Connection reset by peer | 21:41 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 21:47 | |
| mtigas (~mtigas@c-67-185-214-42.hsd1.wa.comcast.net) left irc: Quit: mtigas | 21:48 | |
| arigato | fijal (for the logs): we fixed friday what was probably the last bug in arm, | 21:57 |
| arigato | so now it should land in trunk very soon | 21:57 |
| Alex_Gaynor | Do we have a buildbot? | 21:57 |
| arigato | (of course, the last bug before the next one) | 21:57 |
| arigato | no, that's annoying too | 21:58 |
| Alex_Gaynor | :/ if we have no buildbot it'll go out of date | 21:58 |
| arigato | yes | 21:58 |
| arigato | maybe it's possible to set up something completely based on a virtual machine | 21:58 |
| Alex_Gaynor | that'd be ok, we couldn't test on speed, but we could do everything else | 21:58 |
| Alex_Gaynor | which is good enough IMO | 21:59 |
| arigato | bivab was using a combination of a VM and of a real beegle board | 21:59 |
| arigato | yes, hopefully | 21:59 |
| arigato | but of course just installing the VM is a major issue and depends on the platform | 21:59 |
| Rhyolite | arigato: there probably is more opportunity for PyPy with 64-bit ARMv8, but ARMv8 ISA is a complete rewrite | 21:59 |
| arigato | 64-bit ARMv8 are still future hardware only, or are they available now? | 22:00 |
| Rhyolite | not available now | 22:01 |
| Rhyolite | but some vendors say they have designs | 22:01 |
| Rhyolite | that will be much more powerful for self-hosted systems | 22:01 |
| Action: lucian has an arm laptop he might be able to set up as a buildslave | 22:02 | |
| arigato | well, anyway, what we would really like is someone that knows how to install and maintain a VM on Linux, for ARMv7 for now | 22:02 |
| lucian | i'd rather sell it though, frankly | 22:02 |
| arigato | a VM on a Linux server machine is the best way to go | 22:03 |
| Rhyolite | arigato: yes. It will be easier to set up build bots for PPC | 22:03 |
| arigato | I'm rather unhappy even about the Macs: although we have a buildbot for OS/X 64, it's not a server, so we can't completely rely on it and log in at any time to try stuff | 22:04 |
| arigato | Rhyolite: yes | 22:04 |
| Alex_Gaynor | arigato: we should talk to whoever does the CPython buildbots about sharing them | 22:04 |
| arigato | my opinion is still that a VM is best, and once we have a VM, installing it on this or that machine doesn't really change much I hope | 22:06 |
| arigato | in other words the issue is not about sharing machines with the CPython buildbots, but just having someone that cares about the VM | 22:06 |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy. | 22:07 | |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy | 22:10 | |
| Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Quit: Lost terminal | 22:11 | |
| jterrace | Alex_Gaynor: added another pull request for uints and fromstring: https://bitbucket.org/pypy/pypy/pull-request/16/ | 22:11 |
| jterrace | promise all the tests pass this time | 22:11 |
| jterrace | the formatting of my list got messed up, seems like i cant update the description? | 22:11 |
| lucian | arigato: an emulated vm you mean? | 22:12 |
| arigato | lucian: yes | 22:12 |
| lucian | won't that be too slow to be practical? | 22:13 |
| lucian | the android emulator is stupid slow, for example | 22:13 |
| lucian | and that's just qemu | 22:13 |
| gsnedders | arigato: 64-bit ARM hardware is a fair way off shipping. Cortex A15 is still to start shipping, and the 64-bit stuff is the generation after. | 22:15 |
| Action: tumbleweed debugs arm stuff under qemu-user chroots. It's slow, but esp. for things that parellise, it's not that bad. | 22:16 | |
| tumbleweed | I'm happy to try a pypy build and see how long it takes :P | 22:16 |
| gsnedders | QEMU runs at about half the speed on a BeagleBoard on a fairly high-end Core 2 Duo, IIRC | 22:16 |
| gsnedders | tumbleweed: For building you're better off cross-compiling, the only thing you want to do on ARM is test the build. | 22:16 |
| tumbleweed | gsnedders: right, I do distro-packaging stuff, so we are always doing everything native | 22:17 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 22:17 | |
| gsnedders | Also for testing ARM you have the question of whether you test on hardware with NEON/VFP | 22:17 |
| gsnedders | tumbleweed: What's the gain in doing it on the actual hardware? | 22:17 |
| tumbleweed | gsnedders: we want every architecture to be self-hosting | 22:18 |
| gsnedders | tumbleweed: Ah, so it's just a matter of making sure it is self-hosting. | 22:18 |
| amaury_ | Hi, I'm still trying to embed 2 object spaces in a single translation | 22:18 |
| gsnedders | In the more general case, it doesn't seem worthwhile checking a compiler on ARM itself can compile the ARM build. | 22:19 |
| tumbleweed | practically, that means we (debian) have the resources to do everything native (porterboxes and buildds for every arch) | 22:19 |
| amaury_ | But it fails around multimethods | 22:19 |
| lucian | gsnedders: for now | 22:19 |
| amaury_ | similar to this test: http://paste.pocoo.org/show/519024/ | 22:19 |
| gsnedders | lucian: Which part? | 22:19 |
| lucian | gsnedders: self-hostiness. it will matter if arm becomes mainstream for desktop-ish machines | 22:20 |
| amaury_ | can PBCs be inherited? | 22:20 |
| gsnedders | lucian: It doesn't for PyPy's case, surely? Doesn't it seem reasonable to assume an ARM build of gcc will work just as well as an x86_64 build of gcc, both with an ARM-generating backend? | 22:21 |
| gsnedders | If there's any issue on ARM but not when cross-compiling, that's a gcc bug. | 22:22 |
| amaury_ | hmm, MixedModules can be subclassed | 22:22 |
| amaury_ | but their _freeze_() method returns False | 22:22 |
| Rhyolite | gsnedders: not completely | 22:22 |
| lucian | gsnedders: there are always edge cases | 22:22 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 22:22 | |
| lucian | gsnedders: when PyPy devs develop on ARM hardware, it will matter. but of course, it'll solve itself. i was just nitpicking | 22:23 |
| Rhyolite | gsnedders: there still may be some differences with 32 bit or 64 bit host of gcc | 22:23 |
| gsnedders | Well, I guess there's the case of when you accidentally rely upon something on the host system instead of the arch you are compiling for. | 22:23 |
| Action: gsnedders has most certainly done that | 22:23 | |
| Rhyolite | and possibly some OS features not detected by cross-build environment | 22:23 |
| Action: gsnedders hasn't touched any cross-compilers since setting one up a couple of years back | 22:25 | |
| strtok (strtok@thales.strtok.net) left #pypy. | 22:27 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 22:27 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 22:27 | |
| lucian | can PyPy be cross-compiled? doesn't it depend on the target during translation? | 22:28 |
| lucian | or am i being stupid | 22:28 |
| amaury_ | no cross-compilation at the moment I'm afraid | 22:30 |
| gsnedders | Have fun finding an ARM machine with enough RAM to do the translation! :P | 22:31 |
| tumbleweed | yeah. 2G is not hard to find. More ... :/ | 22:32 |
| tumbleweed | oh, before I forget. I was able to build pypy fine on my 64bit desktop with 6G ram, 2 months ago. But not recently. | 22:32 |
| Shanita (~John@osbk-4db06a58.pool.mediaWays.net) left irc: Read error: Connection reset by peer | 22:34 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 22:35 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 22:35 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/740 | 22:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/166 | 22:36 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/974 | 22:36 |
| Kaskuka (~John@osbk-4db06a58.pool.mediaWays.net) joined #pypy. | 22:37 | |
| Rotund (~joe@184-158-101-126.dyn.centurytel.net) left irc: Quit: Ex-Chat | 22:37 | |
| arigato | no, pypy-for-arm is cross-compiled right now | 22:40 |
| arigato | you need a VM and a way for the translator to inspect the VM's environment instead of the host by running gcc | 22:40 |
| arigato | plus a host that is not completely unrelated to the target | 22:41 |
| arigato | e.g. a 32-bit host, not a 64-bit | 22:41 |
| amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 244 seconds | 22:46 | |
| fox__ (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 22:46 | |
| lucian | arigato: i see | 22:49 |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 22:52 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer | 22:56 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) joined #pypy. | 23:00 | |
| fijal (~fijal@197.172.198.224) joined #pypy. | 23:01 | |
| Nick change: DasIch_ -> DasIch | 23:05 | |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy. | 23:06 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 23:11 | |
| lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Ping timeout: 244 seconds | 23:16 | |
| Nick change: Gulopine -> Gulaway | 23:17 | |
| `fox` (~fox@host48-59-dynamic.48-82-r.retail.telecomitalia.it) left irc: Ping timeout: 244 seconds | 23:21 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. | 23:21 | |
| dracman (~draco@212.255.27.92) left irc: Ping timeout: 252 seconds | 23:21 | |
| dracman (~draco@212.255.19.163) joined #pypy. | 23:22 | |
| kkris (~kris@93-82-47-109.adsl.highway.telekom.at) left irc: Quit: Leaving. | 23:27 | |
| papercrane (~papercran@c-71-202-211-7.hsd1.ca.comcast.net) joined #pypy. | 23:31 | |
| tumbleweed | looks like somone forgot to bump the version number to 1.7 in the docs... | 23:39 |
| fijal (~fijal@197.172.198.224) left irc: Ping timeout: 268 seconds | 23:39 | |
| kenaan | 12alex_gaynor numpy-dtype-refactor-complex 114c4c94b41e24 15/pypy/doc/conf.py: update the version number (technically we're 1.8-pre or something now, but this is at le... | 23:42 |
| Alex_Gaynor | crap, wrong branch | 23:45 |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy | 23:45 | |
| Alex_Gaynor | ah crap wrong branch | 23:45 |
| tumbleweed | heh | 23:46 |
| kenaan | 12alex_gaynor default 1116f29d272911 15/pypy/doc/conf.py: update the version number (technically we're 1.8-pre or something now, but this is at least *more* accureate) | 23:46 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 23:50 | |
| antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 23:51 | |
| --- Sun Dec 11 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!