#pypy IRC log for Friday, 2011-12-02

bbot2 (~bbot2@wyvern.cs.uni-duesseldorf.de) left irc: Ping timeout: 244 seconds00:09
bbot2 (~bbot2@wyvern.cs.uni-duesseldorf.de) joined #pypy.00:10
K-os (~gabriel@cl-3210.ham-01.de.sixxs.net) left irc: Quit: Ex-Chat00:15
lac_ (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.00:39
lac (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 248 seconds00:40
CIA-1303r.lobb 07roundup * 10#949/1.7 Sandbox problems: 00:53
CIA-13[new] I've having problems getting the sandbox build of pypy-1.7 working. Has anyone00:53
CIA-13used it successfully? I've done several builds using both p ... * 14https://bugs.pypy.org/issue94900:53
Dulak (~michael@unaffiliated/dulak) left irc: Quit: Leaving00:54
bbot2Started: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/78 [12ctismer, win64-stage1]00:54
Dulak (~michael@unaffiliated/dulak) joined #pypy.01:05
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/15601:06
bbot213Exception: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/78 [12ctismer, win64-stage1]01:10
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection01:15
kenaan12ctismer win64-stage1 11f26e12e71561 15/pypy/rlib/rarithmetic.py: corrected ovfcheck for the final time! ;-)01:18
kenaan12ctismer win64-stage1 11c0364c9ad58f 15/pypy/: correction to struct.pack and test_gc01:18
bbot2Started: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/79 [12ctismer, win64-stage1]01:20
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.01:24
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go01:32
Nick change: Gulaway -> Gulopine01:35
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/187401:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/60701:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/62901:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/113501:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/81401:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/145601:38
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/73401:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/28001:38
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/29001:38
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/73101:39
rekamso (~textual@216.190.27.14) left irc: Ping timeout: 244 seconds01:43
davisagli (~davisagli@davisagli.com) joined #pypy.01:47
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Ping timeout: 240 seconds01:47
Nick change: buug -> bugfree01:51
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.01:56
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/28001:56
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Ping timeout: 244 seconds02:04
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection02:05
craigkerstiens (~craigkers@204.14.152.118) left irc: Quit: craigkerstiens02:06
cheyuni (~user@125.129.20.246) joined #pypy.02:13
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.02:14
panni_ (smuxi@descent.fragstore.net) left irc: Read error: Operation timed out02:14
smuxi (smuxi@descent.fragstore.net) joined #pypy.02:17
Nick change: smuxi -> panni_02:17
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.02:32
Shanita (~John@osbk-4db06d9c.pool.mediaWays.net) joined #pypy.02:43
Kaskuka (~John@osbk-4db169db.pool.mediaWays.net) left irc: Ping timeout: 248 seconds02:43
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/96102:45
Nick change: Gulopine -> Gulaway02:46
ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo02:47
Taos (~jakob@host-92-20-152-142.as13285.net) joined #pypy.02:51
Taosis ipython workingon pypy yet?02:51
Da_Blitzon 1.7?02:52
Taosmh?02:52
Taosyes02:53
Action: Da_Blitz had to make a change to ipython to get it to work on pypy 1.702:53
Da_Blitzlet me find the fix02:54
TaosThanks02:56
rekamso (~textual@c-71-197-238-154.hsd1.wa.comcast.net) joined #pypy.02:58
TaosDa_Blitz: TraitError: The 'session_number' trait of a HistoryManager instance must be an i02:58
Taosnteger, but a value of 29L <type 'long'> was specified.02:58
TaosIs the current exception i have02:58
Da_Blitzyeah, there is an Int you have to change to CInt02:59
TaosDa_Blitz: hm?03:00
TaosCInt?03:00
Da_Blitzline 66 in core/history.py03:01
Da_Blitzshould be in site-packages/IPython/core/history.py03:01
TaosWhat is CInt?03:02
Da_Blitzsession_number = Int() should become session_number = CInt()03:02
Taosand add that to import right?03:02
Da_Blitzah yes, forgot that one ;)03:02
TaosDa_Blitz: new wonderful error :P03:03
TaosOSError: python27: The specified module could not be found.03:03
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection03:03
Da_Blitzthats odd, doing that is enough for it to work on my system03:03
TaosDa_Blitz: should I get it to locad libpypy-c.dll?03:04
Taos(windows box ftw)03:04
Da_Blitzworth a try03:04
Action: Da_Blitz hasent touched windows in awhile but that sounds semi correct03:04
TaosDamn03:06
TaosAttributeError: No symbol PyMem_Malloc found in library C:/pypy/libpypy-c.dll03:06
Taoswhats libexpat?03:07
Da_Blitzxml processing lib03:07
Taosdamn03:09
Taosno03:09
TaosWell looks like no ipypy03:09
Sho_ (~EHS1@kde/hein) joined #pypy.03:10
TaosDa_Blitz: hmm03:15
TaosDa_Blitz: Ill take another stab later03:15
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection03:16
craigkerstiens (~craigkers@c-76-126-162-38.hsd1.ca.comcast.net) joined #pypy.03:19
cheyuni (~user@125.129.20.246) left irc: Ping timeout: 248 seconds03:23
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy.03:38
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/187403:45
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 260 seconds04:08
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.04:09
durin42 (~durin@adium/durin42) left irc: Ping timeout: 258 seconds04:12
durin42 (~durin@adium/durin42) joined #pypy.04:14
Nick change: Gulaway -> Gulopine04:18
durin42 (~durin@adium/durin42) left irc: Ping timeout: 252 seconds04:43
durin42 (~durin@adium/durin42) joined #pypy.04:45
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/145604:46
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/62904:53
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/81404:54
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy.05:09
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host05:09
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.05:09
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/113505:12
aleksi (~aleksi@85.235.191.82) joined #pypy.05:17
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/60705:18
fijal (~fijal@197.173.127.165) joined #pypy.05:57
fijalhi05:57
bbot213Exception: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/79 [12ctismer, win64-stage1]06:06
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.06:14
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Quit: leaving06:16
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/73406:17
Nick change: Gulopine -> Gulaway06:19
setmeawayyeah i built pypy-c in mingw32 using trunk06:38
mattip (~chatzilla@bzq-79-177-116-180.red.bezeqint.net) joined #pypy.06:38
mattiphi06:38
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 244 seconds06:39
CIA-1303hpaulj 07roundup * 10#950/startup_hook in readline: 06:41
CIA-13[new] Ipython running under pypy (1.6) does not autoindent or 'rep'. The problem is06:41
CIA-13with pypy readline.raw_input. It calls startup_hook before ... * 14https://bugs.pypy.org/issue95006:41
fijalmattip: hi06:42
fijalmattip: I've found issues with the reshape merge06:42
fijallook at my coming commit06:43
kenaan12fijal matrixmath-reshape-merge 11501d675cc368 15/pypy/module/micronumpy/: Create a branch to merge matrixmath-reshape. A bit of a mess because of the way the branch was cre...06:43
fijalsetmeaway: nice!06:43
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.06:47
asmeurer__ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Quit: asmeurer__06:48
Action: mattip pulling06:51
fijalthere is a failing test06:52
mattipI can reproduce the failure. I will take a look.06:54
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/29006:58
apollo13 (~apollo13@unaffiliated/apollo13) left irc: Quit: SIGILL07:02
kenaan12fijal numpy-dtype-refactor 118bfca97d2a5c 15/pypy/module/micronumpy/REVIEW: add REVIEW notes07:07
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 255 seconds07:09
fijalmattip: dot seems like a mess, but there are more things that operate per-axis07:09
mvt (~mvantelli@87.213.45.85) joined #pypy.07:14
stakkars_ (~tismer@p5DDB7E68.dip.t-dialin.net) left irc: Quit: schnarch07:29
mattipfijal: ping07:50
fijalmattip: pong07:51
mattipReshape is also a mess.07:51
mattipIt seems that when things get too complicated, numpy makes a copy of the original array07:52
mattipwhen doing a reshape07:52
fijalok07:53
kenaan12fijal default 119f0ae6c94a99 15/pypy/doc/index.rst: Bump the release number07:53
fijalyou can test it07:53
mattipYes. But if we wish for numpy comatablity, sometimes reshape on a slice of an array will return a view, and sometimes a new array.07:54
fijalisn't that fine?07:55
fijalyou can even check if it's incompatible or compatible07:55
mattipOK, just will take me more time to implement.07:55
mattipAnd lots more tests.07:56
mattipBack to dot implementation.07:57
mattipIt seems we need some kind of framework for per-axis ufuncs.07:57
fijalyes07:57
mattipSo, add a whole new framework of generated functions? or modify existing ufunc generator to accept an argument?07:58
mattipThe second seems more numpy-like07:59
mattipbut would require modification of start_iter07:59
mattip?08:00
Nick change: Guest48309 -> masquerade08:03
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.08:03
mattipAhh, progress on (re)shape.08:04
mattipObviously, when you stare at it enough. a.shape = () will never modify the data buffer.08:05
mattipbut b=a.reshape() will return a copy of a contiguous buffer if the strides do not match.08:06
mattipSo if b = a.reshape() may or may not add to a.invalidates08:08
mattips/if //08:08
fijalthis all has to be tested btw08:12
fijalisn't reshape forcing the array anyway?08:12
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy08:12
fijalif you force you clean up invalidates no?08:12
kenaan12fijal default 114b2e7974fd92 15/pypy/jit/backend/: Be slightly more vigilant when it comes to allocating registers for variables at the beginning of the loop. Not *mu...08:13
fijalgood08:13
Action: mattip still learning about forcing and invalidates08:14
arigato (~arigo@82.113.121.54) joined #pypy.08:15
fijalarigato: hi08:15
arigatohi08:15
Action: fijal is fighting the register allocator08:15
rekamso (~textual@c-71-197-238-154.hsd1.wa.comcast.net) left irc: Quit: Computer has gone to sleep.08:16
fijalpom pom08:28
fijaldo we want a gzip2 benchmark?08:28
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Read error: Connection reset by peer08:37
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:37
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.08:40
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.08:51
antocuni (~antocuni@host200-125-dynamic.25-79-r.retail.telecomitalia.it) joined #pypy.08:57
apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy.08:57
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection08:59
mattipIt would be nice to have access to something like unladen swallow's perf.py http://code.google.com/p/unladen-swallow/wiki/Benchmarks but adapted for arbitrary benchmark code.09:03
fijalwe have pypy-benchmarks09:03
fijalgood, I just shaved 10% by improving regalloc09:04
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection09:04
arigatouh, good09:04
fijalfor this particular loop09:04
fijal(tight loops)09:04
arigatofwiw, I noticed that a typical tight loop is around 450 bytes of assembler, the last 150 of them being the JUMP reordering09:05
fijalnice :/09:05
fijalin the bay in front of me there is party ship with soundsystem and DJ and everything that looks like a pirate boat09:06
arigato:-)09:06
fijalok09:07
fijalI'll make a surf break and try to attack sharing of iterators09:07
fijalthat would reduce the guard number09:07
fijaland int_adds09:08
mattipfijal: never noticed https://bitbucket.org/pypy/benchmarks, thanks.09:08
fijalarigato: FYI, the list-strategies caused regressions on things like09:08
fijala, b, c = l09:08
fijalwhere l is a list09:08
fijalunfortunately not caught by test_pypy_c :/09:09
PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood09:09
PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy.09:11
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:24
Fluxidhow do i run tests after translation to test if it built correclty and works?09:28
fijalpy.test -A09:28
fijalgenerally if you checked out a version that passed tests it works :)09:28
Fluxidi want to make sure09:28
fijalgo to pypy/objspace/std09:28
fijaland do ../../../pytest.py -A -x09:28
kenaan12arigo pypy.org[extradoc] 11ab85b0339954 15/: kill reference to --stackless (thanks Fluxid)09:29
Fluxid1 failed, 12 passed, 136 skipped in 3.40 seconds09:29
Fluxidthat's all?09:29
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.09:30
fijalthat means that one failed :)09:32
fijalnot very good09:32
fijalcan you paste a traceback?09:32
fijalalso if you run without -x it won't stop at the first failure09:33
Fluxidhttp://paste.pocoo.org/show/515697/09:33
fijalffffff09:37
fijalok, that's silly09:37
fijalbut well, a bug09:37
fijalif you run with -x how many failures do you get?09:37
fijalfeel free to file a bug report with that09:37
Fluxida bit more, but paste.pocoo is slooow09:39
Fluxidhttp://pastebin.com/jwSWkw2b09:41
Fluxidat the end is hg summary09:42
Fluxidmaybe i should use branch head and not release tag?09:42
fijaluh09:43
fijalFluxid: are you running it using the compiled pypy by chance?09:43
fijalit should have been09:44
fijalpypy ../../../pytest.py -A -x09:44
arigato (~arigo@82.113.121.54) left irc: Quit: See you09:44
Fluxidaha!09:45
Fluxidsorry, i assumed it would "just use" the compiled pypy09:45
Fluxidno failures. thank you!09:48
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.09:48
fijalgood :)09:49
fijalthose are still bugs though09:50
fijalsome of those09:50
fijalbytearray ones for sure09:50
voidspace (~voidspace@python/psf/voidspace) joined #pypy.09:50
fijalnew_array(Const(0))09:58
verte (~verte@python/site-packages/verte) joined #pypy.10:02
JaRoel|4d (~jaroel|4d@guest.bit.nl) joined #pypy.10:02
lizardo (~lizardo@189.2.128.130) joined #pypy.10:05
amaury_ (amaury_@nat/google/x-gadbabndulxyzvtp) joined #pypy.10:07
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:11
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.10:11
JaRoel|4d (~jaroel|4d@guest.bit.nl) left irc: Remote host closed the connection10:36
JaRoel|4d (~jaroel|4d@2001:7b8:610:0:25fc:9078:8b44:1e1) joined #pypy.10:37
JaRoel|4d (~jaroel|4d@2001:7b8:610:0:25fc:9078:8b44:1e1) left irc: Remote host closed the connection10:38
kenaan12hager ppc-jit-backend 11d3e4ca39849d 15/pypy/jit/backend/ppc/ppcgen/test/test_stackframe.py: added force index to description of stackframe10:44
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:48
kenaan12cfbolz default 1109d322fa3784 15/pypy/: also add an explicit way to record a class10:49
kenaan12cfbolz default 118b3befe1bd20 15/pypy/translator/c/src/support.h: jit_record_known_class does nothing in the C backend10:49
kenaan12cfbolz default 11ba3ca8aaaef4 15/pypy/rlib/jit.py: (arigo, cfbolz): some sanity checks10:49
kenaan12cfbolz default 110c65719691d8 15/pypy/: merge10:49
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1136 [12Carl Friedrich Bolz]10:56
Squarepy (~Squarepy@wcw-staff-214-150.wireless.uva.nl) joined #pypy.11:05
Squarepy (~Squarepy@wcw-staff-214-150.wireless.uva.nl) left irc: Changing host11:05
Squarepy (~Squarepy@unaffiliated/squarepy) joined #pypy.11:05
craigkerstiens (~craigkers@c-76-126-162-38.hsd1.ca.comcast.net) left irc: Read error: Connection reset by peer11:15
craigkerstiens (~craigkers@c-76-126-162-38.hsd1.ca.comcast.net) joined #pypy.11:15
setmeawayhttp://pastebin.com/iPbruYzG got some warning. and how can i package to redistribute pypy? any docs?11:33
setmeawayhow can i exit from pypy shell? exit() not works11:36
ronnysetmeaway: ctlr+d?11:37
setmeawaySyntaxError: Unknown character11:37
setmeawayctrl+z worked11:37
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.11:37
ronnykill %1 then11:37
setmeaway  start .11:37
ronnysetmeaway: did you take the binary directory tree apart and put its stuff around to other paths?11:38
ronnysetmeaway: what exactly do you intend to do?11:38
setmeawayronny are you saying about redistribute pypy?11:38
ronnysetmeaway: kind of11:39
ronnysetmeaway: what exactly did you do to the directory tree that was in the binary archive?11:40
setmeawayi just ran pypy-c. and then tried quiting pypy. is this what you asked for?11:41
nedbat (~nedbat@python/psf/nedbat) joined #pypy.11:41
ronnysetmeaway: so you just unpacked and tried to run?11:42
setmeawayronny. no, i didn't. i built pypy on mingw32 and pypy-c is in temporary directory %TMP%\usession-unknown-1\testing_111:43
ronnysetmeaway: oh, then that the misstake, it should get copyed into the pypy tree11:44
ronnyusually its located in the same dir as translate.py11:44
ronnyelse it cant find the stdlib and stuff like that'11:44
setmeawayronny, yes. i'll try that. translate.py raised compilation error after it did generated c source.11:45
ronnywhy didnt you tell that to begin with -_-11:45
setmeawayronny sorry for that.11:46
ronnyat least my pizza is delicious11:48
ronnysetmeaway: wrt making a package, there is something about that in pypy/tool/release/package.py11:49
Squarepy (~Squarepy@unaffiliated/squarepy) left irc: Read error: Connection reset by peer11:51
Squarepy (~Squarepy@wcw-staff-214-150.wireless.uva.nl) joined #pypy.11:51
Squarepy (~Squarepy@wcw-staff-214-150.wireless.uva.nl) left irc: Changing host11:52
Squarepy (~Squarepy@unaffiliated/squarepy) joined #pypy.11:52
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1136 [12Carl Friedrich Bolz]11:55
kenaan12cfbolz default 11c8c6a9ce7e04 15/pypy/jit/: disable the use of cast_pointer in the JIT for now, to find out whether it caused the test failures.12:04
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1137 [12Carl Friedrich Bolz]12:04
setmeawayronny thanks, i got working pypy12:06
Nick change: shawn_ -> shawn12:08
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.12:19
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 260 seconds12:22
squiddy (~squiddy@g224197246.adsl.alicedsl.de) joined #pypy.12:25
mattip (chatzilla@bzq-79-177-116-180.red.bezeqint.net) left #pypy.12:37
_habnabit (~habnabit@python/site-packages/habnabit) left irc: Quit: ZNC - http://znc.sourceforge.net12:38
_habnabit (~habnabit@2001:470:1f0e:bdd::2) joined #pypy.12:40
kenaan12hager ppc-jit-backend 11d1741320b829 15/pypy/jit/backend/ppc/ppcgen/: started refactoring of stackframes12:41
fijalhello12:50
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.12:56
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection13:00
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.13:01
cfbolzfijal: hi13:02
fijalhi13:02
fijalcfbolz: have you seen my concerns with list-strategies?13:03
fijalwell "concerns"13:03
cfbolzno13:03
fijalmore "things that were overlooked because lacked tests"13:03
fijalso a, b, c = l13:03
fijalis no longer unrolled when l is a list13:03
fijalaccording to alex it used to be13:03
cfbolzfijal: there seems to be a general problem with unrolling right now13:03
luciani can't figure out if http://www.nuitka.net/blog/2011/12/nuitka-release-0-3-15/ supports more of python than cython13:03
cfbolzI don't know why yet13:03
fijallucian: less I would say13:04
fijallucian: or a different subset13:04
fijalcfbolz: well yes, in general if you change code around hints are not nicely preserved13:04
fijalnto sure if we have any other option than "write more test_pypy_c tests"13:04
cfbolzfijal: no, it broke last night13:04
fijaldid it?13:04
lucianfijal: it if did so without extending (like Cython does), it might be useful as an interim solution for making CPython programs faster13:04
cfbolznot when we introduced list-strategies13:04
fijallast night = when float strategy was introduced?13:04
fijallucian: I don't think it's usable for anything13:05
cfbolzfijal: http://buildbot.pypy.org/summary/longrepr?testname=TestDicts.%28%29.test_list&builder=pypy-c-jit-linux-x86-32&build=1136&mod=pypy.module.pypyjit.test_pypy_c.test_containers13:05
cfbolzand this: http://buildbot.pypy.org/summary/longrepr?testname=TestCall.%28%29.test_stararg_virtual&builder=pypy-c-jit-linux-x86-32&build=1136&mod=pypy.module.pypyjit.test_pypy_c.test_call13:05
cfbolz(which does the equivalent of the unpacking you wrote above)13:05
fijaloh, cool, so we have tests :)13:05
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1137 [12Carl Friedrich Bolz]13:05
fijalgood13:05
cfbolzyes, but it's completely unclear why it broke13:05
cfbolznow it's clear :-)13:06
vertelucian: if gcc and guile are the poster children for GPL runtimes, nuitka is an attempt at insanity13:06
fijal?13:06
cfbolzit has to do with the cast_pointer thing13:06
cfbolzbecause the run I just did worked13:06
fijalpfff13:06
lucianverte: heh. oh yeah, it's GPL. stupid13:08
cfbolzfijal: anyway, if you find things that are slow, please write tests, I will fix them13:08
vertelucian: that in itself wouldn't be so bad; but the author is considering the output of the compiler a derivitive work13:11
lucianverte: huh? how's that even possible?13:11
vertethe result includes code written by the compiler author. it's a long shot, but that's the problem, not the GPL itself13:12
verteimao13:12
Rhy0lite (dje@nat/ibm/x-zzexcoiegummbmof) joined #pypy.13:13
fijalcfbolz: cool13:13
fijalcfbolz: but this seems we have tests so far :)13:13
Rhy0litehi13:14
cfbolzfijal: when did alex discover this13:14
cfbolzRhy0lite: hey13:14
fijalcfbolz: I discovered this13:14
fijalyesterday I believe?13:14
cfbolzfijal: it only broke in tonights run13:14
fijalRhy0lite: hi13:14
fijalso maybe today13:14
Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) left irc: Ping timeout: 244 seconds13:15
fijalcfbolz: I have an OO quest13:16
fijalI have a DAG represented by objects13:16
fijalit starts at root, but is not a tree13:16
verteoh great, a questions about DAGs13:16
fijalto be precise it's like a tree, but some of leafs can be merged13:16
fijalto simplify things, let's say there is a class Node that has children13:17
fijaland class Leaf13:17
fijalhow do I write a method that makes a copy of it, preserving structure13:17
cfbolzhahaha. that's hard :-)13:17
cfbolzyou need a dict13:17
cfbolzexactly the prolog-problem13:17
fijalif I have a dict I can't make it virtual :)13:18
vertedicts (of sets) are great for this sort of thing, because you can have several graphs with the same nodes in them13:18
verteah :)13:18
fijalthe thing is the structure is known in advance13:19
fijalso for each iteration it'll be the same13:19
fijalI can (somehow) encode the structure in the greenkey13:19
cfbolzfijal: then you can statically number the elements13:19
cfbolzand use a list of bools13:19
cfbolzthat stays virtual13:19
fijalwhy a list of bools?13:20
fijalah I see13:20
stakkars_ (~tismer@i59F76401.versanet.de) joined #pypy.13:20
cfbolzthat's kind of equivalent what pyrolog does13:20
fijalthat requires a bit of refactoring, but probably a good thing to do13:20
fijalthis are expression trees in numpypy13:21
cfbolzit's a bit annoying, I guess13:21
cfbolzright13:21
cfbolzI guess not list of bools then, but list of values?13:21
fijalyes, a bit13:21
cfbolzor something13:21
fijalyes yes13:21
fijalI tried cheating and storing "next version" on nodes13:22
fijalbut the optimizer was not impressed13:22
G2P (~G2P@fw-asn1.ornis.com) left irc: Remote host closed the connection13:23
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.13:24
Circlefusion (~cf@74-138-199-109.dhcp.insightbb.com) joined #pypy.13:27
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.13:28
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy.13:32
verte (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT!13:35
arigatoRhy0lite: I'm told you mentioned that in order to build gcc trunk, I need to use a known working revision?13:35
arigatoif so, how do I find out? :-)13:35
Rhy0liteI think the recent problems have been fixed13:36
Rhy0liteI'm not sure about the context of that comment13:36
arigatoI just got a svn checkout from 2 hours ago13:36
arigatoand it fails to build, for me13:36
Rhy0litefails in what way?13:36
arigatofatal error: gnu/stubs-32.h: No such file or directory13:36
Rhy0litefor x86?13:37
arigatoyes, linux6413:37
arigatoregular ubuntu13:37
Rhy0litethat's not a gcc error13:38
arigatoit seems to try to build x86_64-unknown-linux-gnu/32/libgcc, which I don't care about, because the 64bit version is enough for me13:38
Rhy0liteit means you don't have enough development libraries installed on ubuntu13:38
arigatook13:38
Rhy0liteyou don't have part of glibc installed13:39
arigatoI don't have the 32-bit version of everything13:39
Rhy0litethere you go13:39
rguillebertarigato, you can probably use the Linux From Scratch book13:39
arigatoI really don't want to have them, too13:39
Rhy0liteit might work if you configure with --disable-multilib13:39
arigatofor 32-bit I'm using a different chroot with gentoo13:39
arigatothanks13:39
fijalarigato: :-)13:39
rguillebertat the begin there's a guide on how to build a compiler toolchain from scratch13:40
arigatorguillebert: I'm not from scratch at all13:40
rguillebertno but it's a preamble to linux from scratch13:41
arigatoI'm just trying to figure out if it's enough to do "configure; make" in gcc's svn checkout, and it seems to be, assuming enough packages are installed :-)13:41
rguillebertoh ok13:41
jnoller (~jnoller@vpn.nasuni.com) joined #pypy.13:43
fijaljnoller: hi jesse13:46
jnollerhola13:46
cfbolzhey jesse13:47
fijalhow's speed.python.org doing?13:47
aleksi (~aleksi@85.235.191.82) left irc: Remote host closed the connection13:48
Rhy0litearigato: http://gcc.gnu.org/install/prerequisites.html13:50
Rhy0litealso, we suggest that you do not build in the source directory13:51
jnollerfijal: got side tracked by pycon stuff13:53
fijalcool that someone works on it btw13:54
fijalsorry that I had no time13:54
kenaan12ctismer win64-stage1 11cf81cefc5208 15/pypy/jit/backend/llsupport/test/test_descr.py: struct.pack issues with the JIT13:57
jnollerfijal: I'm just trying to keep things moving.13:57
fijalgood :)13:57
arigatofatal error: asm/errno.h: No such file or directory13:59
Nick change: Gulaway -> Gulopine14:00
arigatoobscure, that one seems to be a bug in my ubuntu installation14:00
fijalarigato: gcc in ubuntu is not quite the vanilla gcc14:02
fijalcfbolz: do you think it's ok to say unroll_safe on hash__Tuple?14:03
Action: arigato doesn't think so14:05
cfbolzfijal: nope14:05
fijalbecause tuples can be large?14:05
cfbolzyes14:05
cfbolzI think it's much saner to finish specialized tuples14:06
fijalyes14:06
fijalprobably14:06
fijalSegmentation Fault14:08
fijal nice14:08
fijalarigato: are you doing STM  experiments?14:14
arigatoright now?  no14:14
fijalI mean, is this why you try to build gcc14:14
arigatoah, yes14:14
fijalarigato: do we have gdb scripts to reconstruct the jitted stack?14:17
fijalantocuni: ?14:17
antocuniI don't think so14:17
antocunifijal: but you are welcome to improve pypy/tool/gdb_pypy.py :-)14:17
antocuniit's kind of easy to script gdb in python14:18
fijalok, so I have a segfaulting program14:18
fijalonly after jitting14:18
fijalarigato: do you remember how do we get the stack?14:19
arigatounsure what the question is14:21
fijaljitted frames have a return pointer in some register14:23
fijalor somewhere on stack14:23
fijalbut gdb fails to find them14:23
fijalright?14:23
whitelynx (~whitelynx@63.241.75.144) joined #pypy.14:28
arigatoah, it depends on the precise platform14:29
Action: fijal 's computer is a very precise platform14:30
kenaan12arigo SpecialisedTuples 11acd6e35b5711 15/pypy/objspace/std/: - rename ANY to Any to avoid confusion  - use a more pragmatic approach of having 10 specialized   versio...14:31
fijaleh14:32
fijalso I have a failing guard_class14:32
fijal"failing"14:32
fijalsegfaulting guard class, because stuff is None14:32
fijalor NULL14:32
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) joined #pypy.14:33
kenaan12hager ppc-jit-backend 116ad92645f0e4 15/pypy/jit/backend/ppc/ppcgen/test/test_stackframe.py: slightly changed stackframe layout so that encoding area can be accessed with fixed offset from SPP14:34
derdon (~derdon@pD9E1D2AF.dip.t-dialin.net) joined #pypy.14:34
fijal?14:35
legogris (~legogris@c80-217-207-157.bredband.comhem.se) left irc: Ping timeout: 252 seconds14:35
fijalarigato: can you explain a bit?14:37
fijalit's a 64bit linux14:37
legogris (~legogris@c80-217-207-157.bredband.comhem.se) joined #pypy.14:37
apollo13 (~apollo13@unaffiliated/apollo13) left irc: Ping timeout: 240 seconds14:38
cfbolzfijal: he's pairing with bivab 14:39
fijalok14:39
fijaluh, our assembler is a mess sometimes :/14:41
fijalcfbolz: for example if we create a new frame14:41
fijalwe execute write barrier per item14:42
Nick change: Gulopine -> Gulaway14:42
fijalif it's the bad case scenario, each of them pushes and pops all the registers14:42
legogris (~legogris@c80-217-207-157.bredband.comhem.se) left irc: Ping timeout: 258 seconds14:42
fijalour call_assembler is also a mess14:43
apollo13 (~apollo13@unaffiliated/apollo13) joined #pypy.14:43
legogris (~legogris@c80-217-207-157.bredband.comhem.se) joined #pypy.14:43
mat^2 (~mathias@212.130.113.35) joined #pypy.14:46
kenaan12hager ppc-jit-backend 11de0569ccdb88 15/pypy/jit/backend/ppc/ppcgen/test/test_stackframe.py: remove parameter save area from stacklayout14:47
fijalcfbolz: http://paste.pocoo.org/show/515774/14:47
fijalyou can scroll visually to see how much of a relatively tight loop is occupied by various dances around jump14:48
antocunigooood14:51
antocuniI finished to develop my boring django app14:51
antocunithe good news is that from now I can do pypy again14:51
cfbolzfijal: well, our register allocator sucks14:51
antocunithe bad one is that I'm not getting paid, but well :-)14:51
fijalcfbolz: yes, but it's a bit hard to do better with passing a billion arguments14:52
fijalalso it made sense the day it was written :)14:52
Rhy0litefijal: any more ideas about Laplace?14:58
fijalRhy0lite: yeah, but I'm debugging a segfault14:59
craigkerstiens (~craigkers@c-76-126-162-38.hsd1.ca.comcast.net) left irc: Quit: craigkerstiens15:00
Action: fijal wonders how much new_array(0) makes sense15:00
mat^2 (~mathias@212.130.113.35) left irc: 15:02
jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy.15:12
fijaluh uh uh15:12
fijalcfbolz: tons of ideas how to improve :)15:12
fijalgood I suppose ;-)15:12
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection15:13
fijalI think one of those is attacked by armin in op_malloc branch15:14
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:16
Nick change: ojii -> definitelynotoji15:22
Nick change: definitelynotoji -> ojii15:22
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Ping timeout: 248 seconds15:24
setmeawayhow to increase maxrecursiondepth? Warning: uncaught exception in callback: bootstrap <StackOverflow object at 0x63577fa0>15:33
setmeawayi modified pypy.exe by giving --stack=102400000, but doesn't work15:34
asmeurer_ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.15:40
jterrace (jterrace@aegis.CS.Princeton.EDU) left #pypy.15:45
Squarepy_ (~Squarepy@wcw-staff-214-150.wireless.uva.nl) joined #pypy.15:49
Squarepy (~Squarepy@unaffiliated/squarepy) left irc: Ping timeout: 252 seconds15:50
fijalpom pom pom15:50
fijalAlex_Gaynor: ping?15:50
mvt (~mvantelli@87.213.45.85) left irc: Quit: Leaving15:54
antocuni (~antocuni@host200-125-dynamic.25-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds15:55
fijalarigato: ping?15:57
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Remote host closed the connection15:59
arigatoRhy0lite: what is the way in C on PowerPC to invalidate the instruction cache, after we generated code?16:05
Rhy0litethere already is code in the branch for that16:06
arigato(that was missing at least on ARM, it was the cause of the random rare bugs)16:06
arigatoah, good16:06
arigatofijal: pong16:06
Rhy0litesee backend/ppc/_flush_icache.c16:06
fijalarigato: I have a very strange segfault, but the only thing that I have is a combination of long loops and micronumpy :/16:07
fijalarigato: I suppose I'll try to reduce the problem before I bother you16:07
arigatoRhy0lite: thank you16:07
Rhy0litearigato: I'm not sure if it is used correctly.  I believe that David said it only was used at the beginning16:07
arigatofijal: :-(  thank you16:07
arigatoRhy0lite: ah$16:07
arigato/usr/include/unistd.h:275:21: error: two or more data types in declaration specifiers16:08
Rhy0liteI don't think the ppc jit is patching code yet.16:09
arigatoRhy0lite: ah, but yes, it can16:09
arigatoat least in theory, an old piece of assembler can be freed, and new assembler then written at the same place16:09
arigatoso getting the instruction used now, while we think about it, looks like a better plan than waiting months until we get a few random-looking errors from users :-)16:10
fijalarigato: I suppose something-less-than-800k-log-file16:10
fijalwould be a good start16:10
fijalI get an object that in theory should be impossible16:10
Squarepy_ (~Squarepy@wcw-staff-214-150.wireless.uva.nl) left irc: Quit: Leaving16:11
fijalarigato: is there a way to disable tracing of a particular function?16:12
arigatono16:12
fijal:(16:13
fijalhm16:13
fijalarigato: if you get ABORT_TRACE_TOO_LONG (or any other abort) is there anything that makes sure lazy setfields get written?16:14
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:16
craigkerstiens (~craigkers@204.14.152.118) joined #pypy.16:17
fijalarigato: can you check? I think not16:17
arigatosorry, back16:18
arigatosetfields are not done lazily at all, during tracing16:18
arigatoas far as I can tell16:18
fijalit's only getfields?16:19
arigatono16:19
arigatonothing16:19
arigatoduring tracing16:19
Action: arigato -> bivab again16:19
fijalok16:20
fijalsorry16:20
Action: fijal is fighting windmills16:20
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.16:30
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:31
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.16:35
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.16:38
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.16:42
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:44
_habnabit (~habnabit@2001:470:1f0e:bdd::2) left irc: Changing host16:44
_habnabit (~habnabit@python/site-packages/habnabit) joined #pypy.16:44
Alex_Gaynorfijal: pong16:45
kkris (~kris@80-123-37-202.adsl.highway.telekom.at) joined #pypy.16:52
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 248 seconds16:53
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.16:54
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection16:57
amaury_ (amaury_@nat/google/x-gadbabndulxyzvtp) left irc: Ping timeout: 240 seconds17:00
fijalAlex_Gaynor: I found a segfault17:02
Alex_Gaynorfijal: that's no good17:02
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.17:03
fijalit's also not an easy one17:03
fijalI get a Scalar that has empty value17:03
fijal(NULL)17:03
fijalonly with jit on17:03
Alex_Gaynorfind out where it comes from17:04
tilgovi (~randall@adsl-67-116-241-49.dsl.pltn13.pacbell.net) joined #pypy.17:04
tilgovi (~randall@adsl-67-116-241-49.dsl.pltn13.pacbell.net) left irc: Changing host17:04
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.17:04
fijalfrom assembler17:04
fijalI can paste you some if you want17:04
Alex_GaynorI suppose, sure17:07
fijalpom pom pom17:09
fijalcan you just clone a bzr from somewhere?17:09
Alex_Gaynor?17:10
Alex_GaynorI think I have bzr installed, maybe, I have no idea how to use it17:10
fijalhttp://paste.pocoo.org/show/515822/17:11
Alex_Gaynorno way we could reduce this a little?17:14
fijalnot that i managed17:15
fijalI think it has something to do with trace limit exceeded17:16
fijalmaybe17:16
fijallet me try some more17:17
Alex_Gaynorfijal: can I explain to you why setitem_w isn't an issue?17:19
kenaan12alex_gaynor numpy-dtype-refactor 11adbd652dc0ca 15/pypy/module/micronumpy/: __module__ is now correctly, numpypy17:19
kenaan12alex_gaynor numpy-dtype-refactor 11f1d05c0a4b16 15/pypy/module/micronumpy/: Fix tests, expose int{16,32} at app level, add a test for __int__17:19
fijalthere were more types than int I think17:19
fijallook into dir(numpy)17:19
fijalyes please17:19
kenaan12alex_gaynor numpy-dtype-refactor 116de4a284490c 15/pypy/: merged default17:19
Alex_Gaynorfijal: because setitem_w now calls self.setitem, isntead of dtype.setitem_w, so self.setitem calls invalidates itself17:19
fijalok17:20
kenaan12alex_gaynor numpy-dtype-refactor 118dd8ceded68e 15/pypy/module/micronumpy/REVIEW: remove the review file, I addressed fijal's concern17:21
Alex_Gaynorfijal: I've been exposing types as someone tells me about them/I need them, I don't want to expose them without tests.  ok to merge?17:22
logan` (~loganchie@canlover.m6.ntu.edu.tw) joined #pypy.17:22
fijalhttp://paste.pocoo.org/show/515827/17:23
fijalok17:23
Alex_Gaynorfijal: that's n ok to merge?17:24
fijalyes :)17:24
Alex_Gaynorfijal: cool, merging!17:25
fijalnote that it does not segfault with --jit off17:25
fijalwell, we have a segfault...17:25
fijalbut it seems to be unrelated17:25
kenaan12alex_gaynor numpy-dtype-refactor 11dfe5b3a2b6aa 15/: Close branch for merge.17:26
kenaan12alex_gaynor default 118c67eefdff41 15/pypy/: Merge the numpy-dtype-refactor branch, it refactors the internals of numpy, and exposes the numpy box classes...17:26
bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Quit: bivab17:29
arigatofijal: note: such a segfault could really come from a delayed setfield, but not one done by the tracer17:29
fijalarigato: yes17:30
fijalarigato: although I failed to find in traces how it can happen17:30
arigatoI've been fighting the exact same issue previously17:30
fijalI removed most of cruft, but it's still a bit biggish17:30
arigatoI think we really need to refactor our approach: right now we say "nothing forces any field, except (some list of exceptions)"17:31
timotimoi don't have a current pypy, but does isinstance(np.zeros(10), np.ndarray) work yet? isinstance(np.zeros(10), np.array) gives an error in original numpy, because array is a function and ndarray is the associated class, but works in pypy, which (at least in 1.6) doesn't have the ndarray name17:31
logan` (~loganchie@canlover.m6.ntu.edu.tw) left irc: Quit: «â17:31
arigatofijal: I'm wondering if we are really safe against some recursive kinds of calls to the tracer17:32
Alex_Gaynortimotimo: no it doesn't work yet, I'll go fix that I suppose, fijal didn't when I asked him to ;)17:32
fijalarigato: well, we did not optimize yet, no?17:32
timotimoah, cool. this just bit me with my program17:33
Action: fijal didn't when alex asked him to17:33
arigatofijal: no, I mean recursive in the sense that this tracing you are looking at is itself called from a piece of generated assembler17:33
arigatoif that piece of assembler delays the setfield over the call that ends up tracing17:33
arigatothen it's wrong17:34
antocuni (~antocuni@host200-125-dynamic.25-79-r.retail.telecomitalia.it) joined #pypy.17:34
fijalarigato: I don't think it can happen but who knows17:34
fijalindeed I have a Scalar whos value is NULL17:36
fijalwhich it should never be17:36
fijal(it's not with --jit off)17:36
fijalarigato: the only reason why I suspect so is because there are long traces with setfield quite a bit delayed17:36
arigatocan you go up in the C stack and see if the current tracing has a caller that is generated assembler?17:37
fijalno, because I don't know how to go up the stack17:37
fijalthe bt shows crap17:37
arigato?17:37
fijalI'm not in tracing, I'm in generated assembler17:37
fijalhttp://paste.pocoo.org/show/515833/17:38
fijalit looks like this17:38
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving17:38
arigatook, I guess I'll stop then :-)17:38
arigatoI'm trying to guess what could be wrong based on what you tell me, but without knowing which are fact and which are guesses it's hard :-)17:39
fijalwell17:39
fijalyou can help me to get to the stack :)17:39
fijalyou only told me it's super platform dependent so far17:39
arigatoI suppose I'd prefer gdb'ing myself over debugging-over-irc17:40
arigatohonestly17:40
fijalok17:40
fijalthere is a gdb in screen on tannit17:40
fijalif you feel like it17:40
fijal<tadaam>17:40
fijalI agree debugging over IRC sucks17:41
fijalbetter than debugging over phone17:41
arigatoyes17:41
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds17:45
fijal (~fijal@197.173.127.165) left irc: Read error: Connection reset by peer17:45
fijal (~fijal@41.52.155.130) joined #pypy.17:50
berdario (~Tiibiidii@DLM253-160.unibg.it) joined #pypy.17:57
craigkerstiens (~craigkers@204.14.152.118) left irc: Ping timeout: 244 seconds17:59
lucian (~lucian@cpc1-newc15-2-0-cust84.gate.cable.virginmedia.com) joined #pypy.18:03
berdario (~Tiibiidii@DLM253-160.unibg.it) left irc: Ping timeout: 252 seconds18:05
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...18:09
kenaan12alex_gaynor numpy-ndarray 1155386ade1ad3 15/pypy/module/micronumpy/: a branch to make array dn ndarray work the same way as they do in numpy, I can't figure how this change...18:10
Alex_Gaynorfijal: if you get a chance, feel like taking a look at how that commit I just pushed breaks stuff18:10
tlynn (~tlynn@cpc6-cmbg14-2-0-cust121.5-4.cable.virginmedia.com) joined #pypy.18:11
fijalno18:11
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.18:14
Alex_Gaynorfijal: just as well, I got it18:16
kdas_ (~kdas@114.143.160.170) joined #pypy.18:17
kenaan12alex_gaynor numpy-ndarray 112d3c7db968ec 15/pypy/module/micronumpy/: fix the bug, fix one other bug18:21
kenaan12alex_gaynor numpy-ndarray 119cfed3afa1cc 15/: CLose branhc for merge18:21
kenaan12alex_gaynor default 11ccf1f7b9b78b 15/pypy/module/micronumpy/: make numpy.ndarray refer to the class, and numpy.array be a funciton which constructs it18:21
Alex_Gaynortimotimo: numpy.ndarray and numpy.array are now the right htings18:21
timotimogreat, thanks!18:22
Alex_Gaynortimotimo: I'll go punch buildbots so real humans can use it18:24
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1138 [12alex]18:25
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/608 [12alex]18:25
timotimoi don't know what you mean by that :\18:26
Alex_Gaynortimotimo: I mean so other people don't have to compile it themselves.18:29
fijalalso known as mere mortals18:33
stakkars_ (~tismer@i59F76401.versanet.de) left irc: Quit: schnarch18:33
fijalor mere web developers18:33
Alex_Gaynorfijal: hey, I'm a web developer18:34
fijalthat's how voidspace called himself18:34
kdas_ (~kdas@114.143.160.170) left irc: Quit: This computer has gone to sleep18:34
voidspacefijal:  don't blame me!18:34
MostAwesomeDudeOoh, ooh, blame me!18:35
Sho_Alex_Gaynor: whee, someone seems to have picked up django py3k18:36
Alex_GaynorSho_: yes indeed, now I need to make time to review it18:36
Action: Sho_ clones Alex_Gaynor18:37
Sho_passing testsuite is a promising first start18:37
fijalI wonder who will maintain all the py3k clones18:38
arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you18:39
Alex_Gaynorfijal: what shoul I do next?  complex numbers I guess18:39
craigkerstiens (~craigkers@204.14.152.118) joined #pypy.18:39
timotimohow big is the step from complex numbers to user-defined records?18:39
fijalAlex_Gaynor: frompyfunc?18:40
fijalsse?18:40
Alex_Gaynortimotimo: not big, in the branch I merged a big design goal is that doing both would be easy18:40
jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving...18:40
fijalI attacked (and failed to reach the goal) sharing iterators18:40
fijalit's annoying18:41
fijalwe probably have to refactor the signature first18:42
timotimothat's great, alex18:45
Alex_Gaynorfijal: ok18:47
stakkars_ (~tismer@g225044039.adsl.alicedsl.de) joined #pypy.18:52
fijalstakkars_: hi18:54
stakkars_fijal: hi!18:54
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection18:55
stakkars_struggling with libffi and ll2ctypes&. fun18:55
fijalll2ctypes is "fun"19:04
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) joined #pypy.19:06
Sho_ (~EHS1@kde/hein) left irc: Quit: Stop leaking memory like it's going out of fashion.19:06
tilgovi (~randall@199.36.158.16) joined #pypy.19:06
tilgovi (~randall@199.36.158.16) left irc: Changing host19:06
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.19:06
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) joined #pypy.19:11
berdario (~Tiibiidii@host118-77-dynamic.10-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer19:12
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Remote host closed the connection19:14
arigato (~arigo@89.204.130.72) joined #pypy.19:15
Alex_Gaynorfijal: if people are going to be using sys.exc_info() for py3k stuff we should find a way to make it fast19:17
fijalwell19:18
fijalmaybe19:18
fijalbut also, geez19:18
fijalI'm happy to say "it is your own problem"19:18
Alex_Gaynoryes of course, but still19:18
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Read error: Connection reset by peer19:18
Alex_GaynorI'm not, because random people's code will be slow, and if your framework uses it, you're scrweed19:18
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.19:19
Alex_GaynorCan't we just unroll the sys_exc_info loop?19:19
Alex_Gaynorand gettomframe_nohidden19:19
fijalit's complexity19:20
fijalnot a trivial one19:20
Alex_Gaynorpff, traceback escapes the frame19:21
fijalyes, precisely19:21
fijalI mean seriously19:21
Alex_GaynorI can think of a hack to avoid this19:21
Alex_Gaynorbut it's a hack19:21
fijalyou use API that's not relevant to what you're doing19:21
Alex_GaynorHave sys.exc_info() return some special W_TupleObject subclass19:21
fijalbecause some people changed syntax19:21
Alex_Gaynorthat lazilly creates tracebacks19:21
Alex_Gaynorit's a huge hack though19:22
fijaland it makes your code look crappy19:22
fijalthat's what py.test does19:22
fijalso say a loop with py.path.local.check19:22
fijalwould blow up the JIT19:23
Alex_GaynorI agree it makes code look crappy, but what can we do, if people decide to write their code (e.g. django might) this way, we should fix it19:23
fijalwe educate the people :)19:23
Alex_Gaynorwe're not just a faster pypy for people with obscure scientific stuff, we're a faster pypy for everyone19:23
fijalno seriously19:23
fijalthis sort of hacks will introduce subtle segfaults19:24
fijaland we have only one armin19:24
fijalvirtualrefs and friends caused a lot of headache19:25
Alex_Gaynormitsuhiko: is paste.pocoo down or slow?19:26
fijalyop19:28
fijalAlex_Gaynor: this is what vinay is doing there19:29
Alex_Gaynorfijal: yup19:29
fijalAlex_Gaynor: if you guys pull that to django, django would go crawling19:29
Alex_Gaynorit's what virtualenv and pip and py.test do as well19:29
fijaland it'll be your own fault19:29
fijalI'm sorry19:29
Alex_Gaynorfijal: what we might do is remove exception hacks, and wait until we drop 2.5 to merge this19:29
fijalhttp://sumulael.files.wordpress.com/2011/02/sp_1411_clip07.jpg19:29
kenaan12hager ppc-jit-backend 11ecbfbef353c7 15/pypy/jit/backend/ppc/ppcgen/: made first tests run again on ppc3219:30
fschwidom (~fschwidom@2.211.214.102) joined #pypy.19:30
fijalAlex_Gaynor: seriously, there is a really heavy hack required to make this sort of stuff fast19:31
Alex_GaynorYes I know.19:31
fijalnote that you have all kinds of combinations19:31
fijallike sys.exc_info called from an interpreted frame19:31
fijalyou're not tracing and you don't know it's [1]19:32
fijalso you're forcing the entire stack and aborting all the jit you have on the stack19:32
fijaland I hate everything you represent :)19:32
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.19:33
fijalAlex_Gaynor: is 'as' syntax compatible with 2.6?19:34
Alex_Gaynorfijal: yes19:34
fijalya19:34
stakkars_fijal: did we abandon 2.5?19:37
fijalstakkars_: nope19:37
fijalstakkars_: we abandoned 2.4 though19:37
stakkars_yes, that's good19:37
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1138 [12alex]19:40
arigatoAlex_Gaynor: ah, note, rather than sys.exc_info() return some strange W_TupleObject subclass,19:41
amaury_For py3k I fear we'll have to abandon 2.5 as well19:41
arigatoyou can also have it return some custom instance19:41
arigatoi.e. an instance of some class that we write at app-level19:41
arigatothat behaves "enough" like a tuple that nobody would notice the difference19:41
Alex_Gaynorarigato: it'll break someones program somewhere :/19:41
Alex_Gaynorif we do these hacks we should do them properly, with a true tuple at applevl19:42
arigatoI see the point, but it's rather unlikely, IMHO19:42
Action: Alex_Gaynor thinks it's important to be committed to your hacks19:42
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/608 [12alex]19:42
arigatowell, I don't think it's worth a true tuple at app-level, and honestly I doubt very much that someone cares19:42
arigatoe.g. CPython switches happily from functions that return tuples to function that return e.g. stat_result or other tupleish19:43
fijalarigato: and what would that tuple give us?19:43
fijalI mean - how does the tuple make you not force the frame19:45
arigato...indeed19:49
Taggnostr (~quassel@dyn57-215.yok.fi) left irc: Read error: Connection reset by peer19:54
fschwidom (~fschwidom@2.211.214.102) left irc: Ping timeout: 248 seconds19:57
arigato*cough* here is a different idea for sys.get_info()19:58
arigatoit returns a tuple indeed, but the point is that19:58
arigatoif we don't abort tracing just because we see sys.get_info()19:58
arigatothen we see the whole trace which virtual-ize the tuple19:58
arigatoso we can see by looking at the whole trace that the traceback is never used19:58
Taggnostr (~quassel@dyn57-215.yok.fi) joined #pypy.19:58
stakkars_ (~tismer@g225044039.adsl.alicedsl.de) left irc: Quit: schnarch19:59
Alex_Gaynorarigato: if the traceback becomes virtualized, will the mark_frame_as_escaped()still cause an allocation?20:00
arigatowell we need to refactor a few things first20:01
arigatoin this case, mark_frame_as_escaped() should not be called at all, if the traceback ends up removed20:02
arigato(ideally)20:02
stakkars_ (~tismer@g225044039.adsl.alicedsl.de) joined #pypy.20:07
antocuni (~antocuni@host200-125-dynamic.25-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds20:09
Alex_Gaynorfijal: FYI laplace benchmark seems to have gotten slower today, I haven't looked why yet20:12
fijalAlex_Gaynor: it got faster for me20:12
fijalarigato: the problem is also what if this is called *not* from tracing20:13
fijalbut from the frame somewhere deep, but that happens to be interpreted20:13
fijalI suppose there are also boring solutions20:15
fijallike detect in bytecode sys.exc_info and compile it into check_if_globals_not_changed()20:15
Guest___ (~textual@67.51.82.66) joined #pypy.20:18
Nick change: Guest___ -> rekamso20:18
kenaan12ctismer win64-stage1 11df6d8c92cc30 15/pypy/rlib/: test_libffi works almost. Only the two byval tests are left for further investigation20:21
arigatostakkars_: in my opinion it would be cool if win64 got a pypy before fixing all stranger things in the world,20:26
arigatoe.g. with --no-allworkingmodules20:26
stakkars_I was cleaning up some bugs which reduced 400 broken tests to work, and now I looked if it is easy to understand.20:28
fijalalso ll2ctypes is not needed for translation20:28
Action: fijal sidenotes20:28
stakkars_yesterday these tests all raised "setup error". I was grabbing my fruit, so to say.20:28
arigatosure, but still, I would (personally, again) ignore all these failing tests and try to have "translate.py targetpypystandalone --no-allworkingmodules" work20:29
stakkars_and no, the point is that certain things break even on default win32, in test_rffi, which is not ok!20:30
stakkars_sorry, test_libffi20:30
arigatoyes, it *is* ok, you are allowed to work on one goal ignoring 41 other ones20:31
arigatoanyway, I'm not complaining20:33
arigatothanks for fixing the tests :-)20:33
stakkars_if I am doing things right, then most things would work already. I sometimes work on stuff to see if I'm right. this was libffi, where I failed 2 out of 29. Now I will stop it and postpone.20:34
Alex_Gaynorfijal: have you compiled since I merged my branch?20:34
fijalAlex_Gaynor: no20:34
Alex_Gaynorfijal: I guess maybe my branch did :/20:34
fijalarigato: indeed the patch fixes it20:35
arigatofijal: good20:35
fijal"good"20:35
fijalbetter than before20:35
fijalyes, admitedly20:35
stakkars_arigato: btw., now after I have a better overview what to expect, I am pretty sure that christmas is an unrealistic goal ;-/20:36
Alex_Gaynorfijal: pff, I don't know who caused this, but calc_strides calls are in this trace20:36
arigatoAlex_Gaynor: I did a compilation20:36
Alex_Gaynorarigato: what do you mean?20:37
arigatotannit:~arigo/pypysrc/32compiled/20:37
arigato"have you compiled since I merged my branch?"  yes, I did20:37
Alex_Gaynorarigato: I'm at ccf1f7b9b78b20:38
Alex_Gaynorso yes20:38
arigatoyes, same here20:38
Alex_Gaynorarigato: I was just asking fijal if he was benchmarking with all my stuff merged, or not20:39
Alex_Gaynorsince he said it got faster, when it's like 30x slower for me20:39
arigatoah, sorry20:39
Alex_Gaynorfijal: ah ok, "./pypy-c -S -mtimeit -s "import numpypy" "numpypy.int64(3) + numpypy.int64(2)"" reproduces the issue for me20:42
fijalAlex_Gaynor: ah20:45
fijalAlex_Gaynor: no, I benchmarked just after I included new register allocator stuff20:45
fijalwhich made numeric_3 10% faster20:45
fijalbut I did not benchmark anything else20:45
dracman (~draco@212.255.18.75) joined #pypy.20:45
Alex_Gaynorfijal: this will only effect "slow" laplace20:46
Alex_Gaynorfijal: http://paste.pocoo.org/show/515947/ look ok?20:46
fijalno20:49
fijalit should be jit.unroll_safe20:49
fijalshape is always a constant20:50
fijalwait a second though20:50
fijalwhy there is calc_strides call *in the loop*?20:50
fijalthis is for creating arrays20:50
Alex_Gaynorfijal: Scalar20:50
fijalshould you be creating an array there?20:50
Alex_Gaynornumpy.add(2, 3) creates a Scalar object20:50
Alex_Gaynorthis is in BaseArray.__init__20:50
Alex_Gaynorshould there be BaseReallyAnArray?20:51
fijalthen change if self.shape is None to if self.shape20:51
fijalself.shape is never None anyway20:51
Alex_Gaynorthat says `if self.strides is None`20:52
fijalchange it to if self.strides20:52
lizardo (~lizardo@189.2.128.130) left irc: Ping timeout: 248 seconds20:52
fijalwhere is numpy.add in the loop?20:52
fijalI think you're chasing something weird20:53
Alex_Gaynorfijal: + on int64 objs just goes through the ufunc internaly20:53
fijalmaybe it should not?20:53
Alex_Gaynorfijal: change it to `if self.strides` breaks tests20:53
fijalunroll_safe is not good enough20:53
Alex_Gaynorfijal: no, it's very good to have ndarray.__add__ and integer.__add__ have the same code path20:54
Alex_Gaynorwhy not?20:54
fijalbecause reverse will be still a call20:54
Alex_Gaynorfijal: no it won't, reverse is unrolled if the list is virtual20:54
Alex_Gaynorwhich it will be for Scalar20:54
fijalwell20:54
fijalthis is not going in a good direction20:54
fijalbecause we're already fighting with trace limits20:54
fijaland billion of seconds of warmups20:54
fijalI don't think it's good that it goes through the same path20:55
melinath (~melinath@li341-41.members.linode.com) left irc: Ping timeout: 248 seconds20:55
fijalit's not ok to write a horribly inefficient code just because the JIT can figure it out20:55
Alex_Gaynorwell, can you fix it?  I don't understand the strides stuff very well20:55
fijalnoo20:55
fijalI mean it's broken that you have to instantiate a scalar in the first place20:55
Alex_Gaynorthis was an issue before my branch FWIW, it just didn't show up as easil20:55
fijalwell ok20:55
fijalbut now if we have a loop that iterates over an array and reads items and does something20:56
fijalwe go through billion of calls20:56
fijalit was not the case before20:56
mikefc (~mikec@60-242-240-196.static.tpgi.com.au) joined #pypy.20:56
fijalJIT is not good enough for such stuff20:56
fijalyou'll have issues with bridges for one20:56
panni_ (smuxi@descent.fragstore.net) left irc: Ping timeout: 248 seconds20:56
fijalinteger.__add__ should return NotImplemented and go via int.__add__ IMO20:56
Alex_Gaynorno, that's really a mess, because you have int8which subclasses integer20:57
smuxi (smuxi@descent.fragstore.net) joined #pypy.20:57
Nick change: smuxi -> panni_20:57
exarkunmmm, ham and cheese int8which20:57
fijalIMO numpy.int32 should be an int subclass that's relatively efficient20:57
fijaland not a scalar20:57
Alex_Gaynorplatform int class is a subclass of int, but it doesn't go through int code, due to RPython multiple inheritance mess20:58
fijalor refactor scalar20:58
Alex_Gaynorrefactor scalar seems like the best route20:58
fijalthen scalar should not really be an array20:58
Alex_Gaynorit should subclass ReallyBaseClass or something20:58
fijalyes, like W_Wrappable20:58
fijaler, Wrappable20:59
fijalor W_Object or so20:59
Alex_Gaynorno, because you want to have things in CAll2 typed as Base<NumpyClass>20:59
fijalprobably20:59
fijalbut then you kind of want those things to be slightly leaner20:59
fijalright now creating a numpy array in a loop is a major mess20:59
Alex_Gaynorthat's pretty unrelated though21:00
fijalyes, well maybe21:01
melinath (~melinath@li341-41.members.linode.com) joined #pypy.21:01
Alex_Gaynorfijal: I guess I'm kind of included to go with look_inside_iff for now, and refactor scalar later21:03
Alex_Gaynoroh actually, I see a better fix21:03
fijalwell21:03
fijalI would like it to be done soonish21:03
fijalyou'll run into trace-too-long issues21:03
rguillebert (~rguillebe@fec76-1-78-234-124-105.fbx.proxad.net) left irc: Remote host closed the connection21:04
Alex_Gaynorfijal: http://paste.pocoo.org/show/515956/21:04
fijalshape is always constant btw21:05
fijalso it's generall unroll_safe21:05
fijalscalar shouldn't have strides in the first place21:05
fijalI was thinking scalar is used to represent array(3)21:05
fijalbut apparently not21:06
Alex_Gaynorit is, AFAIK21:06
fijalmaybe we should make it simply work21:06
fijalwell *olnly* this21:06
fijalwrapping and unwrapping is not a good thing IMO21:06
Alex_Gaynorwell, I'm going to commit this, ok?21:06
rguillebert (~rguillebe@2a01:e34:eea7:c690:21f:c6ff:fe12:4dee) joined #pypy.21:07
fijalI hope you'll fix it instead of doing quick hacks :)21:07
fijalif it's not fixed today it's fine21:07
Alex_GaynorI can look at refactoring Scalar long term, but this is a good fix that doesn't create huge traces for now21:08
fijalbut if you *really* want to have it fixed now commit jit.unroll_safe() on calc_strides21:08
fijalfine I suppose21:08
fijalI gonna sleep, good night21:08
Alex_Gaynoryou preferunroll_safe to just setting shape and stride correctly?21:08
kenaan12alex_gaynor default 1187235ee9b8ab 15/pypy/module/micronumpy/interp_numarray.py: Preset correct attributes on scalars, so that a call to calc_strides isn't emitted21:10
getxsick (xsx@unaffiliated/getxsick) left irc: Ping timeout: 248 seconds21:11
stakkars_ (~tismer@g225044039.adsl.alicedsl.de) left irc: Quit: schnarch21:12
getxsick (xsx@unaffiliated/getxsick) joined #pypy.21:12
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) joined #pypy.21:14
ixokai (~ixokai@rrcs-24-199-8-246.west.biz.rr.com) left irc: Changing host21:14
ixokai (~ixokai@pdpc/supporter/student/ixokai) joined #pypy.21:14
kkris (~kris@80-123-37-202.adsl.highway.telekom.at) left irc: Quit: Leaving.21:17
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) left irc: Remote host closed the connection21:18
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving21:19
ericflo (~ericflo@75.103.8.110) joined #pypy.21:27
fijal (~fijal@41.52.155.130) left irc: Ping timeout: 248 seconds21:35
stakkars_ (~stakkars@89.204.139.232) joined #pypy.21:35
stakkars_arigato: I am hesitatin ro try targetstandalone before the bugs are below, say, 50021:37
arigato"targetpypystandalone --no-allworkingmodules" is what I mentioned, not all of targetpypystandalone21:38
arigatomoreover you can start with -O1 if Boehm works correctly21:39
stakkars_From old experience, building pypy takes hours. Do you think it is easy to find errors this way?21:39
stakkars_Ok, boehm seems to work. But what is the reason? It will work if all is correct21:41
stakkars_Or am I searching bugs which are not covered by test?21:41
stakkars_the toolchain is working, I think that is pretty complete and covered by rpystonedalone. Why should I try a translation which is very likely to break?21:45
stakkars_Ok, I can try, but I don't see an advantage, yet21:48
Ademan (~dan@15.sub-97-155-244.myvzw.com) joined #pypy.22:01
ixokai (~ixokai@pdpc/supporter/student/ixokai) left irc: Quit: Bye!22:07
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/7 [12stakkars, win64-stage1]22:11
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/7 [12stakkars, win64-stage1]22:12
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/8 [12stakkars, win64-stage1]22:12
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/8 [12stakkars, win64-stage1]22:12
arigato (~arigo@89.204.130.72) left irc: Quit: See you22:12
Ademan (~dan@15.sub-97-155-244.myvzw.com) left irc: Quit: leaving22:13
bbot2Started: 15http://buildbot.pypy.org/builders/own-win-x86-64/builds/80 [12stakkars, win64-stage1]22:18
thp (thp@Maemo/community/contributor/thp) left #pypy.22:23
fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) joined #pypy.22:23
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Remote host closed the connection22:25
robertj (~Rob@97-81-71-34.dhcp.athn.ga.charter.com) left irc: Ping timeout: 260 seconds22:26
stakkars_ (~stakkars@89.204.139.232) left irc: Quit: Colloquy for iPhone - http://colloquy.mobi22:29
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/15722:38
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/73222:38
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/96222:38
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 244 seconds22:45
nedbat (~nedbat@python/psf/nedbat) left irc: Disconnected by services22:51
nedbat_ (~nedbat@python/psf/nedbat) joined #pypy.22:52
kenaan12alex_gaynor default 11e5ef85031c32 15/pypy/: Mark several fields in numpy as being immutable, and the name of a type object as quassiimmut22:56
stakkars_ (~stakkars@89.204.139.232) joined #pypy.22:57
stakkars_Ari22:57
nedbat_ (~nedbat@python/psf/nedbat) left irc: Ping timeout: 258 seconds22:57
whitelynx (~whitelynx@63.241.75.144) left irc: Quit: Ex-Chat22:58
stakkars_I am pretty much bored. Going to close my branch and maybe work non-publically for a while23:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1139 [12alex]23:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/609 [12alex]23:00
kenaan12hager ppc-jit-backend 117805074b94a4 15/pypy/jit/backend/ppc/ppcgen/: made first tests pass again on ppc6423:03
mcdonc (~mcdonc@ip72-209-213-54.dc.dc.cox.net) joined #pypy.23:06
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.23:06
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host23:06
mfoord (~anonymous@python/psf/voidspace) joined #pypy.23:06
stakkars_ (~stakkars@89.204.139.232) left irc: Quit: Colloquy for iPhone - http://colloquy.mobi23:10
Rhy0lite (dje@nat/ibm/x-zzexcoiegummbmof) left irc: Quit: Leaving23:10
jterrace (~jterrace@aegis.CS.Princeton.EDU) joined #pypy.23:11
jterraceAlex_Gaynor: is it easy to add new numpy ufuncs?23:11
Alex_Gaynorjterrace: extremely23:11
jterraceok23:11
Alex_Gaynorwhich ones are we missing?23:11
jterracelet me see23:11
jterraceokay they're not all ufuncs23:18
jterracebut the full list of ones that i use that don't seem to be in yet: identity, fromstring, nan, asmatrix, asarray, concatenate, cumsum, arange, dstack, hstack, vstack, flat, flatten, swapaxes, transpose, cross, newaxis, allclose, sqrt, equal23:19
lac (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.23:19
jterracesome of those i think would be really easy (like sqrt or equal)23:19
jterraceother probably hard (*stack, allclose)23:19
lac_ (~quassel@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 245 seconds23:19
mikefchi all. new to pypy. looking to have a fiddle with the numpy stuff.23:22
mikefcfirst question: is a ufunc a function that is mapped to each element in a numpy array?23:22
mikefcI'm looking to add pickling support for numpy so that I can use them with multiprocessing.23:22
jterracecan you pickle regular numpy arrays?23:23
mikefcyes.23:23
mikefcbut not numpypy ones.23:23
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord23:25
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection23:26
jterracemikefc: i think you just have to implement __getstate__ and __setstate__, which can probably just be put on top of something like numpy.save / numpy.load, but i dont think they exist yet either23:33
fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) left irc: Quit: Leaving23:34
jterracenpy format is documented here: https://github.com/numpy/numpy/blob/master/doc/neps/npy-format.txt would be really cool to get numpypy compatibility for npy to allow interchange23:36
jterrace (~jterrace@aegis.CS.Princeton.EDU) left irc: Quit: Leaving.23:39
rekamso (~textual@67.51.82.66) left irc: Ping timeout: 244 seconds23:39
stakkars_ (~stakkars@89.204.139.232) joined #pypy.23:45
apanda (~apanda@dhcp-44-187.EECS.Berkeley.EDU) left irc: Remote host closed the connection23:49
JaRoel|4d (~jaroel|4d@2001:980:7133:1:d97d:16c1:8242:a4d2) joined #pypy.23:53
stakkars_ (~stakkars@89.204.139.232) left irc: Quit: Colloquy for iPhone - http://colloquy.mobi23:56
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.23:56
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host23:56
mfoord (~anonymous@python/psf/voidspace) joined #pypy.23:56
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.23:59
--- Sat Dec 3 201100:00

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