| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 00:07 | |
| lac (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy. | 00:13 | |
| lac_ (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 252 seconds | 00:14 | |
| dmalcolm (david@nat/redhat/x-fvsigngeczovtbqf) left irc: Quit: Leaving | 00:15 | |
| amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 252 seconds | 00:18 | |
| tlynn_ (~tlynn@cpc6-cmbg14-2-0-cust121.5-4.cable.virginmedia.com) left irc: Ping timeout: 240 seconds | 00:25 | |
| mat^2 (~mathias@212.130.113.35) left irc: | 00:27 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy. | 00:34 | |
| mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host | 00:34 | |
| mfoord (~anonymous@python/psf/voidspace) joined #pypy. | 00:34 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/735 | 00:37 |
|---|---|---|
| ousado_ (~ousado@hmbg-5f76557a.pool.mediaWays.net) joined #pypy. | 00:37 | |
| ousado (~ousado@hmbg-5f762bbb.pool.mediaWays.net) left irc: Ping timeout: 244 seconds | 00:41 | |
| davisagli (davisagli@davisagli.com) left #pypy. | 00:50 | |
| derdon (~derdon@p5DE894EA.dip.t-dialin.net) left irc: Remote host closed the connection | 01:05 | |
| gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy. | 01:07 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/161 | 01:11 |
| etrepum (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 244 seconds | 01:11 | |
| aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection | 01:31 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 01:32 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 01:35 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 248 seconds | 01:36 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Client Quit | 01:37 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1878 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/615 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/633 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1143 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/296 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/818 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1460 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/739 | 01:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/284 | 01:37 |
| etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy. | 01:41 | |
| mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord | 01:43 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 01:45 | |
| ericflo (~ericflo@75.103.8.110) joined #pypy. | 01:50 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection | 01:58 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 01:59 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 02:01 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Client Quit | 02:01 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 240 seconds | 02:03 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 02:03 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/284 | 02:05 |
| brutal_chaos | how do I benchmark pypy? | 02:08 |
| neunon (~snoonan@unaffiliated/neunon) left irc: Read error: Operation timed out | 02:08 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Quit: schnarch | 02:22 | |
| brutal_chaos | about how long does it take to run the benchmarks? | 02:33 |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 02:37 | |
| Shanita (~John@osbk-4db15ac2.pool.mediaWays.net) joined #pypy. | 02:41 | |
| Kaskuka (~John@osbk-4db17372.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 02:41 | |
| PqSe (~joe@cafe.rspkg.com) left irc: Remote host closed the connection | 02:53 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/965 | 02:56 |
| ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo | 02:56 | |
| gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated! | 03:11 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds | 03:18 | |
| asmeurer__ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer__ | 03:30 | |
| harrison (~quassel@adsl-69-209-194-12.dsl.chcgil.sbcglobal.net) left irc: Remote host closed the connection | 03:34 | |
| davisagli (~davisagli@davisagli.com) joined #pypy. | 03:56 | |
| kennethreitz (~kennethre@adsl-99-191-194-225.dsl.pltn13.sbcglobal.net) joined #pypy. | 03:57 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 252 seconds | 03:57 | |
| mattip (~mp@bzq-79-177-116-180.red.bezeqint.net) joined #pypy. | 03:59 | |
| mattip (mp@bzq-79-177-116-180.red.bezeqint.net) left #pypy. | 04:01 | |
| mattip (~mp@bzq-79-177-116-180.red.bezeqint.net) joined #pypy. | 04:04 | |
| mattip | hi | 04:05 |
| mattip (mp@bzq-79-177-116-180.red.bezeqint.net) left #pypy. | 04:05 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1878 | 04:06 |
| kushal (~kdas@114.143.162.64) joined #pypy. | 05:19 | |
| kushal (~kdas@114.143.162.64) left irc: Changing host | 05:19 | |
| kushal (~kdas@fedora/kushal) joined #pypy. | 05:19 | |
| kennethreitz (~kennethre@adsl-99-191-194-225.dsl.pltn13.sbcglobal.net) left irc: Quit: Computer has gone to sleep. | 05:19 | |
| kushal (~kdas@fedora/kushal) left irc: Client Quit | 05:22 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/818 | 05:23 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/633 | 05:32 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/1460 | 05:33 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1143 | 05:38 |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/615 | 05:44 |
| kennethreitz (~kennethre@ip65-46-252-62.z252-46-65.customer.algx.net) joined #pypy. | 05:49 | |
| kennethreitz (~kennethre@ip65-46-252-62.z252-46-65.customer.algx.net) left irc: Quit: Computer has gone to sleep. | 06:02 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 06:04 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection | 06:05 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 06:05 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 255 seconds | 06:09 | |
| Nick change: Gulopine -> Gulaway | 06:19 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 06:23 | |
| fijal (~fijal@197.171.140.170) joined #pypy. | 06:24 | |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) joined #pypy. | 06:35 | |
| mattip | hi | 06:35 |
| mattip | fijal: ping | 06:36 |
| fijal | pong | 06:37 |
| mattip | I committed a version of dot. | 06:37 |
| mattip | It seems a bit tangential to your efforts to unify iterators. | 06:37 |
| mattip | It seems to work for scalar, 2d, and multiple dimensional arrays, I even copied the numpy docstrings. | 06:38 |
| mattip | I also checked slices. | 06:38 |
| mattip | It also does not stuff up the zjit tests. | 06:39 |
| mattip | I would be interested in your review, not necessarily for merging into default but more for the approach taken. | 06:40 |
| mattip | When you have a chance. | 06:42 |
| mattip | that's all for now. | 06:44 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 240 seconds | 06:46 | |
| overminder (overminder@wf124-152.ust.hk) joined #pypy. | 06:46 | |
| fijal | mattip: ok, cool | 06:48 |
| fijal | I'm a bit behind on reviews, I'll try to merge reshape today | 06:48 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 06:48 | |
| gutworth (~benjamin@dhcp-128-36-84-91.central.yale.edu) left irc: Ping timeout: 244 seconds | 06:49 | |
| mattip | ok. It sure would make writing tests easier. | 06:50 |
| Action: mattip nose-> grindstone | 06:50 | |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) left irc: Quit: Page closed | 06:51 | |
| Alex_Gaynor | fijal: FWIW jterrace looked at reshape and said it seemed to work for him | 06:52 |
| overminder (overminder@wf124-152.ust.hk) left irc: Quit: Leaving | 06:53 | |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy | 06:53 | |
| bbot2 | 3Success: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/739 | 06:53 |
| overminder (overminder@wf124-152.ust.hk) joined #pypy. | 06:55 | |
| overminder (overminder@wf124-152.ust.hk) left irc: Client Quit | 06:56 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 244 seconds | 06:57 | |
| overminder (overminder@wf124-152.ust.hk) joined #pypy. | 06:58 | |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 06:58 | |
| bbot2 | 4Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/296 | 07:05 |
| Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 240 seconds | 07:10 | |
| kenaan | 12hakanardo jit-targets 114c76bc680c2f 15/pypy/jit/metainterp/test/test_memmgr.py: suport for setup_class and teardown_class | 07:12 |
| Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy. | 07:16 | |
| Arfrever (~Arfrever@apache/committer/Arfrever) left irc: Quit: Ex+re | 07:18 | |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) joined #pypy. | 07:28 | |
| mattip | hi | 07:28 |
| fijal | wb | 07:28 |
| mattip | forgot something: if you do look at reshape today, I had a problem I didn't know how to solve s I left it as a skipped test. | 07:29 |
| mattip | b=a.reshape((2,3,4)) | 07:29 |
| mattip | works, but | 07:29 |
| mattip | b=a.reshape(2, 3, 4) | 07:29 |
| mattip | is skipped cuz I couldn't work out how to handle *args | 07:30 |
| fijal | ah | 07:30 |
| fijal | that's relatively easy | 07:31 |
| fijal | you pass __args__ | 07:31 |
| fijal | and then do parsing on them | 07:31 |
| fijal | I can do it if you don't feel like it | 07:31 |
| fijal | but you can just look up for __args__ | 07:31 |
| mattip | OK, great, if you don't get around to it I will fix it later (after european work hours) | 07:31 |
| fijal | ok, cool | 07:32 |
| fijal | I'll try to get to that | 07:32 |
| mattip | bye now. | 07:32 |
| fijal | there is however a cool wave today ;-) | 07:32 |
| mattip | ;) | 07:32 |
| Alex_Gaynor | pff, the docstring for reshape isnt' accurte | 07:32 |
| mattip | huh? | 07:33 |
| Alex_Gaynor | mattip: numpy's docstring doesn't mention you can pas *args | 07:33 |
| squiddy (~squiddy@f053081179.adsl.alicedsl.de) joined #pypy. | 07:34 | |
| fijal | indeed | 07:34 |
| `fox` (~fox@95.232.111.114) joined #pypy. | 07:34 | |
| mattip | ok, so maybe it's a non-documented feature. I personally use it though, so I want it :). | 07:38 |
| fijal | mattip: I'm fine saying it's an unsupported mess | 07:38 |
| fijal | ah! :) | 07:38 |
| mattip | Besides, I learned something new: __args__ | 07:38 |
| fijal | is it documented anywhere? | 07:38 |
| fijal | you can also use args_w | 07:39 |
| mattip | cool. Gotta run. | 07:40 |
| mattip (c1a94669@gateway/web/freenode/ip.193.169.70.105) left irc: Quit: Page closed | 07:40 | |
| overminder (overminder@wf124-152.ust.hk) left irc: Ping timeout: 252 seconds | 07:40 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 07:47 | |
| cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) joined #pypy. | 07:47 | |
| JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 07:48 | |
| roelbruggink (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 07:48 | |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 255 seconds | 07:52 | |
| JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 268 seconds | 07:53 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection | 08:01 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 08:01 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Ping timeout: 252 seconds | 08:06 | |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds | 08:11 | |
| Alex_Gaynor | fijal: less articles, more reshape :) | 08:14 |
| fijal | I'm on holiday ;-) | 08:14 |
| Action: Alex_Gaynor can't wait for a holiday so he can have some pypy time | 08:15 | |
| fijal | how mattip manages branches so they create bogus conflicts? | 08:16 |
| fijal | I honestly doubt it's his issue, rather mercurials | 08:16 |
| Alex_Gaynor | merge conflict? blame hg :) | 08:17 |
| fijal | who renamed NDimArray to W_NDimArray? | 08:17 |
| Alex_Gaynor | Me | 08:17 |
| fijal | okey | 08:20 |
| fijal | why not W_NdimSlice? | 08:20 |
| fijal | export float32 :) | 08:20 |
| Alex_Gaynor | fijal: I exported flaot32 | 08:20 |
| Alex_Gaynor | fijal: fair question, I don't have a good answer | 08:20 |
| fijal | anyway, don't do it *now* | 08:22 |
| fijal | until I merge | 08:22 |
| Alex_Gaynor | I'm not, I'm writing a paper | 08:22 |
| `fox` (~fox@95.232.111.114) left irc: Ping timeout: 248 seconds | 08:25 | |
| roelbruggink (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection | 08:26 | |
| kenaan | 12fijal default 11ea547b8be18f 15/pypy/module/micronumpy/: merge matrix-reshape-merge branch. Thanks mattip for doing that. Adds settable shape of an array as well as reshap... | 08:26 |
| fijal | good | 08:26 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy. | 08:26 | |
| Alex_Gaynor | close the branch? | 08:27 |
| fijal | yes yes, pushing :) | 08:27 |
| kenaan | 12fijal default 11e36a33ee5710 15/: close merged branch | 08:27 |
| kenaan | 12fijal matrixmath-reshape 11c8b9ca8d5c25 15/: close merged branch | 08:27 |
| Alex_Gaynor | eh, you closed default? | 08:27 |
| fijal | nice | 08:29 |
| fijal | do anything to it and it'll unclose | 08:30 |
| kenaan | 12fijal matrixmath-reshape-merge 1183b5695339e8 15/: close merged branch | 08:30 |
| Alex_Gaynor | fijal: feel like unclosing it now :) | 08:30 |
| fijal | when I have something to commit | 08:31 |
| fijal | it's not harmful or anything | 08:31 |
| Alex_Gaynor | ok | 08:31 |
| kenaan | 12fijal default 11ea4102860b98 15/pypy/module/micronumpy/: rename NDimSlice to W_NDimSlice, kill some unused imports | 08:33 |
| fijal | done :) | 08:36 |
| Alex_Gaynor | :) | 08:36 |
| Alex_Gaynor | cool | 08:36 |
| fijal | so | 08:37 |
| fijal | my idea about signatures | 08:38 |
| fijal | is so we can consider sharing arrays if we want to as well | 08:38 |
| fijal | essentially you provide numbering | 08:38 |
| fijal | for iterators in the first place | 08:38 |
| fijal | so say (a + b) * (c + d) | 08:38 |
| fijal | note that a and b and c and d have to be the same size for it to work | 08:38 |
| fijal | would become | 08:39 |
| fijal | Multiply(Add(0, 0), Add(0, 0)) | 08:39 |
| fijal | and you have a list of iterators | 08:39 |
| Alex_Gaynor | So you basically build a list of iterators, and then for each op you use the iterator that's there, and let the optimizer remove the dead iterators? | 08:40 |
| Alex_Gaynor | that lets you remove the duplicate counters, how do you show teh JIT that the arrays are the same obj? | 08:40 |
| fijal | you can provide another numbering about the same arrays | 08:40 |
| Alex_Gaynor | ok, seems sane-ish to me | 08:41 |
| Alex_Gaynor | will require a refactoring of the Signature | 08:41 |
| fijal | the thing is this way you also get rid of bridges with tons of guards | 08:41 |
| fijal | because you walk signatures and not iterators | 08:41 |
| Alex_Gaynor | indeed | 08:41 |
| fijal | you don't have a Call2 iterator anymore | 08:41 |
| mvt (~mvantelli@87.213.45.85) joined #pypy. | 08:41 | |
| Alex_Gaynor | I'm not totally sure the optimizer can handle all of this TBH, but if we build a prototype we can always improve the optimizer | 08:42 |
| Alex_Gaynor | particularly I'm concerned about what exactly you make the greenkey, and if enough is immutable on a signature | 08:42 |
| nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 08:45 | |
| fijal | yes | 08:45 |
| fijal | no, the optimizer has nothing to do with it | 08:46 |
| Alex_Gaynor | well you know what I meant | 08:46 |
| fijal | because all we need is to have an elaborate enough greenkey | 08:46 |
| fijal | then everything gets nicely handled at tracing | 08:46 |
| Alex_Gaynor | list of iterators needs to be virtualizable I think | 08:47 |
| fijal | or you create a new one each iteration | 08:47 |
| fijal | it's easier than current recursive structure | 08:47 |
| Alex_Gaynor | something like that | 08:47 |
| fijal | IMO | 08:47 |
| Alex_Gaynor | fine with me, makes sense IMO | 08:47 |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy. | 08:51 | |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 08:52 | |
| fijal | now we need some sort of bytecode that we can hash on | 08:52 |
| fijal | probably | 08:52 |
| fijal | hm | 08:52 |
| fijal | right | 08:52 |
| fijal | why don't we just create a bytecode? | 08:52 |
| Alex_Gaynor | fijal: so basically we're reverting to pre-my AST refactor | 08:52 |
| Alex_Gaynor | :) | 08:52 |
| cpets_ (c358b60a@gateway/web/freenode/ip.195.88.182.10) joined #pypy. | 08:53 | |
| fijal | not quite I guess | 08:53 |
| fijal | but does not it make sense? | 08:53 |
| Alex_Gaynor | well, how do you pass around call1/call2 | 08:53 |
| Alex_Gaynor | I guess an alternate fix is to be able to do green key by some eq func, and not id | 08:53 |
| fijal | right | 08:54 |
| fijal | but isn't it if you have strings? | 08:54 |
| cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) left irc: Ping timeout: 265 seconds | 08:55 | |
| Alex_Gaynor | no, it'd id() for strings AFAIK, that's why in previous bytecode we cached it after we compiled it | 08:55 |
| fijal | it's equality not id | 08:55 |
| fijal | ah | 08:55 |
| Alex_Gaynor | no, I'm pretty sure it'd id | 08:55 |
| fijal | okey | 08:55 |
| fijal | well, it's easy you intern the string | 08:55 |
| Alex_Gaynor | sure, interning the stinrg isn't the complex part of this | 08:56 |
| fijal | but yeah, essentially | 08:57 |
| fijal | it seems your solution is not flying any more :) | 08:57 |
| Alex_Gaynor | maybe it's not a 747, but it's a nice zeppellin | 08:57 |
| fijal | :] | 09:03 |
| Alex_Gaynor | fijal: actually, if you cache each individual instance in the tree maybe it works, or maybe it's a mess, bit unclear. maybe try to write a version without a greenkey first | 09:05 |
| PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood | 09:08 | |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Remote host closed the connection | 09:08 | |
| fijal | ok | 09:08 |
| PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy. | 09:09 | |
| Alex_Gaynor | fijal: so you're volunteering to do this? :) | 09:11 |
| fijal | yes, I guess so | 09:11 |
| fijal | I have another horrible worry | 09:11 |
| G2P (~G2P@fw-asn1.ornis.com) joined #pypy. | 09:12 | |
| fijal | that it's simply waiting for cache | 09:12 |
| fijal | because we create a new array each tmie | 09:12 |
| Alex_Gaynor | you mean CPU cache | 09:12 |
| fijal | that's why I would like to have a[:] = b | 09:12 |
| fijal | using memcopy for now | 09:12 |
| Alex_Gaynor | give me a way to check if an array is contigious, and I'll do it | 09:13 |
| fijal | if array.strides[-1] == 1 | 09:13 |
| fijal | then array is contiguous | 09:13 |
| fijal | no | 09:13 |
| fijal | not necesarilly | 09:13 |
| Alex_Gaynor | see, this is why I didn't write this | 09:13 |
| fijal | array.strides[-1] == 1 and array.backstrides[-1] == shape[0] or so | 09:14 |
| fijal | or shape[-1] :) | 09:14 |
| fijal | ok | 09:14 |
| fijal | I can write the function | 09:14 |
| fijal | is_contiguous() | 09:14 |
| Alex_Gaynor | yes :) | 09:14 |
| fijal | but you fix the spelling | 09:14 |
| Alex_Gaynor | is_contiguous | 09:14 |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) joined #pypy. | 09:16 | |
| mkerrin (~mkerrin@wg1-nat.fwgal01.deri.ie) joined #pypy. | 09:18 | |
| mkerrin (mkerrin@wg1-nat.fwgal01.deri.ie) left #pypy. | 09:18 | |
| mkerrin (~mkerrin@wg1-nat.fwgal01.deri.ie) joined #pypy. | 09:23 | |
| fijal | Alex_Gaynor: do you want some review on the paper btw? | 09:26 |
| fijal | I'm doing numpy on pypy talk at a local PUG on Sat | 09:26 |
| Alex_Gaynor | fijal: the paper I was writing tonight? not really it's totally nontechnical | 09:27 |
| fijal | okey | 09:27 |
| Alex_Gaynor | fijal: I'll show you my slides on testing in pypy tomorrowish though | 09:27 |
| fijal | cool | 09:27 |
| fijal | I wonder what to talk about | 09:27 |
| Alex_Gaynor | show our benchmarks :) | 09:28 |
| apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy. | 09:29 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 09:34 | |
| kenaan | 12ctismer default 11f6023488fc52 15/pypy/: fixed _socket int/uint matters | 09:41 |
| witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 09:42 | |
| witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy. | 09:46 | |
| ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy. | 09:48 | |
| ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy. | 09:50 | |
| hruske (~Gasper@2001:15c0:66e9:14:806e:69ff:fe1e:105f) joined #pypy. | 10:02 | |
| hruske (~Gasper@2001:15c0:66e9:14:806e:69ff:fe1e:105f) left irc: Client Quit | 10:02 | |
| Fluxid | after running benchmark runner i got results like: Min: 0.168075 -> 0.214997: 1.2792x slower � whis value is which? it run pypy firsty and cpython second, so the slower one is cpython? | 10:23 |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 10:35 | |
| stakkars (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Read error: Connection reset by peer | 10:35 | |
| Nick change: stakkars_ -> stakkars | 10:35 | |
| rokujyouhitoma (~rokujyouh@122x220x64x254.ap122.ftth.ucom.ne.jp) joined #pypy. | 10:35 | |
| cpets_ (c358b60a@gateway/web/freenode/ip.195.88.182.10) left irc: Quit: Page closed | 10:36 | |
| Fluxid | uh, as far i understand the code, second one is pypy, so it's slower? | 10:39 |
| mkerrin (~mkerrin@wg1-nat.fwgal01.deri.ie) left irc: Quit: mkerrin | 10:41 | |
| ronny | Fluxid: what benchmark are you running, and how exactly do you run ti? | 10:45 |
| ronny | *it | 10:45 |
| Fluxid | one moment | 10:45 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Ping timeout: 244 seconds | 10:46 | |
| Fluxid | ronny: http://paste.pocoo.org/show/516993/ first one is without jit in pypy. i modified unladen_swallow/perf.py to run 100 iterations instead of 50, but slowdown is about the same | 10:48 |
| Fluxid | results are rather different from http://speed.pypy.org/comparison/?exe=1%2BL%2Bdefault%2C3%2BL%2Bdefault&ben=27&env=1&hor=false&bas=2%2B472&chart=relative+bars | 10:50 |
| Fluxid | what i did wrong? | 10:50 |
| neunon (~snoonan@unaffiliated/neunon) joined #pypy. | 10:50 | |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 10:54 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) joined #pypy. | 10:55 | |
| Fluxid | after running 500 iters it's still ~1.2x slower... why? | 10:56 |
| lac (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Remote host closed the connection | 11:00 | |
| rokujyouhitoma (~rokujyouh@122x220x64x254.ap122.ftth.ucom.ne.jp) left irc: Remote host closed the connection | 11:00 | |
| ronny | Fluxid: i get the same result with nightly | 11:02 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 11:02 | |
| Fluxid | but I use 1.7... then why speed.pypy.org shows it's faster? are there more iterations or something? but i don't see a way to set how many iterations a test should do, so... how, why? | 11:04 |
| ronny | not sure | 11:06 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Read error: Connection reset by peer | 11:06 | |
| ronny | on the django benchmark its 8x faster tho | 11:06 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 11:06 | |
| Fluxid | fijal: any ideas? | 11:08 |
| derdon (~derdon@pD9E1DC47.dip.t-dialin.net) joined #pypy. | 11:11 | |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy. | 11:12 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Read error: Connection reset by peer | 11:13 | |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 11:15 | |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 11:15 | |
| arigato | hi | 11:16 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Disconnected by services | 11:16 | |
| nedbat_ (~nedbat@python/psf/nedbat) joined #pypy. | 11:16 | |
| squiddy (~squiddy@f053081179.adsl.alicedsl.de) left irc: Remote host closed the connection | 11:22 | |
| arigato | fijal: I heard you talked about DAGs | 11:32 |
| arigato | for numpy compute() | 11:32 |
| arigato | it looks like a good idea to do something about it | 11:33 |
| arigato | http://paste.pocoo.org/show/517004/ | 11:33 |
| arigato | this example takes forever on pypy | 11:33 |
| arigato | I can explain why after lunch if it's unclear .-) | 11:33 |
| brutal_chaos | fijal: hey, I have test results, should I run saveresults.pt? | 11:41 |
| brutal_chaos | saveresults.py* | 11:42 |
| Nick change: nedbat_ -> nedbat | 11:48 | |
| brutal_chaos | arigato, fijal I have benchmark results from my pypy-1.7 shadowstack clang build. What do I need to send to the mailing list? I have the printed results and the results.json. | 11:51 |
| espes (~espes@123-243-221-248.tpgi.com.au) left irc: Read error: Connection reset by peer | 11:53 | |
| espes (~espes@123-243-221-248.tpgi.com.au) joined #pypy. | 11:54 | |
| cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) joined #pypy. | 12:03 | |
| derdon (~derdon@pD9E1DC47.dip.t-dialin.net) left irc: Remote host closed the connection | 12:07 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 12:08 | |
| santagada (~leonardo@177.18.63.214) joined #pypy. | 12:21 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) joined #pypy. | 12:56 | |
| harrison (~quassel@adsl-69-209-222-31.dsl.chcgil.sbcglobal.net) joined #pypy. | 13:04 | |
| lizardo (~lizardo@189.2.128.130) joined #pypy. | 13:05 | |
| Nick change: DasIch_ -> DasIch | 13:07 | |
| kenaan | 12l.diekmann type-specialized-instances 11940ed396c2d9 15/pypy/objspace/std/mapdict.py: some fixes for type-specialized-attributes | 13:11 |
| Rhy0lite (dje@nat/ibm/x-ymiaplfkvqbopvxt) joined #pypy. | 13:13 | |
| kenaan | 12l.diekmann type-specialized-instances 1168bb4e39d162 15/: merge with default | 13:15 |
| kenaan | 12l.diekmann type-specialized-instances 110c894ad8e9b5 15/pypy/objspace/std/mapdict.py: oups | 13:25 |
| k_bx (~k_bx@195.20.130.1) joined #pypy. | 13:25 | |
| dgl (~dgl@109.86.165.231) joined #pypy. | 13:48 | |
| squiddy (~squiddy@w4089.dip.tu-dresden.de) joined #pypy. | 13:50 | |
| gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy. | 13:56 | |
| fijal (~fijal@197.171.140.170) left irc: Read error: Connection reset by peer | 14:09 | |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 14:12 | |
| cheater (~cheater@178-26-42-68-dynip.superkabel.de) joined #pypy. | 14:12 | |
| cheater | hi | 14:12 |
| cheater | what do i use if i want my pypy based app to read or write xml? | 14:12 |
| Nick change: Gulaway -> Gulopine | 14:13 | |
| kdas_ (~kdas@114.143.162.64) left irc: Client Quit | 14:16 | |
| ronny | cheater: there is xml.etree in the stdlib, what do you intend to do? | 14:17 |
| cheater | ronny: just read and write some xml based config files | 14:17 |
| cheater | ronny: and possibly access some properties using xpath (so i'd need some basic xslt too) | 14:18 |
| ronny | cheater: xml.etree has ElementPath for xpath | 14:21 |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 14:21 | |
| ronny | cheater: i dont see how xslt is needed for reading values | 14:21 |
| ronny | btw, why xml config? | 14:21 |
| cheater | right, it does | 14:21 |
| cheater | ronny: ask the 100 or so people who worked on this Enterprise Megapplication before me :)) | 14:22 |
| ronny | oh, enterprise, i see | 14:22 |
| ronny | cheater: what do you currently use to read the xml? | 14:23 |
| cheater | libxml2 | 14:23 |
| squiddy (~squiddy@w4089.dip.tu-dresden.de) left irc: Quit: Leaving | 14:24 | |
| ronny | bbl | 14:25 |
| cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 14:25 | |
| cheater | ronny: so does xml.etree work well under pypy? no problems? | 14:27 |
| Action: exarkun bets there are problems | 14:29 | |
| gutworth (~benjamin@128.36.84.91) joined #pypy. | 14:41 | |
| Nick change: Gulopine -> Gulaway | 14:42 | |
| whitelynx|work (~whitelynx@63.241.75.144) joined #pypy. | 14:44 | |
| hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy. | 14:47 | |
| cwillu_at_work (~cwillu@cwillu-1-pt.tunnel.tserv13.ash1.ipv6.he.net) joined #pypy. | 14:53 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) left irc: Quit: Leaving | 14:56 | |
| cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) left irc: Quit: Page closed | 14:59 | |
| mkerrin (~mkerrin@wg1-nat.fwgal01.deri.ie) joined #pypy. | 15:10 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 248 seconds | 15:11 | |
| kkris (~kris@80-123-36-77.adsl.highway.telekom.at) joined #pypy. | 15:21 | |
| overminder (~overminde@wf116-092.ust.hk) joined #pypy. | 15:24 | |
| stakkars | hi all, | 15:29 |
| stakkars | got an issue with micronumpy | 15:29 |
| stakkars | is micronumpy working otherwise? | 15:30 |
| stakkars | this is win32, but I see no reason why win32 should be special? | 15:30 |
| anders_AU (~dunder@130.225.20.54) joined #pypy. | 15:31 | |
| mattip (~chatzilla@bzq-79-179-96-122.red.bezeqint.net) joined #pypy. | 15:33 | |
| mattip | hi | 15:33 |
| anders_AU | Hi | 15:34 |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy. | 15:34 | |
| anders_AU | Does anyone know why I can't include a specific module with pypy that I can include with cPython? | 15:34 |
| exarkun | anders_AU: Do you mean "import", not "include"? | 15:35 |
| anders_AU | I'm doing some weather data analysis, and would like to use the pygrib package | 15:35 |
| anders_AU | yes, import | 15:35 |
| anders_AU | I do "import pygrib", and i get an error | 15:35 |
| exarkun | Did you install pygrib for PyPy? | 15:35 |
| anders_AU | Not specifically | 15:35 |
| anders_AU | do you know the module? | 15:35 |
| exarkun | PyPy generally won't find modules that you only installed for CPython. | 15:35 |
| anders_AU | okay | 15:35 |
| exarkun | I don't really know it, no. From its website, I see it's a wrapper for a C library. | 15:36 |
| anders_AU | yes | 15:36 |
| exarkun | PyPy supports much of the CPython C API, but not all of it. | 15:36 |
| anders_AU | Could I test it by copying the cPython pygrib module into the folder I downloaded from the PyPy homepage? | 15:36 |
| exarkun | You can try building/installing pygrib for PyPy: pypy setup.py install - just as you might expect - and it may work, or you may find it uses some part of the CPython C API that PyPy does not yet support. | 15:36 |
| squiddy (~squiddy@f053081179.adsl.alicedsl.de) joined #pypy. | 15:36 | |
| anders_AU | I'll try | 15:37 |
| brutal_chaos | anders_AU: did you run 'pypy setup.py' for the module | 15:37 |
| exarkun | PyPy is not binary (ABI) compatible with CPython, so you have to rebuild it for PyPy, you can't re-use the CPython build. | 15:37 |
| anders_AU | No. I'll try. I'm quite new to pypy, just discovered it last week | 15:37 |
| brutal_chaos | anders_AU: are you usimng windows? | 15:38 |
| mattip (chatzilla@bzq-79-179-96-122.red.bezeqint.net) left #pypy. | 15:38 | |
| anders_AU | no, I'm on gentoo linux. And I downloaded the binary file from the homepage because I didn't have enough RAM to translate it | 15:38 |
| brutal_chaos | ok. (yay gentoo!) | 15:39 |
| anders_AU | pypy-1.7 % find ./ -name "setup.py" returns nothing though | 15:39 |
| brutal_chaos | win32 buidling (of anythin) is a majnor pain, thaqts why i ask. | 15:39 |
| brutal_chaos | anders_AU: zsh as well? | 15:39 |
| anders_AU | yes | 15:40 |
| brutal_chaos | :) | 15:40 |
| anders_AU | :-) | 15:40 |
| exarkun | anders_AU: I see a setup.py here, https://code.google.com/p/pygrib/source/browse/#svn%2Ftrunk | 15:40 |
| exarkun | anders_AU: Are you looking in the pygrib source? | 15:41 |
| brutal_chaos | anders_AU: you dont need to translate pypy. the setup.py was in reference to the module you are trying to use | 15:41 |
| exarkun | I also see pyx files, though. Those are Pyrex/Cython, which does not work with PyPy. | 15:41 |
| anders_AU | oh, that setup, I thought setup.py should come from pypy :-) | 15:41 |
| dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy. | 15:42 | |
| anders_AU | I downloaded pygrib through the Gentoo package system, so I'm downloading the tar file now | 15:42 |
| brutal_chaos | anders_AU: it uses pyx files which use code that will not work with pypy | 15:43 |
| anders_AU | Traceback (most recent call last): | 15:44 |
| anders_AU | File "app_main.py", line 51, in run_toplevel | 15:44 |
| anders_AU | File "./setup.py", line 2, in <module> | 15:44 |
| anders_AU | import os, glob, numpy, sys | 15:44 |
| anders_AU | ImportError: No module named numpy | 15:44 |
| anders_AU | This might also explain a few things | 15:44 |
| anders_AU | I need numpypy instead | 15:45 |
| kenaan | 12bivab arm-backend-2 1163e21292fab4 15/pypy/jit/backend/: (arigo, bivab): aahhh. Fix an issue with floats that are spilled in a loop and later read in a brigde. Due to... | 15:46 |
| kenaan | 12bivab arm-backend-2 115140a209b50a 15/pypy/jit/backend/arm/opassembler.py: remove some unused imports | 15:46 |
| kenaan | 12bivab arm-backend-2 119e1351914eb6 15/pypy/jit/backend/arm/codebuilder.py: fix an issue with the private attribute renaming going on when reading a field that starts with '__' and doe... | 15:46 |
| anders_AU | Traceback (most recent call last): | 15:46 |
| anders_AU | File "app_main.py", line 51, in run_toplevel | 15:46 |
| anders_AU | File "./setup.py", line 22, in <module> | 15:46 |
| anders_AU | incdirs=[numpy.get_include()] | 15:46 |
| anders_AU | AttributeError: 'module' object has no attribute 'get_include'.. | 15:46 |
| anders_AU | Okay, I think I'll just dump the data in a binary file and load it from pypy for now | 15:46 |
| anders_AU | Thanks for the help! | 15:47 |
| linluxiang (~linluxian@183.5.134.180) joined #pypy. | 15:55 | |
| stakkars | arigato: hi | 15:56 |
| arigato | stakkars: re micronumpy: you can ignore it right now, there are also reported issues | 15:56 |
| arigato | on linux | 15:56 |
| stakkars | arigato: has micronumpy been changed? | 15:56 |
| arigato | it's being actively worked on, ye | 15:56 |
| arigato | yes | 15:56 |
| stakkars | thanks. | 15:56 |
| stakkars | arI would like to create a stable win32 and put it into release | 15:58 |
| arigato | win32-64? | 15:58 |
| stakkars | no, just the default. still hoping to get it to build, my last crash was mith micronumpy | 15:59 |
| stakkars | I want a version which does not change, and where I can compare my branch against | 16:00 |
| stakkars | and which is known to have no issues. | 16:00 |
| arigato | any particular reason you cannot use the officially released pypy-win32-1.7 ? | 16:02 |
| stakkars | because that is broken, I thought? | 16:03 |
| stakkars | oh, it is not? ok | 16:03 |
| linluxiang (~linluxian@183.5.134.180) left irc: Remote host closed the connection | 16:03 | |
| mvt (~mvantelli@87.213.45.85) left irc: Ping timeout: 240 seconds | 16:04 | |
| linluxiang (~linluxian@183.5.134.180) joined #pypy. | 16:04 | |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 16:07 | |
| Shanita (~John@osbk-4db15ac2.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 16:08 | |
| EnCuKou (~encukou@a91-156-243-246.elisa-laajakaista.fi) joined #pypy. | 16:08 | |
| arigato | bah, a mostly useless but cool feature we can implement nowadays | 16:10 |
| stakkars | arigato: my only intent was to see if I fixed all issues from the signed/unsigned checkin. | 16:10 |
| arigato | when gdb'ing through jit-generated frames | 16:10 |
| Shanita (~John@osbk-4db15ac2.pool.mediaWays.net) joined #pypy. | 16:10 | |
| arigato | we could have the frames show the correct source file and line number in the .py files... | 16:10 |
| stakkars | whow | 16:11 |
| arigato | stakkars: ah, ok. this was done after 1.7 | 16:11 |
| anders_AU | Just out of curiosity, has anyone gotten parallel python to work? (import pp). Or any other threading package for the matter. | 16:11 |
| anders_AU | At the moment I'm just dividing my problem between completely separate python processes. | 16:11 |
| stakkars | arigato: so I should test without micronumpy and hope, right? | 16:12 |
| arigato | stakkars: yes | 16:12 |
| JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection | 16:17 | |
| anders_AU (dunder@130.225.20.54) left #pypy. | 16:17 | |
| kenaan | 12ctismer win64-stage1 11b853ad20830d 15/: merge default | 16:18 |
| bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Ping timeout: 240 seconds | 16:18 | |
| stakkars | arigato: my goal is to compare win32 default and my branch, to make sure that I don't break anything, because I want to merge | 16:19 |
| stakkars | so I'm building 32bit in default and win64-stage1, with 32bit only. When they both translate, I can merge for the first time! | 16:21 |
| arigato | :-) | 16:22 |
| kenaan | 12arigo default 11b0cec017f8a9 15/: Test and fix. | 16:22 |
| arigato | indeed, micronumpy does not translate right now | 16:23 |
| cfbolz | no cookies | 16:24 |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy. | 16:24 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) joined #pypy. | 16:24 | |
| arigato | and it fails its own non-translated tests, too | 16:25 |
| Action: arigato backs it out | 16:26 | |
| jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy. | 16:27 | |
| linluxiang (~linluxian@183.5.134.180) left irc: Quit: linluxiang | 16:29 | |
| arigato | ah, it's only with python2.5, so fine | 16:31 |
| kenaan | 12arigo default 11a88a15a5ccb7 15/pypy/module/micronumpy/interp_numarray.py: Translation fix. No cookie | 16:44 |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you | 16:46 | |
| leshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy. | 16:47 | |
| leshaste | is there an easy way to install pypy 1.7 in lucid? | 16:47 |
| exarkun | leshaste: download the binary package, unpack it | 16:48 |
| exarkun | run pypy from it | 16:48 |
| leshaste | ok :) | 16:49 |
| leshaste | thanks | 16:49 |
| strtok (~strtok@thales.strtok.net) left irc: Ping timeout: 240 seconds | 16:49 | |
| jterrace | leshaste: there is a PPA: https://launchpad.net/~pypy/+archive/ppa might not have lucid for 1.7 though | 16:51 |
| jterrace | but you might just be able to install the oneiric package on lucid anyway | 16:51 |
| leshaste | yes that seems to be 1.3 | 16:51 |
| jterrace | leshaste: the 1.7 oneiric package should install fine in lucid though, all it has are /usr/bin/pypy and some man pages, nothing oneiric specific | 16:53 |
| leshaste | ok thanks.. I just downloaded the package and tried it out | 16:55 |
| leshaste | I only for a 45 to 26 second speed up :) | 16:55 |
| leshaste | which I am surprisingly disappointed by | 16:55 |
| leshaste | given how great pypy is :) | 16:55 |
| jterrace | you mean cpython 45, pypy 26? | 16:55 |
| K-os (~gabriel@cl-3210.ham-01.de.sixxs.net) joined #pypy. | 16:56 | |
| leshaste | I am on 2.6.5 | 16:57 |
| fzzzy_ (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy. | 16:57 | |
| leshaste | and ran the pypy I downloaded | 16:57 |
| aurojit (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy. | 16:57 | |
| leshaste | 1.7 I think | 16:57 |
| leshaste | oh.. yes :) | 16:57 |
| leshaste | sorry | 16:57 |
| leshaste | I misread what you wrote | 16:57 |
| jterrace | 50% is still pretty good | 16:57 |
| leshaste | yes.. it just loops though | 16:58 |
| leshaste | which is why I thought it might be faster | 16:58 |
| fzzzy_ (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Client Quit | 16:58 | |
| leshaste | http://pastebin.com/vxWEfz3Y very simple code | 16:58 |
| stakkars_ (~tismer@dslb-088-074-053-099.pools.arcor-ip.net) joined #pypy. | 16:59 | |
| leshaste | maybe most of the time is spent in the set intersection | 17:00 |
| leshaste | which is not jit'able | 17:00 |
| apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Ping timeout: 240 seconds | 17:00 | |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Ping timeout: 240 seconds | 17:00 | |
| jterrace | im guessing the function calls | 17:00 |
| jterrace | you could profile it | 17:00 |
| leshaste | remind me how please :) | 17:00 |
| jterrace | http://docs.python.org/library/profile.html | 17:01 |
| leshaste | oh sorry.. I meant whether pypy had profiling | 17:01 |
| fijal (~fijal@41.55.46.72) joined #pypy. | 17:03 | |
| kdas_ (~kdas@114.143.162.64) left irc: Quit: This computer has gone to sleep | 17:03 | |
| fijal | hi | 17:04 |
| fijal | Fluxid: what benchmark? | 17:04 |
| exarkun | leshaste: What are you running? | 17:04 |
| leshaste | a small piece of code I wrote... http://pastebin.com/vxWEfz3Y | 17:04 |
| fijal | arigato: yes I know :) | 17:04 |
| kenaan | 12ctismer win64-stage1 117c2b76526385 15/: Merge with default | 17:04 |
| dgl (~dgl@109.86.165.231) left irc: Read error: Operation timed out | 17:05 | |
| Fluxid | fijal: as in paste, bm_mako | 17:07 |
| leshaste | jterrace, so curiously it took 110 seconds when profiled and spends 5625398 29.714 0.000 49.485 0.000 hamming.py:22(hamdist) | 17:08 |
| fijal | different mako? | 17:08 |
| fijal | Fluxid: what mako do you run? | 17:08 |
| leshaste | which looks like half the time in the hamdist function | 17:08 |
| leshaste | which I would have thought could be sped up a lot | 17:08 |
| Fluxid | i think it was 0.5.0 but i;m not at work anymore so i can't check | 17:08 |
| leshaste | assuming I read the profiling correctly | 17:08 |
| fijal | Fluxid: did you just checkout pypy/benchmarks and run runner.py -b mako? | 17:09 |
| fijal | or so | 17:09 |
| fijal | or what did you do? | 17:09 |
| G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving. | 17:09 | |
| jterrace | leshaste: yeah, that's what i thought | 17:09 |
| leshaste | jterrace, http://pastebin.com/n1NjzTFa | 17:09 |
| Fluxid | fijal: http://paste.pocoo.org/show/516993/ | 17:10 |
| leshaste | jterrace, so it spends almost no time doing the intersections? | 17:10 |
| jterrace | set intersection is fast | 17:10 |
| Fluxid | first one i tried without jit, and second with no additional options | 17:10 |
| fijal | Fluxid: yes, but the second one is a different python | 17:11 |
| fijal | look what it run | 17:11 |
| fijal | I think you're comparing pypy --jit off with cpython | 17:11 |
| fijal | ? | 17:11 |
| leshaste | jterrace, so the punchline is that I really need to improve my python code :) | 17:11 |
| fijal | if you want to specify both pythons it needs to be specified twice | 17:11 |
| Fluxid | fijal: yes, in the first one i'm indeed comparing pypy --jit off with cpython | 17:11 |
| leshaste | jterrace, is it possible to profile the pypy version to see what was sped up? | 17:11 |
| jterrace | pretty sure cProfile works in pypy | 17:12 |
| Fluxid | in second one i'm comparing pypy with no addtional options with cpython | 17:12 |
| jterrace | leshaste: might want to try changing that zip to itertools.izip | 17:12 |
| Fluxid | the path is is almost the same because both pythons are in virtualenvs, cpython 2.7.2 is in py-venv and pypy 1.7 is in pypy-env | 17:13 |
| fijal | http://paste.pocoo.org/show/517155/ | 17:13 |
| leshaste | jterrace, this is what pypy -m cProfile gives me http://pastebin.com/d0RdKdUQ | 17:13 |
| fijal | those are my results | 17:14 |
| stakkars_ (~tismer@dslb-088-074-053-099.pools.arcor-ip.net) left irc: Quit: schnarch | 17:14 | |
| hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Quit: Leaving | 17:14 | |
| nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 240 seconds | 17:14 | |
| Fluxid | then I'll run cpython and pypy outside virtualenvs and make sure mako is newest tomorrow | 17:15 |
| fijal | Fluxid: it's using mako from lib | 17:16 |
| leshaste | jterrace, the joins are also pointless :) | 17:16 |
| leshaste | jterrace, only there as the hamdist function can't cope with lists | 17:16 |
| Fluxid | ah, mako is included with benchmarks | 17:17 |
| aurojit (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Remote host closed the connection | 17:17 | |
| Fluxid | so it's 0.3.6 | 17:17 |
| apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy. | 17:17 | |
| Fluxid | fijal: can you check what results do you get with mako 0.5.0 or 0.4.1? | 17:17 |
| fijal | http://paste.pocoo.org/show/517157/ | 17:18 |
| fijal | those are tannit benchmarks | 17:18 |
| fijal | so I'll double check why on the server is so much faster than on my laptop | 17:18 |
| fijal | it takes roughly the same time on cpython, but pypy is so much faster there | 17:18 |
| fijal | 'some obscure GC options maybe | 17:18 |
| fijal | it might be that the larger cache size make it go *really* fast or so | 17:18 |
| leshaste | jterrace, thanks for taking a look.. I'll try to improve the code tomorrow.. no clever compiler can compensate for rubbish python skills :) | 17:18 |
| fijal | Fluxid: it's not cross platform (the results) at least :( | 17:19 |
| Fluxid | i can't tell ;) | 17:19 |
| fijal | Fluxid: how much cache do you have on your machine? | 17:19 |
| jterrace | leshaste: heh, yeah you can probably make that hamdist function much faster | 17:19 |
| jterrace | could post on stackoverflow, people there love optimizing | 17:19 |
| fijal | Fluxid: :/ | 17:19 |
| leshaste | jterrace, yes and once I have got rid of the joins too it will be a lot better | 17:19 |
| Fluxid | fijal: didn't check, i'll check tomorrow. (how do i do it btw?) | 17:19 |
| fijal | I'll investigate | 17:19 |
| fijal | cat /proc/cpuinfo if you're on linux | 17:19 |
| Fluxid | k | 17:19 |
| lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 252 seconds | 17:20 | |
| leshaste (~lesshaste@87-194-206-189.bethere.co.uk) left irc: Quit: Leaving | 17:21 | |
| fijal (~fijal@41.55.46.72) left irc: Read error: Connection reset by peer | 17:21 | |
| apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Ping timeout: 240 seconds | 17:21 | |
| fzzzy (~donovan@nat/mozilla/x-aubzsvdtmlvajwkj) joined #pypy. | 17:22 | |
| tito (~tito@pdpc/supporter/bronze/tito) left irc: Remote host closed the connection | 17:22 | |
| strtok (~strtok@thales.strtok.net) joined #pypy. | 17:23 | |
| mkerrin (~mkerrin@wg1-nat.fwgal01.deri.ie) left irc: Quit: mkerrin | 17:24 | |
| k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 255 seconds | 17:26 | |
| tito (~tito@81-67-113-37.rev.numericable.fr) joined #pypy. | 17:26 | |
| tito (~tito@81-67-113-37.rev.numericable.fr) left irc: Changing host | 17:26 | |
| tito (~tito@pdpc/supporter/bronze/tito) joined #pypy. | 17:26 | |
| k_bx (~k_bx@195.20.130.1) joined #pypy. | 17:26 | |
| santagada (~leonardo@177.18.63.214) left irc: Quit: Ex-Chat | 17:29 | |
| jnoller (~jnoller@vpn.nasuni.com) joined #pypy. | 17:29 | |
| tilgovi (~randall@69.111.59.167) joined #pypy. | 17:29 | |
| tilgovi (~randall@69.111.59.167) left irc: Changing host | 17:29 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 17:29 | |
| nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy. | 17:30 | |
| k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 252 seconds | 17:31 | |
| K-os | hi! just out of interest: how were the benchmarks on http://speed.pypy.org chosen? are those the simply the ones where pypy looks best? ;-) | 17:34 |
| overminder (~overminde@wf116-092.ust.hk) left irc: Ping timeout: 252 seconds | 17:35 | |
| exarkun | K-os: Many of them were taken from the Unladen Swallow project. | 17:35 |
| exarkun | K-os: Others were contributed by real Python projects. | 17:35 |
| K-os | yes, i saw that too. but for example not all are shown online | 17:36 |
| exarkun | not all what are shown online where? | 17:36 |
| exarkun | PyPy looks good on them because the team has been using them to direct many optimization efforts. | 17:36 |
| Fluxid | https://bitbucket.org/pypy/benchmarks/src ? | 17:36 |
| exarkun | If you have benchmarks for which PyPy performs poorly, many PyPy developers would be interested to see them. | 17:36 |
| K-os | hehe, for example i don't see the bm_regex_* benchmarks on the website, only in the repository | 17:37 |
| K-os | or am i misunderstanding something | 17:38 |
| exarkun | There's some delay between someone adding a benchmark and it getting onto speed.pypy.org | 17:38 |
| K-os | delay > 1 year? | 17:38 |
| exarkun | I'm not familiar with the bm_regex benchmarks. Where are they? | 17:39 |
| K-os | just on the side: i don't want to flame around, i'm just curious. and i love the job, you're doing with pypy :-) | 17:40 |
| K-os | benchmarks / unladen_swallow / performance | 17:40 |
| exarkun | Ah. I don't know why those aren't up. | 17:41 |
| K-os | :-) | 17:41 |
| nedbat (~nedbat@python/psf/nedbat) joined #pypy. | 17:52 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) joined #pypy. | 18:06 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) left irc: Remote host closed the connection | 18:06 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) joined #pypy. | 18:07 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) left irc: Client Quit | 18:07 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) joined #pypy. | 18:08 | |
| darksideplanetgu (~dirk@p549E7414.dip.t-dialin.net) left irc: Remote host closed the connection | 18:10 | |
| fijal (~fijal@197.108.35.172) joined #pypy. | 18:10 | |
| fijal | K-os: b_regexp, calls, pickle etc. were not chosen because we thought they're uninteresting microbenchmarks | 18:12 |
| fzzzy (~donovan@nat/mozilla/x-aubzsvdtmlvajwkj) left irc: Quit: fzzzy | 18:12 | |
| fijal | I think pickle is interesting now, but it wasn't at the time | 18:12 |
| kennethreitz (~kennethre@204.14.152.118) joined #pypy. | 18:12 | |
| K-os | ok. thanks. | 18:12 |
| fzzzy (~donovan@nat/mozilla/x-xanvdhdbdnoftkse) joined #pypy. | 18:12 | |
| fijal | to be precise | 18:13 |
| fijal | some of them are there because they were in US repo and they were interesting | 18:13 |
| fijal | some of them are there because they present an interesting python real-load | 18:13 |
| K-os | I don't know the regex benchmark. but i would have thought regex performance would also be interesting to many people | 18:13 |
| fijal | some of them are there because pypy was performing poorly | 18:14 |
| fijal | yes | 18:14 |
| fijal | for example html5lib is mostly based on regexes | 18:14 |
| K-os | :-) | 18:14 |
| K-os | ah, ok | 18:14 |
| fijal | yeah, we have some regex workload there | 18:14 |
| fijal | they're not supposed to represent anything | 18:15 |
| fijal | and as of now they're faster than average, but just because this is what we were optimizing on | 18:15 |
| fijal | look at the history of some | 18:15 |
| kenaan | 12alex_gaynor default 111a419a40ed62 15/pypy/module/micronumpy/: whitespace and other small codecleanups | 18:16 |
| fijal | for example regex compilation is IMO very uninteresting | 18:16 |
| Alex_Gaynor | fijal: FYI there's getting to be a bit of untested code in interp_numarray, particularly in error cases | 18:16 |
| fijal | Alex_Gaynor: I'm not 100% sure if some of it is coverage being confused | 18:16 |
| fijal | to be checked | 18:16 |
| K-os | yes, sure. compilation isn't very interesting but maybe matching. | 18:17 |
| Alex_Gaynor | uh, it looks mostly ok, so I think it's us not having enough tests | 18:17 |
| jer (jtregunna@unaffiliated/jer) left #pypy. | 18:17 | |
| kennethreitz (~kennethre@204.14.152.118) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ | 18:17 | |
| fijal | K-os: look at those benchmarks | 18:17 |
| fijal | they're kinda silly | 18:17 |
| fijal | and have unrolled loops by hand | 18:17 |
| nedbat | fijal, Alex_Gaynor: if you need coverage.py consultation, I'm glad to help... | 18:17 |
| fijal | or other auto-generated code | 18:17 |
| fijal | nedbat: I guess it might be me blaming others for good measure :) | 18:18 |
| K-os | yes, i've just started to take a closer look at the benchmarks, because i'll be holding a small talk about pypy in our workingroup tomorrow :-) | 18:18 |
| Alex_Gaynor | nedbat: we need someone to write more tests :) | 18:18 |
| fijal | but thanks, I'll get back to you if this seems to be the case | 18:18 |
| fijal | K-os: so I guess this is it | 18:18 |
| kennethreitz (~kennethre@204.14.152.118) joined #pypy. | 18:18 | |
| nedbat | Alex_Gaynor: I've been doing that too.. but only for the sandbox | 18:19 |
| Alex_Gaynor | nedbat: well, then I'll keep holding fijal responsible for this ;) | 18:19 |
| fijal | K-os: pypy is exceptionally bad at hand-unrolled loops | 18:20 |
| fijal | we also decided it's not really an issue | 18:20 |
| K-os | makes sense :-) | 18:20 |
| cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving | 18:21 | |
| K-os | in my workload pypy performs 3 times faster than cpython. so i like pypy :-) | 18:21 |
| gutworth | this ncar internship description is not very informative | 18:25 |
| gutworth | for example it doesn't tell when it is until you it "apply" | 18:25 |
| gutworth | nothing tells you what's in the way of renummeration.. | 18:27 |
| fijal (~fijal@197.108.35.172) left irc: Read error: Connection reset by peer | 18:28 | |
| fijal (~fijal@197.172.212.37) joined #pypy. | 18:29 | |
| fijal | gutworth: ping | 18:29 |
| gutworth | pong | 18:29 |
| fijal | I don't actually know when they require you to apply | 18:30 |
| fijal | I can probably tell you a bit what it would be about but it's irrelevant | 18:30 |
| gutworth | ah, ha "no benefits" | 18:30 |
| fijal | what are benefits? | 18:31 |
| kenaan | 12alex_gaynor default 110ccb237a9de2 15/pypy/module/micronumpy/: Implement varargs for ndarray.reshape and add a test for a missing error case. | 18:31 |
| Alex_Gaynor | fijal: health insurance mostly | 18:31 |
| fijal | and where did you find it? | 18:31 |
| Alex_Gaynor | gutworth: that's not unusual for a temporary position though | 18:31 |
| gutworth | I know | 18:31 |
| gutworth | I'm more interested in pay actually | 18:31 |
| fijal | gutworth: ? | 18:32 |
| gutworth | I'm trying to understand if its unpaid or not | 18:32 |
| fijal | I would claim it's paid | 18:33 |
| fijal | well, I know it is | 18:33 |
| fijal | how much I have no idea | 18:34 |
| fijal | gutworth: I think most NCAR visitors are paid like 2k$/months | 18:34 |
| fijal | per month | 18:34 |
| fijal | but I don't knwo for sure | 18:34 |
| gutworth | at any rate, I'm not eligible | 18:34 |
| stakkars_ (~tismer@dslb-088-074-053-099.pools.arcor-ip.net) joined #pypy. | 18:35 | |
| fijal | where did you find it? | 18:35 |
| voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go | 18:35 | |
| fijal | can you reply? | 18:35 |
| gutworth | https://www2.cisl.ucar.edu/siparcs/requirements | 18:36 |
| gutworth | I suppose I could mail the director | 18:37 |
| Action: fijal mails him now | 18:37 | |
| fijal | deadline is Feb | 18:39 |
| fijal | gutworth: he asked me if I would be willing to help with mentorship | 18:39 |
| gutworth | so no rush | 18:39 |
| gutworth | ah | 18:39 |
| fijal | so I guess there is some cooperation involved | 18:39 |
| DasIch (~dasich@p3E990997.dip.t-dialin.net) left irc: Ping timeout: 244 seconds | 18:41 | |
| lahwran | anyone know of a very efficient opengl wrapper that works with pypy? | 18:42 |
| fijal | Alex_Gaynor: https://bitbucket.org/pypy/benchmarks/src/2bd97aedb97e/unladen_swallow/performance/bm_regex_v8.py | 18:42 |
| fijal | it should die in pain | 18:43 |
| lahwran | preferably something that does not wrap it beyond exposing function calls | 18:43 |
| fijal | lahwran: no idea | 18:43 |
| fijal | pyopengl is bad? | 18:43 |
| lahwran | uses ctyles | 18:43 |
| lahwran | ctypes* | 18:43 |
| fijal | and? | 18:43 |
| fijal | ctypes is good | 18:43 |
| lahwran | which according to a blog post on the pypy site is slow | 18:43 |
| fijal | well no, but it's mostly fast on pypy | 18:43 |
| fijal | you were reading a very old post | 18:43 |
| lahwran | ah | 18:43 |
| fijal | to be precise, some ctypes is fast on pypy | 18:43 |
| fijal | some is slow | 18:44 |
| kenaan | 12alex_gaynor default 11d62de66be4aa 15/pypy/module/micronumpy/: remove some dead code, and added missing tests | 18:44 |
| etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum | 18:44 | |
| lahwran | how precise :/ | 18:44 |
| lahwran | which is slow? :p | 18:44 |
| Alex_Gaynor | the struct API is slow, but calls are very fast | 18:45 |
| fijal | Alex_Gaynor: no :) | 18:45 |
| fijal | Alex_Gaynor: if you don't pass types it's slow | 18:45 |
| Alex_Gaynor | oh, that too | 18:45 |
| fijal | the slowpath is *really slow* so you have to be careful to hit the fast path | 18:45 |
| fijal | I'm not very happy with that, but whatever | 18:45 |
| fijal | lahwran: you can write fast ctypes in pypy | 18:46 |
| fijal | most of the time | 18:46 |
| lahwran | I'm more interested in ensuring that the opengl I use is fast | 18:46 |
| fijal | I don't know | 18:46 |
| exarkun | PyOpenGL uses ctypes on CPython | 18:46 |
| exarkun | And ctypes on CPython isn't particularly fast | 18:46 |
| fijal | it's not like I can check whether it's even working, it comes with no tests | 18:46 |
| exarkun | But you can still make rad OpenGL-using Python programs | 18:46 |
| exarkun | Getting good performance out of OpenGL is less about having a super awesome runtime/efficient C library bindings and more about doing the right OpenGL calls | 18:47 |
| lahwran | I suppose so | 18:47 |
| exarkun | I'm not even very good at OpenGL, but I have a PyOpenGL-based program that renders massive amounts of stuff while using about 3% of my CPU | 18:48 |
| lahwran | pypy or no? | 18:48 |
| exarkun | CPython | 18:48 |
| amaury (~amaury_@74.125.122.49) joined #pypy. | 18:48 | |
| lahwran | impressive | 18:48 |
| exarkun | So say PyPy is 10x slower for some reason - no big deal, my video card is still going to be the bottleneck. | 18:48 |
| jterrace | re: 3d + pypy, i wonder if panda3d's new idea for parallelizing rendering operations (http://www.panda3d.org/blog/?p=206) could be modified to use pypy for the app-level processing | 18:51 |
| jterrace | i think it heavily uses python <-> c interface, so not sure if it's possible, but it would be really awesome if it was | 18:51 |
| exarkun | jterrace: Data flow analysis is hard. | 18:52 |
| exarkun | I think it would be awesome if someone gave PyPy a million dollars to research that topic. :) | 18:52 |
| jterrace | hah | 18:52 |
| DasIch (~dasich@p4FFDFB48.dip.t-dialin.net) joined #pypy. | 18:53 | |
| ericflo (~ericflo@75.103.8.110) joined #pypy. | 18:54 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 18:57 | |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 19:04 | |
| kenaan | 12alex_gaynor numpy-dtype-refactor-complex 11e4002f73fb25 15/: merged default | 19:05 |
| kenaan | 12alex_gaynor numpy-dtype-refactor-complex 11894a554a8053 15/pypy/module/micronumpy/: make things translate | 19:05 |
| kdas_ (~kdas@114.143.162.64) left irc: Client Quit | 19:06 | |
| durin42 (~durin@adium/durin42) left irc: Ping timeout: 252 seconds | 19:08 | |
| durin42 (~durin@adium/durin42) joined #pypy. | 19:10 | |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 19:12 | |
| etrepum (~bob@accessnat4.mochimedia.net) joined #pypy. | 19:13 | |
| mattip (~chatzilla@bzq-79-179-96-122.red.bezeqint.net) joined #pypy. | 19:17 | |
| fijal | exarkun: I think I would be good with 20k | 19:17 |
| fijal | but that's irrelevant | 19:18 |
| fijal | because noone will give me that | 19:18 |
| cpets (4f7588fa@gateway/web/freenode/ip.79.117.136.250) joined #pypy. | 19:18 | |
| mattip | hello. I have done some cookie penance, and wrote a "is_contiguous" for BaseArray. Writing tests now, on a seperate branch. | 19:22 |
| fijal | Alex_Gaynor: can you run the mako benchmark on your laptop | 19:22 |
| fijal | ? | 19:22 |
| fijal | mattip: cool, I didn't :)P | 19:22 |
| mattip | There is an issue though. | 19:22 |
| Alex_Gaynor | fijal: command? | 19:22 |
| mattip | (Why is nothing simple?) | 19:22 |
| fijal | Alex_Gaynor: runner.py -b bm_mako -p pypy | 19:23 |
| tlynn (~tlynn@212.69.41.1) joined #pypy. | 19:23 | |
| Alex_Gaynor | because we're solving a hard problem. Or we're solving an easy problem very badly. | 19:23 |
| mattip | If an array is F order, or if it is a transpose, the natural order is reversed. | 19:23 |
| fijal | let's assume only C order can be contiguous for now | 19:23 |
| mattip | So there is what I call, for lack of a better term, contiguous_lr and contiguous_rl. | 19:24 |
| fijal | because you can only copy them if order is the same | 19:24 |
| Alex_Gaynor | fijal: http://paste.pocoo.org/show/517210/ | 19:24 |
| fijal | Alex_Gaynor: it's faster on tannit, slower on my machine | 19:24 |
| fijal | avg on mine is 1.0, tannit 2.0 | 19:24 |
| fijal | wtf? | 19:24 |
| fijal | you have an 8 core laptop? | 19:24 |
| fijal | or 4 * 2? | 19:25 |
| Alex_Gaynor | 4 real cores, 8 if you count the fake ones | 19:25 |
| fijal | bastard | 19:25 |
| mattip | Well, anyway, I'll push the branch after testing, feel free to throw away lr rl cruft. | 19:26 |
| fijal | mattip: how about it returns the right thing depending on order? | 19:27 |
| fijal | but yeah, commit | 19:27 |
| bgola (~bgola@c9518082.virtua.com.br) joined #pypy. | 19:31 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds | 19:35 | |
| kenaan | 12ctismer win64-stage1 11ccaf375ee24b 15/pypy/translator/c/src/: more places where signed_defn.h is missing. Made it easier to add it more often | 19:39 |
| kdas_ (~kdas@114.143.162.64) left irc: Quit: This computer has gone to sleep | 19:40 | |
| apollo13 (~apollo13@unaffiliated/apollo13) left irc: Quit: SIGILL | 19:45 | |
| gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated! | 19:47 | |
| JaRoel|4d (~jaroel|4d@2001:980:7133:1:317d:e87f:5636:fdbe) joined #pypy. | 19:52 | |
| kenaan | 12mattip matrixmath-dot 11c1c81fb495b9 15/: hg merge with default | 19:53 |
| kenaan | 12mattip numpypy-is_contiguous 119166c3425257 15/pypy/module/micronumpy/interp_numarray.py: refactor calc_steps | 19:53 |
| kenaan | 12mattip numpypy-is_contiguous 11b8c87c4cf664 15/pypy/module/micronumpy/: test, implement is_contiguous for C order | 19:54 |
| fijal (~fijal@197.172.212.37) left irc: Ping timeout: 252 seconds | 19:57 | |
| harrison | http://savethevoxels.blogspot.com/ | 20:04 |
| exarkun | harrison: What about it? | 20:05 |
| rguillebert | what's a voxel ? | 20:06 |
| harrison | lahwran: do you have a link to more about your pyopengl stuff? | 20:06 |
| exarkun | rguillebert: https://en.wikipedia.org/wiki/Voxel :) | 20:07 |
| amaury | Volume + Pixel | 20:07 |
| rguillebert | I see | 20:09 |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 252 seconds | 20:15 | |
| kennethreitz (~kennethre@204.14.152.118) left irc: Ping timeout: 252 seconds | 20:16 | |
| kenaan | 12ctismer win64-stage1 1141a380cec3d1 15/pypy/translator/c/src/signals.h: typo :-( | 20:17 |
| mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) joined #pypy. | 20:18 | |
| arigato (~arigo@89.204.137.112) joined #pypy. | 20:20 | |
| tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy. | 20:21 | |
| tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host | 20:21 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 20:21 | |
| harrison | our voxels are a bit different | 20:23 |
| harrison | more advanced | 20:23 |
| harrison | recursivey | 20:23 |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 20:25 | |
| nedbat (~nedbat@python/psf/nedbat) left irc: Disconnected by services | 20:31 | |
| nedbat_ (~nedbat@python/psf/nedbat) joined #pypy. | 20:31 | |
| lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy. | 20:32 | |
| harrison | i meant exarkun | 20:33 |
| stakkars_ | arigato: I'm seeing a problem, suddenly, because I probably created a prebuilt constant of unsigned -1. | 20:35 |
| asmeurer___ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy. | 20:35 | |
| stakkars_ | is that really so: I cannot have a prebuilt const of 2^^32-1 ? | 20:36 |
| jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving... | 20:37 | |
| stakkars_ | when exactly are PBCs created? I'm getting that when testing rmmap | 20:37 |
| arigato | there are some issues, but it depends on what exactly is written in the RPython code | 20:38 |
| arigato | indeed, a prebuilt constant that is a long, greater than sys.maxint, is not supported | 20:39 |
| arigato | but you can have a prebuilt constant that is a r_uint(-1) | 20:39 |
| arigato | or r_uint(2**32-1) | 20:39 |
| kenaan | 12alex_gaynor default 114d94de61c725 15/pypy/module/micronumpy/interp_numarray.py: fix translation | 20:39 |
| arigato | as long as making the r_uint is done outside the RPython code | 20:39 |
| stakkars_ | aeh& if I use a constant r_uint(-1) in the module code, i.e. before RPython digs in, isn't then exactly it becoming a PBC? | 20:42 |
| arigato | yes | 20:43 |
| arigato | this is not supported? | 20:43 |
| stakkars_ | or should the global module code contain -1, and when I use it, cast it dynamically in the RPython code | 20:44 |
| lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving | 20:44 | |
| stakkars_ | I'm not sure when it happens, actually, just a random error in the annotator | 20:44 |
| arigato | no, it works for me | 20:45 |
| stakkars_ | so if I make r_uint(-1) in the RPy code, _then_ I get that problem? | 20:46 |
| int3__ (~int3__@st401-246.subnet-244.amherst.edu) joined #pypy. | 20:46 | |
| stakkars_ | then I have a different perception of 'pre' | 20:46 |
| stakkars_ | pre to what? | 20:47 |
| stakkars_ | ah, I use a constant -1 in the code, and a r_uint() of this -1 in the code, and that becomes a PBC? | 20:48 |
| arigato | sorry, I can't help you without seeing the code | 20:48 |
| stakkars_ | working on trunk, something I did, and testing rmmap | 20:50 |
| int3__ (~int3__@st401-246.subnet-244.amherst.edu) left irc: Remote host closed the connection | 20:50 | |
| kkris (~kris@80-123-36-77.adsl.highway.telekom.at) left irc: Quit: Leaving. | 20:53 | |
| kdas_ (~kdas@114.143.162.64) left irc: Quit: This computer has gone to sleep | 20:58 | |
| etrepum_ (~bob@accessnat4.mochimedia.net) joined #pypy. | 21:00 | |
| etrepum_ (~bob@accessnat4.mochimedia.net) left irc: Remote host closed the connection | 21:02 | |
| etrepum_ (~bob@accessnat4.mochimedia.net) joined #pypy. | 21:02 | |
| etrepum (~bob@accessnat4.mochimedia.net) left irc: Read error: No route to host | 21:04 | |
| Nick change: etrepum_ -> etrepum | 21:04 | |
| mattip | I started a blog entry "A dummy's guide to hacking on pypy" here http://paste.pocoo.org/show/517268 | 21:07 |
| mattip | does this look worthy of working on and posting? | 21:08 |
| rguillebert | mattip, you might want to use flake8 | 21:09 |
| rguillebert | it combines pep8 pyflakes and something else | 21:10 |
| apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy. | 21:10 | |
| kdas_ (~kdas@114.143.162.64) joined #pypy. | 21:12 | |
| mattip | rguilllebert: thanks. But is this interesting enough for a blog entry, or has it already been hashed over elsewhere and I missed it? | 21:12 |
| rguillebert | I don't know but you can post it on your blog and put it on reddit I guess :) | 21:14 |
| rguillebert | You don't need to have anyone's approval at least | 21:16 |
| tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Operation timed out | 21:16 | |
| mattip | ;) | 21:17 |
| ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Remote host closed the connection | 21:17 | |
| tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy. | 21:17 | |
| tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host | 21:17 | |
| tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy. | 21:17 | |
| rguillebert | but if you want to post it on the official blog I'm not the one you should ask to :) | 21:17 |
| stakkars_ | arigato: if I have the global | 21:19 |
| Nick change: nedbat_ -> nedbat | 21:20 | |
| stakkars_ | INVALID_SOCKET = r_uint(INVALIG_SOCKED) | 21:20 |
| stakkars_ | does that generate a bad PBC? | 21:20 |
| stakkars_ | IOW, do I create that too early? | 21:21 |
| mat^2 (~mathias@212.130.113.35) joined #pypy. | 21:21 | |
| tlynn (~tlynn@212.69.41.1) left irc: Ping timeout: 240 seconds | 21:23 | |
| fzzzy (~donovan@nat/mozilla/x-xanvdhdbdnoftkse) left irc: Quit: fzzzy | 21:24 | |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 21:26 | |
| arigato | stakkars_: no, that's fine | 21:26 |
| kdas_ (~kdas@114.143.162.64) left irc: Quit: This computer has gone to sleep | 21:31 | |
| cpets (4f7588fa@gateway/web/freenode/ip.79.117.136.250) left irc: Quit: Page closed | 21:31 | |
| mattip (chatzilla@bzq-79-179-96-122.red.bezeqint.net) left #pypy. | 21:32 | |
| Shanita (~John@osbk-4db15ac2.pool.mediaWays.net) left irc: Ping timeout: 240 seconds | 21:35 | |
| kenaan | 12ctismer win64-stage1 112e5389e1972f 15/pypy/module/micronumpy/: merge default | 21:35 |
| kenaan | 12ctismer win64-stage1 11e3ea42ebc83e 15/pypy/translator/c/src/signals.h: merge | 21:36 |
| nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 260 seconds | 21:39 | |
| fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com | 21:40 | |
| ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving... | 21:41 | |
| Shanita (~John@osbk-4db15ac2.pool.mediaWays.net) joined #pypy. | 21:42 | |
| stakkars_ | arigato: ah, I just see that it wasn't me. It happens on default, not my branch. Interesting, will find out :-) | 21:42 |
| ousado_ (~ousado@hmbg-5f76557a.pool.mediaWays.net) left irc: Ping timeout: 244 seconds | 21:42 | |
| arigato | :-/ | 21:42 |
| kenaan | 12arigo default 11245a08e9eb96 15/pypy/interpreter/baseobjspace.py: "Clarify." Quotes intended. | 21:43 |
| Alex_Gaynor | arigato: this version will be slower! | 21:43 |
| arigato | in fact, I think that it will be faster | 21:44 |
| arigato | :-) | 21:44 |
| Alex_Gaynor | shouldn't itertools.chain be very nicely JIT'd? | 21:44 |
| kennethreitz (~kennethre@204.14.152.118) joined #pypy. | 21:44 | |
| arigato | itertools in general is JITted, but not very nicely | 21:44 |
| Alex_Gaynor | chain will be nicely JIT'd though I think | 21:45 |
| Action: arigato doesn't find any "jit" in interp_itertools | 21:45 | |
| arigato | but possibly | 21:46 |
| Alex_Gaynor | the common case for chain.next has no loop | 21:46 |
| Alex_Gaynor | it simply goes forward on teh current iterator | 21:46 |
| Alex_Gaynor | I suspect it really doesn't matter for this code though :) | 21:46 |
| arigato | :-) | 21:46 |
| arigato | yes, indeed | 21:47 |
| fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy. | 21:47 | |
| ronny | isnt itertools.chain and itertools.chain.from_iterable bascally the same loop expressable as return x for x in items for items in args | 21:49 |
| ronny | (unless i got the genexpr for order wrong again)) | 21:49 |
| Alex_Gaynor | ronny: I think you do have them in the wrong order, but yes basically | 21:49 |
| ronny | hmm | 21:50 |
| ronny | dammit | 21:50 |
| arigato | in other words it's equivalent to the incredible code: | 21:50 |
| arigato | for items in args: | 21:50 |
| arigato | for x in items: | 21:50 |
| arigato | yield x | 21:50 |
| arigato | where you cannot get the order wrong | 21:50 |
| ronny | heh | 21:51 |
| kenaan | 12arigo default 119873bcdab29c 15/pypy/module/itertools/interp_itertools.py: Hum, I'll revert this if I'm wrong, but I don't see how w_iterables can ever be None. | 21:51 |
| ronny | #pypy has a amazing concentration of people that are more right than me by default | 21:51 |
| kenaan | 12arigo default 11bb527bdf9535 15/pypy/interpreter/astcompiler/optimize.py: Kill! Kill! Arrr arr arr. | 21:58 |
| Rhy0lite (dje@nat/ibm/x-ymiaplfkvqbopvxt) left irc: Quit: Leaving | 21:58 | |
| aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy. | 22:02 | |
| Alex_Gaynor | arigato: why the itertools hate? | 22:03 |
| arigato | if you want a serious answer: I don't particularly hate it, it's just that in 245a08e9eb96 I hit the line for unrelated reasons | 22:04 |
| arigato | and it was still failing (of course) once I removed itertools | 22:04 |
| arigato | but then I thought, well, no reason to have itertools there | 22:04 |
| arigato | and then bb527bdf9535 was due to me fooling around with a "grep 'import itertools'" and finding this one and unique other usage, | 22:05 |
| arigato | where the non-itertools version is much shorter | 22:05 |
| arigato | in general, that's what I don't like of itertools: it makes program rather unreadable if you're not used to it | 22:08 |
| CIA-13 | 03nirbheek 07roundup * 10#747/fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB): | 22:11 |
| CIA-13 | [resolved] I can verify that with 1.7 this test no longer fails and the issue has been | 22:11 |
| CIA-13 | resolved, thanks! | 22:11 |
| CIA-13 | (I hope I closed the bug properly) * 14https://bugs.pypy.org/issue747 | 22:11 |
| Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) left irc: Ping timeout: 252 seconds | 22:12 | |
| ousado_ (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy. | 22:14 | |
| cheater (~cheater@178-26-42-68-dynip.superkabel.de) left irc: Quit: leaving | 22:15 | |
| stakkars_ (~tismer@dslb-088-074-053-099.pools.arcor-ip.net) left irc: Quit: schnarch | 22:17 | |
| mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) left irc: Quit: This computer has gone to sleep | 22:18 | |
| Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) joined #pypy. | 22:18 | |
| Nick change: ousado_ -> ousado | 22:19 | |
| ousado (~ousado@31-18-121-45-dynip.superkabel.de) left irc: Changing host | 22:19 | |
| ousado (~ousado@unaffiliated/ousado) joined #pypy. | 22:19 | |
| amaury (~amaury_@74.125.122.49) left irc: Ping timeout: 244 seconds | 22:23 | |
| kenaan | 12alex_gaynor default 11648537e5b016 15/pypy/module/micronumpy/interp_dtype.py: typo fix | 22:27 |
| kenaan | 12alex_gaynor default 1133ec28c6d811 15/pypy/: merged upstream | 22:27 |
| CIA-13 | 03nirbheek 07roundup * 10#747/fcntl.lockf() is broken with (fcntl.LOCK_EX | fcntl.LOCK_NB): | 22:27 |
| CIA-13 | [chatting] Err, I checked the wrong test here. This test case still fails with 1.7, | 22:27 |
| CIA-13 | reopening... * 14https://bugs.pypy.org/issue747 | 22:27 |
| kenaan | 12amauryfa py3k 11f65121a60b37 15/pypy/rlib/rsocket.py: Return bytes for Linux abstract namespace sockets | 22:29 |
| kenaan | 12amauryfa py3k 11fc9f0d9b77db 15/pypy/module/_socket/: socket.inet_aton() should return bytes | 22:29 |
| kenaan | 12amauryfa py3k 11df2edb52b29e 15/pypy/module/_socket/: socket.getaddrinfo() accept strings for the 'port' parameter | 22:29 |
| kenaan | 12amauryfa py3k 11c0288af60001 15/pypy/: Fixes in _ssl module | 22:29 |
| amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy. | 22:29 | |
| voidspace (~voidspace@python/psf/voidspace) joined #pypy. | 22:30 | |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 22:32 | |
| amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 248 seconds | 22:34 | |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/736 | 22:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/162 | 22:37 |
| bbot2 | Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/966 | 22:37 |
| aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds | 22:50 | |
| _pyre_1 (~stian@137.241.189.109.customer.cdi.no) joined #pypy. | 22:51 | |
| _pyre_1 | calls from struct.Struct() class is super slow | 22:51 |
| _pyre_1 | in pypy | 22:51 |
| _pyre_1 | while their alot faster than making calls to struct.unpack in CPython | 22:52 |
| Alex_Gaynor | can you write a script to demonstrate the slowdown, I thought I'd cleaned up the performance problem with the struct module | 22:52 |
| _pyre_1 | I'll post it, one moment | 22:53 |
| Alex_Gaynor | thanks | 22:53 |
| stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Quit: schnarch | 22:53 | |
| whitelynx|work (~whitelynx@63.241.75.144) left irc: Quit: Ex-Chat | 22:55 | |
| antocuni (~antocuni@host129-122-dynamic.16-79-r.retail.telecomitalia.it) joined #pypy. | 22:55 | |
| _pyre_1 | Here, it's a messy script, but I incuded some generator code as well for the format I try to read: http://pastebin.com/brfj0Aq9 | 22:57 |
| _pyre_1 | Using struct.Struct: 2.370656 | 22:57 |
| _pyre_1 | Using struct.unpack: 1.059014 | 22:57 |
| Alex_Gaynor | what are the times under CPython for each? | 22:58 |
| voidspace_ (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy. | 22:58 | |
| voidspace_ (~voidspace@87-194-212-65.bethere.co.uk) left irc: Changing host | 22:58 | |
| voidspace_ (~voidspace@python/psf/voidspace) joined #pypy. | 22:58 | |
| _pyre_1 | CPython use about a second less using struct.Struct than struct.unpack, while it's still 7-8 times slower than pypy using struct.unpack | 22:58 |
| _pyre_1 | 7.391604 with struct.Struct | 22:58 |
| _pyre_1 | 8.507426 with struct.unpack | 22:58 |
| Alex_Gaynor | ok so it's werid, but we're not actually slower or anything, good :) I'll still investigate | 22:59 |
| _pyre_1 | pretty stable results, only varry with 0.02s | 22:59 |
| _pyre_1 | i little more on pypy tho, with 0.04 | 23:00 |
| Alex_Gaynor | HAH, I see why, this is silly, hrm | 23:00 |
| voidspace (~voidspace@python/psf/voidspace) left irc: Ping timeout: 240 seconds | 23:00 | |
| Nick change: voidspace_ -> voidspace | 23:00 | |
| Alex_Gaynor | this isn't going to be easy to fix :/ | 23:00 |
| arigato | ? :-) | 23:01 |
| Alex_Gaynor | arigato: so struct.unpack is very fast because the JIT checks if the format str is constant and if it is unrolsl the loops | 23:01 |
| arigato | ah, bah | 23:01 |
| Alex_Gaynor | arigato: however if you have x = Struct("format str"); for i n xrange(100): x.unpack(i) or so, the string isn't constant | 23:01 |
| Alex_Gaynor | it'd be ok if Struct was a global or something | 23:01 |
| Alex_Gaynor | I would if Struct instances should just promote their format and be done with it | 23:02 |
| arigato | and even not, because x.format is not a constant attribute | 23:02 |
| Alex_Gaynor | is it constant on CPython? | 23:02 |
| arigato | I suppose, but right now it's written at app-level | 23:02 |
| arigato | in pypy | 23:02 |
| lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Ping timeout: 240 seconds | 23:02 | |
| Alex_Gaynor | arigato: yes, I guess it might make sense to move it to interplevel so we can make it const and do the promotion | 23:03 |
| Alex_Gaynor | I think promote makes sense here | 23:03 |
| arigato | yes and no, as usual | 23:03 |
| Alex_Gaynor | indeed | 23:03 |
| arigato | e.g. what if someone does x = Struct("i" * n) | 23:03 |
| arigato | well I suppose that he's punished and it's his fault, or something | 23:04 |
| Alex_Gaynor | indeed, as always the mess of heuristics :/ | 23:04 |
| arigato | yes | 23:04 |
| exarkun | I did that this afternoon. | 23:04 |
| arigato | ah no, it's potentially a bad idea to promote a string, anyway | 23:05 |
| JaRoel|4d (~jaroel|4d@2001:980:7133:1:317d:e87f:5636:fdbe) left irc: Remote host closed the connection | 23:05 | |
| arigato | I think it's promoting the pointer, not the actual string content | 23:05 |
| Alex_Gaynor | arigato: err, yes, we have string_promote nowadays though | 23:05 |
| arigato | ah, ok | 23:06 |
| DanielHolth_ (~dholth@ip98-180-34-112.ga.at.cox.net) left irc: Quit: Ex-Chat | 23:06 | |
| Alex_Gaynor | _pyre_1: I'm not going to fix this ATM, but I'm going to make a ticket about this, thanks | 23:06 |
| stakkars (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Quit: stakkars | 23:06 | |
| _pyre_1 | Ok :) | 23:06 |
| squiddy (~squiddy@f053081179.adsl.alicedsl.de) left irc: Quit: Leaving | 23:07 | |
| ronny | wouldnt it make sense to have a __pypy__.constant descriptor one can use to declare attributes | 23:07 |
| _pyre_1 | CPython: | 23:08 |
| _pyre_1 | struct.Struct('').format = "H" | 23:08 |
| _pyre_1 | AttributeError: attribute 'format' of 'Struct' objects is not writable | 23:08 |
| _pyre_1 | on pypy it clears | 23:08 |
| CIA-13 | 03agaynor 07roundup * 10#955/move struct.Struct to interplevel: | 23:09 |
| CIA-13 | [new] There are a few reasons and issues to be fixed: | 23:09 |
| CIA-13 | 1) format should be immutable on the Struct instance | 23:09 |
| CIA-13 | 2) format should be promoted so tha ... * 14https://bugs.pypy.org/issue955 | 23:09 |
| stakkars (~tismer@p5DDB7E68.dip.t-dialin.net) joined #pypy. | 23:09 | |
| arigato (~arigo@89.204.137.112) left irc: Quit: See you | 23:11 | |
| dracman (~draco@212.255.26.64) left irc: Ping timeout: 252 seconds | 23:21 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Read error: Connection reset by peer | 23:31 | |
| aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 23:32 | |
| aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Read error: Connection reset by peer | 23:32 | |
| etrepum_ (~bob@accessnat4.mochimedia.net) joined #pypy. | 23:33 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 23:33 | |
| apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Read error: Connection reset by peer | 23:34 | |
| aurojit (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy. | 23:34 | |
| etrepum_ (~bob@accessnat4.mochimedia.net) left irc: Read error: No route to host | 23:34 | |
| etrepum__ (~bob@accessnat4.mochimedia.net) joined #pypy. | 23:34 | |
| etrepum (~bob@accessnat4.mochimedia.net) left irc: Ping timeout: 240 seconds | 23:36 | |
| Nick change: etrepum__ -> etrepum | 23:36 | |
| kennethreitz (~kennethre@204.14.152.118) left irc: Read error: Connection reset by peer | 23:43 | |
| --- Wed Dec 7 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!