#pypy IRC log for Tuesday, 2011-11-22

fprimex (~fprimex@fl-67-233-144-228.dhcp.embarqhsd.net) left irc: Quit: Leaving00:00
thinker` (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Ping timeout: 240 seconds00:05
mfoord (~anonymous@python/psf/voidspace) left irc: Ping timeout: 240 seconds00:05
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.00:07
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host00:07
mfoord (~anonymous@python/psf/voidspace) joined #pypy.00:07
asabil (~asabil@131.246.16.62.customer.cdi.no) left irc: Quit: Ex-Chat00:10
JaredW (~jared@061093200075.ctinets.com) joined #pypy.00:15
tlynn_ (~tlynn@cpc6-cmbg14-2-0-cust121.5-4.cable.virginmedia.com) left irc: Ping timeout: 248 seconds00:16
kenaan12ctismer win64-stage1 11d3f5435ca3b0 15/: manual big review of changes00:32
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.00:33
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 244 seconds00:40
Nick change: Gulaway -> Gulopine00:42
Nick change: Gulopine -> Gulaway00:47
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.00:47
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 248 seconds00:47
chronitis (~chronitis@88-104-120-223.dynamic.dsl.as9105.com) left irc: Quit: Lost terminal00:48
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 244 seconds00:54
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 252 seconds00:55
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.00:58
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/14601:01
bgola (~bgola@189.100.46.89) joined #pypy.01:05
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 248 seconds01:18
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/72001:26
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord01:30
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.01:30
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer01:38
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.01:39
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep01:40
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/185401:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/58301:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/61901:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/111701:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/27801:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/80401:41
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/144601:41
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/71501:42
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 258 seconds01:43
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.01:43
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.01:43
JaredW (~jared@061093200075.ctinets.com) left irc: Read error: Operation timed out01:44
jonathan__ (~jonathan@bas1-montreal29-1242341904.dsl.bell.ca) left irc: Remote host closed the connection01:44
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Quit: Leaving01:54
rokujyouhitoma (~rokujyouh@122x220x64x254.ap122.ftth.ucom.ne.jp) joined #pypy.01:55
Nick change: Gulaway -> Gulopine01:58
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection timed out02:02
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.02:03
rokujyouhitomahi!02:05
rokujyouhitomaI make a plan PyPy Advent Calendar in Japan and want the article of pypy-project member at the final day(Dec. 25).02:05
rokujyouhitomaI'd like to ask anyone to give a article.02:06
rokujyouhitomaDo anyone write it?02:06
__class__ (~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net) joined #pypy.02:09
_pyre_ (~stian@137.241.189.109.customer.cdi.no) joined #pypy.02:13
_pyre_Hey guys02:13
_pyre_I teached the raw python pickle.py to use struct instead of marshal02:13
_pyre_and some other minor things02:14
_pyre_result in a small test, upto 2x improvement02:14
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer02:14
_pyre_(tested for dumps)02:14
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.02:15
_pyre_Something that might be push into pypy? :)02:17
_pyre_for dict pickling it outperforms cPickle by the way02:18
_pyre_1000 dict entries with string keys and string values, pickled a thousand times.02:21
_pyre_CPython cPickle did it in 1.15s while pypy nightly did it in 0.71s. Using default pickle pypy used 1.61s in the same test. And cpython using pickle used 6.11s02:21
_pyre_and no, i didn't warm up the JIT properly either, just took the executation time directly so you guys might find more improvement02:22
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.02:23
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 240 seconds02:23
_pyre_list with 1000 string entries also did about twice as good as cPickle02:24
_pyre_cPickle still outperforms my own pickler with tuple's and int lists tho.02:24
_pyre_with 5000 loops and 5000 entries, it's still 2x for string dicts compared to cPickle.02:26
stakkarsctismer02:27
kenaan12ctismer win64-stage1 1177ee30370cd7 15/pytest.py: forgot this patch for sys.maxint, which has bad consequences. Note that this patch must stay until the end o...02:28
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 252 seconds02:29
stakkars fixed, works on (default, win32), (win64-stage1, win32), (win64-stage1, win64)02:30
stakkarsarigatoÖ now, after 14 hours, this is reallz true. Waah02:31
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.02:31
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 240 seconds02:36
bbot2Started: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/50 [12ctismer, win64-stage1]02:36
_pyre_ (~stian@137.241.189.109.customer.cdi.no) left irc: Quit: Leaving.02:38
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.02:39
ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo02:40
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/94902:40
Shanita (~John@osbk-4db14086.pool.mediaWays.net) joined #pypy.02:46
Kaskuka (~John@osbk-4db1653f.pool.mediaWays.net) left irc: Ping timeout: 240 seconds02:46
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.02:47
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 260 seconds02:53
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum02:58
jimbaker (~jbaker@canonical/jimbaker) left irc: Quit: Coyote finally caught me03:15
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) joined #pypy.03:16
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) left irc: Changing host03:16
jimbaker (~jbaker@canonical/jimbaker) joined #pypy.03:16
jimbaker (~jbaker@canonical/jimbaker) left irc: Quit: Coyote finally caught me03:21
Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Remote host closed the connection03:22
Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy.03:22
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) joined #pypy.03:24
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) left irc: Changing host03:24
jimbaker (~jbaker@canonical/jimbaker) joined #pypy.03:24
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy.03:26
ernop (~ernie@173.233.132.94) joined #pypy.03:28
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep03:29
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/185403:39
ita (ita@kde/developer/tnagy) left #pypy.03:42
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.03:56
Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 244 seconds03:56
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.04:01
ernop (~ernie@173.233.132.94) left irc: Ping timeout: 252 seconds04:14
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 258 seconds04:26
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.04:27
CIA-6803justinpeel 07roundup * 10#927/Task takes more time on nightly than CPython 2.7: 04:30
CIA-68I think that a small card ref size for sets/dicts would help (I'll just talk04:30
CIA-68about dicts from now on, but it applies to sets). However, I also d ... * 14https://bugs.pypy.org/issue92704:30
ders (~ders@202.72.107.130) joined #pypy.04:30
dersHello all. It seems though I'm having trouble importing cairo (specifically _cairo) under pypy 1.7 on MacOS X. Any suggestions? 04:33
dersIt imports smoothly enough on CPython 2.704:33
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/144604:35
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Operation timed out04:36
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/80404:37
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.04:39
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.04:42
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer04:43
kenaan12alex_gaynor default 11bb940ca20b4d 15/pypy/module/pypyjit/policy.py: allow inlining into marshal, which is used in cPickle04:43
kenaan12alex_gaynor default 11bdb51cc58e95 15/pypy/: merged upstream04:43
svenstaro (~svenstaro@archlinux/trusteduser/svenstaro) joined #pypy.04:44
svenstarohi, pypy 1.7 doesn't make for me :( http://pastie.org/290161104:45
svenstaroall I do it python2 translate.py -Ojit04:45
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Ping timeout: 240 seconds04:46
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/111704:50
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/61904:50
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.05:00
canta (~canta@77-20-123-240-dynip.superkabel.de) joined #pypy.05:02
bbot24Failure: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/50 [12ctismer, win64-stage1]05:03
Ademanhi svenstaro what OS and architecture are you on?05:04
svenstaroarch linux x86_6405:04
svenstaroI'm the arch packager for pypy05:04
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/58305:05
svenstarooh actually, the build that failed was in a 32bit build chroot05:06
svenstaroso technically 32bit is my arch05:06
svenstarox86_64 build is still going05:06
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.05:07
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer05:07
svenstaroyeah x86_64 is now compiling05:09
svenstaroi688 already failed during translation05:09
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.05:12
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer05:12
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.05:13
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer05:13
davisagli (~davisagli@davisagli.com) left irc: Excess Flood05:35
davisagli (~davisagli@davisagli.com) joined #pypy.05:36
DanKluev (~root@93-88-2-081-xdsl.vntc.ru) left irc: Ping timeout: 244 seconds05:39
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/27805:41
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.05:53
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Client Quit05:53
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.05:55
Ademansvenstaro: sorry, any luck? How did you get the source?05:56
Nick change: Gulopine -> Gulaway05:57
DanKluev (~root@93-88-1-161-xdsl.vntc.ru) joined #pypy.05:58
__name__ (~name@sburn/devel/name) left irc: Ping timeout: 248 seconds05:59
fijal (~fijal@197.107.25.33) joined #pypy.05:59
fijalhi06:00
__name__ (~name@sburn/devel/name) joined #pypy.06:01
svenstarofrom the bitbucket official download06:02
svenstaroAdeman: also, no luck06:02
bbot23Success: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/71506:04
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.06:06
fijalsvenstaro: can you paste the crash?06:07
fijaland why are you using cpython to translate06:07
fijalit takes aaaaages on 2.606:07
svenstaroI got the same results using pypy06:07
svenstaroand I just pasted it, didn't I?06:07
fijalyes yes06:08
Ademansvenstaro: fijal wasn't in here06:08
svenstarooh06:08
Action: fijal can read the logs though06:08
svenstarohttp://pastie.org/290161106:08
fijalsvenstaro: do you think I can get access to this pdb somehow?06:08
fijaland - do you have any local modifications?06:08
Ademanit'd be really nice if the default translation failure told you a bit about the graph where it exploded06:10
Alex_Gaynorit does06:10
svenstaroalright, shall I redirect the whole make process to a log for you guys?06:10
svenstarothis is the PKGBUILD:06:10
svenstarohttp://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/pypy06:10
svenstaroit's what we use on arch for the buildscript and it is really simple06:11
fijalno06:12
fijalI need pdb06:12
AdemanAlex_Gaynor: it's been a while since I translated anything ( :-( ) but I certainly don't see anything in svenstaro's output that describes that06:13
svenstarofijal: tell me how and you will receive06:14
fijalsvenstaro: preferably by ssh connection :)06:16
fijalbut let me think for a second06:16
fijalyour 32bit chroot must be peculiar06:17
fijalyou sure, you don't have any local modifications?06:17
svenstaroyessir, it is installed from scratch each time we build06:17
svenstarothis is how we build all our packages, it just installs a new base system06:17
fijalok06:17
fijalsvenstaro: or you can try to fish where the staticmethod come from06:18
fijalsvenstaro: but you need an interactive translation06:18
fijalwithout --batch06:18
fijalsvenstaro: sorry I have to go some time soon, but I would like to investigate some more06:21
fijalwill you be online say in an hour or two?06:21
fijalif you can get a pdb by that time it would be awesome06:21
svenstaroI will try to reproduce the error on other machines06:21
svenstaroand I will need your ssh pubkey then or something06:22
fijalcool06:22
fijalhttp://paste.pocoo.org/show/511269/06:23
fijalsorry for spammy PM06:23
svenstaroalright06:23
fijalI should get more coffee I was thinking I pasted my private one for a sec....06:25
svenstarothose start with fairly obvious comments though :P06:25
svenstaro------ OMG THIS IS YOUR PRIVAT KEY DONT PASTE THIS -------06:26
fijalnever underestimate the lack of caffeine06:29
canta (~canta@77-20-123-240-dynip.superkabel.de) left irc: Quit: Leaving.06:32
[mat^2] (~mathias@212.130.113.35) left irc: 06:33
fijal (~fijal@197.107.25.33) left irc: Read error: Connection reset by peer06:39
svenstarohttp://pastie.org/private/lmqz4lzwbd20l2pjxh7iyw06:43
svenstaronew error06:43
svenstaroI used pypy this time and didn't use the no-sse2 instruction06:43
Garensvenstaro: Looks like you ran out of memory06:47
svenstarowhat's the user space limit on 32bit? 3GB right?06:47
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep06:48
svenstaroand 2GB for applications or something06:49
svenstarowell then, how do I make pypy when the process itself terminates? :D06:49
Garensvenstaro: Are you building the 32-bit target on x64?  Then you can get a full 4GB06:52
Alex_Gaynorsvenstaro: that praticular memoryerror is a bug in pypy 1.6, you can't use it to translate 1.706:52
Alex_Gaynorthe release notes really should have said that06:53
svenstaroAlex_Gaynor: oh06:54
svenstarooh... :)06:54
svenstaroGaren: yes, the kernel is 64bit but I build in a 32bit chroot so I'm not technically cross-building06:55
svenstarodoesn't that still impose the restrictions since all my userland stuff is then striclty 32bit?06:56
Garenno06:56
Garensvenstaro: your kernel isn't reserving 1GB or so from the smaller 32-bit address space, since you really have 64-bit 06:57
svenstarooff again with python2 I go!07:00
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.07:01
stakkars__ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer07:01
svenstarowhy did you guys take out the mandelbrot?07:04
svenstaroit was the only thing to keep me entertained07:04
svenstaronow I need to do something productive in the mean time07:05
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Read error: Connection reset by peer07:19
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) joined #pypy.07:24
verte (~verte@python/site-packages/verte) joined #pypy.07:38
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Quit: leaving07:42
asmeurer (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer07:48
verte (~verte@python/site-packages/verte) left irc: Ping timeout: 252 seconds07:49
fijal (~fijal@196-210-43-166.dynamic.isadsl.co.za) joined #pypy.07:50
derdon (~derdon@p5DE89237.dip.t-dialin.net) joined #pypy.07:53
stakkars_ (~tismer@dslb-088-072-224-185.pools.arcor-ip.net) left irc: Quit: schnarch07:54
fijalsvenstaro: if you use python2.7 over python2.6 it's much faster07:55
rokujyouhitoma (~rokujyouh@122x220x64x254.ap122.ftth.ucom.ne.jp) left irc: Remote host closed the connection07:55
svenstarowell this is arch :) python 2.6 was dropped from it 50 years go07:55
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy.07:55
fijalah ok07:55
fijalyes, obviously :)07:56
svenstarodoesnt solve the missing mandelbrot now does it07:57
fijalnope07:58
fijalmandelbrot should be there07:58
fijalas far as I know07:58
fijalit does check if it's a terminal07:58
fijalare you having a weird terminal07:58
fijal?07:58
Action: fijal ponders what to do07:59
svenstarooh right, it can't get my tty07:59
svenstaroye it's arlgiht07:59
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.08:01
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) joined #pypy.08:02
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) left irc: Changing host08:02
Trundle (~andy@python/site-packages/trundle) joined #pypy.08:02
svenstaroon different machine I was just able to make i686 using pypy 1.608:03
svenstarohuh08:03
fijalsomething is broken with your machine...08:04
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/08:06
Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy.08:10
svenstarooh actually that was a mistake, I used pypy08:10
svenstarosorry, getting confused with too many remote terminals08:10
svenstaroI gotta make the hostnames marquee or something08:10
[Arfreve1] (~Arfrever@minotaur.apache.org) joined #pypy.08:11
[Arfrever] (~Arfrever@apache/committer/Arfrever) left irc: Ping timeout: 248 seconds08:12
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.08:15
fijal_ (~fijal@41.52.68.96) joined #pypy.08:15
fijal (~fijal@196-210-43-166.dynamic.isadsl.co.za) left irc: Disconnected by services08:15
Nick change: fijal_ -> fijal08:16
fijalsvenstaro: different colors08:16
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Ping timeout: 240 seconds08:18
tito (~tito@pdpc/supporter/bronze/tito) left irc: Remote host closed the connection08:25
tito (~tito@81-67-113-37.rev.numericable.fr) joined #pypy.08:27
tito (~tito@81-67-113-37.rev.numericable.fr) left irc: Changing host08:27
tito (~tito@pdpc/supporter/bronze/tito) joined #pypy.08:27
senyai (~senyai@62.173.135.205) joined #pypy.08:27
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 260 seconds08:44
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:45
ders (~ders@202.72.107.130) left irc: Ping timeout: 260 seconds08:47
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.08:59
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 245 seconds09:02
fijalwhere is armin when you need one09:03
Alex_Gaynorfijal: on the mailing list apparently.09:04
fijalright09:04
Alex_Gaynorfijal: btw, hilarious bug: http://ci.django-cms.org/job/Django/501/database=sqlite3,python=pypy1.7/testReport/django.contrib.humanize.tests/HumanizeTests/test_naturaltime/09:04
fijaljustin's observation is kinda cool09:04
Alex_Gaynorwhich one?09:04
fijalon some recent issue, I lost the link09:05
fijalhttps://bugs.pypy.org/issue92709:05
fijalthis one09:05
fijalAlex_Gaynor: pretty hilarious09:05
Alex_Gaynorfijal: do you see the cause?  it took me a minute :)09:06
fijalno :)09:07
Alex_Gaynorfijal: someone monkey patches datetime.datetime, and datetime.py has isinstance(x, datetime) whereas in CPython it just has a check using C struct, not module name09:07
Alex_Gaynors/module name/global name/09:07
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.09:08
Alex_GaynorI fixed the bug in django, because it would berak under a CPython with a pure python datetime.py as well09:08
fijalah09:08
timonatoroh, ouch09:10
timonatorthat's mean09:10
iori (~iori@110-133-45-54.rev.home.ne.jp) left irc: Remote host closed the connection09:18
ders (~ders@202.72.107.133) joined #pypy.09:18
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:21
svenstaroalright I narrowed this a little, it explodes with --jit-backend=x86-without-sse209:21
svenstaroplease confirm09:21
svenstaroit works fine without that09:21
fijalah09:21
fijal!09:21
fijalwhy do you want to do that?09:21
fijalwe don't have such a buildbot and indeed it might crash09:21
Alex_Gaynorperhaps he doesn't have sse2 /hides09:22
svenstaroI'm fairly sure a core7 does :)09:22
fijalhe's on arch, everything needs sse2 since 199209:22
svenstarowe're building it like that because i686 doesn't always have sse209:22
fijalI would strongly suggest to not ship a version of pypy with this option09:22
fijalit makes all float operations super-slow09:22
svenstarofrankly if you just give me "that's not supported" I'd be glad to just take that out and be on my way :P09:22
Alex_Gaynorwe should either get a buildbot, or remove it09:22
fijalyes09:23
Alex_GaynorI guess I claim this should be true for everything.09:23
fijalsvenstaro: I would strongly suggest not to use it and indeed it's unsupported because we don't have a buildbot09:23
svenstarothat's good enough for me09:23
Alex_Gaynorwhy do we have it on our site then :/09:23
kenaan12arigo default 110261999420cf 15/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py: Test for the case of really two distinct constant immutable objects pointing to each other.  (works)09:24
verte (~verte@python/site-packages/verte) joined #pypy.09:39
ders (~ders@202.72.107.133) left irc: Ping timeout: 252 seconds09:41
h0h0 (c010b8ae@gateway/web/freenode/ip.192.16.184.174) joined #pypy.09:45
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.09:46
zk (~is@whatit.is) left irc: Ping timeout: 255 seconds09:49
zk (~is@whatit.is) joined #pypy.09:49
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.09:53
canta (~canta@77-20-123-240-dynip.superkabel.de) joined #pypy.10:07
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 260 seconds10:08
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.10:11
kenaan12hager ppc-jit-backend 1110f8da3b0282 15/pypy/jit/backend/ppc/ppcgen/codebuilder.py: Added code that verifies sane use of scratch register.10:17
fijal (~fijal@41.52.68.96) left irc: Ping timeout: 252 seconds10:20
amaury_ (~amaury_@74.125.57.34) joined #pypy.10:21
kenaan12hager ppc-jit-backend 1174db0eef66fe 15/pypy/jit/backend/ppc/ppcgen/codebuilder.py: Allow allocation without setting the scratch register value10:29
fijal (~fijal@196-210-43-166.dynamic.isadsl.co.za) joined #pypy.10:32
ders (~ders@202.72.107.130) joined #pypy.10:33
lahwranwhy is pypy-c-sandbox not provided as a version that can be downloaded?10:43
lahwranis there something about it that prevents such distribution?10:43
lahwranor is it just that not enough perceived interest has resulted in nobody spending the time to build it on a regular basis10:44
fijal (~fijal@196-210-43-166.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds10:45
ders (~ders@202.72.107.130) left irc: Ping timeout: 244 seconds10:45
amaury_ (~amaury_@74.125.57.34) left irc: Ping timeout: 276 seconds10:50
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:50
amaury_ (~amaury_@74.125.57.34) joined #pypy.10:51
ronnylahwran: there would be need for extra work to make a usefull distribution of it, since it needs the controller process and the libs for communication with the sandboxed slave10:51
lahwranI see10:51
lahwranso if I build a copy, and then write my own interaction code, it'd be perfectly fine for me to distribute the pypy-c-sandbox binary?10:52
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.10:52
ronnylahwran: as far as i understood, yes10:53
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.10:53
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host10:53
mfoord (~anonymous@python/psf/voidspace) joined #pypy.10:53
mfoord (~anonymous@python/psf/voidspace) left irc: Client Quit10:54
lahwranalright, sweet10:55
mvt (~mvantelli@87.213.45.85) joined #pypy.10:57
amaury_ (~amaury_@74.125.57.34) left irc: Ping timeout: 240 seconds11:09
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy11:11
h0h0 (c010b8ae@gateway/web/freenode/ip.192.16.184.174) left irc: Ping timeout: 265 seconds11:19
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) joined #pypy.11:21
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) left irc: Client Quit11:22
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) joined #pypy.11:24
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Remote host closed the connection11:28
Sho_ (~EHS1@kde/hein) joined #pypy.11:36
lahwranwhy is --withoutmod-unicodedata the default?11:40
lahwranditto for --withoutmod-time11:41
lahwranwhat effects will enabling these have11:41
lahwranagain for thread and bz211:41
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Read error: Connection reset by peer11:44
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.11:44
fijal (~fijal@197.171.34.193) joined #pypy.11:46
fijalmeh11:59
fijalso disabling sse does not work11:59
fijalwhat do we do?11:59
lahwranhm?12:03
fijallahwran: hi :)12:04
lahwrangreetings12:04
fijallahwran: default is --withmod-unicodedata12:04
fijalto be precise, default is --allworkingmodules12:04
fijaloh, you mean the sandbox version?12:05
lahwranhow in the world are you responding to what i said before you joined12:05
lahwran (lahwran@unaffiliated/lahwran) left #pypy.12:05
lahwran (lahwran@unaffiliated/lahwran) joined #pypy.12:05
lahwranare you really looking in the logs just for that? ._.12:05
fijalyes12:05
fijalI read pypy logs12:05
lahwranokay. I don't feel creeped out anymore./12:06
lahwrananyway, yeah, I'm building the sandbox version and I was looking through the translate.py options12:06
lahwranand I was curious why those default to off12:06
fijalsandbox has modules turned off12:07
fijalbecause well, it makes sense :)12:07
chronitis (~chronitis@79-68-125-122.dynamic.dsl.as9105.com) joined #pypy.12:07
lahwrannot really12:07
fijalbut unicodedata and time are almost always off12:07
lahwranwhy?12:07
lahwrantime is one of the most essential modules12:07
fijaler12:08
fijaltime and unicodedata are always on :)12:09
fijalI think we have two versions of time thought12:09
fijaltime and rctime12:09
lahwranerr12:09
lahwranlemme change my question: with --withoutmod-time, will 'import time' fail?12:09
fijalI don't think you can build without time, but I'm unsure12:09
fijalyou certainly can't build without unicodedata12:10
amaury_ (~amaury_@74.125.57.34) joined #pypy.12:13
amaury_Bad Cython optimization:  if(PyList_CheckExact(L))  Py_SIZE(L) -= 1;12:17
amaury_(used when translating x.pop())12:17
fijalups12:18
fijalyou can create a very bad benchmark12:18
amaury_it also checks for overallocation12:19
fijal (~fijal@197.171.34.193) left irc: Read error: Connection reset by peer12:36
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) left irc: Quit: Ex-Chat12:40
jacob22_ (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 240 seconds12:43
jacob22_ (~jacob@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.12:43
stakkars_ (~tismer@i59F72840.versanet.de) joined #pypy.12:44
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Ping timeout: 244 seconds12:46
verte (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT!12:47
jonvk (~jonathan@bas1-montreal29-1242341904.dsl.bell.ca) joined #pypy.12:54
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.13:00
lahwrandrat13:02
lahwranit seems to have been overusing /tmp, which was low on space13:03
lahwranand now it's crashed with a "no space left on device"13:03
JaredW (~jared@061093200075.ctinets.com) joined #pypy.13:03
Rhy0lite (dje@nat/ibm/x-rpxbvgucbnivsokf) joined #pypy.13:06
lahwranhttps://gist.github.com/ab8431c4000ca7afc2de13:07
lahwranI was running the translator in an old partition I hadn't used in a while13:07
lahwranbecause my root partition is low on space13:07
lahwrancan I safely resume translating by running the command again? 13:07
lahwranthe command I used was:13:07
lahwran../../../../pypy-1.7/bin/pypy translate.py -O2 --sandbox targetpypystandalone.py13:07
lahwranbah I'm just going to run the command again13:08
lahwranhopefully it resumes where it left off13:08
lahwrannope13:09
lahwrangrr  _ 13:09
chronitis (~chronitis@79-68-125-122.dynamic.dsl.as9105.com) left irc: Ping timeout: 252 seconds13:12
fijal (~fijal@41.55.152.102) joined #pypy.13:12
lahwranwell, there. I mount --bind'ed /tmp onto the spare partition13:14
lizardo (~lizardo@189.2.128.130) joined #pypy.13:14
fijallahwran: no, you can't resume13:17
fijalit's a bit of a pity13:17
bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Read error: Operation timed out13:18
chronitis (~chronitis@88-104-124-49.dynamic.dsl.as9105.com) joined #pypy.13:26
kenaan12ctismer win64-stage1 11d40a0bdc27aa 15/pypy/: Merge with default13:32
lahwransuddenly, builds13:33
chronitisdo pull requests to bitbucket get checked or do they need to be notified somewhere else for review?13:34
exarkunthey're not automatically merged to default, if that's what you mean13:35
chronitisof course - I meant is it necessary to open a bug or similar at the same time?13:36
fijalchronitis: no13:42
fijalI've seen your request13:42
fijalamaury_: feel like reviewing it? it goes to py3k branch13:43
fijalalso bitbucket crashed on me when I tried to look there :/13:43
chronitis...useful of it13:43
fijalchronitis: pester amaury, he's the py3k master13:44
chronitiswill do13:44
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy.13:48
fijalArach: hi13:48
fijalarigato: hi13:48
arigatohi13:48
fijalgood release I would say :)13:49
arigato:-)13:49
arigatowhy?13:49
fijalbecause not too many complaints13:49
fijalbecause of13:50
fijalarigato: have you seen justin's finds about slow large dict perf?13:50
arigato(1) indeed, good.  (2) no? on the bug report?13:51
fijal(2) yes13:51
fijalI mean noone reported crashes that are seriously bad13:51
arigatoyes13:53
arigatoapart from › on the blog13:53
arigatoof course we're all going to spend hours trying to reproduce the segfault he doesn't want to tell us anything about13:53
fijalI would  not count that one as a bug report13:56
fijalI suppose13:57
Nick change: Gulaway -> Gulopine13:58
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.14:00
Rhy0litearigato, fijal: Is there any detailed analysis of which PyPy optimizations contribute to its performance advantage for richards benchmark?14:05
fijalRhy0lite: not particularly, because a lot of optimizations are mutually benefiting each other14:05
fijalif you do inlining, your stuff can stay virtual14:06
fijaletc. etc.14:06
fijalyou can try playing with various --jit enable_opts=...14:06
fijalbut that won't let you disable say virtualizables14:06
Rhy0liteok, thanks14:06
fijalwhy do you ask?14:06
fijalas far as I know carl did some analysis for papers, but they were usually about simpler languages than python14:07
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.14:07
cfbolzhello14:07
Rhy0litehello14:07
Rhy0litespeaking of14:07
Rhy0litecan we do this all the time?14:07
fijalmeasure impact of various optimizations?14:07
fijalhi carl14:07
Rhy0liteno, talk about Carl and have him appear14:08
Rhy0lite:-)14:08
fijalhaha :)14:08
cfbolz:-)14:08
cfbolzhow can I be of service?14:08
Rhy0litefijal: some of my colleagues still are trying to understand why IBM's JIT is not as fast as PyPy for some simple benchmarks14:08
fijalRhy0lite: IBM JIT being in this example .... ?14:09
Rhy0liteyes14:09
fijalI mean what sort of architecture we're talking about14:09
Rhy0litecfbolz: the question is which pypy optimizations contribute to richards performance14:09
cfbolzRhy0lite: that's peng et al, I assume?14:09
Rhy0litecfbolz: yes, but more Jose14:10
fijalRhy0lite: you can always show them compiled assembler using jitviewer14:10
fijalit'll show up why14:10
fijalcfbolz: can I merge default to list strategies?14:10
fijalso I have a cleaner review situation14:10
cfbolzfijal: sure14:10
arigatocfbolz: hi14:10
cfbolzarigato: hi, will review your code soon14:10
fijalcfbolz: set-strategies is also ready?14:11
arigatocfbolz: ok :-)14:11
Rhy0litefijal: they are trying to perform some optimizations manually in their framework14:11
Rhy0litefor simple testcases14:11
cfbolzfijal: yes, reviews welcome14:11
Action: arigato tried to explain in a blog comment how open source works14:11
cfbolzfijal: but I would like to merge them after the other, and have a buildbot run in between14:11
fijalcfbolz: sure14:11
cfbolzRhy0lite: I guess that's easy enough to find out by disabling the optimizations and see14:12
Rhy0litearigato: good luck14:12
fijalRhy0lite: did they got rid of frames and boxing?14:12
cfbolzRhy0lite: but I think that it's very much a combination of many things14:12
fijalthat's a good first step14:12
cfbolzRhy0lite: anyway, are they running the JIT on jython? or on the java version of richards?14:12
Rhy0litecfbolz: this is Fiorano, using IBM's JIT14:13
cfbolzRhy0lite: yes, I guessed that14:13
cfbolzbut which version of richards is it?14:14
Rhy0litecfbolz: I have tried to explain PyPy's virtuals and escape analysis a couple of times14:14
fijalhaha14:14
Rhy0litebut I don't think they quite get it14:14
fijalcfbolz: it's totally unmergeable automatically14:14
Action: fijal fights14:14
cfbolzfijal: huh? why?14:14
Rhy0litecfbolz: Python version of richards, from U-S benchmarks14:14
cfbolzRhy0lite: ok, on jython then14:14
fijalcfbolz: I wonder as well14:15
Rhy0liteFiorano vs PyPy vs CPython14:15
Rhy0liteI don't understand why you keep saying jython14:15
Action: arigato googles Fiorano14:15
Rhy0litearigato: I don't think you will find anything14:15
cfbolzRhy0lite: I think I forgot what fiorano is, could you remind me please?14:15
fijalRhy0lite: can you brief me a gain on the architecture of Fiorano? I remember you did that, but I don't remember details :)14:15
fijalhahaha :]14:16
arigatoindeed14:16
arigatoa secret closed source project? bah :-/14:16
Rhy0liteThink Unladen-Swallow design (CPython as VM) connected to IBM's Testarossa JIT instead of LLVM14:16
kenaan12fijal list-strategies 11424f89e54a68 15/: merge default14:16
fijalRhy0lite: well ok, then how much of runtime is CPython and how much it is exposed?14:17
Rhy0litebut more invasive changes in CPython than Collin wanted to make14:17
cfbolzok, now I remember, sorry14:17
fijalbecause on of the pypy strengths is about not calling into a runtime with fixed API14:17
fijalhttp://www.trl.ibm.com/projects/jit/index_e.htm14:17
fijalI love the animated gif14:18
fijalwith all the broken fonts14:18
Rhy0lite:-)14:18
arigatofrom Psyco experience, reference counting slows things down in a JIT14:18
Rhy0litewe are specializing some parts of the runtime14:18
fijalRhy0lite: some parts (as we have learned) is by far not good enough for anything but the most simple stuff14:18
Rhy0litefijal: I agree14:18
fijalif you have an API that accepts boxes, it's more costly to have an optimizing JIT14:19
Rhy0liteI'm not trying to defend this approach14:19
fijalbecause you keep unboxing and boxing stuff14:19
Rhy0liteas Carl well knows14:19
fijalI know as well14:19
Rhy0lite:-)14:19
fijalI'm giving you arguments for the debate14:19
Rhy0liteyes, thanks14:19
fijalwhich surely goes on :)14:19
Action: Rhy0lite is tired of debates with his colleagues14:19
cfbolzRhy0lite: my totally uneducated guess why PyPy wins is: virtuals + frames + faster lookups on classes14:19
fijaldo you have the equivalent of jitviewer?14:19
arigatothe technologies might be different, but it sounds similar to the HotPy VM14:19
cfbolzarigato: yes14:20
arigato"good luck"14:20
Rhy0litearigato: to me or to Fiorano project?14:20
arigatoto the Fiorano project14:21
Rhy0liteyeah ;-)14:21
fijalRhy0lite: don't know about you, but such "good luck" from armin would be a good reason alone to reconsider your approach :)14:21
Rhy0litefijal: this is why I am helping with PyPy14:21
arigatono no, I'm not saying e.g. HotPy will fail14:21
cfbolzit's just too much work14:21
arigatoit may work, but it will be heavy, and getting more and more heavy as Python versions evolve14:22
Rhy0litefijal: a colleagues made a number of manual transformations to benchmarks like nbody and float14:22
Rhy0liteand found a few, key optimizations that were important14:22
fijalsure14:22
Rhy0liteI believe he expects the same for richards14:22
fijalbut those are "easy" cases14:22
fijalrichards is "moderately easy"14:22
Rhy0litefijal: shh!14:22
fijal;]14:23
arigatono, richards is easy too14:23
cfbolzthe big difference between those easy cases and richards is really better class handling14:23
cfbolzrichards is much more object-oriented14:23
Rhy0liteyes, I think richards is more pervasive14:23
arigatoyes, richards is testing method calls, and attribute gets and sets (not object creation)14:23
cfbolzarigato: exactly14:23
fijalarigato: I would like to point out that our first JIT didn't get fast richards14:23
fijalso it's "easy"14:23
cfbolzfijal: no, wait14:24
fijalno?14:24
cfbolzthe first jit could have gotten a fast richard, if we had had mapdicts/version tags at the time14:24
Rhy0liteso richards mostly needs something like hidden classes?14:24
cfbolzRhy0lite: in addition to the things float/nbody need, yes14:24
arigatoI'm just saying it's an "easy" case because it's not using any deep Python tricks, to the point that there is little to manually optimize14:24
Nick change: ojii -> ojii|desertbus14:24
cfbolzRhy0lite: I guess the right pointer is this years icooolps paper :-) http://dl.acm.org/citation.cfm?id=206918114:25
Rhy0litethanks14:29
Rhy0liteand thanks for the feedback14:29
Rhy0liteneed to get ready for my next meeting14:29
kenaan12fijal list-strategies 114566b449070c 15/pypy/module/__builtin__/functional.py: remove dead/commented out code14:31
fijalcfbolz: do you have a student who want to make an efficient bytearray type?14:33
kenaan12fijal default 11acfe60970d50 15/pypy/doc/project-ideas.rst: add a potential project idea14:35
cfbolzfijal: efficient in what sense?14:36
santagada (~leonardo@187.113.196.61) joined #pypy.14:36
fijalfor example so file.readinto would not make a copy14:36
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.14:37
cfbolzfijal: ah. we can see how long lukas takes with instances14:37
fijaland a lot of operations delegate to string14:37
fijallike __contains__14:37
cfbolzah, right14:38
cfbolzthat's very annoying to fix, of course14:38
fijalof course14:38
fijalwe could try to share code between string/unicode and bytearray14:39
fijalor I don't know14:39
fijalbut it's interesting to experiment with14:39
fijalor annoying14:39
fijala bit more interesting would be a better buffer interface (maybe?)14:40
cfbolzor something14:40
kenaan12fijal default 1162e07d175dd7 15/pypy/doc/project-ideas.rst: add a potential project idea14:41
kenaan12fijal default 11ffe6c1bffaa0 15/: dumb merge14:41
fijaleither way we lack a consistent view on "how do you use an efficient mutable buffer in pypy"14:41
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.14:41
Nick change: Gulopine -> Gulaway14:42
chronitisgiven that a lot of bytearray methods call the stringobject equivalents, is there a good reason not to automatically delegate bytearray to bytes and only write implementations for the cases where we'd end up iterating over a list of characters anyway?14:52
kenaan12l.diekmann type-specialized-instances 11c31774e1542e 15/pypy/objspace/std/: added tests and fixes for overwriting attributes with another type and for untaggable ints14:52
chronitis(this might apply more in py3k than default)14:55
fijalchronitis: bytearray is a disaster mostly in pypy14:55
fijalsince a lot of those methods require conversion and coping14:55
fijalcopying even14:56
fijalassert isinstance(wrappeditems, list)14:59
fijalcfbolz: this is in W_ListObject.__init__14:59
fijalwhat does that do?14:59
chronitisspecialising some of them to avoid copying would require hacking rstring to accept arrays, I think14:59
fijalchronitis: wrong level I believe :)15:00
chronitisfair enough15:00
amaury_fijal: I can review the pull requests later tonight15:01
amaury_or are you discussing them at the moment?15:01
fijalamaury_: no15:01
chronitis(I have been playing with bytearray a bit, but that's not in the pull request)15:03
fijalchronitis: I suggest coming up with a solution to the current mess and discussing it here if you're interested15:04
chronitisthat would require coming up with a solution ;)15:04
fijalwe can discuss it still, but I'm out of opinions for now :)15:04
antocuni (~antocuni@host142-66-static.94-94-b.business.telecomitalia.it) joined #pypy.15:06
fijalcfbolz: also, why there is15:13
fijalexcept IndexError: raise15:13
cfbolzfijal: that's needed, because otherwise you don't get an IndexError15:16
cfbolzI guess a comment would help15:16
fijalok15:16
fijalthere is an untested path in setslice15:16
cfbolzabout the assert: I guess we can kill it now, in the beginning we ran into it15:16
cfbolzuntested path :-(15:16
cfbolzadd an XXX15:16
fijalok15:16
fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy.15:18
kenaan12fijal list-strategies 115f5ee7044ff7 15/pypy/objspace/std/listobject.py: untested paths15:18
engla (~ulrik@wikipedia/Sverdrup) joined #pypy.15:19
whitelynx (~whitelynx@63.241.75.144) joined #pypy.15:22
PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood15:23
PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy.15:24
ahall (~ahall@2001:bd0:100::666) joined #pypy.15:28
kkris (~kris@80-123-47-149.adsl.highway.telekom.at) joined #pypy.15:29
fijal (~fijal@41.55.152.102) left irc: Read error: Connection reset by peer15:37
JaredW (~jared@061093200075.ctinets.com) left irc: Ping timeout: 252 seconds15:39
maxyz (~maxy@186.23.74.228) left irc: Ping timeout: 248 seconds15:44
kenaan12arigo default 11cecce64567b2 15/pypy/jit/metainterp/optimizeopt/virtualize.py: (cfbolz, arigo) Clarify the intention.15:46
kenaan12cfbolz default 113b335c5116cf 15/pypy/jit/metainterp/optimizeopt/optimizer.py: add a (probably not too costly) sanity check to make sure that the traces the optimizer produces have the SSA prop...15:47
JaredW (~jared@061093200075.ctinets.com) joined #pypy.15:52
JaredW (~jared@061093200075.ctinets.com) left irc: Remote host closed the connection15:57
JaredW (~jared@061093200075.ctinets.com) joined #pypy.15:57
mvt (~mvantelli@87.213.45.85) left irc: Quit: This computer has gone to sleep15:59
maxyz (~maxy@186.23.74.228) joined #pypy.15:59
svenstaro (svenstaro@archlinux/trusteduser/svenstaro) left #pypy ("WeeChat 0.3.6").16:01
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...16:05
chronitis (~chronitis@88-104-124-49.dynamic.dsl.as9105.com) left irc: Read error: Operation timed out16:07
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.16:20
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) left irc: Quit: etrepum16:30
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) joined #pypy.16:38
[Arfreve1] (~Arfrever@minotaur.apache.org) left irc: Quit: leaving16:43
[Arfrever] (~Arfrever@apache/committer/Arfrever) joined #pypy.16:45
jnoller (~jnoller@vpn.nasuni.com) joined #pypy.16:49
Trundle (~andy@python/site-packages/trundle) left irc: Remote host closed the connection16:55
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.17:02
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.17:08
voidspace (~voidspace@python/psf/voidspace) left irc: Read error: Connection reset by peer17:09
voidspace (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy.17:10
voidspace (~voidspace@87-194-212-65.bethere.co.uk) left irc: Changing host17:10
voidspace (~voidspace@python/psf/voidspace) joined #pypy.17:10
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you17:10
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.17:10
voidspace (~voidspace@python/psf/voidspace) left irc: Client Quit17:10
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 240 seconds17:11
antocuni (~antocuni@host142-66-static.94-94-b.business.telecomitalia.it) left irc: Ping timeout: 252 seconds17:13
DasIch (~dasich@p3E99064C.dip.t-dialin.net) joined #pypy.17:20
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.17:21
fschwidom (~fschwidom@46.115.21.179) joined #pypy.17:25
chronitis (~chronitis@88-104-124-215.dynamic.dsl.as9105.com) joined #pypy.17:27
fox__ (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) joined #pypy.17:28
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer17:28
stakkars_ (~tismer@i59F72840.versanet.de) left irc: Quit: schnarch17:40
stakkars_ (~tismer@i59F72840.versanet.de) joined #pypy.17:43
jnoller (~jnoller@vpn.nasuni.com) left irc: 17:44
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving17:44
kenaan12ctismer win64-stage1 118a6f3e90b28c 15/pypy/__init__.py: test_zpy works on win6417:47
stakkars_ (~tismer@i59F72840.versanet.de) left irc: Quit: schnarch17:49
kenaan12hager ppc-jit-backend 11c489a73eaf5d 15/pypy/jit/backend/ppc/ppcgen/: Started implementation of CALL_ASSEMBLER17:51
senyai (~senyai@62.173.135.205) left irc: Quit: senyai17:55
freenizzle (~crazy@pool-71-98-178-103.tampfl.dsl-w.verizon.net) joined #pypy.17:56
freenizzle (~crazy@pool-71-98-178-103.tampfl.dsl-w.verizon.net) left irc: Remote host closed the connection18:01
JaredW (~jared@061093200075.ctinets.com) left irc: Ping timeout: 276 seconds18:01
srin (~srin@257WIRELESS.CNS.NYU.EDU) joined #pypy.18:05
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Remote host closed the connection18:05
stakkars_ (~tismer@g225044163.adsl.alicedsl.de) joined #pypy.18:15
amaury_ (~amaury_@74.125.57.34) left irc: Read error: Operation timed out18:20
fmilo (~mist0@cpe-76-168-60-20.socal.res.rr.com) joined #pypy.18:20
dmalcolm (david@nat/redhat/x-msmgylgwalntazsi) joined #pypy.18:21
srin (~srin@257WIRELESS.CNS.NYU.EDU) left irc: Ping timeout: 244 seconds18:26
fmilo (~mist0@cpe-76-168-60-20.socal.res.rr.com) left irc: Quit: fmilo18:26
fox__ (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) left irc: Ping timeout: 260 seconds18:29
fijal (~fijal@41.55.74.39) joined #pypy.18:31
engla (~ulrik@wikipedia/Sverdrup) left irc: Ping timeout: 252 seconds18:33
ojii|desertbus (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Quit: Leaving18:37
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy.18:38
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host18:38
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.18:38
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer18:38
voidspace (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy.18:41
voidspace (~voidspace@87-194-212-65.bethere.co.uk) left irc: Changing host18:41
voidspace (~voidspace@python/psf/voidspace) joined #pypy.18:41
stakkars__ (~tismer@g225044163.adsl.alicedsl.de) joined #pypy.18:52
stakkars_ (~tismer@g225044163.adsl.alicedsl.de) left irc: Read error: Connection reset by peer18:52
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) joined #pypy.18:57
fijalRhy0lite: any luck persuaiding anyone?19:03
nickik (~nick@217.150.239.67) joined #pypy.19:04
Rhy0litepersuading anyone of what?19:05
santagada (~leonardo@187.113.196.61) left irc: Ping timeout: 240 seconds19:05
kenaan12edelsohn ppc-jit-backend 11ecee5b13c5e2 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: Make PPC64 _emit_call abi offset clearer.19:06
srin (~srin@257WIRELESS.CNS.NYU.EDU) joined #pypy.19:06
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.19:19
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Remote host closed the connection19:20
mcdonc_ (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Remote host closed the connection19:23
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.19:25
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy.19:29
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.19:39
fijal (~fijal@41.55.74.39) left irc: Read error: Connection reset by peer19:39
durin42 (~durin@adium/durin42) left irc: Ping timeout: 245 seconds19:44
srin (~srin@257WIRELESS.CNS.NYU.EDU) left irc: Ping timeout: 252 seconds19:44
Ademan (~dan@78.sub-97-152-91.myvzw.com) joined #pypy.19:46
durin42 (~durin@173-15-14-174-Illinois.hfc.comcastbusiness.net) joined #pypy.19:46
durin42 (~durin@173-15-14-174-Illinois.hfc.comcastbusiness.net) left irc: Changing host19:46
durin42 (~durin@adium/durin42) joined #pypy.19:46
etrepum (~bob@207.239.114.206) joined #pypy.19:46
ojii (~ojii@47-78.78-83.cust.bluewin.ch) joined #pypy.19:47
ojii (~ojii@47-78.78-83.cust.bluewin.ch) left irc: Remote host closed the connection19:47
DasIch_ (~dasich@p4FFDE8AC.dip.t-dialin.net) joined #pypy.19:53
DasIch (~dasich@p3E99064C.dip.t-dialin.net) left irc: Ping timeout: 258 seconds19:57
fschwidom (~fschwidom@46.115.21.179) left irc: Remote host closed the connection20:00
thoughtpolice (~thoughtpo@li111-206.members.linode.com) left irc: Read error: Operation timed out20:03
jml (~jml@canonical/launchpad/jml) left irc: Ping timeout: 240 seconds20:04
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) joined #pypy.20:05
thoughtpolice (~thoughtpo@li111-206.members.linode.com) joined #pypy.20:09
jml (~jml@mumak.net) joined #pypy.20:09
jml (~jml@mumak.net) left irc: Changing host20:09
jml (~jml@canonical/launchpad/jml) joined #pypy.20:09
Shanita (~John@osbk-4db14086.pool.mediaWays.net) left irc: Read error: Connection reset by peer20:10
Kaskuka (~John@osbk-4db14086.pool.mediaWays.net) joined #pypy.20:13
Ademan (~dan@78.sub-97-152-91.myvzw.com) left irc: Quit: leaving20:17
camara (8c9d2633@gateway/web/freenode/ip.140.157.38.51) joined #pypy.20:18
davisagli (~davisagli@davisagli.com) left irc: Excess Flood20:22
davisagli (~davisagli@davisagli.com) joined #pypy.20:23
ericflo (~ericflo@75.103.8.110) joined #pypy.20:28
camara (8c9d2633@gateway/web/freenode/ip.140.157.38.51) left #pypy.20:29
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) left irc: Ping timeout: 260 seconds20:37
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) joined #pypy.20:39
kenaan12alex_gaynor default 11b38fa1e72083 15/lib_pypy/_sqlite3.py: Added sqlite3.Connection.enable_load_extension, untested because it requires your libsqlite to have been comp...20:39
kenaan12alex_gaynor default 11d550918b20a6 15/pypy/: merged upstream20:39
kkris (~kris@80-123-47-149.adsl.highway.telekom.at) left irc: Quit: Leaving.20:50
lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving20:51
stakkars__ (~tismer@g225044163.adsl.alicedsl.de) left irc: Quit: schnarch20:52
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer20:52
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) joined #pypy.20:53
chronitis (~chronitis@88-104-124-215.dynamic.dsl.as9105.com) left irc: Quit: Lost terminal20:53
Rhy0lite (dje@nat/ibm/x-rpxbvgucbnivsokf) left irc: Quit: Leaving20:56
Alex_Gaynoramaury_: ping20:58
amaury_pong20:58
Alex_Gaynoramaury_: Do you know what exactly is supposed to be passed to an errcheck function in ctypes?20:58
Alex_GaynorCPython seems to be passing something with an ._obj (a CArgObject) and we're passing the value directly.20:59
amaury_IIRC, a callable that takes the return value as argument20:59
amaury_ah20:59
Alex_GaynorI mean it takes (result, func, cargs)21:00
Alex_Gaynorbut what types are cargs21:00
kenaan12amauryfa py3k 1132c718fe8261 15/pypy/module/_io/interp_bufferedio.py: Buffered IO should catch EINTR and retry.21:00
kenaan12amauryfa py3k 114a4118ac402e 15/: hg merge default21:00
amaury_in ctypes, all arguments are wrapped in CArgObject21:00
amaury_(don't be confused by a class of the same name in pypy)21:00
Alex_Gaynoramaury_: I can't imagine why I'd be confused :)21:01
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Ping timeout: 258 seconds21:01
Alex_Gaynoramaury_: it causes an issue with geodjango, it tries to get an ._obj attribute since it's a CargObject, but we pass the underlying obj21:03
amaury_hum21:03
amaury_what is the function restype?21:04
Alex_Gaynoramaury_: grr, no --pdb on this system :)21:04
Alex_Gaynoramaury_: http://paste.pocoo.org/show/511613/ is what I get under pypy, I can't actually run this code under CPython :/21:08
dmalcolm (david@nat/redhat/x-msmgylgwalntazsi) left irc: Quit: Leaving21:09
amaury_"CFuncPtrFast"21:10
amaury_it's possible that pypy's "fast ctypes" has some shortcuts21:10
amaury_maybe Antonio knows better21:11
Alex_Gaynorwith errcheck you mean?21:11
amaury_yes, and other things21:11
Alex_GaynorNo, this doesn't appear to be related to fastctypes21:12
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep21:13
fijal (~fijal@41.52.144.224) joined #pypy.21:17
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.21:17
amaury_Then it's an issue with our _rawffi21:17
amaury_which is not _raw enough21:17
amaury_since it already returns real ints or floats21:18
Alex_Gaynorwe should get the ctypes tests passing, so we can blame cpython21:18
amaury_there is only one test about errcheck21:18
Alex_Gaynorwhy am I not surprised :(21:18
fijalhey21:18
amaury_something you have to remember about ctypes:21:18
etrepum (~bob@207.239.114.206) left irc: Read error: Operation timed out21:18
amaury_it was first developed on Windows21:19
Alex_Gaynoramaury_: based on the docs http://docs.python.org/library/ctypes.html#ctypes._FuncPtr.errcheck I claim CPython's behavior is broken21:19
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving21:19
Alex_Gaynorsince it doesn't pass teh original *args, but the warpped ones21:19
amaury_but you don't know the best part:21:19
amaury_if errchek returns the "arguments" tuple that were passed21:20
amaury_"then continue normal processing"21:20
Alex_Gaynoryes I saw that in the code :)21:20
Alex_Gaynorthat makes sense21:20
amaury_ah really?21:20
amaury_it makes sense only when there are *several* return values21:20
amaury_i.e. INOUT parameters21:21
Alex_Gaynoramaury_: no, I was being sarcastic :)21:21
amaury_It makes sense in a Windows COM world21:21
amaury_a bit21:21
amaury_where INOUT parameters are used by some functions21:21
amaury_that can also explain why there are so few unit tests for advanced features21:22
fijalamaury_: how does it explain so?21:22
amaury_if there were some, they were written for win32 COM interfaces21:22
amaury_and removed when ctypes was shipped in CPython21:23
Alex_Gaynoramaury_: here's what CPython has: http://dpaste.com/660487/21:23
Alex_Gaynorso the last arg is the wrong type for some reason21:24
etrepum (~bob@207.239.114.206) joined #pypy.21:25
amaury_How is this last param constructed?21:26
amaury_a by_ref?21:26
bgola (~bgola@189.100.46.89) left irc: Ping timeout: 260 seconds21:27
Alex_Gaynoramaury_: yes21:27
amaury_so fix by_ref :-)21:27
Alex_Gaynorso, it's our bug afterall :/21:27
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep21:28
amaury_yes21:28
bgola (~bgola@189.100.42.16) joined #pypy.21:28
Alex_Gaynoramaury_: :/  I'm not sure I understand what the expected behavior is even21:31
amaury_byref(c_int(3))._obj21:32
amaury_should work21:32
amaury_in pypy the equivalent is byref(c_int(3)).contents21:33
Alex_Gaynorsigh21:33
amaury_it's because we were lazy21:33
Alex_Gaynorwe shouldn't be lazy, I guess21:33
amaury_and implemented byref as a pointer21:33
amaury_when it's a reference21:33
amaury_it's a bit like C++21:34
amaury_they generate the same code21:34
amaury_but are used with a different syntax21:34
Alex_Gaynorsigh21:34
amaury_so it's not an errcheck issue after all21:38
fijal (~fijal@41.52.144.224) left irc: Read error: Connection reset by peer21:38
amaury_it's just that normally byref() is directly passed as a function parameter21:38
Alex_Gaynoryup21:38
amaury_so nobody sees the exact thing this returns21:38
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) left irc: Read error: Connection reset by peer21:39
etrepum (~bob@207.239.114.206) left irc: Quit: etrepum21:41
lotrpy (~lotrpy@202.120.58.116) left irc: Ping timeout: 244 seconds21:46
lotrpy (~lotrpy@202.120.58.116) joined #pypy.21:46
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection21:54
stakkars_ (~tismer@p5DC46903.dip0.t-ipconnect.de) joined #pypy.21:55
amaury_float.__hash__ uses W_LongObject.fromfloat, it may be slow21:55
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.21:55
amaury_I hope 1e32 is not often used as a dict key21:55
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 240 seconds21:59
fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com22:01
amaury_hmm, CPython defines sys.hash_info.modulus22:07
amaury_(1<<61)-1 on 64bit platforms22:07
amaury_what's the equivalent for pypy?22:07
amaury_(I noticed that hash(somefloat) is always around 1<<3222:08
Alex_GaynorI would expect we copied CPython.  gutworth did that work IIRC.22:13
lotrpy (~lotrpy@202.120.58.116) left irc: Ping timeout: 260 seconds22:14
lotrpy (~lotrpy@202.120.58.116) joined #pypy.22:15
`fox` (~fox@host42-105-dynamic.51-79-r.retail.telecomitalia.it) left irc: Ping timeout: 244 seconds22:17
amaury_should I change pypy's float.__hash__ then?22:20
nickik (~nick@217.150.239.67) left irc: Quit: Verlassend22:22
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Remote host closed the connection22:26
antocuni (~antocuni@88-149-186-50.staticnet.ngi.it) joined #pypy.22:31
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.22:34
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy.22:38
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/72122:41
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/14722:41
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/95022:41
etrepum (~bob@12.130.118.18) joined #pypy.22:51
mat^2 (~mathias@212.130.113.35) joined #pypy.22:55
kenaan12amauryfa py3k 11aa1d34b5a927 15/pypy/: Implement sys.hash_info. Initial patch by chronitis, thanks!23:00
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) joined #pypy.23:10
srin (~srin@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU) left irc: Client Quit23:10
stakkars_amaury_: hi!23:15
amaury_hi23:15
stakkars_amaury_: do you happen to know which test modules load the boehm gc?23:16
amaury_some translation tests IIRC23:16
amaury_test_asmgcc for example23:16
stakkars_it is almost impossible to find out with a text search, since "gc" comes so often, and "gc.dll" does not occur :-(23:17
amaury_sure23:17
stakkars_ah, thank you.23:17
amaury_"boehm" should be the keyword23:17
stakkars_I'd be happier if such things were searchable...23:17
stakkars_I need to test the point where "gc64_dll.dll" will need to be loaded, but it doesn't work in any obvious way23:19
stakkars_trying test_asmgcc      (why &gcc, what does it mean?)23:20
amaury_sorry, it's unrelated to boehm23:20
amaury_asmgcc is a technique to get root pointers for gc23:21
amaury_the one that are live on the stack23:21
amaury_instead of a "shadow stack" i.e. you push your local variables when calling another function23:21
stakkars_aha!?!23:21
stakkars_ah yes23:21
amaury_it makes a map of the register that can hold gc pointers23:21
amaury_analysis of the generated assembler23:22
amaury_it was first developed for gcc23:22
amaury_but I made it work with Visual Studio23:22
amaury_very fragile though23:23
stakkars_I found test_asmgcroot instead23:24
amaury_yes, that's the correct name23:24
stakkars_ok, great, thank you again!23:24
amaury_I think it's not used anymore23:26
amaury_Armin wrote a version of the shadow stack that is fast enough, and compatible with the JIT23:27
amaury_and generates normal C code23:27
stakkars_hmm. I simply want to see the call to -- what? types? that causes the all to be loaded.23:28
stakkars_types, ffi? It seems to no longer use "gc.h". I hacked on boehm and windows in 2005 ;-)23:29
stakkars_(arg, there must be something that corrects my typing. wanted to type "types", twice)23:30
stakkars_arch, again23:31
stakkars_ctypes23:31
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go23:32
amaury_stakkars: you can follow "configure_boehm" calls23:33
amaury_it returns an ExternalCompilationInfo object23:33
amaury_which represents the boehm library23:34
stakkars_yes, I just found that. thanks!23:34
amaury_but I don't think boehm is used in interpreted tests23:35
amaury_(with ll2ctypes &co)23:35
amaury_only in translated tests23:35
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) left irc: Ping timeout: 240 seconds23:39
stakkars_jit/backend/llsupport/gc.py seems to do something, right?23:39
stakkars_I will trace that. Obviously the only way to learn what pypy does. Tracing.23:40
amaury_stakkars: this is for the JIT, of course23:41
amaury_when it needs to allocate memory and such, it has to integrate to the gc23:41
voidspace (~anonymous@python/psf/voidspace) joined #pypy.23:42
Action: amaury_ ->bed23:45
stakkars_thank you, good night23:46
gnuvince (~vince@ip-96-43-237-62.dsl.netrevolution.com) joined #pypy.23:48
stakkars_ha, found what I searched in rffi_platform.configure_boehm23:48
antocuni (~antocuni@88-149-186-50.staticnet.ngi.it) left irc: Ping timeout: 252 seconds23:49
gnuvinceI'm trying to run nosetests with PyPy, but I get an exception when it tries to import site.py.  I've pasted the stack trace: http://www.ideone.com/NWBIN.  Anyone knows what I can do to fix that?23:49
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 252 seconds23:50
timonatoroh23:52
timonatoryou shouldn't set the pythonpath to anything from cpython23:53
timonatorthat's bad for pypy23:53
timonatorif you need to install nose for it, the easiest way is probably to use a virtualenv, but if you have the right permissions to the pypy folder, you can just as well pypy setup.py install it23:53
timonatorgnuvince: also a highlight for you23:55
--- Wed Nov 23 201100:00

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