| etrepum (~bob@12.130.117.37) joined #pypy. | 00:00 | |
| lac | Max lager is very loud. what aboiut the rest? | 00:03 |
|---|---|---|
| voidspace | lac: have you been to the Mary Mac's tea room? | 00:03 |
| lac | no. | 00:03 |
| hpk_ (~hpk@HSI-KBW-109-193-198-175.hsi7.kabel-badenwuerttemberg.de) left irc: Ping timeout: 260 seconds | 00:03 | |
| voidspace | it's southern food - country fried steak, meat loaf, okra, chicken and dumplings, cornbread | 00:03 |
| derdon (~derdon@p54A6ECA2.dip.t-dialin.net) left irc: Ping timeout: 252 seconds | 00:03 | |
| arigato (~arigo@63.133.138.10) joined #pypy. | 00:03 | |
| voidspace | fairly "heavy" but very lovely | 00:04 |
| voidspace | http://www.marymacs.com/ | 00:04 |
| voidspace | it is a 15 minute walk or two marta stops | 00:05 |
| voidspace | there is a very nice sushi place nearly next door to it as well | 00:05 |
| voidspace | and there is always the chinese we went to on the very first day | 00:05 |
| voidspace | any of them would be great for me :-) | 00:05 |
| lac | ok, let us do MaryMacs. | 00:07 |
| lac | meet when, where? | 00:07 |
| nyxtom (~nyxtom@38.108.47.220) left irc: Quit: Computer has gone to sleep. | 00:07 | |
| lac | hmm, actually, its a bad fit for those who do not like fried, correct? | 00:08 |
| voidspace | lac: right | 00:08 |
| lac | then I think I would rather eat someplace else. | 00:08 |
| voidspace | is jacob22_ not a fan of fried? | 00:08 |
| voidspace | oh, ok | 00:08 |
| lac | I'm the one who isn't | 00:08 |
| voidspace | they have some roast meat or seafood dishes - but mostly fried | 00:09 |
| voidspace | or a lot of fried anyway | 00:09 |
| voidspace | the menu is here: http://www.marymacs.com/Portals/0/menus/marymacs_menu_dinner.pdf | 00:09 |
| voidspace | or we choose somewhere else :-) | 00:10 |
| Ademan | I don't think I have hg working properly :-/ | 00:10 |
| jacob22__ | How about Nan Thai Fine dining? 3 metro stops away. A little pricy but rates a 27 for food in the Zagat. | 00:13 |
| kenaan | 12ademan micronumpy 11fbb12ddc3b65 15/: Branch suffered from bad svn merge, micronumpy as it is here is mostly deprecated anyways. | 00:15 |
| voidspace | jacob22_: fine with me... | 00:16 |
| arigato (~arigo@63.133.138.10) left irc: Ping timeout: 252 seconds | 00:21 | |
| htoothrot | did lamback come through with the windows builds or do you still need someone to build nightlies? | 00:27 |
| nettok (~quassel@200.119.156.136) joined #pypy. | 00:28 | |
| mattheww (~mjw@cpc3-cmbg10-0-0-cust455.5-4.cable.virginmedia.com) left irc: Quit: Leaving | 00:28 | |
| alfredodeza (~alfredode@c-24-131-47-167.hsd1.ga.comcast.net) joined #pypy. | 00:31 | |
| alfredodeza | hey guys, I am having issues with the ``codecs`` module | 00:32 |
| alfredodeza | it simply doesn't work under 1.4.1 :( | 00:32 |
| alfredodeza | is this a known issue? | 00:33 |
| alfredodeza | I found that fijal reported this was broken: https://codespeak.net/issue/pypy-dev/issue402 | 00:33 |
| nettok_ (~quassel@200.119.188.207) joined #pypy. | 00:35 | |
| nettok (~quassel@200.119.156.136) left irc: Ping timeout: 264 seconds | 00:36 | |
| Alex_Gaynor (~alex@76-206-244-32.lightspeed.cicril.sbcglobal.net) joined #pypy. | 00:40 | |
| fijal | alfredodeza: hi | 00:43 |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Read error: Connection reset by peer | 00:43 | |
| fijal | Alex_Gaynor: hi | 00:43 |
| alfredodeza | hi fijal | 00:43 |
| fijal | alfredodeza: I think this is fixed on trunk | 00:43 |
| fijal | what sort of issue you have with codecs? | 00:44 |
| alfredodeza | fijal: oh, ok, so this would be in trunk but not in 1.4.1? | 00:44 |
| fijal | I don't know | 00:44 |
| fijal | it really depends what sort of issue you have | 00:44 |
| alfredodeza | fijal: basically the codecs.register(search_function) does not work at all | 00:44 |
| fijal | great | 00:45 |
| alfredodeza | the search function *translates* the encoding and it works perfectly under python2.5 and 2.6 | 00:45 |
| fijal | well, it's really annoying | 00:45 |
| fijal | because cpython tests pass | 00:45 |
| alfredodeza | it does not raise an exception in pypy at all, it just doesn't do any translation | 00:46 |
| fijal | do you feel like coming up with a minimal program that works differently under pypy and under cpython | 00:46 |
| fijal | and putting it in the issue | 00:46 |
| Alex_Gaynor | fijal: hi | 00:46 |
| fijal | can be the same issue for all I care | 00:46 |
| alfredodeza | fijal: so this all stems from a package that I have built, I am not sure I could reproduce it in just a few lines of code | 00:47 |
| alfredodeza | if it doesn't involve my module | 00:47 |
| fijal | alfredodeza: the smaller the better | 00:47 |
| fijal | package is also fine | 00:47 |
| fijal | but less so | 00:48 |
| fijal | (it does take more time to fix on average) | 00:48 |
| alfredodeza | fijal: right. Well I will try to reproduce with as little code as I can and add to the original issue that was reported | 00:48 |
| alfredodeza | fijal: I guess I need to be registered to submit issues right? | 00:49 |
| alfredodeza | fijal: do I need special permissions to re-open closed tickets? | 00:50 |
| alfredodeza | (your issue #402 is closed) | 00:50 |
| fijal | nope | 00:51 |
| fijal | as in no special permissions | 00:52 |
| fijal | you can create a new one as well | 00:53 |
| fijal | whatever is easier | 00:53 |
| alfredodeza | fijal: ok thanks! Just registered but hopefully it will not take me too long to get some examples posted | 00:54 |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) joined #pypy. | 00:58 | |
| __name__ (~name@sburn/devel/name) left irc: Remote host closed the connection | 01:09 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Read error: Connection reset by peer | 01:13 | |
| santagada (~santagada@187.113.192.150) joined #pypy. | 01:16 | |
| santagad_ (~santagada@187.113.192.150) joined #pypy. | 01:18 | |
| Nick change: santagad_ -> santagada_ | 01:19 | |
| santagada (~santagada@187.113.192.150) left irc: Read error: Connection reset by peer | 01:19 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) joined #pypy. | 01:29 | |
| CIA-4 | 03alfredodeza 07roundup * 10#402/codecs are broken in pypy-c: [in-progress] The ``codecs`` module in pypy is behaving differently than CPython 2.5 and 2.6. The issue comes when you want to register a custom ... * 14https://codespeak.net/issue/pypy-dev/issue402 | 01:30 |
| alfredodeza | fijal: I was able to replicate the problem with as little code as possible in 2 files | 01:31 |
| alfredodeza | fijal: hope that helps | 01:31 |
| alfredodeza (~alfredode@c-24-131-47-167.hsd1.ga.comcast.net) left irc: Remote host closed the connection | 01:34 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Read error: Connection reset by peer | 01:44 | |
| santagada (~santagada@187-7-73-104.ggs5102.3g.brasiltelecom.net.br) joined #pypy. | 01:49 | |
| santagada_ (~santagada@187.113.192.150) left irc: Ping timeout: 255 seconds | 01:52 | |
| fenrrir (~fenrrir@187.40.156.195) left irc: Ping timeout: 255 seconds | 01:57 | |
| santagada (~santagada@187-7-73-104.ggs5102.3g.brasiltelecom.net.br) left irc: Read error: Connection reset by peer | 02:00 | |
| santagada (~santagada@187-7-73-104.ggs5102.3g.brasiltelecom.net.br) joined #pypy. | 02:00 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) joined #pypy. | 02:00 | |
| Shinato (~John@osbk-4db1536e.pool.mediaWays.net) joined #pypy. | 02:06 | |
| Kaskuka (~John@osbk-4d0876b9.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 02:06 | |
| squiddy (~squiddy@x027.wh17.tu-dresden.de) left irc: Quit: Leaving | 02:12 | |
| lambacck | in an earlier question it sounded like I could translate just the cpyext (and not the whole interpreter), how would I do that (if it is possible)? | 02:14 |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Read error: Connection reset by peer | 02:14 | |
| DasIch_ (~DasIch@p4FFDE340.dip.t-dialin.net) joined #pypy. | 02:20 | |
| etrepum (~bob@12.130.117.37) left irc: Quit: etrepum | 02:21 | |
| DasIch (~DasIch@p4FFDEF87.dip.t-dialin.net) left irc: Ping timeout: 260 seconds | 02:24 | |
| santagada (~santagada@187-7-73-104.ggs5102.3g.brasiltelecom.net.br) left irc: Remote host closed the connection | 02:27 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) joined #pypy. | 02:33 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Read error: Connection reset by peer | 02:44 | |
| fijal | lambacck: you can't | 02:59 |
| Alex_Gaynor | lambacck: if you're developing it you can run tests though | 03:01 |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 03:02 | |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) joined #pypy. | 03:02 | |
| Alex_Gaynor | fijal: apparently some twisted test is hanging forever, any idea what's up with that? | 03:04 |
| exarkun | twisted.test.test_threadable.SynchronizationTestCase.testThreadedSynchronization | 03:04 |
| Action: exarkun just failed to reproduce it on his laptop, though | 03:04 | |
| Alex_Gaynor | sweeet | 03:04 |
| exarkun | it might be "hard to debug" failure not "it got fixed somewhere" failure | 03:05 |
| Alex_Gaynor | of course :) | 03:05 |
| Action: exarkun sees some other failures though | 03:07 | |
| exarkun | how old is 42589? | 03:07 |
| exarkun | oh right, the test run finished, it's _good_ to see other failures, I forgot :) | 03:08 |
| lac | htoothrot: another windows build would be great | 03:09 |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 03:11 | |
| htoothrot | is there some existing buildbot config that I can copy/look at? | 03:14 |
| Alex_Gaynor | fijal: why are benchmarks running twice tonight? | 03:14 |
| lac | Alex_Gaynor: today you mean? because they didn't run last night. So Armin restarted them when he woke up. Or are they running three times? | 03:16 |
| Alex_Gaynor | lac: they're runing 2x consecutively this evening, the second of which is overlappying with other builds so it iwll get nonsense results | 03:17 |
| lac | armin jacob and I have nothing to do with this, we were just at dinner. I think its an error. | 03:17 |
| lac | can you stop things? | 03:17 |
| Alex_Gaynor | I can abort it from the web UI | 03:17 |
| mcfletch (~mcfletch@CPE0014bf07ffd2-CM001ac30d4aca.cpe.net.cable.rogers.com) left irc: Quit: Leaving. | 03:18 | |
| Alex_Gaynor | nvm it just finished running | 03:18 |
| Alex_Gaynor | I suppose its fine | 03:18 |
| lac | htoothrot: amaury_ would know where one was. I don't. Maybe Alex or fijal does? | 03:19 |
| Alex_Gaynor | htoothrot: there's a repo on bitbucket, not sure if it contains the client configs | 03:19 |
| arigato (~arigo@63.133.138.10) joined #pypy. | 03:25 | |
| htoothrot | yeah, poked around there, but i don't see any of the slave configs, i'll check with amaury tomorrow, I won't be able to set it up until this weekend anyways | 03:29 |
| nettok_ (~quassel@200.119.188.207) left irc: Ping timeout: 250 seconds | 03:32 | |
| Moku (~John@osbk-4db15276.pool.mediaWays.net) joined #pypy. | 03:47 | |
| Trundle (~andy@python/site-packages/trundle) left irc: Remote host closed the connection | 03:47 | |
| lac | htoothrot: thank you very much. | 03:48 |
| Shinato (~John@osbk-4db1536e.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 03:48 | |
| davisagli (~davisagli@davisagli.com) left irc: Excess Flood | 03:58 | |
| davisagli (~davisagli@davisagli.com) joined #pypy. | 03:58 | |
| lac (~quassel@63.133.138.10) left irc: Read error: Connection reset by peer | 04:04 | |
| lac (~quassel@63.133.138.10) joined #pypy. | 04:05 | |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) left irc: Read error: Operation timed out | 04:05 | |
| s00fla (~root@li264-16.members.linode.com) joined #pypy. | 04:14 | |
| Alex_Gaynor | lac: you guys broke the tests, badly: http://buildbot.pypy.org/summary?branch=%3Ctrunk%3E | 04:15 |
| Alex_Gaynor | It may make sense to replace all those tests with a sphinx build though | 04:15 |
| Alex_Gaynor | sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html | 04:16 |
| Alex_Gaynor | sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees . {envtmpdir}/linkcheck | 04:16 |
| Alex_Gaynor | is a pretty good setup for getting any issues | 04:16 |
| lac | well, since we renamed all the files, it would make sense they all broke. | 04:19 |
| Alex_Gaynor | that fine, but the then the tests should be opdated :) | 04:22 |
| daniloaf (~daniloaf@189.71.125.186) left irc: Remote host closed the connection | 04:22 | |
| lac | yes, I forgot about them. I'm sorry. | 04:22 |
| daniloaf (~daniloaf@189.71.125.186) joined #pypy. | 04:22 | |
| Moku (~John@osbk-4db15276.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 04:24 | |
| Moku (~John@osbk-4db15795.pool.mediaWays.net) joined #pypy. | 04:24 | |
| fijal (~fijal@71-208-188-71.hlrn.qwest.net) left irc: Ping timeout: 240 seconds | 04:25 | |
| lac | yes, config/test_makerestdoc.py is all about how we aren't generating the docs now | 04:27 |
| Alex_Gaynor | :) | 04:28 |
| brad_smith (~brad_smit@ip68-98-36-157.ph.ph.cox.net) joined #pypy. | 04:28 | |
| lac | and config/test_pypyoption.py has a separate bit for testing the existence of doc files, and I wasn't even aware of this. | 04:30 |
| lac | Ok, something to do tomorrow. right now I am too fried. but it should be quite easy to make the errors go away. deciding how we really want to test the new sphinx stuff will take more thought and consensus building. | 04:31 |
| exarkun | dunno if this will make any difference, but Twisted is about to switch to sphinx and someone is going to be writing a bunch of unit tests for automating sphinx doc building for our release process | 04:34 |
| fijal (~fijal@71-208-182-156.hlrn.qwest.net) joined #pypy. | 04:38 | |
| Alex_Gaynor | exarkun: my 2 lines are pretty effective :) | 04:38 |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) joined #pypy. | 04:38 | |
| exarkun | Alex_Gaynor: How can I be sure! Where is the unit test! | 04:39 |
| exarkun | :) | 04:39 |
| Alex_Gaynor | exarkun: subprocess.Popen or somehthing :) | 04:40 |
| exarkun | I don't really know what kind of thing lac was thinking of, just thought I'd throw the coincidence out there | 04:40 |
| Alex_Gaynor | for comparison Django doesn' unit test our docs | 04:40 |
| Hodgestar (~Hodgestar@gluon.za.net) left irc: Ping timeout: 250 seconds | 04:43 | |
| arigato (~arigo@63.133.138.10) left irc: Quit: See you | 04:44 | |
| Hodgestar (~Hodgestar@gluon.za.net) joined #pypy. | 04:45 | |
| voidspace (~voidspace@python/psf/voidspace) left irc: Quit: voidspace | 04:46 | |
| pingveno | I've tracking the status of the PEP to add in a /usr/bin/python2 symlink for CPython. Will Pypy add in something like that? | 04:53 |
| Alex_Gaynor | pingveno: we don't presently have an install script, so I don't know | 04:55 |
| pingveno | Ah, so there really isn't a standard executable name to begin with? | 04:56 |
| exarkun | the standard name is pypy/translator/goal/pypy-c ;) | 04:57 |
| Alex_Gaynor | exarkun: in the release builds its just pypy | 04:58 |
| pingveno | Yeah, that's what I was thinking of when I said no standard name. | 05:00 |
| pingveno | In the future, perhaps add in a pypy2? | 05:00 |
| daniloaf (~daniloaf@189.71.125.186) left irc: Quit: Saindo | 05:02 | |
| daniloaf (~daniloaf@189.71.125.186) joined #pypy. | 05:03 | |
| Alex_Gaynor | ATM there isn't any ambiguity | 05:03 |
| Alex_Gaynor | pingveno: of more value, IMO, would be asking the virtualenv maintainers to have it add python2 | 05:04 |
| exarkun | I think a motivation of the PEP is that the python2 name should be available so that people can start using it | 05:04 |
| exarkun | So that by the time there is ambiguity you have already avoided it. | 05:04 |
| pingveno | That's what I was pondering with adding a pypy2, even before PyPy implements Python 3. | 05:06 |
| Shanita (~John@osbk-4db157b4.pool.mediaWays.net) joined #pypy. | 05:07 | |
| Moku (~John@osbk-4db15795.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 05:07 | |
| pingveno | Allow people to have a shebang that dependably points to PyPy implementing Python 2. | 05:07 |
| exarkun | PyPy could just as easily say that it will always call the Python 2 executable "pypy" and the Python 3 executable "pypy3" | 05:08 |
| pingveno | It does have the luxury of not already having Arch screwing around with it :P | 05:09 |
| jacob22__ (~jacob@63.133.138.10) left irc: Ping timeout: 250 seconds | 05:09 | |
| Alex_Gaynor | exarkun: I do believe that's what cpython said :) | 05:11 |
| exarkun | Alex_Gaynor: Clearly not | 05:11 |
| Alex_Gaynor | fijal: what's "abort bad loop"? | 05:12 |
| pingveno | Wasn't the problem more that there wasn't an official policy to start with, so people did whatever they felt like? | 05:13 |
| pingveno | Their gut feeling! | 05:14 |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep. | 05:18 | |
| Kaskuka (~John@osbk-4d08b10d.pool.mediaWays.net) joined #pypy. | 05:20 | |
| Shanita (~John@osbk-4db157b4.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 05:21 | |
| daniloaf (~daniloaf@189.71.125.186) left irc: Quit: Saindo | 05:25 | |
| etrepum (~bob@c-67-180-34-190.hsd1.ca.comcast.net) joined #pypy. | 05:34 | |
| cco3 (~conley@c-69-181-140-72.hsd1.ca.comcast.net) left irc: Ping timeout: 250 seconds | 05:45 | |
| nyxtom (~nyxtom@67.205.234.176) joined #pypy. | 05:46 | |
| carljm (~carljm@spinach.threepines.org) left irc: Quit: leaving | 05:49 | |
| carljm (~carljm@spinach.threepines.org) joined #pypy. | 05:50 | |
| Alex_Gaynor | fijal: what are the semantics of int_divide(i0, i1) where i1 is 0? | 06:12 |
| Shinato (~John@osbk-4d08b10d.pool.mediaWays.net) joined #pypy. | 06:33 | |
| Kaskuka (~John@osbk-4d08b10d.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 06:33 | |
| hakanardo_ | antocuni: yes the test_array_sum* tests check the interaction between the jit and the array | 06:40 |
| hakanardo_ | different array types require different support in the jit backend | 06:40 |
| hakanardo_ | I remember having problem with 'f'-arrays (32 bit floats) for example, that armin fixed in the jit backend if I remember correctly... | 06:41 |
| hakanardo_ | so I think we need some tests that verifies that the jit support all the operations needed by al types of arrays | 06:42 |
| Alex_Gaynor | hakanardo: eh, FWIW every time I compile (on 32-bit) I get a bunch of messages about the JIT not supporting single floats | 06:44 |
| hakanardo_ | ok, I don't know but I would guess there is just enough support to make the array work | 06:46 |
| Action: Alex_Gaynor shrugs | 06:47 | |
| hakanardo_ | i.e maybe something getitem and setitem support but no arithmetics? | 06:47 |
| Alex_Gaynor | I thought I saw a messages about steitem not getting jitcode, but maybe not | 06:47 |
| Ademan | color me annoyed, I have three failures in pypy/jit/metainterp/test with my code disabled, were those tests broken in default recently? | 06:52 |
| Ademan | er, two of those tests are mine, one is in test_virtual | 06:53 |
| Alex_Gaynor | Ademan: metainterp/test_virtual is clena for me | 06:59 |
| Ademan | Alex_Gaynor: yeah for me too currently, I'm wondering about around the time I branched though. I've probably broken something obscurely, but it'd have to be a *very* obscure break to affect tests when I've cut out my optimizeopt | 07:00 |
| Alex_Gaynor | shrug, merge in default | 07:01 |
| Ademan | Alex_Gaynor: I've been scared of merging since before the hg transition. hg merge -r default ? | 07:02 |
| nekto0n_ (c397cf21@gateway/web/freenode/ip.195.151.207.33) joined #pypy. | 07:03 | |
| Alex_Gaynor | hg merge default I think | 07:03 |
| antocuni (~antocuni@host17-122-dynamic.0-79-r.retail.telecomitalia.it) joined #pypy. | 07:08 | |
| nekto0n_ | hi there! I'm trying to build cx_Oracle on Win Xp machine, and setup.py says "error: Unable to find vcvarsall.bat" | 07:21 |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) left irc: Read error: Connection reset by peer | 07:21 | |
| Alex_Gaynor | nekto0n_: there's actually an RPython cx_Oracle equivilant, it may be easier to build pypy using that then to try to use the C version | 07:23 |
| nekto0n_ | Alex_Gaynor: if cx_Oracle is written in RPython, so it must be already in the binary? | 07:25 |
| Alex_Gaynor | nekto0n_: yes, RPython modules must be included at translation time, however oracle is not included by default | 07:25 |
| nekto0n_ | Alex_Gaynor: Oh... I'm afraid pypy is too memory hungry, I'm not sure if I can translate it. What about C version? :) | 07:27 |
| Alex_Gaynor | nekto0n_: not sure, when amaury gets on you might ask him if he has a binary included cx_oracle (he wrote it) | 07:27 |
| nekto0n_ | Alex_Gaynor: what is wrong with "vcvarsall.bat", I think there's a problem with %PATH% or something, can someone look at it? I will provide all info you need | 07:30 |
| Alex_Gaynor | nekto0n_: I can't help with this, sorry, I know nothing about oracle or windows | 07:32 |
| nekto0n_ | Alex_Gaynor: no no no, I think it's pypy who complains about vcvarsall.bat, cause I could find that string in cx_Oracle sources | 07:34 |
| Alex_Gaynor | I'm falling back to "I know nothing about windows" then :/ | 07:34 |
| nekto0n_ | Alex_Gaynor: oh, I accept this :) | 07:35 |
| Alex_Gaynor | nekto0n_: :) | 07:36 |
| antocuni | nekto0n_: AFAIK, vcvars.bat is distributed with visual studio | 07:39 |
| antocuni | not sure how it is supposed to be found by the installation script | 07:40 |
| Alex_Gaynor | antocuni: E OSError: [Errno 24] Too many open files; when running the new pypy_c tests | 07:40 |
| antocuni | uh? | 07:40 |
| Action: antocuni looks | 07:40 | |
| antocuni | no clue about it | 07:43 |
| nekto0n_ | antocuni: I've got this script, even appended it to the path, but no luck | 07:44 |
| antocuni | nekto0n_: no clue then, sorry (I'm in the same corner as alex -- "know nothing about windows") | 07:44 |
| Alex_Gaynor | antocuni: can you reproduce the error? | 07:44 |
| antocuni | Alex_Gaynor: the only file that I open is enclosed by a with statement | 07:44 |
| Action: antocuni downloads the last nightly | 07:45 | |
| Alex_Gaynor | antocuni: could it be the subprocess? | 07:46 |
| antocuni | maybe | 07:46 |
| antocuni | but, in that case, it means that subprocess needs to be fixed probably | 07:46 |
| antocuni | because it leaks | 07:46 |
| nyxtom (~nyxtom@67.205.234.176) left irc: Ping timeout: 240 seconds | 07:47 | |
| antocuni | nekto0n_: I can build a pypy with cx_oracle if you want | 07:48 |
| antocuni | but only for linux | 07:48 |
| kkris (~kris@93-82-42-106.adsl.highway.telekom.at) joined #pypy. | 07:48 | |
| nekto0n_ | antocuni: that would be nice! | 07:48 |
| Alex_Gaynor | antocuni: could this gc_was_enabled stuff prevetn desctructors closing files in pypy? | 07:49 |
| antocuni | Alex_Gaynor: yesish. IIRC, gc.disable in pypy disables destructors | 07:50 |
| Alex_Gaynor | I wonder what the reason for that is, seems a bit pointless | 07:50 |
| antocuni | Alex_Gaynor: but anyway it seems that subprocess always reset gc.enabled, so I'm not sure it's an issue | 07:51 |
| antocuni | and the test works fine on my machine | 07:51 |
| Alex_Gaynor | :/ | 07:51 |
| antocuni | nekto0n_: do you want linux 32 bit or linux 64 bit? | 07:51 |
| nekto0n_ | nekto0n_: 32 | 07:52 |
| Alex_Gaynor | antocuni: how many tests fail for you? | 07:52 |
| antocuni | Alex_Gaynor: on test_pypy_c_new? They all pass | 07:52 |
| antocuni | (on 64 bit | 07:52 |
| antocuni | ) | 07:52 |
| Alex_Gaynor | antocuni: ah wonderful :) there are failures for me on 32 bit | 07:53 |
| antocuni | how many? On buildbot, there is one | 07:53 |
| antocuni | (other than this too many files) | 07:53 |
| Alex_Gaynor | ah I should mention that my trunk is currently modified | 07:53 |
| Alex_Gaynor | I was trying to optimize func_defaults | 07:53 |
| nekto0n_ | btw, not so long ago (about a month) I tried to translate pypy into binary on Ubuntu x64 and 4Gb of RAM, almost succeded, but when gcc started - my memory was exhausted, can pypy release memory after C code has been generated? | 07:53 |
| Alex_Gaynor | antocuni: http://paste.pocoo.org/show/355429/ | 07:54 |
| MostAwesomeDude | nekto0n_: It used to be that you could go into the temp folder and run make yourself; dunno if that's still possible. | 07:54 |
| antocuni | nekto0n_: translation on 64 bit with 4GB of RAM should "just work" | 07:55 |
| nekto0n_ | MostAwesomeDude: ah, sure, almost forgot about that. But still, is it rational to keep all that memory? | 07:56 |
| nekto0n_ | antocuni: you mean "with 4Gb and swap enabled"? :) | 07:56 |
| MostAwesomeDude | nekto0n_: Dunno how it's gonna release all that RAM, exactly. | 07:56 |
| antocuni | nekto0n_: yes, I fear you need swap, even if then you don't actually use it | 07:56 |
| antocuni | because fork() does copy-on-write | 07:57 |
| antocuni | Alex_Gaynor: what's that? | 07:57 |
| Alex_Gaynor | antocuni: patch i wrote/am testing | 07:57 |
| Alex_Gaynor | antocuni: the idea is to turn Function.w_defaults into a W_TupleObject so the JIT always sees the array as being constant | 07:57 |
| antocuni | I see | 07:58 |
| antocuni | Alex_Gaynor: you cannot use w_defs.wrappeditems | 07:58 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 07:58 | |
| Alex_Gaynor | why not? and is there another way to get the values so the JIT can see it as constant | 07:58 |
| antocuni | Alex_Gaynor: because in theory you cannot know the precise type returned by space.newtuple | 07:59 |
| Alex_Gaynor | I suppose my usage of W_TupleObject is therefore illegal as well | 07:59 |
| antocuni | yes | 08:00 |
| antocuni | Alex_Gaynor: I think it's fine to do that for experimenting | 08:00 |
| antocuni | and see if you actually get good speedups | 08:00 |
| Alex_Gaynor | reading a simple trace it looks like it more or less works | 08:00 |
| antocuni | but then, before merging you should encapsulate all of that in some space method | 08:01 |
| antocuni | ah, cool | 08:01 |
| Alex_Gaynor | not sure how to really benchmark it though, ideally I could push to a branch and let speed.pypy figure it out | 08:01 |
| antocuni | well, if traces look better, then it's already good :-) | 08:02 |
| Alex_Gaynor | yes, I wonder if it's messing up the tests because its moving stuff around | 08:03 |
| antocuni | Alex_Gaynor: also, I'm a bit confused | 08:04 |
| antocuni | you never promote self.w_defs | 08:04 |
| antocuni | how can the jit know that it's constant? | 08:04 |
| nekto0n_ | antocuni: do you use fork directly or popen to invoke a compiler? popen uses exec*() and thus new process shouldn't as much virtual memory as parent did. | 08:04 |
| Alex_Gaynor | antocuni: yes I do w_defs = jit.hint(self.w_defs, promote=True) | 08:04 |
| antocuni | ah, overlooked that | 08:05 |
| antocuni | Alex_Gaynor: also, do this code work with your patch? http://paste.pocoo.org/show/355432/ | 08:08 |
| Alex_Gaynor | antocuni: it gets assigned | 08:09 |
| antocuni | ok | 08:09 |
| Alex_Gaynor | what the behavior is supposd to be for that I don't even know | 08:09 |
| antocuni | Alex_Gaynor: no clue either :-) | 08:11 |
| Alex_Gaynor | I guess its a question of whether CPython uses PyTuple_GetItme or PyObject_GetItem | 08:11 |
| Alex_Gaynor | (or heraps PyTuple_Check vs PyTuple_CheckExact) | 08:12 |
| antocuni | anyway, your patch seems fine, if you encapsulate the usage of wrappeditems and W_TupleObject inside the space | 08:12 |
| antocuni | Alex_Gaynor: this snippet prints 4: http://paste.pocoo.org/show/355435/ | 08:12 |
| antocuni | not sure if it's sane or not :-) | 08:12 |
| Alex_Gaynor | antocuni: on CPython? | 08:12 |
| antocuni | yes | 08:12 |
| Alex_Gaynor | antocuni: that's fine I guess, depends what happens when you override __getitem__ :) | 08:13 |
| antocuni | and also on pypy | 08:13 |
| Moku (~John@osbk-4d08b10d.pool.mediaWays.net) joined #pypy. | 08:26 | |
| Shinato (~John@osbk-4d08b10d.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 08:27 | |
| ronny (~ronny@pida/ronny) joined #pypy. | 08:27 | |
| kkris (~kris@93-82-42-106.adsl.highway.telekom.at) left irc: Quit: Leaving. | 08:32 | |
| squiddy (~squiddy@x027.wh17.tu-dresden.de) joined #pypy. | 08:35 | |
| nekto0n_ | is ssl module disabled in pypy-1.4.1-windows? | 08:43 |
| antocuni | nekto0n_: unfortunately, to build pypy with the oracle module you need an oracle client installed | 08:43 |
| antocuni | thus, I cannot, sorry | 08:43 |
| nekto0n_ | antocuni: thanks for the effort, I'll try to enable swap and translate it myself, how do I enable oracle support? | 08:45 |
| Alex_Gaynor | pypy/translator/goal/translate.py -Ojit pypy/translator/goal/targetpypystandalone.py --withmod-oracle | 08:46 |
| antocuni | nekto0n_: ./translate.py -Ojit targetpypystandalone.py --withmod-oracle | 08:46 |
| verte (~verte@python/site-packages/verte) joined #pypy. | 08:46 | |
| antocuni | nekto0n_: also, "Please set ORACLE_HOME to the root of an Oracle client installation" | 08:46 |
| nekto0n_ | antocuni: roger that | 08:47 |
| verte | is there a standard way to override the annotation on the return value of the method? | 08:47 |
| verte | mmh I'll try to remove this special case instead | 08:50 |
| Alex_Gaynor | verte: ExtRegistry or something like that | 08:50 |
| verte | ah, could go that route | 08:51 |
| verte | think I will just create llmemory.InvalidArrayLengthOffset | 08:52 |
| verte (~verte@python/site-packages/verte) left irc: Ping timeout: 252 seconds | 09:02 | |
| michaelh (c1beac85@gateway/web/freenode/ip.193.190.172.133) joined #pypy. | 09:03 | |
| Alex_Gaynor (~alex@76-206-244-32.lightspeed.cicril.sbcglobal.net) left irc: Ping timeout: 255 seconds | 09:07 | |
| hpk_ (~hpk@HSI-KBW-109-193-198-175.hsi7.kabel-badenwuerttemberg.de) joined #pypy. | 09:16 | |
| verte (~verte@python/site-packages/verte) joined #pypy. | 09:19 | |
| Alex_Gaynor (~alex@76-206-244-32.lightspeed.cicril.sbcglobal.net) joined #pypy. | 09:21 | |
| verte (~verte@python/site-packages/verte) left irc: Client Quit | 09:21 | |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Quit: bivab | 09:36 | |
| antocuni | Alex_Gaynor: indeed, this snippet fails with "too many open files" on pypy | 09:46 |
| antocuni | ah, but it works if I explicitly do pipe.std{out,err}.close() | 09:48 |
| kkris (~kris@80-123-34-145.adsl.highway.telekom.at) joined #pypy. | 09:49 | |
| antocuni | btw, I think that subprocess.Popen objects should be context managers, so one could use "with" to automatically handle that | 09:52 |
| kenaan | 12antocuni default 11491a8d97fba5 15/pypy/module/pypyjit/test_pypy_c/test_model.py: use communicate() to make sure that stdout/err are actually closed, else we leak file descriptors | 09:55 |
| kenaan | 12antocuni default 115d58c1ce7fc4 15/pypy/doc/: merge heads | 09:55 |
| antocuni | ok, the "too many files" error should be fixed now | 09:56 |
| nekto0n_ (c397cf21@gateway/web/freenode/ip.195.151.207.33) left irc: Ping timeout: 252 seconds | 10:00 | |
| CIA-4 | 03afa 07roundup * 10#402/codecs are broken in pypy-c: To decode a source file, pypy calls: unicode(text, encoding) When CPython uses the equivalent of: codecs.getreader(encoding)(input_stream).r ... * 14https://codespeak.net/issue/pypy-dev/issue402 | 10:01 |
| Moku (~John@osbk-4d08b10d.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 10:04 | |
| Shanita (~John@osbk-4db15322.pool.mediaWays.net) joined #pypy. | 10:04 | |
| lac (~quassel@63.133.138.10) left irc: Ping timeout: 276 seconds | 10:10 | |
| Guest19749 (~kost-bebi@195.95.210.229) joined #pypy. | 10:12 | |
| Nick change: Guest19749 -> kost-bebix | 10:12 | |
| amaury_ (5bc3480e@gateway/web/freenode/ip.91.195.72.14) joined #pypy. | 10:17 | |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) left irc: Read error: Connection reset by peer | 10:17 | |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) joined #pypy. | 10:17 | |
| verte (~verte@python/site-packages/verte) joined #pypy. | 10:22 | |
| verte2 (~verte@120.154.221.62) joined #pypy. | 10:23 | |
| verte2 (~verte@120.154.221.62) left irc: Client Quit | 10:23 | |
| Kaskuka (~John@osbk-4db16b0e.pool.mediaWays.net) joined #pypy. | 10:29 | |
| Shanita (~John@osbk-4db15322.pool.mediaWays.net) left irc: Ping timeout: 255 seconds | 10:29 | |
| Action: antocuni found a suboptimal trace produced by the jit | 10:41 | |
| antocuni | http://paste.pocoo.org/show/355469/ | 10:41 |
| antocuni | in theory, the second guard could be avoided because it's the same as the first one | 10:41 |
| antocuni | although the JIT is not aware of it | 10:41 |
| antocuni | ah no, of course in theory the length of array could be mutated inside the loop, and thus we still need the guard | 10:44 |
| kenaan | 12antocuni default 116dfd34bb257f 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: port and adapt test_array_sum from test_pypy_c | 10:48 |
| kenaan | 12antocuni default 11cd14b43b01e4 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: remove the XXX, it does not make any sense :-) | 10:49 |
| antocuni | the nice thing of being alone on working on pypy today is that I can push freely without having to merge :-) | 10:49 |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) left irc: Read error: Connection reset by peer | 11:05 | |
| hakanardo_ | antocuni: identifying that i9 is loop invariant and thus know that the length is constant should not be hard | 11:05 |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) joined #pypy. | 11:05 | |
| antocuni | hakanardo_: uhm, I think that you need at least a promotion on the length of the array | 11:08 |
| antocuni | or am I wrong? | 11:09 |
| hakanardo_ | right | 11:09 |
| hakanardo_ | a more interesting case would be to use while i<len(img): though | 11:09 |
| hakanardo_ | which we might already handle correctly? | 11:10 |
| antocuni | ah, maybe | 11:14 |
| Action: antocuni tries | 11:14 | |
| hakanardo_ | I just did, there is only one int_lt in that case | 11:15 |
| antocuni | cool | 11:15 |
| hakanardo_ | no, the cool thing would be 0 int_lt | 11:15 |
| antocuni | uhm, you need at least one guard to exit the loop | 11:16 |
| verte | in the prologue. | 11:16 |
| hakanardo_ | antocuni: right, of course | 11:16 |
| hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy. | 11:19 | |
| verte | outre | 11:19 |
| verte | why would an pypy.jit.backend.x86.regloc.AddressLoc get annotated as an int? | 11:22 |
| lac (~quassel@63.133.138.10) joined #pypy. | 11:23 | |
| verte | ack, ok. | 11:33 |
| verte | jit (and gc) is kind of a special case, because it can play fast and loose with types, moreso than regular rpython code. a function with a name like 'addr_add_const' should make this clear: it's going to take addrs with arbitrary types and just add things to them. | 11:37 |
| verte | this means, if you're trying to capture type information against the function, you're going to get whacky stuff like [LENGTH_DESCR, 'chars'] as the adress kind for one call, and something completely different for another. | 11:38 |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) left irc: Read error: Connection reset by peer | 11:38 | |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) joined #pypy. | 11:39 | |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 11:52 | |
| alfredodeza (~alfredode@c-24-131-47-167.hsd1.ga.comcast.net) joined #pypy. | 12:02 | |
| alfredodeza (alfredode@c-24-131-47-167.hsd1.ga.comcast.net) left #pypy. | 12:03 | |
| Shinato (~John@osbk-4db15c0b.pool.mediaWays.net) joined #pypy. | 12:10 | |
| Kaskuka (~John@osbk-4db16b0e.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 12:10 | |
| kenaan | 12lac default 11f9ce284a688a 15/pypy/doc/temp_index.rst: pypy/doc/temp_index.rst was leftover junk from the sphinxification which should not have been moved. | 12:17 |
| kenaan | 12lac default 115dfd2fa3a69c 15/pypy/config/test/test_pypyoption.py: change .txt to .rst | 12:17 |
| kenaan | 12lac default 1153c2426b09b8 15/: merge heads | 12:17 |
| nekto0n_ (c397cf21@gateway/web/freenode/ip.195.151.207.33) joined #pypy. | 12:20 | |
| ronny | hmm, i never actually investigated how to nicely test local stuff | 12:25 |
| verte | local stuff? | 12:26 |
| ronny | verte: before pushing | 12:27 |
| ronny | hmm, the simplify tests pass, so i'll push | 12:28 |
| kenaan | 12RonnyPfannschmidt default 11868496e73f01 15/pypy/translator/simplify.py: translator: remove unused list instanciation in the isinstance simplifier | 12:28 |
| verte | I test stuff I know to be relevant before committing, and test as much as reasonable before pushing. sometimes you're going to break the build and have to live with that if you don't want to wait an hour to get a full set of results. | 12:31 |
| ronny | oh | 12:32 |
| ronny | hmm | 12:32 |
| ronny | woo, thi is actually my first commit as me | 12:32 |
| verte | I would like to buy something with more cores and ram so I could have an automatic build on every commit, but can't really justify that sort of $$ | 12:32 |
| verte | neat | 12:32 |
| verte | if you expect to be breaking things frequently, branch | 12:33 |
| ronny | i expect not to break things | 12:34 |
| ronny | i'll see to get used to the codebase a bit | 12:34 |
| antocuni | ronny: that's optimistic ;-) | 12:34 |
| ronny | doing cleanups&stuff | 12:34 |
| verte | so I'm kind of at an impasse and I don't know what is going to be less work. teach the annotator to ignore strongly typed adr annotations that come out of jit, or implement parametric polymorphism in the annotator. I guess I have more experience fooling the annotator. | 12:39 |
| ronny | antocuni: i have a feeling the codebase is littered with small bits of dead code | 12:40 |
| antocuni | ronny: yes, it's likely | 12:41 |
| ronny | pyflakes pypy/translator|grep 'assigned to but never used' looks scary | 12:42 |
| antocuni | could you paste the output, please? | 12:42 |
| Taggnostr (~quassel@dyn57-215.yok.fi) left irc: Read error: Connection reset by peer | 12:43 | |
| ronny | antocuni: http://paste.pocoo.org/show/355512 | 12:46 |
| ronny | antocuni: i suppose code cleanup iterations would be rather helpfull | 12:47 |
| lac | so I am looking at pypy/doc/test_redirections.py | 12:47 |
| antocuni | ronny: yes, indeed | 12:47 |
| Action: hpk_ looking at the mess of test failures after the sphinx documentation merge | 12:47 | |
| ronny | bbl, food | 12:47 |
| antocuni | ronny: but keep in mind that sometimes having a variable with a meaningful name is more readable than using '_', even if the variable is unused | 12:48 |
| lac | hpk: all the test_check_documentation ones should be fixed since they are looking for .txt files which are .rst now | 12:49 |
| hpk_ | the question is which tests are now still make sense at all | 12:49 |
| hpk_ | not too many because sphinx does many of them | 12:49 |
| Action: lac nods | 12:49 | |
| Action: hpk_ wouldn't mind to help fixing on a branch instead of hurrying because it's on default now | 12:50 | |
| hpk_ | what about the ":config:" ReST roles? | 12:51 |
| hpk_ | is there any sphinx-cusotmizing code that deals with that? | 12:51 |
| lac | revert the checkin, go back to working on dmalcolm's fork? I am afraid he might delete it | 12:52 |
| verte | fork it? | 12:52 |
| lac | but we could check that into a branch if I could only figure out how to bash mercurial into doing that. That was what I was trying to do yesterday and gave up in frustration. | 12:52 |
| antocuni | hakanardo_: what is test_array_intimg supposed to test? The comment says something about the number of guards: is there any particular guard that we expect to be removed? | 12:53 |
| hpk_ | let me first just see how serious things are - i have about an hour time right now | 12:53 |
| hpk_ | lac: what about the :config: ReST roles? | 12:53 |
| hpk_ | i see they still show up in the html file so they don't seem to work | 12:53 |
| lac | right. | 12:54 |
| hpk_ | lac: did you or David or Armin look at the pypy specific documentation generation? | 12:54 |
| lac | armin had nothing to do with this. And david and I looked at it briefly, but thought that getting rid of most of it was the whole idea. | 12:54 |
| lac | so that we could move from needing a codespeak account. | 12:55 |
| hpk_ | lac: moving away and going to sphinx is fine | 12:55 |
| lac | what is left in that which is needed to migrate? | 12:55 |
| hpk_ | but ignoring the pypy specific docutils-customization is not so good | 12:55 |
| hpk_ | lac: i am trying to figure it out | 12:55 |
| hpk_ | :config: roles are the one thing | 12:56 |
| hpk_ | in general docutils was the base of both the old way and the new way of doing things | 12:57 |
| hpk_ | so it doesn't make sense to completely ignore the customization i suppose | 12:57 |
| verte (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT! | 12:58 | |
| Taggnostr (~quassel@dyn57-215.yok.fi) joined #pypy. | 12:59 | |
| Rhy0lite (~dje@nat/ibm/x-zrossdkqjnzpexxt) joined #pypy. | 13:02 | |
| derdon (~derdon@p54A6D9EF.dip.t-dialin.net) joined #pypy. | 13:03 | |
| kenaan | 12hpk42 default 1113ef5b1f6617 15/pypy/doc/: fix failing tests after sphinx-merge by removing py.test support for running documentation | 13:06 |
| kenaan | 12antocuni default 112b484cf91faf 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: port test_array_intimg from test_pypy_c | 13:09 |
| kenaan | 12antocuni default 1138a48b8331fe 15/pypy/module/pypyjit/test_pypy_c/model.py: improve the reporting (thanks to pytest like _assert magic) | 13:09 |
| kenaan | 12antocuni default 1177adefbb81e7 15/: merge heads | 13:09 |
| hpk_ | lac: i removed the tests | 13:10 |
| lac | ok | 13:11 |
| lac | now we need to decide what we really want to do. | 13:11 |
| lac | a lot of the things seem to be already done by sphinx | 13:11 |
| hpk_ | is there a way to sphinx-generate just one out of the many doc files? | 13:13 |
| Action: hpk_ so far has only used sphinx on smaller projects where it didn't matter so much to run all docs | 13:14 | |
| kenaan | 12antocuni default 117b22560b4e3f 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: don't rely on the exact offset | 13:15 |
| Nick change: skulltone -> kneetone | 13:16 | |
| lac | we never found a way, but regenerating the whole lot was surprisingly fast | 13:19 |
| kenaan | 12antocuni default 11927529207222 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: fix the test on 32bit, where we get slightly different code | 13:19 |
| lambacck | I'm getting a build failure on windows. | 13:21 |
| amaury_ | lambacck: which one? | 13:21 |
| lambacck | jit x86 | 13:21 |
| lambacck | msvc 2008 | 13:21 |
| amaury_ | error message, please :-) | 13:22 |
| lambacck | error A2075:jump destination too far : by 1 byte(s) | 13:22 |
| lambacck | in implement_13.lbl.s(129113) : | 13:22 |
| hakanardo__ (~ardo@putten.maths.lth.se) joined #pypy. | 13:23 | |
| hakanardo__ | antocuni: test_array_intimg is actually a real world image transform I was optimizing | 13:23 |
| antocuni | hakanardo__: ah, ok. At the end, I opted to check the whole loop, since it's not too long | 13:24 |
| antocuni | see 2b484cf91faf | 13:24 |
| hakanardo__ | the test should make sure to remove the array-bound-check of the calculated index i-640 | 13:24 |
| hakanardo__ | ok | 13:24 |
| antocuni | hakanardo__: then it fails :-( | 13:25 |
| antocuni | the bound check is still there | 13:25 |
| hakanardo__ | yes, it would need something like assert len(intimg)==640*480 to kill the bound... | 13:26 |
| hakanardo__ | I suppose I never got as far as I intended with this... | 13:27 |
| antocuni | hakanardo__: I don't see how it's possible to remove it. Even if we know that i < 640*480, we can't we be sure that i-640 < 640*480 | 13:29 |
| antocuni | because e.g. i could be -sys.maxint and i-640 be very large | 13:29 |
| gtaylor (~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net) joined #pypy. | 13:30 | |
| hakanardo__ | right, so how about if we add assert i>0 as well? | 13:30 |
| hakanardo__ | i>=0 that is | 13:30 |
| antocuni | yes, then the guard is killed | 13:31 |
| antocuni | even without the assert on len(intimg) | 13:31 |
| antocuni | (this would kill yet another guard :-)) | 13:31 |
| hakanardo__ | cool, what one realy would want though is to do is "for i in range(len(img)):" and not insert any asserts | 13:32 |
| hakanardo__ | ie had the jit figure ot that i is positive by itself | 13:33 |
| antocuni | yes, but that's a bit harder I fear | 13:33 |
| hakanardo__ | indeed | 13:33 |
| antocuni | because we would need a way to pass the information nonneg=True from the annotator to the jit | 13:34 |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) left irc: Remote host closed the connection | 13:34 | |
| antocuni | hakanardo__: ok, with this loop I kill both array bound checks | 13:35 |
| hakanardo__ | antocuni: without the assert on the len of intimg how can the upper bound be killed? | 13:36 |
| hakanardo__ | there are 3 accesses to intimg, is realy all 3 killed? | 13:36 |
| antocuni | hakanardo__: well, there is still one guard, for the condition of the loop | 13:37 |
| antocuni | but it's the only one left, apart for the overflows | 13:37 |
| hakanardo__ | ok, so you have changed the loop check to "while i<len(intimg)"? | 13:38 |
| antocuni | hakanardo__: so far, I've tried with this: http://paste.pocoo.org/show/355538/ | 13:39 |
| antocuni | but I suppose it'd still work if I use while <len(intimg) and kill the assert | 13:39 |
| hakanardo__ | there you have the assert on the len | 13:40 |
| antocuni | ok, I suppose there is a bit of misunderstanding :-) | 13:40 |
| antocuni | on the original loop, we had three guards | 13:40 |
| CIA-4 | 03alfredodeza 07roundup * 10#402/codecs are broken in pypy-c: I want to avoid a discussion about encoding correctness as it works for the intended purpose in CPython (e.g. is *not* calling compile at any tim ... * 14https://codespeak.net/issue/pypy-dev/issue402 | 13:40 |
| antocuni | one for the loop condition, one for accessing img, and one for accessing intimg | 13:41 |
| antocuni | with the assert i>=0, we kill the guard on intimg | 13:41 |
| antocuni | with the other two asserts, we kill the guard on img | 13:41 |
| ojii (~ojii@adsl-84-226-255-220.adslplus.ch) joined #pypy. | 13:44 | |
| ojii | pypy is supposed to be able to install PIL, right? | 13:44 |
| antocuni | ojii: I think so, although I never tried by myself | 13:44 |
| ojii | my fail or pypy fail? http://dpaste.com/514046/ | 13:46 |
| fenrrir (~fenrrir@187.40.154.178) joined #pypy. | 13:46 | |
| antocuni | ojii: no clue, sorry :-( | 13:47 |
| antocuni | maybe amaury_ has a better clue | 13:47 |
| antocuni | which version of pypy are you using? | 13:47 |
| ojii | Python 2.5.2 (e503e483e9ac, Dec 21 2010, 12:02:48), [PyPy 1.4.1] | 13:48 |
| DanielHolth (~dholth@2002:62b4:2270:1:224:8cff:fe26:8c67) left irc: Remote host closed the connection | 13:48 | |
| antocuni | ojii: could you try with a recent nightly build please? http://buildbot.pypy.org/nightly/trunk/ | 13:48 |
| antocuni | the one from last night is fine | 13:49 |
| whitelynx (~whitelynx@li117-47.members.linode.com) joined #pypy. | 13:49 | |
| DanielHolth (~dholth@2002:62b4:2270:1:224:8cff:fe26:8c67) joined #pypy. | 13:50 | |
| ojii | works antocuni | 13:51 |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 13:51 | |
| antocuni | ojii: good :-) | 13:51 |
| ojii | btw: is there a ubuntu PPA for pypy? | 13:53 |
| asabil (~asabil@195.159.219.65) joined #pypy. | 13:53 | |
| ojii | (that works with ubuntu 10.10) | 13:53 |
| antocuni | not that I know | 13:53 |
| hakanardo__ | antocuni: Without assert I get 4 guards, one for the loop and one for each array access | 13:54 |
| hakanardo__ | asserting i>=0 has no effect | 13:55 |
| ojii | thanks a lot antocuni, now let's play around with this ;-) | 13:55 |
| hakanardo__ | adding aa 3 guards kill all the array bound checks though | 13:55 |
| hakanardo__ | hmm, maybe my pypy is too old... | 13:56 |
| antocuni | hakanardo__: mine is from last night | 13:56 |
| hakanardo__ | I'll upgrade | 13:56 |
| antocuni | I double checked and I confirm that assert i>=0 kills one guard | 13:56 |
| amaury_ | ojii: indeed, the fPIC issue was fixed after 1.4.1 | 13:57 |
| harrison (~sr@adsl-69-209-217-94.dsl.chcgil.sbcglobal.net) joined #pypy. | 13:57 | |
| hakanardo__ | I suppose it could kill the guard on i-640 due to unrolling, but without any assert linking the len(intimg) to the constnat in the loop check I don't see how the other could be removed | 13:58 |
| antocuni | yes, I don't have any idea either | 14:00 |
| hakanardo__ | I'll dig into it | 14:01 |
| lizardo (~lizardo@189.2.128.130) joined #pypy. | 14:02 | |
| ojii | isn't pypy supposed to be faster than cpython? If I run the django-cms test suite using pypy, it takes 3 times longer (and one test fails) | 14:03 |
| kenaan | 12antocuni default 11f187f9701d1d 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: (antocuni, hakanardo around): improve the test, and check that we remove a couple of guards thanks to the asserts | 14:03 |
| kenaan | 12antocuni default 11263e6f36aa8d 15/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py: rewrite the test, to kill one guard | 14:03 |
| CIA-4 | 03afa 07roundup * 10#402/codecs are broken in pypy-c: Since PyPy does not use the streamreader to decode source files, yes, your codec should be changed and implement its hacks in the "decode" method ... * 14https://codespeak.net/issue/pypy-dev/issue402 | 14:04 |
| voidspace (~voidspace@python/psf/voidspace) left irc: Quit: voidspace | 14:05 | |
| ronny | ojii: a testsuite is most likely completely useless as benchmark | 14:06 |
| ojii | ronny, not using it as a benchmark really, just wanted to see if it passes ;-) | 14:06 |
| ojii | was surprised by the big difference tho (150s vs 49s) | 14:06 |
| ronny | i wonder where that is from, it shouldnt be that much slower without jit | 14:07 |
| ojii | I think I use jit | 14:08 |
| mdeval (~miguel@134.76.235.21) joined #pypy. | 14:08 | |
| ojii | ronny, if you want to test it for yourself: http://dpaste.com/514105/ | 14:09 |
| ronny | i need to translate pypy first | 14:09 |
| CIA-4 | 03alfredodeza 07roundup * 10#402/codecs are broken in pypy-c: Fair enough. I am not sure if you want to close this issue since PyPy is not "wrong" but just doing things a bit different. * 14https://codespeak.net/issue/pypy-dev/issue402 | 14:10 |
| kenaan | 12RonnyPfannschmidt default 11467cb1d0f61c 15/pypy/translator/c/funcgen.py: translator: remove unused list/dict instances in the c funcgen | 14:14 |
| ronny | where should i put a script that downloads the latest pypy build to translate pypy | 14:15 |
| Alex_Gaynor | ojii: the problem with test suites is they tend to hit a TON of code one or 2 times, no inner loops which are run frequently | 14:16 |
| ojii | Alex_Gaynor, good point | 14:16 |
| ojii | any idea why one test would fail though? | 14:17 |
| ronny | s/without jit/without a chance for the jit to do good/ | 14:17 |
| Alex_Gaynor | ojii: link to the failure? | 14:18 |
| ojii | Alex_Gaynor, http://dpaste.com/514137/ | 14:19 |
| Alex_Gaynor | strange | 14:19 |
| ojii | it passes on cpython 2.5-2.7 though | 14:19 |
| hakanardo__ | antocuni: using pypy-c-jit-42773-61fefec7abc6-linux64 from nightly I still get 3 array bound check guards without asserts and asserting i>=0 has no effect | 14:32 |
| hakanardo__ | actully the test passes without the assert i >= 0 | 14:33 |
| antocuni | hakanardo__: uhm indeed, the test still passes | 14:34 |
| antocuni | but then it's wrong | 14:34 |
| asenchi | Anyone else having issue with coverage building? | 14:34 |
| fijal | hi | 14:34 |
| hakanardo__ | which makes sense since there will be a i>=0 test in the preamble | 14:34 |
| hakanardo__ | the array bound check should be 0<i<len(array), right? | 14:35 |
| antocuni | hakanardo__: ah, indeed | 14:35 |
| hakanardo__ | then there is i+1, so after the preamble we would know that i<=1 | 14:36 |
| hakanardo__ | sorry, i>=1 | 14:36 |
| fijal | Alex_Gaynor: no idea what's wrong with twisted's thread | 14:37 |
| fijal | also, grep pyjitpl.py for bad loop if you want to know what are conditions | 14:37 |
| ronny | random tought, should bin/py.py include the 'yo dawg meme' about interpreters? | 14:37 |
| fijal | no | 14:38 |
| Alex_Gaynor (~alex@76-206-244-32.lightspeed.cicril.sbcglobal.net) left irc: Ping timeout: 255 seconds | 14:41 | |
| DanielHolth | anybody play with the old gccxml ctypes generator? | 14:49 |
| fijal | yeah | 14:51 |
| dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy. | 14:51 | |
| ojii (~ojii@adsl-84-226-255-220.adslplus.ch) left irc: Read error: Connection reset by peer | 14:57 | |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 14:59 | |
| harrison (~sr@adsl-69-209-217-94.dsl.chcgil.sbcglobal.net) left irc: Remote host closed the connection | 15:00 | |
| harrison (~sr@adsl-69-209-217-94.dsl.chcgil.ameritech.net) joined #pypy. | 15:01 | |
| __name__ (~name@chello080108038152.1.11.vie.surfer.at) joined #pypy. | 15:01 | |
| __name__ (~name@chello080108038152.1.11.vie.surfer.at) left irc: Changing host | 15:01 | |
| __name__ (~name@sburn/devel/name) joined #pypy. | 15:01 | |
| ronny | are there more fractrals now? | 15:12 |
| arigato (~arigo@63.133.138.10) joined #pypy. | 15:17 | |
| fijal | arigato: hi | 15:18 |
| fijal | arigato: where in the world are you? | 15:18 |
| arigato | hi | 15:19 |
| arigato | still at the Hyatt hotel | 15:19 |
| fijal | oh | 15:20 |
| fijal | I thought you left yesterday | 15:20 |
| ronny | hmm, what is $memofield_get_slot_tp_function_6002 | 15:21 |
| fijal | noone knows for sure :) | 15:21 |
| ronny | looks like a cashcow - everyone seems to want it and nobody seems to have it | 15:22 |
| ronny | seems to be something from cpyext | 15:23 |
| Action: ronny greps for $memofield | 15:23 | |
| ronny | so some "specialize" annotation does weird stuff | 15:24 |
| ronny | hmm, i dont want to investigate now ^^ | 15:24 |
| amaury_ | fijal, ronny: hey, I know what $memofield_get_slot_tp_function_6002 is about | 15:37 |
| amaury_ | but I've never managed to suppress the warning | 15:37 |
| amaury_ | fyi, it's generated by cpyext | 15:38 |
| ronny | amaury_: thats as far as i got | 15:40 |
| ronny | i dont understand how it got to be | 15:41 |
| kenaan | 12arigo enable-opts 1185eb5570280a 15/: Close branch. | 15:44 |
| fijal (~fijal@71-208-182-156.hlrn.qwest.net) left irc: Ping timeout: 240 seconds | 15:45 | |
| ronny | how many fractals are actually in the translation process? i lost count | 15:46 |
| xorAxAx | ronny: about 4 | 15:46 |
| xorAxAx | actually, its only one fractal | 15:47 |
| xorAxAx | zoomed to different regions | 15:47 |
| xorAxAx | you can add new regions | 15:47 |
| arigato (~arigo@63.133.138.10) left irc: Quit: See you | 15:50 | |
| fijal (~fijal@65.101.242.214) joined #pypy. | 15:51 | |
| harrison (~sr@adsl-69-209-217-94.dsl.chcgil.ameritech.net) left irc: Remote host closed the connection | 15:51 | |
| harrison (~sr@adsl-69-209-217-94.dsl.chcgil.ameritech.net) joined #pypy. | 15:52 | |
| apoirier_away (~apoirier@sakura.nagare.org) joined #pypy. | 15:55 | |
| Nick change: apoirier_away -> apoirier | 15:56 | |
| fijal | amaury_: I want this special destructor | 16:02 |
| fijal | "but this also has a raw malloc associated" | 16:02 |
| arigato (~arigo@63.133.138.10) joined #pypy. | 16:06 | |
| jacob22__ (~jacob@63.133.138.10) joined #pypy. | 16:07 | |
| amaury_ | fijal: I don't understand anything | 16:08 |
| fijal | heh :) | 16:08 |
| fijal | ok, that was your idea | 16:08 |
| amaury_ | or do you want a leak detector? | 16:08 |
| fijal | to have a special kind of finalizer | 16:08 |
| fijal | that says "by the way this object has a raw malloced memory, please free it" | 16:08 |
| amaury_ | ah | 16:09 |
| amaury_ | my old idea was to do this at lexical level | 16:09 |
| amaury_ | you cannot rely on the gc here | 16:09 |
| fijal | yes | 16:10 |
| fijal | but sometimes you really want a GC | 16:10 |
| fijal | like in the example of numpy arrays | 16:10 |
| fijal | btw | 16:10 |
| arigato | it can also be done with a hint in the __del__ method (if I understood you correctly) | 16:10 |
| amaury_ | what is wrong with lltype.scoped_malloc? | 16:10 |
| fijal | arigato: yes | 16:10 |
| fijal | amaury_: same thing that's wrong with C++ method of dealing with that | 16:10 |
| kkris (~kris@80-123-34-145.adsl.highway.telekom.at) left irc: Ping timeout: 246 seconds | 16:10 | |
| fijal | sometimes your objects escape lexical scope | 16:10 |
| amaury_ | so: what is wrong with the gc? | 16:11 |
| fijal | you have a finalizer | 16:11 |
| fijal | with all complicated semantics | 16:11 |
| arigato | yes, including forcing the object to be "old" immediately | 16:12 |
| antocuni | fijal: do you want an hint like "this __del__ also calls lltype.free" or "instances of class A owns a raw-malloced area of memory, please free it automatically"? | 16:12 |
| fijal | the latter please | 16:12 |
| fijal | or | 16:12 |
| arigato | I would prefer a hint "this is a lightweight finalizer" | 16:12 |
| fijal | "that __del__ doesn't do anything besides freeing memory" | 16:13 |
| fijal | also prevents JIT from making stuff virtual | 16:13 |
| fijal | etc. | 16:13 |
| kkris (~kris@93-82-42-99.adsl.highway.telekom.at) joined #pypy. | 16:13 | |
| amaury_ | are semantics similar to CPython tp_dealloc? | 16:20 |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) left irc: Read error: Connection reset by peer | 16:26 | |
| ElectronicRU (~Pythonist@5f4489b5.dynamic.mv.ru) joined #pypy. | 16:26 | |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy. | 16:35 | |
| arigato | bringing jitypes2 up-to-date is a major mess | 16:36 |
| fijal | :/ | 16:37 |
| fijal | because? | 16:37 |
| arigato | right now I'm stuck at _ctypes/function.py | 16:37 |
| arigato | which was heavily refactored on both sides | 16:37 |
| fijal | wow pypy is fast | 16:40 |
| Action: fijal translating on tannit | 16:40 | |
| antocuni | arigato: :-( | 16:42 |
| mvt (~mvantelli@87.213.45.85) left irc: Quit: Leaving | 16:42 | |
| antocuni | my fault probably, I left it laying there for too long | 16:42 |
| fijal | etrepum: ping | 16:42 |
| arigato | no, it may actually not be too bad, but I'm fighting with understanding hg merges more deeply | 16:43 |
| etrepum | fijal: pong | 16:43 |
| fijal | etrepum: should we pull simplejson from here https://github.com/simplejson/simplejson/tree/pypy-support to be the default json for pypy? | 16:43 |
| etrepum | fijal: you should probably leave json to be the default json, they aren't 100% API compatible | 16:43 |
| etrepum | json is simplejson 1.x | 16:43 |
| fijal | pffff | 16:44 |
| fijal | we want a fast one though | 16:44 |
| etrepum | it's not fast in cpython either | 16:44 |
| fijal | how different is the API? | 16:44 |
| fijal | yeah | 16:44 |
| fijal | but C thingie is faster | 16:44 |
| etrepum | in that version, probably not much | 16:44 |
| fijal | ok | 16:45 |
| etrepum | the pure python simplejson beats the cpython json with C extensions in most cases | 16:45 |
| fijal | I see | 16:45 |
| etrepum | (on cpython) | 16:45 |
| fijal | there is a real problem there though | 16:45 |
| etrepum | and that is? | 16:45 |
| fijal | and I don't care if we cheat and are simply better at updating stdlib | 16:45 |
| fijal | but we want a fast json | 16:45 |
| lucian_ (~lucian@78-86-217-168.zone2.bethere.co.uk) joined #pypy. | 16:45 | |
| etrepum | also, simplejson doesn't plug directly into the stdlib, things need to get transformed for that to happen | 16:46 |
| etrepum | s/simplejson/json mostly but I think the structure and test locations might have changed too (although the structure thing is only really relevant to the c extension so not very relevant) | 16:47 |
| kost-bebix (~kost-bebi@195.95.210.229) left irc: Quit: kost-bebix | 16:47 | |
| arigato | antocuni: I'm not sure, but I think you messed up something in df1066ff4a75 | 16:47 |
| cco3 (~conley@c-69-181-140-72.hsd1.ca.comcast.net) joined #pypy. | 16:47 | |
| arigato | it looks like the "hg merge default" is incomplete | 16:47 |
| fijal | I see | 16:48 |
| etrepum | I agree that cheating is probably the best thing to do, but it does deviate from cpython and it's more work | 16:48 |
| fijal | it does deviate in the sense of API? | 16:48 |
| fijal | or it does deviate in the sense of more changes to stdlib? | 16:48 |
| etrepum | if we cheat, I would prefer to do it after we're done fixing simplejson for pypy | 16:48 |
| amaury_ | arigato: I've looked at several failures in ctypes | 16:48 |
| fijal | right | 16:49 |
| amaury_ | and it seems that we use the CArgObject wrong | 16:49 |
| etrepum | it deviates mostly in that there is more functionality in simplejson than json | 16:49 |
| fijal | there are several questions, all of them valid | 16:49 |
| etrepum | BUT there were dumb things that people subclassed or whatever in json that don't work anymore | 16:49 |
| fijal | from "how fast is pypy on this particular piece of code" up to "how fast we can load json using different interpreters" | 16:49 |
| lac | if anybody here has any interest in being the next ctypes guru and maintainer for python-dev now would be the perfect time to volunteer. | 16:49 |
| amaury_ | arigato: at least, not at all like CPython's PyCArgObject | 16:49 |
| fijal | lac: have you seen that code? | 16:49 |
| etrepum | and the API changed slightly such that simplejson will return ASCII str instead of unicode to save RAM where json always returns unicode | 16:50 |
| etrepum | people don't like that one | 16:50 |
| etrepum | (cpython purity over practicality people) | 16:50 |
| fijal | that's easy to "fix" right? | 16:50 |
| etrepum | yeah you just change ''.join to u''.join | 16:50 |
| fijal | more importantly we have an optimization in mind | 16:50 |
| etrepum | there might be other things | 16:50 |
| fijal | that would make this irrelevant | 16:50 |
| lac | fijal: yes, and so if somebody was in the middle of rewriting it, this would be the best way to get their rewrite to be part of CPython, should that be desired. | 16:51 |
| fijal | ascii-only unicode should take the same amount of RAM eventually | 16:51 |
| fijal | lac: it's not | 16:51 |
| fijal | it's a C beast | 16:51 |
| ronny | fijal: factor style or internal type differences? | 16:51 |
| etrepum | yeah, if ascii-only unicode had better storage I could simplify things | 16:51 |
| etrepum | considerably | 16:51 |
| etrepum | which the jit would probably like too | 16:51 |
| fijal | yes | 16:51 |
| lac | ok, so my intial idea that nobody here wants to touch it _AT ALL_ was more correct. :-) | 16:52 |
| fijal | that's thought out and clearly doable | 16:52 |
| fijal | but not yet implemented | 16:52 |
| fijal | it'll happen though | 16:52 |
| fijal | but yeah, we can't have everything *today* | 16:52 |
| etrepum | if we deviate the unicode behavior from simplejson then it'll use more RAM | 16:52 |
| fijal | although that would be cool :) | 16:52 |
| fijal | right | 16:52 |
| arigato | lac: I'd be more happy if nobody showed up and people stopped adding more and more obscure features to it | 16:52 |
| fijal | arigato: you can be a maintainer | 16:53 |
| fijal | that fixes segfaults and says "no" | 16:53 |
| exarkun | +1 | 16:53 |
| lambacck | is there a way to only translate cpyext and not everything else if all I am changing is cpyext? | 16:53 |
| fijal | but I don't think python-dev works this way | 16:53 |
| fijal | lambacck: no | 16:53 |
| fijal | lambacck: but you can test things without translating | 16:53 |
| amaury_ | and you can post your changes if you want a review | 16:54 |
| fijal | eh | 16:55 |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com | 16:55 | |
| fijal | arigato: do you remember the issue that allocating lots of raw memory didn't trigger gc collection? | 16:55 |
| fijal | or collected too much | 16:55 |
| fijal | (I don't remember) | 16:55 |
| lambacck | windows address space limits mean that I have to do the translate with cpython and it takes sooooo loooong :( | 16:55 |
| xorAxAx | lambacck: pypy doesnt have separate compilation on the trunk | 16:56 |
| fijal | lambacck: implement get_total_memory for windows | 16:56 |
| arigato | fijal: it doesn't trigger gc collection | 16:57 |
| fijal | arigato: and it's not fixed? | 16:57 |
| arigato | don't think so | 16:57 |
| fijal | ok | 16:57 |
| arigato | it's still in the XXX at the start of minimark.py | 16:58 |
| fijal | it's essential for merging numpy-exp | 16:58 |
| lambacck | xorAxAx: I don't understand what that means | 16:58 |
| antocuni | arigato: in which sense incomplete? Looking at the bitbucket changeset it says "delta 0 bytes", which means (I think) that it's a merge without any diff attached | 16:58 |
| xorAxAx | lambacck: it means "no" | 16:58 |
| amaury_ | lambacck: I can compile pypy with pypy, it works | 16:58 |
| amaury_ | on win32 | 16:58 |
| amaury_ | it uses up to 1.9Gb RAM | 16:58 |
| lambacck | amaury_: which version of pypy are you using to build? | 16:59 |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) joined #pypy. | 16:59 | |
| arigato | antocuni: following the changes, it looks like _ctypes/function.py was modified in trunk but the changes are not added by df1066ff4a75 into jitypes2 | 16:59 |
| arigato | or I'm messing up something | 16:59 |
| amaury_ | lambacck: 1f6ef71f3d19, Mar 01 2011 | 17:00 |
| lambacck | Okay will try with just built version | 17:01 |
| stakkars_ (~tismer@72-254-60-112.client.stsn.net) left irc: Ping timeout: 240 seconds | 17:01 | |
| arigato | antocuni: e.g. 964669bb3f60 adds a number of FUNCFLAG_USE_LASTERROR | 17:01 |
| Action: antocuni looks | 17:02 | |
| arigato | these FUNCFLAG_USE_LASTERROR are still in trunk, but not in jitypes2 now | 17:02 |
| arigato | although there was several merges from trunk to jitypes2 inbetween | 17:02 |
| arigato | ah, the merge ff00970bf708 adds them to function.py in jitypes2 | 17:02 |
| fijal | eh | 17:03 |
| antocuni | arigato: yes, I remember that at some point I had this code in jitypes2 as well | 17:03 |
| fijal | kenaan: wake up | 17:03 |
| arigato | antocuni: er | 17:04 |
| antocuni | arigato: yes, it's in _call_funcptr | 17:04 |
| arigato | forget it | 17:04 |
| arigato | it's still in jitypes2 too | 17:04 |
| arigato | I guess I'm getting majorly confused by diffs | 17:05 |
| antocuni | which app do you use to browse hg history, btw? | 17:05 |
| arigato | hglog | 17:05 |
| fijal (~fijal@65.101.242.214) left irc: Remote host closed the connection | 17:05 | |
| arigato | .../hg/arigo/hack/hg/hglog | 17:06 |
| Action: antocuni clones the repo | 17:06 | |
| ronny | arigato: can i see that one? | 17:06 |
| antocuni | arigato: can I kill your svn user/arigo? | 17:07 |
| antocuni | (I mean: is everything migrated in hg?) | 17:07 |
| arigato | ronny: http://paste.pocoo.org/show/355640/ | 17:07 |
| arigato | (plus a few colors) | 17:07 |
| arigato | antocuni: yes | 17:07 |
| lambacck | creating a get_total_memory for win32 won't help because it is not about the amount of memory I have. I am on 64 bit system and have more memory available than is actually available in a windows 32bit address space. | 17:07 |
| arigato | get_total_memory() is supposed to return a number capped by the addressable space | 17:08 |
| juneau001 (~juneau@131.225.24.162) joined #pypy. | 17:08 | |
| ronny | arigato: looks a lot like glog | 17:09 |
| arigato | it should default to 2GB on Windows anyway | 17:09 |
| arigato | ronny: yes | 17:09 |
| ronny | arigato: custom template? | 17:09 |
| lambacck | There is a limit defined there for windows, but the actual addressable limit appears to be less than 2G | 17:09 |
| arigato | ronny: yes, and a Python script to show the lines on the left | 17:10 |
| ronny | arigato: why not use the glog extension for those lines? | 17:10 |
| lambacck | the address space is 2G, but there are things that eat into the 2G on windows. | 17:10 |
| arigato | ronny: dunno | 17:10 |
| ronny | arigato: as far as i can see hg glog -v should be pretty semilar | 17:11 |
| arigato | ronny: the hg question "why don't you use extension xyz" is usually answered "because I didn't know it existed at that time" | 17:11 |
| antocuni | arigato: I have a patch that removes the hardcoded path to hgtree.py | 17:11 |
| ronny | arigato: sometimes it makes sense to aks if there is something like X | 17:13 |
| ronny | hmm | 17:13 |
| ronny | damn, bbl | 17:13 |
| lucian_ (~lucian@78-86-217-168.zone2.bethere.co.uk) left irc: Remote host closed the connection | 17:19 | |
| Alex_Gaynor (~alex@76-206-244-32.lightspeed.cicril.sbcglobal.net) joined #pypy. | 17:20 | |
| lambacck | should I be running the cpyext tests with cpython or pypy? | 17:21 |
| antocuni | lambacck: as you prefer, but we usually use cpython | 17:21 |
| antocuni | (we should start using pypy, probably :-)) | 17:22 |
| lambacck | I am getting the pypy dieing if I run with the pypy interpreter. | 17:22 |
| lambacck | the process goes away with windows complaining that there is a problem with the process, but not providing further information :( | 17:22 |
| antocuni | lambacck: a segfault, maybe? | 17:23 |
| stakkars_ (~tismer@72-254-60-112.client.stsn.net) joined #pypy. | 17:23 | |
| antocuni | well, actually I don't know, maybe cpyext tests are not meant to run under pypy | 17:23 |
| lambacck | that would be my guess, but it is not telling me. I would have to go figure out how to turn off the windows auto notify microsoft of program errors thing. | 17:24 |
| lambacck | okay it says exception code c0000005 | 17:25 |
| lambacck | Does not seem to be giving me a stack trace. | 17:26 |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Remote host closed the connection | 17:27 | |
| amaury_ | exception code c0000005 is a segfault | 17:30 |
| amaury_ | lambacck: how do you run tests exactly? | 17:31 |
| kenaan | 12etrepum default 11eec5b51676ae 15/pypy/rpython/memory/gc/: fix up get_total_memory on darwin to clip at addressable_size | 17:32 |
| arigato (~arigo@63.133.138.10) left irc: Ping timeout: 276 seconds | 17:34 | |
| lambacck | Okay cpyhon 2.7 dies in test_eval.py, the error is a BEX error which as far as I can tell is related to data execution prevention. | 17:35 |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 17:39 | |
| cwillu | pypy's evil plot is at last revealed: the execution of data as code! | 17:39 |
| amaury_ | lambacck: ah, you probably segfault around the fopen and other FILE* functions | 17:40 |
| amaury_ | I'm sure you are not using VS9.0 :-) | 17:40 |
| etrepum (~bob@c-67-180-34-190.hsd1.ca.comcast.net) left irc: Quit: etrepum | 17:41 | |
| lambacck | It is forcing me to use VC 2008 lite. | 17:41 |
| lambacck | I also have full VS2010 | 17:41 |
| lambacck | the build process that is | 17:41 |
| apoirier (apoirier@sakura.nagare.org) left #pypy ("Leaving..."). | 17:42 | |
| lambacck | The build appears to be picking VC from Visual C++ express edition 2008 even if I run vcvarsall.bat from vcvarsall.bat from VS2010 | 17:44 |
| lambacck | amaury_: so is there any specific thing I can do to not have an error? | 17:46 |
| amaury_ | lambacck: did you try to *not* run vcvarsall.bat? | 17:47 |
| lambacck | Don't remember. | 17:47 |
| amaury_ | it's normal that the tests suite tries to pick the same compiler as the one used to compile CPython | 17:47 |
| amaury_ | some tests open file descriptors from CPython, and pass them to pypy | 17:48 |
| amaury_ | it fails/crashes if CPython and pypy don't use the same msvcrt | 17:48 |
| exarkun | (File descriptors are okay, it's FILE* that cause problems) | 17:49 |
| lambacck | so which crash is this related to? cpython crash or pypy crash? | 17:49 |
| amaury_ | exarkun: no, file descriptors are local to an instance of msvcrt | 17:50 |
| amaury_ | which pypy did you use? | 17:50 |
| exarkun | amaury_: Oh, awesome. | 17:50 |
| exarkun | Of course. Windows likes handles instead. | 17:51 |
| amaury_ | yes | 17:51 |
| amaury_ | real Windows developers don't use fd or FILE* | 17:52 |
| ronny | uhm guys, wouldnt it make sense to throw away the flowgraph/lltype/whatever data once it can start compiling? | 17:52 |
| ronny | (cause it got me into swappy issues) | 17:52 |
| lambacck | I was using local built pypy 42788:927529207222 | 17:52 |
| ronny | pypy translation ram usage + 2 gcc = swappy | 17:52 |
| lambacck | I was also using cpython 2.7 to run cpyext tests | 17:53 |
| lambacck | both crashed (but at different points and for different reasons) | 17:53 |
| amaury_ | if you used cpython2.7 to build your pypy, chances are that it uses VC2008 as well | 17:54 |
| lambacck | I am pretty sure VC2008 is being used for everything | 17:55 |
| amaury_ | yes | 17:55 |
| amaury_ | on my machine it's different, I only have VS2005 and VS2010 | 17:55 |
| amaury_ | so these cpyext tests consistently crash for me with CPython2.7 | 17:56 |
| amaury_ | I had to recompile CPython with one of these compilers to let the tests pass | 17:56 |
| lambacck | okay so I should rebuild cpython vs2010? | 17:57 |
| lambacck | or I should try to force vs2008 for pypy | 17:58 |
| amaury_ | we still have no explanation for the crashes | 17:59 |
| amaury_ | everything uses VS2008, and should work | 17:59 |
| lucian_ (~lucian@78-86-217-168.zone2.bethere.co.uk) joined #pypy. | 18:00 | |
| cco3 (~conley@c-69-181-140-72.hsd1.ca.comcast.net) left irc: Ping timeout: 246 seconds | 18:00 | |
| amaury_ | lambacck: can you run the tests again with the -v option? | 18:00 |
| lambacck | I am not sure which compiler was used for dependency dlls | 18:01 |
| amaury_ | you should open a new console without vcvarsall.bat | 18:01 |
| lambacck | I am going to rebuild deps with vc2008 as well to be sure that everything is correct | 18:02 |
| lambacck | ie openssl, gzip, etc | 18:02 |
| amaury_ | ah, right | 18:02 |
| lambacck | ls | 18:02 |
| lambacck | sorry wrong window | 18:02 |
| amaury_ | "dir" | 18:02 |
| amaury_ | on windows | 18:02 |
| lambacck | I can't train myself out of using ls, so I just have cygwin in my path and then I can lapse into my unix ways :) | 18:03 |
| amaury_ | well, be careful | 18:04 |
| amaury_ | link.exe is supposed to call the linker | 18:04 |
| lambacck | I don't think I have any build tools installed in cygwin | 18:05 |
| lambacck | okay link is in my path, but when vcvars all is run link goes to VS | 18:06 |
| amaury_ | right | 18:07 |
| amaury_ | btw, the pypy compilation tools also use vcvars to update the environment of spawned commands | 18:08 |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy. | 18:09 | |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) left irc: Read error: Connection reset by peer | 18:09 | |
| amaury_ | lambacck: it seems that "pypy.exe test_all.py module/cpyext" does not work | 18:10 |
| amaury_ | this has nothing to do with compilers &co | 18:10 |
| amaury_ | but probably with different kind of function types | 18:11 |
| lambacck | okay. but I am still crashing out of cpython with the data execution protection problem | 18:11 |
| amaury_ | in which test? | 18:11 |
| lambacck | test_eval.py | 18:12 |
| amaury_ | which function? | 18:12 |
| ronny | translated :) | 18:12 |
| seanbrant_ (~seanbrant@c-98-206-179-115.hsd1.il.comcast.net) joined #pypy. | 18:13 | |
| amaury_ | and: can you open the just-in-time debugger, and check whether there are several versions of the msvcrt runtime loaded in the running program? | 18:13 |
| ronny | man, my laptop is a pain, translation took 3.54 hours | 18:13 |
| lambacck | I don't know which function | 18:14 |
| lambacck | all I am getting are dots | 18:14 |
| amaury_ | you have to run tests with the -v option | 18:14 |
| amaury_ | or: count printed dots for test_eval.py | 18:14 |
| seanbrant_ | im trying to pip install mysql-python on a mac in a pypy virtualenv | 18:14 |
| seanbrant_ | getting a compiler error | 18:15 |
| lambacck | running tests again. I had 3 dots | 18:15 |
| amaury_ | so the failure was in test_run_file() | 18:16 |
| amaury_ | (the 4th function in the file) | 18:17 |
| seanbrant_ | erorr http://pastebin.com/mcH7N8fc | 18:17 |
| amaury_ | seanbrant_: is your virtualenv recent enough? | 18:18 |
| amaury_ | I know there is a specific version for pypy support | 18:18 |
| seanbrant_ | amaury_: just created it | 18:18 |
| seanbrant_ | just installed pypy with homebrew | 18:18 |
| seanbrant_ | ill upgrade it and see what happens | 18:18 |
| lambacck | test_run_file is indeed the culprit. | 18:19 |
| lambacck | how do I tell how many mscvrts are loaded? | 18:19 |
| amaury_ | attach the debugger when it crashes | 18:20 |
| amaury_ | to quickly run one test, you can add "-k test_run_file" | 18:20 |
| lambacck | debugger is attached | 18:20 |
| amaury_ | lambacck: in the debugger: Debug/Windows/Modules | 18:21 |
| amaury_ | IIRC | 18:21 |
| lambacck | hmm, don't seem to have that. | 18:22 |
| amaury_ | shortcut is "Ctrl-Alt-U" | 18:22 |
| lambacck | thats got it | 18:23 |
| lambacck | I have msvcrt.dll and msvcrt90.dll | 18:23 |
| juneau001 (~juneau@131.225.24.162) left irc: Quit: juneau001 | 18:24 | |
| amaury_ | should be OK | 18:24 |
| lambacck | okay. working on rebuilding everything with vs2008. | 18:25 |
| Action: amaury_ -> dinner | 18:26 | |
| amaury_ | see you | 18:26 |
| lambacck | bye, thanks for the assistance | 18:26 |
| amaury_ | well, it's not othen that I can share with someone on pypy-win32 | 18:28 |
| amaury_ | often | 18:28 |
| amaury_ (5bc3480e@gateway/web/freenode/ip.91.195.72.14) left #pypy. | 18:28 | |
| seanbrant_ (~seanbrant@c-98-206-179-115.hsd1.il.comcast.net) left irc: Quit: seanbrant_ | 18:39 | |
| lambacck | dependencies built and now trying to build pypy with VS2008 selected with vcvarsall.bat | 18:40 |
| fijal (~fijal@71.33.237.102) joined #pypy. | 18:43 | |
| fijal | Alex_Gaynor: so I clicked the buildbot so we had two benchmark runs | 18:51 |
| Alex_Gaynor | ah | 18:51 |
| fijal | <Alex_Gaynor> fijal: what's "abort bad loop"? | 18:51 |
| fijal | I don't know, but I know how to find it | 18:51 |
| fijal | grep pyjitpl.py for "bad loop" | 18:51 |
| fijal | <Alex_Gaynor> fijal: what are the semantics of int_divide(i0, i1) where i1 is 0? | 18:52 |
| fijal | I don't remember | 18:52 |
| fijal | but I think there is int_divide_overflow | 18:52 |
| fijal | operation or something | 18:52 |
| fijal | or zerodivision | 18:52 |
| fijal | that should raise | 18:53 |
| fijal | and int_divide should not get 0 | 18:53 |
| fijal | in other words it's undefined | 18:53 |
| Alex_Gaynor | so would constant folding int_div(i2, i2) -> 1 always be legal? | 18:53 |
| Alex_Gaynor | I see ABORT_LOOP at L1814 of pyjitpl | 18:54 |
| Alex_Gaynor | the comment isn't super uesful | 18:54 |
| fijal | it *might* be the case that zero division checking got moved to codewriter | 18:54 |
| fijal | in which case there should be guard just before | 18:54 |
| fijal | that checks if stuff is zero | 18:54 |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) joined #pypy. | 18:54 | |
| fijal | you can easily reproduce it with a test | 18:54 |
| fijal | that runs the jit and checks for ZeroDivisionError | 18:55 |
| fijal | there should be one already even | 18:55 |
| fijal | bad loop means compilation somehow failed | 18:56 |
| fijal | like the loop which was supposed to close didn't close | 18:56 |
| fijal | or something | 18:56 |
| Alex_Gaynor | I get 2 of these running 1 file of django tests :/ | 18:56 |
| fijal | you can get errors if tracing goes on some bad path | 18:56 |
| fijal | or you ended up at the wrong inline level | 18:56 |
| fijal | I think those are a bit mysterious :) | 18:56 |
| fijal | 2 are not too bad | 18:56 |
| Alex_Gaynor | ok, there's also a bunch of too long traces | 18:57 |
| htoothrot | amaury_, do you have a buildbot slave config for machines that were doing the windows builds? | 18:57 |
| Alex_Gaynor | but we knew about those before | 18:57 |
| htoothrot | or anyone, for that matter | 18:57 |
| Nick change: lucian_ -> lucian | 19:00 | |
| daniloaf (~daniloaf@150.165.63.86) joined #pypy. | 19:00 | |
| fijal | Alex_Gaynor: do you *really* want to know? | 19:04 |
| Alex_Gaynor | fijal: know what? | 19:04 |
| fijal | what's a bad loop | 19:04 |
| Alex_Gaynor | I suppose yes | 19:04 |
| fijal | grep for InvalidLoop | 19:05 |
| fijal | everything that raises that | 19:05 |
| Alex_Gaynor | ok | 19:07 |
| daniloaf (~daniloaf@150.165.63.86) left irc: Quit: Saindo | 19:07 | |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) left irc: Read error: Connection reset by peer | 19:09 | |
| alfredodeza (~alfredode@c-24-131-47-167.hsd1.ga.comcast.net) joined #pypy. | 19:16 | |
| panni_ (hannes@ip-178-203-73-7.unitymediagroup.de) joined #pypy. | 19:21 | |
| __name__ (~name@sburn/devel/name) left irc: Remote host closed the connection | 19:25 | |
| dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) left irc: Quit: Leaving | 19:36 | |
| alfredodeza (~alfredode@c-24-131-47-167.hsd1.ga.comcast.net) left irc: Remote host closed the connection | 19:36 | |
| fijal | ok | 19:37 |
| fijal | I need to implement SSE before running benchmarks | 19:37 |
| fijal | crap | 19:37 |
| stakkars_ (~tismer@72-254-60-112.client.stsn.net) left irc: Quit: schnarch | 19:44 | |
| fijal (~fijal@71.33.237.102) left irc: Ping timeout: 276 seconds | 19:49 | |
| Ademan | I thought we already emitted SSE code? | 19:52 |
| Alex_Gaynor | Ademan: I assume fijal is talking about vectorized SSE for numpy | 19:53 |
| Shinato (~John@osbk-4db15c0b.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 19:59 | |
| Shinato (~John@osbk-4d08b7b9.pool.mediaWays.net) joined #pypy. | 19:59 | |
| Ademan | I assume so too, I just wonder how he's going to do it. Unroll two or four iterations at a time then merge float_*() ops? | 20:00 |
| Alex_Gaynor | no idea | 20:01 |
| fenrrir (~fenrrir@187.40.154.178) left irc: Quit: Saindo | 20:06 | |
| daniloaf (~daniloaf@189.71.125.186) joined #pypy. | 20:11 | |
| lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) left irc: Ping timeout: 250 seconds | 20:15 | |
| jacob22__ (~jacob@63.133.138.10) left irc: Read error: Operation timed out | 20:16 | |
| lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) joined #pypy. | 20:17 | |
| mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) joined #pypy. | 20:19 | |
| antocuni (~antocuni@host17-122-dynamic.0-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 20:25 | |
| Moku (~John@osbk-4d08b7b9.pool.mediaWays.net) joined #pypy. | 20:25 | |
| Shinato (~John@osbk-4d08b7b9.pool.mediaWays.net) left irc: Ping timeout: 255 seconds | 20:25 | |
| jacob22__ (~jacob@63.133.138.10) joined #pypy. | 20:26 | |
| cco3 (~conley@c-69-181-140-72.hsd1.ca.comcast.net) joined #pypy. | 20:38 | |
| stakkars_ (~tismer@75.101.111.84) joined #pypy. | 20:40 | |
| pjenvey | fijal or Alex_Gaynor or someone with push access, I have a quickie patch here https://bitbucket.org/pjenvey/pypy | 20:49 |
| Alex_Gaynor | pjenvey: test please :) | 20:50 |
| pjenvey | yea, it's barely even worth one, just a dumb error message | 20:50 |
| pjenvey | but I'll make one if you really want one | 20:50 |
| Alex_Gaynor | yeah I'll live without at est | 20:50 |
| Alex_Gaynor | pjenvey: can you send a pull request? | 20:51 |
| pjenvey | Alex_Gaynor - done | 20:52 |
| Alex_Gaynor | was I cc'd on it (or however it works) | 20:52 |
| pjenvey | I think it just alerted user 'pypy' but I'm pretty sure you'd get a notification too | 20:53 |
| hpk_ | maybe we should make an email alias for pull requests that goes to the mailing list | 20:54 |
| Alex_Gaynor | pjenvey: whatever, I'll merge this the old fashioned way | 20:57 |
| Alex_Gaynor | ah crap, my cwd is full of stuff, can anyone else merge this? | 20:57 |
| kenaan | 12pjenvey default 11362d11da6174 15/pypy/objspace/std/objecttype.py: fix thinko in _abstract_method_error's error message | 21:02 |
| Ademan | hopefully that worked | 21:02 |
| lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving | 21:02 | |
| Ademan | hg makes this stuff so easy :-) | 21:03 |
| pjenvey | thanks guys | 21:06 |
| mdeval (~miguel@134.76.235.21) left irc: Quit: leaving | 21:06 | |
| Ademan | np, thanks for the patch | 21:06 |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com | 21:10 | |
| DanielHolth (~dholth@2002:62b4:2270:1:224:8cff:fe26:8c67) left irc: Quit: Ex-Chat | 21:12 | |
| Rhy0lite (~dje@nat/ibm/x-zrossdkqjnzpexxt) left irc: Quit: Leaving | 21:18 | |
| fijal (~fijal@c-67-166-33-96.hsd1.co.comcast.net) joined #pypy. | 21:37 | |
| gtaylor (~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net) left irc: Quit: Ex-Chat | 21:40 | |
| Shanita (~John@osbk-4d08722a.pool.mediaWays.net) joined #pypy. | 21:41 | |
| Moku (~John@osbk-4d08b7b9.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 21:43 | |
| Varriount (~Varriount@pool-96-255-210-183.washdc.fios.verizon.net) left irc: Read error: Connection reset by peer | 21:44 | |
| bobbyz_ (~bobbyz@12.131.26.130) joined #pypy. | 21:44 | |
| zrbecker (~zrbecker@ip98-164-227-211.oc.oc.cox.net) joined #pypy. | 21:44 | |
| Nick change: Varraway -> Varriount | 21:44 | |
| etrepum (~bob@accessnat4.mochimedia.net) joined #pypy. | 21:50 | |
| kkris (~kris@93-82-42-99.adsl.highway.telekom.at) left irc: Ping timeout: 255 seconds | 21:51 | |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Ping timeout: 264 seconds | 21:56 | |
| mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy. | 21:59 | |
| fijal | ronny: ping | 22:03 |
| Ademan | fijal: so I extended my optimizeopt to handle the obvious case of int_sub(iX, ConstInt()) and now my optimizeopt has the potential to emit int_add(iX, ConstInt(-something)). Currently I emit int_sub(iX, ConstInt(something)) instead, this breaks two tests in test_jitdriver because it expects int_add(iX, ConstInt(-something)) instead, can I consider this wrong and alter the test accordingly? | 22:12 |
| __name__ (~name@sburn/devel/name) joined #pypy. | 22:13 | |
| fijal | Ademan: what's wrong with int_add(iX, ConstInt(-something)) | 22:13 |
| fijal | ? | 22:13 |
| fijal | but in general, yes | 22:13 |
| Ademan | fijal: I don't really know what's "best" I just figured emitting int_sub(iX, ConstInt(something)) makes sense | 22:15 |
| fijal | yeah, it does | 22:15 |
| Alex_Gaynor | emitting int_sub makes it a bit easier for people reading traces I suppose | 22:15 |
| Alex_Gaynor | and it'll keep tests passing | 22:15 |
| bobbyz_ (~bobbyz@12.131.26.130) left irc: Ping timeout: 246 seconds | 22:15 | |
| Ademan | ok, then I'll fix these two tests. Thanks | 22:17 |
| Action: fijal thinks how to introduce SSE without having new boxes | 22:18 | |
| fijal | adding new boxes is a mess :-[ | 22:18 |
| Alex_Gaynor | fijal: you're talking about vectorized ops? | 22:20 |
| Ademan | would it make any sense to keep a repository of unoptimized traces somewhere, and allow optimizeopts to be independently run over those traces to experiment with real world traces ? | 22:20 |
| fijal | Alex_Gaynor: yes | 22:20 |
| Alex_Gaynor | Ademan: its' called the test suite :) | 22:20 |
| fijal | Ademan: no | 22:20 |
| fijal | Ademan: at least not more than test_optimizeopt works | 22:20 |
| fijal | and test_pypy_c | 22:21 |
| Alex_Gaynor | test_pypy_c sucks because you have to retranslate | 22:21 |
| Ademan | well, for instance my optimization works, but I don't know if it'll ever help in a real trace | 22:21 |
| fijal | yeah | 22:21 |
| fijal | Ademan: that's a thing you never know :) | 22:21 |
| fijal | ever - yes | 22:21 |
| fijal | significantly so - doubtful | 22:22 |
| Ademan | aside from my brainfuck interpreter (50%, pretty happy with that) | 22:22 |
| fijal | ok I'm annoyed now | 22:23 |
| fijal | so guess what | 22:23 |
| fijal | you need a pypy *default* to run jitviewer | 22:23 |
| whitelynx (~whitelynx@li117-47.members.linode.com) left irc: Quit: Ex-Chat | 22:23 | |
| fijal | and then you can't do svn up <other branch> without internet access | 22:23 |
| Ademan | branches don't work? | 22:23 |
| fijal | because hey svn | 22:23 |
| fijal | no | 22:23 |
| fijal | because we keep changing interfaces | 22:23 |
| fijal | between a part that lives in pypy and part that does not | 22:24 |
| Ademan | hah, well that explains why jitviewer wasn't working for me a few weeks ago | 22:24 |
| fijal | Alex_Gaynor: remember "no vim installed" error? | 22:24 |
| Alex_Gaynor | fijal: yes | 22:24 |
| fijal | it's even worse if you have vim installed | 22:24 |
| Alex_Gaynor | well "vim is not compiled with diffs enabled" | 22:24 |
| fijal | what was the fuckin option? | 22:24 |
| Ademan | vim -d ? | 22:25 |
| fijal | no hg merge -something | 22:25 |
| Ademan | unless there's some weird nocompatibility problem | 22:25 |
| Ademan | oh | 22:25 |
| Alex_Gaynor | fijal: http://paste.pocoo.org/show/355793/ | 22:26 |
| Ademan | --tool emacs ? | 22:26 |
| Alex_Gaynor | fijal: it's the merge= line | 22:26 |
| fijal | Checked out revision 80409. | 22:27 |
| fijal | abort: svn: '/home/fijal/src/pypy/lib_pypy' is not a working copy | 22:27 |
| fijal | I can't merge default now | 22:27 |
| fijal | anyway screw that | 22:28 |
| fijal | I have shopping to do | 22:28 |
| Ademan | svn is hard, let's go shopping | 22:29 |
| fijal | that's hg | 22:29 |
| fijal | I know how to merge with svn | 22:29 |
| Action: Alex_Gaynor doesn't | 22:29 | |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep. | 22:29 | |
| fijal | Alex_Gaynor: do you feel like merging default into numpy-exp? | 22:30 |
| Alex_Gaynor | fijal: yeah I can do that | 22:30 |
| fijal | awesome :) | 22:31 |
| fijal | not numpy-exp to default mind you! | 22:32 |
| Alex_Gaynor | fijal: hmm a few merge conflicts | 22:33 |
| fijal | I got them the first time | 22:33 |
| fijal | but then I killed my terminal | 22:33 |
| fijal | because vim kept popping up | 22:33 |
| Alex_Gaynor | want me to try to resolve them, or push with the issues? | 22:33 |
| fijal | and now I get only svn errors | 22:34 |
| fijal | they're trivial no? | 22:34 |
| fijal | like policy merge | 22:34 |
| Alex_Gaynor | merging pypy/jit/metainterp/test/test_ztranslation.py failed! | 22:34 |
| Alex_Gaynor | is not obvious to me | 22:34 |
| fijal | to me neither | 22:34 |
| Alex_Gaynor | well I think I got it | 22:35 |
| Alex_Gaynor | fijal: pushign | 22:39 |
| kenaan | 12alex_gaynor numpy-exp 11f90ccf766b69 15/: Merged default into numpy-exp. | 22:39 |
| Alex_Gaynor | fijal: you should probably review numarray.py | 22:39 |
| fijal | well | 22:40 |
| fijal | my working copy is in an unfixable state | 22:40 |
| fijal | WTF? | 22:40 |
| fijal | and... | 22:40 |
| fijal | I just removed all my compiled pypys | 22:41 |
| fijal | awesome | 22:41 |
| stakkars_ (~tismer@75.101.111.84) left irc: Quit: schnarch | 22:42 | |
| hpk_ | fijal: somehow your working machine tends to up in this state, no matter what, doesn't it? | 22:43 |
| fijal | no | 22:43 |
| fijal | machine is fine | 22:43 |
| fijal | but I tend to try too many things at once | 22:43 |
| fijal | which usually break tools that are unprepared | 22:43 |
| fijal | like mercurial | 22:44 |
| fijal | apparently if you crash your merge in the middle | 22:44 |
| hpk_ | "unprepared" :) | 22:44 |
| fijal | not by pressing C-c | 22:44 |
| fijal | you're screwed | 22:44 |
| lac | there is a way to get hg to not think that you want to resolve conflicts with vim | 22:44 |
| hpk_ | i have ended up with borked checkouts as well | 22:44 |
| fijal | see? | 22:44 |
| exarkun | where the good software at | 22:45 |
| fijal | moving testrunnner out would already be an improvement | 22:46 |
| hpk_ | what do you mean? | 22:46 |
| fijal | because right now you can't work without internet connection at all | 22:46 |
| hpk_ | inlining testrunner? | 22:46 |
| fijal | yeah | 22:46 |
| fijal | well, removing the svn part | 22:46 |
| hpk_ | ronny: would be cool to do this soonish | 22:46 |
| Alex_Gaynor | lac: yes, it's in the thing I pasted | 22:47 |
| fijal | anyway | 22:47 |
| fijal | off for the weekend see you | 22:47 |
| fijal (~fijal@c-67-166-33-96.hsd1.co.comcast.net) left irc: Quit: Leaving | 22:47 | |
| ronny | hpk_: hmm, where should i put it? | 22:50 |
| hpk_ | exactly where it is now | 22:50 |
| hpk_ | just not as a subrepo | 22:50 |
| ronny | ok | 22:51 |
| hpk_ | and please see if a pull -u actually works | 22:51 |
| hpk_ | i.e. going from subrepo to non-subrepo does not cause problems for people naively updating | 22:51 |
| ronny | there isnt a hg release with svn removal bug (i checked and ensured back when i had the issue with hackbeil) | 22:52 |
| ronny | (cause i run hg's default branch) | 22:52 |
| hpk_ | so do you suppose one needs to manually remove the subdir before updating? | 22:52 |
| hpk_ | (not sure what you mean with your hackbeil/release commenT) | 22:53 |
| kkris (~kris@93-82-42-99.adsl.highway.telekom.at) joined #pypy. | 22:54 | |
| ronny | hpk_: im 100% sure that all hg releases with svn subrepo support handle the case well | 22:54 |
| ronny | cause i hit the breakage when messing with hackbeil | 22:54 |
| hpk_ | ronny: ah, fine :) | 22:55 |
| ronny | wile running the development version of hg | 22:55 |
| kkris (~kris@93-82-42-99.adsl.highway.telekom.at) left irc: Client Quit | 22:55 | |
| kenaan | 12RonnyPfannschmidt default 11b0feedf8d4d8 15/: inline testrunner | 23:02 |
| hpk_ | nice | 23:09 |
| Action: hpk_ turns the part testrunner of codespeak read-only | 23:10 | |
| kenneth_reitz (~kenneth_r@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy. | 23:10 | |
| ronny | hpk_: what do we do about the benchmark | 23:13 |
| ronny | +s | 23:13 |
| ronny | hmm | 23:13 |
| ronny | lets see if there was any change since i converted them | 23:13 |
| hpk_ | why not create a bb+pypy/benchmarks? | 23:13 |
| hpk_ | but let's maybe discuss this with fijal | 23:13 |
| mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) left irc: Quit: Leaving | 23:13 | |
| ronny | hpk_: i kind of put it there already | 23:14 |
| ronny | but its not used | 23:14 |
| hpk_ | ah ok | 23:14 |
| ronny | like i said - im kind of in limbo | 23:14 |
| ronny | i wonder if i need to adabt how i handle communication | 23:14 |
| hpk_ | moving forward piece by piece is fine, i may be off for some time from any time on, though | 23:15 |
| bobbyz_ (~bobbyz@12.131.26.130) joined #pypy. | 23:15 | |
| ronny | hpk_: considering the timeframes more could have been done | 23:16 |
| Kaskuka (~John@osbk-4d087afa.pool.mediaWays.net) joined #pypy. | 23:19 | |
| Shanita (~John@osbk-4d08722a.pool.mediaWays.net) left irc: Ping timeout: 248 seconds | 23:20 | |
| Nick change: Varriount -> Varraway | 23:22 | |
| hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Ping timeout: 255 seconds | 23:23 | |
| Nick change: Varraway -> Varriount | 23:28 | |
| Shinato (~John@osbk-4d08728e.pool.mediaWays.net) joined #pypy. | 23:30 | |
| Action: lac -->dinner | 23:30 | |
| Kaskuka (~John@osbk-4d087afa.pool.mediaWays.net) left irc: Ping timeout: 255 seconds | 23:30 | |
| Action: ronny -> bed | 23:31 | |
| daniloaf (~daniloaf@189.71.125.186) left irc: Quit: Saindo | 23:32 | |
| stakkars_ (~tismer@72-254-85-128.client.stsn.net) joined #pypy. | 23:36 | |
| stakkars_ | howdy | 23:40 |
| Alex_Gaynor | afternoon | 23:42 |
| piotrek_m (4dfd6b75@gateway/web/freenode/ip.77.253.107.117) joined #pypy. | 23:45 | |
| piotrek_m | hi, any1 here? | 23:45 |
| Alex_Gaynor | depends what you nee | 23:46 |
| Alex_Gaynor | d | 23:46 |
| pmav99 (~pmav99@79.103.98.226) joined #pypy. | 23:46 | |
| piotrek_m | I am runnig debian, downloaded binaries 1.41, but pypy runs slower than python | 23:46 |
| piotrek_m | 10x times slower | 23:46 |
| Alex_Gaynor | can you show us your benchmark? | 23:46 |
| piotrek_m | ok 1 sec | 23:47 |
| piotrek_m | this is simple django app: http://82.160.204.87:8000/p/all/?page=3 <- python | 23:48 |
| piotrek_m | http://82.160.204.87:8001/p/all/?page=3 <- pypy | 23:48 |
| Alex_Gaynor | SQLite DB I assume? | 23:48 |
| piotrek_m | yes | 23:49 |
| piotrek_m | but sqlite takes only 80 ms | 23:49 |
| piotrek_m | i tried to compile from source but I failed twice | 23:50 |
| piotrek_m | once with python 2.6 | 23:50 |
| Ademan | piotrek_m: did you measure that using cProfile? because cProfile used to (still does I think) ruin our performance | 23:50 |
| Alex_Gaynor | debug toolbar doesn't invoke cProfile | 23:51 |
| Alex_Gaynor | it doesn't call sys._getframe I think | 23:51 |
| Alex_Gaynor | yeah it does, that's bad for our performance | 23:51 |
| Alex_Gaynor | piotrek_m: can you disbale DDT, and benchmark it using ab or siege or something? | 23:51 |
| piotrek_m | ok 1 sec | 23:52 |
| Ademan | that's a pretty nifty feature, that debug toolbar | 23:52 |
| Alex_Gaynor | yeah DDT is slick | 23:52 |
| piotrek_m | ok DDT disabled, still the same thing | 23:53 |
| piotrek_m | pypy 2* times slower | 23:54 |
| piotrek_m | i am runing x64 btw, does it matter? | 23:54 |
| Alex_Gaynor | shouldn't | 23:54 |
| Ademan | wait I thought it was 10x slower before, that's a big difference :-p | 23:54 |
| Alex_Gaynor | ok I tihnk we can lay that on SQLite being really slow on pypy, since it's pure python using ctypes, anto is working on speeding it up tons though | 23:54 |
| hpk_ (~hpk@HSI-KBW-109-193-198-175.hsi7.kabel-badenwuerttemberg.de) left irc: Ping timeout: 250 seconds | 23:54 | |
| Ademan | do we have an ETA for jitffi? | 23:55 |
| Alex_Gaynor | when its ready! :) | 23:55 |
| piotrek_m | what db backend does work well with pypy? | 23:55 |
| Ademan | Alex_Gaynor: any idea what's up with MySQLdb ? since greg was interested in that? | 23:56 |
| Alex_Gaynor | Ademan: not a clue | 23:56 |
| piotrek_m | ok so I disabled db. still same problem | 23:56 |
| Ademan | there's always your mysqldb module though :-p | 23:56 |
| piotrek_m | http://82.160.204.87:8001/p/ & http://82.160.204.87:8000/p/ | 23:56 |
| Ademan | er, psycopg | 23:57 |
| piotrek_m | this does only return rendertoresponse | 23:57 |
| piotrek_m | no db stuff here | 23:57 |
| piotrek_m | same problem | 23:57 |
| piotrek_m | pypy is slower (about 2x) | 23:57 |
| Alex_Gaynor | how many times did you access the page? | 23:58 |
| piotrek_m | 100 | 23:58 |
| Alex_Gaynor | try hitting it 5000 times :) | 23:58 |
| piotrek_m | ok, benchmaring with ab | 23:59 |
| Ademan | some of the inner loops should have been jitted already though | 23:59 |
| --- Sat Mar 19 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!