#pypy IRC log for Wednesday, 2011-11-09

mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.00:00
gutworthAlex_Gaynor: pong00:07
Varriount_ (~Varriount@hnng.public-craft.com) left irc: Quit: Meep00:14
Varriount (~Varriount@hnng.public-craft.com) joined #pypy.00:14
kenaan12ctismer win64_gborg 1110717241c974 15/pypy/rpython/module/ll_os_stat.py: test_ll_os_stat works now as well00:18
Alex_Gaynorgutworth: nvm, was going to ask about the RPythonicity of something, but took an entirely differnt approach :) sorry bout that00:19
kenaan12ctismer win64_gborg 11ede54430f3a2 15/pypy/rpython/module/test/test_ll_os_stat.py: test_ll_os_stat works now, too. Hint: never assume 'c:\temp' exists. Use the environ!00:34
Alex_Gaynorstakkars: I suppose pagefile is guarnteed to exist :)00:35
stakkarsactually not, but I ignored this right now. The page file can sit on any non-removable drive, and there is no environment entry. But I won't touch registry jigt now ;-)00:39
stakkarss/j/r/00:40
mat^2 (~mathias@212.130.113.35) left irc: 00:40
stakkarsbut for my machines, I put temp=d:\tmp quite often. The C drive is treated as read-only as possible.00:42
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection00:46
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) left irc: Quit: ZOMG BYE00:49
apanda (~apanda@dhcp-45-220.EECS.Berkeley.EDU) left irc: Ping timeout: 245 seconds00:52
rekamso (~textual@67.51.82.66) left irc: Quit: bus00:59
apanda (~apanda@dhcp-45-220.EECS.Berkeley.EDU) joined #pypy.01:00
canta (~canta@77-20-123-240-dynip.superkabel.de) left irc: Quit: Leaving.01:02
Nick change: Gulaway -> Gulopine01:04
maxyz (~maxy@186.23.74.228) left irc: Ping timeout: 260 seconds01:05
maxyz (~maxy@186.23.74.228) joined #pypy.01:06
DanKluev (~root@81-250-adsl.vntc.ru) left irc: Ping timeout: 240 seconds01:20
kenaan12ctismer win64_gborg 114e6f08cf4321 15/pypy/: test_ll_time: test_time_sleep works01:21
DanKluev (~root@81-250-adsl.vntc.ru) joined #pypy.01:21
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go01:29
stakkars (~tismer@213-65-251-34-no35.business.telia.com) left irc: Read error: Connection reset by peer01:31
stakkars (~tismer@213-65-251-34-no35.business.telia.com) joined #pypy.01:32
asmeurer__ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) left irc: Ping timeout: 276 seconds01:34
kenaan12pjenvey py3k 1175461738f371 15/pypy/interpreter/: improve pep3120 support01:34
mcdonc (~mcdonc@cabana.palladion.com) left irc: Ping timeout: 258 seconds01:36
Turicas (~alvaro@mail.justen.eng.br) joined #pypy.01:37
DasIch (~dasich@p3E9913D5.dip.t-dialin.net) joined #pypy.01:44
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/182901:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/56101:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/25901:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/60501:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/109201:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/79101:45
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/69301:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/143201:45
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/25701:45
Arach (~arach@95-30-210-145.broadband.corbina.ru) left irc: Quit: bye01:50
kenaan12pjenvey py3k 110357086d2dc0 15/pypy/objspace/std/: fix bytes' repr01:55
kenaan12ctismer win64_gborg 11d8a8d1ed4a04 15/pypy/rpython/module/: test_posix: test_open works02:07
DasIch (~dasich@p3E9913D5.dip.t-dialin.net) left irc: Ping timeout: 260 seconds02:15
dcolish (dcolish@2610:10:20:208:5652:ff:fe2b:1165) left #pypy.02:16
kenaan12ctismer win64_gborg 11dc98b8e33da9 15/pypy/rpython/module/: test_posix: test_isatty works02:18
DasIch (~dasich@p3E99017B.dip.t-dialin.net) joined #pypy.02:26
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.02:29
Seta00 (~Seta00@seta00.com) joined #pypy.02:40
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/182902:43
Shinata (~John@osbk-4db1484b.pool.mediaWays.net) left irc: Ping timeout: 240 seconds02:50
ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo02:50
Shinata (~John@osbk-4db17044.pool.mediaWays.net) joined #pypy.02:50
aisipos (~aisipos@wc.lax.truecarcorp.com) left irc: Read error: Operation timed out02:58
Hong_MinHee (~dahlia@175.125.21.72) left irc: Ping timeout: 255 seconds03:01
Hong_MinHee (~dahlia@175.125.21.72) joined #pypy.03:01
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.03:02
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/79103:07
kenaan12alex_gaynor numpy-dtype-refactor 11f9f4bedbab84 15/pypy/module/micronumpy/: begin refactoring everything.  nothing works.03:08
daniloaf (~daniloaf@187.114.149.104) left irc: Quit: Fui embora03:10
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/60503:10
janzert (~janzert@97-83-124-17.dhcp.trcy.mi.charter.com) left irc: Read error: Connection reset by peer03:11
espes (espes@123-243-221-248.tpgi.com.au) left irc: Quit: espes03:11
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Read error: Connection reset by peer03:11
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.03:12
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.03:12
janzert (~janzert@97-83-124-17.dhcp.trcy.mi.charter.com) joined #pypy.03:12
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/109203:15
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/56103:20
Sentynel (sentynel@unaffiliated/sentynel) left #pypy ("Lightly Seared on the Reality Grill").03:30
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy03:37
rekamso (~textual@c-71-197-238-154.hsd1.wa.comcast.net) joined #pypy.03:40
dD0T (~dD0T@unaffiliated/dd0t) left irc: Quit: Ohhhh nooeeezzzz, my uptime!!1111eleven03:54
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.04:00
apanda (~apanda@dhcp-45-220.EECS.Berkeley.EDU) left irc: Remote host closed the connection04:02
dD0T (~dD0T@unaffiliated/dd0t) joined #pypy.04:06
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.04:08
kenaan12alex_gaynor numpy-dtype-refactor 11b055942a4830 15/pypy/module/micronumpy/: more updates to code and tests04:12
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/69304:15
gutworthdoesn't "update code and tests" sumarize 99.6% of all pypy commits? :)04:18
_pyre_ (~stian@137.241.189.109.customer.cdi.no) left irc: Ping timeout: 240 seconds04:23
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/143204:35
Turicas (~alvaro@mail.justen.eng.br) left irc: Ping timeout: 276 seconds05:01
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/25705:02
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/25905:22
ixokai (~ixokai@pdpc/supporter/student/ixokai) left irc: Read error: No route to host05:39
ixokai (~ixokai@pdpc/supporter/student/ixokai) joined #pypy.05:39
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) joined #pypy.05:56
Nick change: Gulopine -> Gulaway06:04
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) joined #pypy.06:06
Shinata (~John@osbk-4db17044.pool.mediaWays.net) left irc: Remote host closed the connection06:08
Moku (~John@osbk-4db17044.pool.mediaWays.net) joined #pypy.06:08
Nick change: Moku -> Guest7650906:09
Nick change: Guest76509 -> Shinata06:09
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy06:23
ronny Alex_Gaynor ??06:24
aleksi (~aleksi@85.235.191.82) joined #pypy.06:32
amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.06:34
amaurypjenvey: I don't agree with the "fix bytes' repr" change06:38
amaurystring_escape_encode is also used by module/_codecs/interp_codecs.py06:39
amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 255 seconds06:47
rekamso (~textual@c-71-197-238-154.hsd1.wa.comcast.net) left irc: Quit: zzz06:56
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.07:06
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #pypy.07:10
tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host07:10
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.07:10
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/70607:20
elipsionmornin'07:21
mitchellh (~mitchellh@c-71-202-125-40.hsd1.ca.comcast.net) left irc: Quit: ZOMG BYE07:23
stakkars_ (~tismer@213-65-251-34-no35.business.telia.com) joined #pypy.07:40
stakkars (~tismer@213-65-251-34-no35.business.telia.com) left irc: Ping timeout: 252 seconds07:42
Nick change: stakkars_ -> stakkars07:42
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.07:43
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy07:46
k_bx (~k_bx@195.20.130.1) joined #pypy.07:53
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) joined #pypy.07:57
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection07:58
amaury (~amaury_@74.125.57.34) joined #pypy.08:01
lambacck (chris@d24-150-124-118.home.cgocable.net) left #pypy.08:03
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) joined #pypy.08:09
Trundle (~andy@p578bfdcf.dip0.t-ipconnect.de) left irc: Changing host08:09
Trundle (~andy@python/site-packages/trundle) joined #pypy.08:09
antocuni (~antocuni@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.08:11
pjenveyamaury - weee, yes, thanks08:12
amaury:-)08:12
DanKluev (~root@81-250-adsl.vntc.ru) left irc: Ping timeout: 276 seconds08:19
amaury (~amaury_@74.125.57.34) left irc: Ping timeout: 240 seconds08:27
kenaan12pjenvey py3k 117275e7c2a49a 15/pypy/: fix test_escape_encode (thanks amaury)08:34
DanKluev (~root@81-086-adsl.vntc.ru) joined #pypy.08:35
apanda (~apanda@c-24-7-101-62.hsd1.ca.comcast.net) left irc: Remote host closed the connection08:43
amaury (~amaury_@74.125.57.34) joined #pypy.08:56
cpets (~androirc@109.166.141.52) joined #pypy.08:57
canta (~canta@77.20.123.240) joined #pypy.08:59
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.09:00
cpets (~androirc@109.166.141.52) left irc: Ping timeout: 240 seconds09:15
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:22
fijal (~fijal@AAubervilliers-651-1-302-8.w83-114.abo.wanadoo.fr) joined #pypy.09:34
arigato (~arigo@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.09:36
ojii (~ojii@188.60.34.40) joined #pypy.09:37
norox (~norox@2a00:801::2d0:b7ff:fea0:c753) left irc: Ping timeout: 240 seconds09:37
norox (~norox@2a00:801::2d0:b7ff:fea0:c753) joined #pypy.09:38
kenaan12arigo default 11f4506e827118 15/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py: skip the test in progress09:38
kenaan12arigo default 118ca9a7426505 15/pypy/translator/c/genc.py: oups.09:40
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1830 [12arigo]09:40
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1093 [12arigo]09:40
cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) joined #pypy.09:43
fijalarigato: hi09:44
fijalI think we've chosen a bad timing for the release branch09:44
arigatoI think you are jumping to conclusions too quickly :-)09:45
fijalhaha :)09:45
fijalwell, the nightly run was a disaster09:46
fijalI guess I branched before though09:47
fijalshould I merge trunk or not?09:47
arigatoany particular checkin you want to have in the branch?09:47
fijalthe one that unbreaks tests?09:49
arigatowell I'm unsure why you propose this, but please note that 10 minutes ago I checked in "oups" and start two new buildslaves09:49
arigatothe tests were broken after the creation of the branch09:49
fijalmy question is if the fix is needed for the release branch or not09:49
fijalah ok09:49
fijalgood09:49
fijalthan none09:49
arigatothat's why I said "I think you are jumping to conclusions too quickly"09:50
arigatothe release branch was never affected09:51
fijalgood09:51
thoughtpolicehttp://comic.naver.com/webtoon/detail.nhn?titleId=350217&no=31&weekday=tue09:53
thoughtpoliceoh my, sorry for the spam, wrong window :(09:53
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) joined #pypy.09:55
stakkars_ (~tismer@213-65-251-34-no35.business.telia.com) joined #pypy.09:58
stakkars (~tismer@213-65-251-34-no35.business.telia.com) left irc: Ping timeout: 260 seconds10:01
Nick change: stakkars_ -> stakkars10:01
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.10:09
antocunifijal: we found a release blocker10:17
antocunithe JIT on windows is "completely" broken, because it calls all our RPython functions with the wrong calling convention10:18
antocuni(leading to a leak of stack space)10:18
fijalnice10:18
EnCuKou (~encukou@a91-156-243-246.elisa-laajakaista.fi) left irc: Ping timeout: 252 seconds10:24
fijal (~fijal@AAubervilliers-651-1-302-8.w83-114.abo.wanadoo.fr) left irc: Read error: Operation timed out10:27
amauryantocuni: isn't cdecl the default convention for the jit?10:29
arigatoright now it's broken: the default convention is "0"10:29
arigatowhich means STDCALL10:29
kenaan12arigo default 11c7616f7a871d 15/pypy/jit/backend/: (antocuni, arigo)  Tentatively fix on Windows: the default calling convention for the JIT should be CDECL (=1), not...10:34
lizardo (~lizardo@189.2.128.130) joined #pypy.10:37
bbot23Success: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1830 [12arigo]10:45
JStoker (jstoker@unaffiliated/jstoker) left irc: Ping timeout: 258 seconds10:53
JStoker (jstoker@unaffiliated/jstoker) joined #pypy.11:06
jsppnn (~js@kosh.org.aalto.fi) left irc: Ping timeout: 258 seconds11:07
amauryIMO this STDCALL=0 is a design mistake of ctypes11:07
amauryand shows that it was initially developed for win32 COM interfaces11:08
arigato:-/11:08
amaurythe C calling convention came after11:08
amauryactually even in CPython ctypes there are some parts that are never used or tested in CPython11:09
amauryand make sense only in the "comtypes" package11:10
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:10
cfbolzhello11:10
amaurycomtypes is advertised as a "pure python" module11:10
bivabhi11:10
arigatohi11:10
amaurybut it actually uses undocumented ctypes features11:10
cfbolzantocuni, arigato: what exactly is the difference between the _ffi and _rawffi pypy modules?11:10
JaredW (~JaredW@118.142.17.238) left irc: Remote host closed the connection11:10
antocunicfbolz: _rawffi is the old mess, _ffi is the newer jit-friendly one11:11
JaredW (~JaredW@118.142.17.238) joined #pypy.11:11
cfbolzantocuni: but both are used?11:11
antocuniI'm slowly porting features to _rawffi to _ffi11:11
cfbolzah11:11
asabil (~asabil@131.246.16.62.customer.cdi.no) joined #pypy.11:12
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:12
antocuniin trunk, _ffi is used to call functions and _rawffi for structures, arrays, etc11:14
antocuniin ffistruct, I'm implementing fast structures in _ffi, and I'll probably kill them from _rawffi11:14
arigatocfbolz: re jit-targets: in that branch the idea is to add LABEL resoperations11:14
cfbolzantocuni: so in the fullness of time _rawffi can go away?11:15
cfbolzarigato: yes, I got that, but a few more details would be nice11:15
arigatothen the JUMPs are always to a LABEL instead of to the start of a loop11:15
antocunicfbolz: in the fullness of time, yes :-)11:15
arigatothat's it, basically11:15
cfbolzarigato: so the start of a loop is only for entering from the interpreter?11:15
voidspace (~voidspace@python/psf/voidspace) joined #pypy.11:15
arigatoyes, and for CALL_ASSEMBER11:15
cfbolzok11:15
cfbolzarigato: how many labels are there typically in a loop then?11:16
arigatoright now, there are only 1 or 211:17
kenaan12RonnyPfannschmidt pyrepl 1174eb359b4292 15/encopyright.py: adapt encopyright to hg11:17
arigatobasically what we did in jit-targets is that the metainterp produce a single large loop instead of two loops (preamble+loop)11:17
cfbolzI see11:17
cfbolzarigato: but the infrastructure is more general, eg could support tail merging?11:18
arigatothe idea being that a LABEL is a no-op to run, but a JUMP is a mess of reordering arguments11:18
arigatoyes11:18
cfbolzok11:19
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 245 seconds11:19
cfbolzarigato: how are the arguments you need for a JUMP to a LABEL encoded in the label?11:19
arigatothe label has a descr, so the backend just stores stuff on it: more precisely the location of all arguments11:21
arigatoit's the same as it did on loops11:21
kenaan12RonnyPfannschmidt pyrepl 114c4f19046887 15/: cherry pick over tox.ini and hgignore from py3ksupport branch11:22
kenaan12RonnyPfannschmidt pyrepl[py3ksupport] 119234e4d1b551 15/: merge default11:22
kenaan12ctismer win64_gborg 118a0ade5786bf 15/pypy/rlib/rarithmetic.py: fixed ovfcheck, which needs to skip symbolics. This caused 50 or more gs tests to fail11:23
stakkarssorry I meant GC tests11:24
cfbolzarigato: ok11:24
stakkarsarigato: stopping and coming over11:24
ronnywhat is gborg?11:24
stakkarsgothenburg11:25
arigatostakkars: can you elaborate on your latest checkin?11:25
stakkarsyes, I can.11:25
ronnyi see11:26
arigatoah sorry, I think I see11:26
stakkarsin ovfcheck, I changed previously11:26
stakkars"        if type(r) is long:11:26
stakkarsinto11:26
stakkars"     if not is_valid_int(r)11:28
stakkarsbut that implies that the checked value is an int or long, and forces compare ops.11:28
stakkarsbut in the gc, this check runs with completely different types.11:29
stakkarsprobably not ok, but ATM i'm fixing my own stuff ;-)11:29
stakkarsso the innocent, semantically correct change was:11:30
stakkars"     if type(r) is long:11:30
stakkarsXXXXXX paste error11:31
stakkarsif type(r) is long and not is_valid_int®:11:32
stakkars (~tismer@213-65-251-34-no35.business.telia.com) left irc: Quit: schnarch11:34
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.11:38
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/1093 [12arigo]11:43
k_bx (~k_bx@195.20.130.1) joined #pypy.11:44
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:46
stakkars (~tismer@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.11:52
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.12:02
tote (me@h-61-213.a213.priv.bahnhof.se) left irc: Ping timeout: 276 seconds12:04
voidspace (~voidspace@python/psf/voidspace) left irc: Ping timeout: 240 seconds12:05
cpetspp (~androirc@109.166.141.52) joined #pypy.12:08
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 256 seconds12:09
k_bx (~k_bx@195.20.130.1) joined #pypy.12:10
voidspace (~voidspace@python/psf/voidspace) joined #pypy.12:12
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.12:23
kenaan12arigo jit-targets 11afc8cfdd9b68 15/pypy/jit/backend/llgraph/llimpl.py: Improve the checking: kills values that are not explicitly given as argument.12:23
kenaan12arigo jit-targets 113eba23e52e42 15/pypy/jit/: Fix runner_test.12:23
kenaan12arigo jit-targets 115477569cf46c 15/pypy/jit/backend/x86/: Fix.12:31
kenaan12arigo default 11d12fc92b04cc 15/pypy/: Kill ovfcheck_lshift(), which was only needed before Python 2.4.12:31
kenaan12antocuni ffistruct 11128dbcd93861 15/pypy/module/_ffi/test/test_struct.py: move this test at the end, after the ones which directly operate on StructDescr12:36
kenaan12antocuni ffistruct 110d79a558d6fc 15/pypy/module/_ffi/: small refactor, and add a failing test12:36
kenaan12antocuni ffistruct 11fd6938fabf7b 15/pypy/module/_ffi/: copy the logic to cope with field alignment from _rawffi, the failing test now passes12:36
kenaan12antocuni ffistruct 119bd55ee3776f 15/pypy/module/_ffi/test/test_struct.py: add unit tests for compute_size_and_alignment; the last ones fails and are commented out for now12:36
kenaan12antocuni ffistruct 11f73603fe9a7d 15/pypy/module/_ffi/: adjust the total size according to the alignment: this makes more tests passing12:37
kenaan12antocuni ffistruct 11e9fe7124b7c6 15/pypy/rlib/clibffi.py: build the TYPE_MAP dictionaries but preserves the list: this is because we want to avoid key-clashing (e.g., o...12:37
kenaan12antocuni ffistruct 11175c37225dc8 15/pypy/module/_ffi/: add support for getting/setting signed values other than long12:37
kenaan12antocuni ffistruct 11aa53c87e4cdf 15/pypy/: make sure that we properly convert a sbyte >= 128 into a negative value when we set it.  This requires to chan...12:37
kenaan12antocuni ffistruct 11879029fb8b50 15/pypy/module/_ffi/test/test_struct.py: make sure that we correctly handle the app-level-long to interp-level-slong conversion12:37
kenaan12antocuni ffistruct 113d6add2cfe84 15/pypy/module/_ffi/: (antocuni, arigo around): correctly truncate all the values to a Signed"12:37
kenaan12antocuni ffistruct 11b1f919c81753 15/pypy/module/_ffi/test/test_struct.py: add a test for shorts12:37
kenaan12antocuni ffistruct 1125ce0a707991 15/pypy/module/_ffi/: add support and tests for unsigned types12:37
kenaan12antocuni ffistruct 1107587050b13c 15/pypy/rlib/: add low-level support to get/set (u)longlong fields in libffi12:37
kenaan12antocuni ffistruct 11ceb799c62245 15/pypy/interpreter/: add a new space method to truncate longlongs, similar to space.truncatedint12:37
kenaan12antocuni ffistruct 114e792ca0116c 15/pypy/module/_ffi/: add support for longlongs at applevel12:37
kenaan12antocuni ffistruct 11f2c743343892 15/pypy/module/_ffi/interp_struct.py: add an XXX so that I hopefully don't forget this :-)12:37
khs (~khs@128.41.202.84.customer.cdi.no) joined #pypy.12:40
cfbolzantocuni: after I asked you you discovered that you have lots of unpushed changes? :-)12:41
antocunino no, I knew about them :-)12:41
antocuniit's just that now I wanted to translate on tannit12:41
thinker` (~thinker@123-194-52-90.dynamic.kbronet.com.tw) joined #pypy.12:43
thinker (~thinker@123-194-52-90.dynamic.kbronet.com.tw) left irc: Ping timeout: 240 seconds12:45
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 255 seconds12:46
k_bx (~k_bx@195.20.130.1) joined #pypy.12:48
mat^2 (~mathias@212.130.113.35) joined #pypy.12:53
Rhy0lite (~dje@129.34.20.23) joined #pypy.13:02
Alex_Gaynormorning all13:12
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) left irc: Read error: Connection reset by peer13:12
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.13:13
Rhy0litegood morning13:22
arigatohi13:23
kenaan12ctismer win64_gborg 11305bded94dfb 15/pypy/: fixed memorylayout of the GC for win64, format characters13:23
kenaan12ctismer win64_gborg 115353e7a1dade 15/pypy/: merge13:23
iori (~iori@110-133-45-54.rev.home.ne.jp) joined #pypy.13:25
kenaan12arigo jit-targets 11c7eb819ab63b 15/pypy/jit/backend/test/calling_convention_test.py: Fix.13:34
kenaan12arigo jit-targets 11e41703ed7368 15/pypy/jit/tool/oparser.py: Cannot attach the LoopToken by default on a jump(), because we would need to have a TargetToken instead.  Fall ...13:34
kenaan12arigo jit-targets 11b68ac3a19cec 15/pypy/jit/backend/x86/: Fixes.13:34
kenaan12arigo jit-targets 116803897157d0 15/pypy/jit/backend/test/test_random.py: Fix test_random.13:34
kenaan12arigo jit-targets 11132fd58cb353 15/pypy/jit/backend/x86/regalloc.py: Fix.13:34
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 256 seconds13:54
k_bx (~k_bx@195.20.130.1) joined #pypy.13:55
Arach (~arach@2.95.136.135) joined #pypy.13:55
cpetspp (~androirc@109.166.141.52) left irc: Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )13:56
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.14:01
overminder (ca288b6d@gateway/web/freenode/ip.202.40.139.109) joined #pypy.14:01
kenaan12antocuni ffistruct 11e72220b3ba49 15/pypy/: rename space.truncatedint into truncatedint_w, and move the corresponding test to test_objspace14:04
kenaan12antocuni ffistruct 11b2acb344eb30 15/: hg merge default14:04
Clex (~clex@88.182.134.18) joined #pypy.14:12
Clex (clex@88.182.134.18) left #pypy.14:13
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.14:17
Nick change: Gulaway -> Gulopine14:22
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.14:23
Rhy0liteAlex_Gaynor: what is a "mock"?14:25
Sentynel (sentynel@unaffiliated/sentynel) joined #pypy.14:27
Alex_GaynorRhy0lite: something used in testing where you fake the real implementation to simpify it for testing, or to reduce the number of independent variables.  e.g. if you were writing a web API client you might mock out the thing that makes HTTP Requests14:27
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.14:27
Alex_Gaynorhttp://en.wikipedia.org/wiki/Mock_object14:27
elipsionMOCK, adjective: feigned; not real; sham: a mock battle.14:28
Rhy0liteThanks.  Mock Objects makes more sense than Mocks14:28
tav (~tav@host-92-20-30-65.as13285.net) left irc: Ping timeout: 240 seconds14:30
overminder (ca288b6d@gateway/web/freenode/ip.202.40.139.109) left irc: Ping timeout: 265 seconds14:31
kenaan12alex_gaynor numpy-dtype-refactor 114f8dd56c9505 15/pypy/module/micronumpy/: start to re-flesh out the dtype interface. now we get to the fun part of exposing the boxes at a...14:34
tav (~tav@host-2-99-64-148.as13285.net) joined #pypy.14:36
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.14:36
whitelynx (~whitelynx@li117-47.members.linode.com) joined #pypy.14:38
Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) joined #pypy.14:42
Nick change: Gulopine -> Gulaway14:48
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) joined #pypy.14:48
fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy.14:54
Alex_GaynorIs there a way for an app-levle class defined at interp level to subclass multiple parents?15:01
arigatono15:02
Alex_Gaynorarigato: how difficult do you think it would be to add?15:05
arigatowhat's the goal?15:06
Alex_Gaynorvarious numpy classes have multiple parents, I'd like to implement that15:06
Alex_Gaynor(They also subclass things with multimethods, like int, if that's relevant)15:06
arigatoyes, I think you really need to declare the class at app-level15:07
arigatofwiw I remember that cpython's numpy.c does crazy hacks to define classes with multiple parents in C15:08
Alex_GaynorI'm not sure that works, since they have members whos type isn't one with an app level equivilant, like 32-bit floats, 16bit ints, etc.15:09
arigatothey have such members *and* they inherit from 'int'?  terrible, the kind of hacks people can come up with15:09
Alex_Gaynoruh, no if they inherit int I suppose they don't have such members15:10
Alex_GaynorFWIW it looks like this would actually be easy, you just need to let TYpeDef.__inti__ take *bases and then let stdtypedef work with a list15:10
arigatofeel free to try, but I doubt it's going to be easy to inherit 'int'15:11
arigatoeven in single inheritence15:11
Alex_Gaynoris there a good way to unittest this?15:11
arigatonot sure what you mean?15:12
kenaan12bivab ppc-jit-backend 111c63c71d3b29 15/pypy/rlib/: fix an issue in clibffi that is triggered on big endian platforms due to the byte order when casting a larg...15:12
Alex_GaynorI mean, is there a clean way to unittest the creation of types?15:12
arigatojust create the type and inspect it in the normal reflexion way, I suppose?15:13
kenaan12alex_gaynor numpy-dtype-refactor 117578bf6439b7 15/pypy/module/micronumpy/: added files I forgot15:14
bivab (~david@fwstups.cs.uni-duesseldorf.de) left irc: Quit: bivab15:18
ojii (~ojii@188.60.34.40) left irc: Ping timeout: 256 seconds15:29
ojii (~ojii@40-34.60-188.cust.bluewin.ch) joined #pypy.15:30
cfbolz (~cfbolz@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving15:39
aleksi (~aleksi@85.235.191.82) left irc: Remote host closed the connection15:42
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.15:44
kenaan12arigo ffistruct 119699c8a780e1 15/pypy/: Make rarithmetic.longlongmask() translatable.15:53
kenaan12arigo ffistruct 113c7c182b8c8a 15/: merge heads15:53
kenaan12edelsohn ppc-jit-backend 111bda9131792d 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: Store PPC64 LR at frame_depth + WORD in prologue.  Load R2 in gen_exit_path call and store R1 when alloc...15:58
Alex_Gaynorarigato: I think you were correct, this is more work than it appeared :)15:59
Alex_GaynorIt would work if all you wanted to do was have something in the MRO, and never use any attributes from it16:00
Alex_Gaynortechnically that's enough for numpy, I suppose it would be evil to merge it though16:00
dalke (~Adium@85.224.196.196) joined #pypy.16:06
kenaan12ctismer win64_gborg 1171ab3a388b25 15/pypy/rpython/: gc inspector works16:07
kenaan12edelsohn ppc-jit-backend 117589bb11c7e5 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: Deallocate stack in emit_call on PPC64 path.16:17
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.16:21
jimbaker (~jbaker@canonical/jimbaker) left irc: Quit: Coyote finally caught me16:22
fzzzy (~donovan@76.198.130.19) joined #pypy.16:23
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) joined #pypy.16:24
jimbaker (~jbaker@c-75-71-80-146.hsd1.co.comcast.net) left irc: Changing host16:24
jimbaker (~jbaker@canonical/jimbaker) joined #pypy.16:24
kenaan12arigo default 11d44e050d460e 15/lib-python/2.7/test/test_os.py: Must close the file explicitly; otherwise, on Windows, we cannot unlink it before the GC runs16:26
kenaan12arigo default 115476689a4d73 15/pypy/: Rename the decorator.  Fijal: can you use it on some of the __del__s where it is important that the finalizer is li...16:26
dalke (~Adium@85.224.196.196) left irc: Quit: Leaving.16:29
fzzzy (~donovan@76.198.130.19) left irc: Quit: fzzzy16:32
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 258 seconds16:46
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: voidspace16:53
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.16:54
kkris (~kris@93-82-44-130.adsl.highway.telekom.at) joined #pypy.16:55
tote (me@h-61-213.a213.priv.bahnhof.se) joined #pypy.16:56
rekamso (~textual@216.190.27.14) joined #pypy.16:58
kenaan12arigo default 1136f8f2531dfe 15/lib-python/modified-2.7/pkgutil.py: Missing f.close().16:59
kenaan12arigo default 11165672fb2aef 15/pypy/rpython/lltypesystem/module/ll_math.py: Copy the logic for math.fmod() from CPython 2.7.16:59
kenaan12arigo default 11df7f0844e6b4 15/pypy/rpython/lltypesystem/module/ll_math.py: Tweak for the common case: use isfinite() more often, and only fall back to checking isnan() and isinf() if it retu...16:59
fzzzy (~donovan@nat/mozilla/x-epjkosoqklbhprfe) joined #pypy.17:00
Kenextref (~user@193.105.134.65) left irc: Ping timeout: 245 seconds17:14
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Read error: Operation timed out17:16
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/17:21
Trundle (~andy@python/site-packages/trundle) left irc: Remote host closed the connection17:23
amauryhaha17:36
amaurypypy blocks in test_syntax on this test: http://paste.pocoo.org/show/505352/17:37
amauryguess why17:37
dalke (~Adium@c-2ec2a567-74736162.cust.telenor.se) joined #pypy.17:37
kenaan12arigo default 112466f0e89311 15/pypy/rpython/lltypesystem/module/ll_math.py: Tweak.17:46
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.17:46
arigatoamaury: :-)17:47
timonatoramaury: will that be 'fixed'? ;)17:48
timonatorit's an obvious deficiency17:48
arigatoof CPython, yes17:48
zk (~is@whatit.is) left irc: Quit: leaving17:55
Sentynel (sentynel@unaffiliated/sentynel) left #pypy ("Lightly Seared on the Reality Grill").17:56
kenaan12antocuni ffistruct 119c29ae18d46b 15/pypy/rlib/rarithmetic.py: these two functions are not_rpython17:57
mattip (~chatzilla@bzq-79-176-116-133.red.bezeqint.net) joined #pypy.17:57
kenaan12antocuni ffistruct 1106d63733756d 15/: hg merge default17:57
kenaan12antocuni ffistruct 1108175c33f891 15/pypy/translator/backendopt/test/test_finalizer.py: (antocuni, arigo): this is probably how the test was meant to be17:57
kenaan12antocuni ffistruct 11af3519406a19 15/pypy/module/_ffi/interp_struct.py: make sure that these two finalizers are lightweight17:57
kenaan12antocuni ffistruct 11deebd66d7766 15/pypy/rlib/: low level support for float fields17:57
kenaan12antocuni ffistruct 1192eec651058f 15/pypy/module/_ffi/test/test_struct.py: kill duplicate test17:57
kenaan12antocuni ffistruct 110aad7df24682 15/pypy/module/_ffi/: applevel support for float fields17:57
kenaan12antocuni ffistruct 11eb02c4c1c0f0 15/pypy/rlib/: low-level support for single float fields17:57
kenaan12antocuni ffistruct 11119ae38c2394 15/pypy/module/_ffi/: applevel support for single float fields17:58
kenaan12antocuni ffistruct 115ed2330756bb 15/pypy/module/_ffi/: add support for char/unichar fields17:58
mattipfijal: hi17:58
zk (~is@whatit.is) joined #pypy.17:58
antocunimattip: it seems that fijal is not there17:58
mattiphmm. 17:59
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.17:59
mattipI wanted to make a branch from numpy-multidim, but noticed he added a class ArrayIndex18:00
mattipAnyone know what the use case is for it?18:00
Action: antocuni doesn't18:01
mattipIt looks like a beginning of a way to do broadcasting of slices,18:01
mattipwhich is a building block for lots of other things, 18:01
mattipbut how is it supposed to work?18:02
Da_Blitz (~Da_Blitz@203.56.250.63) left irc: Ping timeout: 260 seconds18:03
mattip (chatzilla@bzq-79-176-116-133.red.bezeqint.net) left #pypy.18:05
kenaan12arigo default 1140d990865485 15/pypy/rpython/lltypesystem/module/ll_math.py: Fix? the Windows build by using the Windows functions _isnan() and _finite() if we are *not* jitted.18:06
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection18:07
iori (~iori@110-133-45-54.rev.home.ne.jp) left irc: Remote host closed the connection18:07
kenaan12edelsohn ppc-jit-backend 1181f3267b04ed 15/pypy/jit/backend/ppc/ppcgen/register.py: Alias TOC as r2.18:09
Taggnostr (~quassel@dyn57-215.yok.fi) left irc: Read error: Connection reset by peer18:11
kenaan12edelsohn ppc-jit-backend 11caa24e9f3445 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: Use PPC64 instructions in _emit_call stack adjustment.18:11
Da_Blitz (~Da_Blitz@203.56.250.63) joined #pypy.18:12
asmeurer_ (~asmeurer@2002:818a:1f60:c:e81d:db8f:ad12:b8b) joined #pypy.18:13
dalke1 (~Adium@c-2ec2a567-74736162.cust.telenor.se) joined #pypy.18:14
dalke (~Adium@c-2ec2a567-74736162.cust.telenor.se) left irc: Read error: Connection reset by peer18:14
antocuni (~antocuni@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 260 seconds18:15
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.18:15
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) left irc: Client Quit18:16
sven_hager (~sven@fwstups.cs.uni-duesseldorf.de) left irc: Quit: Leaving18:20
amaury (~amaury_@74.125.57.34) left irc: Ping timeout: 240 seconds18:23
iori (~iori@110-133-45-54.rev.home.ne.jp) joined #pypy.18:25
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.18:28
antocuni (~antocuni@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) joined #pypy.18:30
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Client Quit18:32
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) joined #pypy.18:34
derdon (~derdon@pD9E1C57D.dip.t-dialin.net) joined #pypy.18:35
kenaan12hager ppc-jit-backend 1193688057e7f3 15/pypy/jit/backend/ppc/ppcgen/: Implemented calls to C functions.18:38
kenaan12hager ppc-jit-backend 1168560c739dce 15/pypy/jit/backend/ppc/ppcgen/: merge18:38
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) joined #pypy.18:42
ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) joined #pypy.18:43
fzzzy (~donovan@nat/mozilla/x-epjkosoqklbhprfe) left irc: Quit: fzzzy18:57
aat (~aat@cpe-72-225-174-173.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.18:57
asmeurer___ (~asmeurer@dhcp-baca-230.resnet.nmt.edu) joined #pypy.19:05
ojii (~ojii@40-34.60-188.cust.bluewin.ch) left irc: Remote host closed the connection19:07
Count_Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) joined #pypy.19:08
asmeurer_ (~asmeurer@2002:818a:1f60:c:e81d:db8f:ad12:b8b) left irc: Ping timeout: 244 seconds19:08
Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) left irc: Read error: Connection reset by peer19:08
bgola (~bgola@189.100.47.60) left irc: Ping timeout: 252 seconds19:12
Count_Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) left irc: Read error: Connection reset by peer19:12
Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) joined #pypy.19:12
aisipos (~aisipos@wc.lax.truecarcorp.com) joined #pypy.19:14
dalke (~Adium@c-2ec2a567-74736162.cust.telenor.se) joined #pypy.19:17
dalke1 (~Adium@c-2ec2a567-74736162.cust.telenor.se) left irc: Read error: Connection reset by peer19:17
arigato (~arigo@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Quit: See you19:19
kenaan12arigo default 11d6c0d1f92e1b 15/pypy/rpython/lltypesystem/module/ll_math.py: Oups.19:20
kenaan12hakanardo jit-targets 1183bf8f708ffa 15/pypy/jit/metainterp/test/: hg merge jit-refactor-tests19:20
kenaan12hakanardo jit-targets 1191a9170e92e8 15/pypy/jit/metainterp/test/test_ajit.py: merge messup?19:20
kenaan12hakanardo jit-targets 1108641d9e164d 15/pypy/jit/metainterp/test/test_ajit.py: fixed test19:20
kenaan12hakanardo jit-targets 118163b98e813f 15/pypy/jit/metainterp/: add test and comment19:20
kenaan12hakanardo jit-targets 113dde4cbdcf1b 15/pypy/jit/metainterp/optimizeopt/: kill OptInlineShortPreamble19:20
kenaan12hakanardo jit-targets 11f9dccf780ad3 15/pypy/jit/metainterp/test/test_virtual.py: started to fix tests (in progress)19:20
kenaan12hakanardo jit-targets 11c47ea6944945 15/pypy/jit/: hg merge19:20
hakanardocfbolz: sure19:23
EnCuKou (~encukou@a91-156-243-246.elisa-laajakaista.fi) joined #pypy.19:24
canta (~canta@77.20.123.240) left irc: Read error: Connection reset by peer19:36
kenaan12ctismer win64_gborg 11de489f7cb78d 15/pypy/rpython/lltypesystem/opimpl.py: fixed test_compute_hash19:37
kenaan12hager ppc-jit-backend 11dcde3df53cd8 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: Added code for call to C functions again :(19:39
kenaan12edelsohn ppc-jit-backend 111e101fe11932 15/pypy/jit/backend/ppc/ppcgen/opassembler.py: PPC64 guard compares19:48
kenaan12ctismer win64_gborg 118ac04a128037 15/pypy/rlib/rbigint.py: fixed rbigint20:09
bgola (~bgola@189.100.46.89) joined #pypy.20:09
dalke1 (~Adium@c-2ec2a567-74736162.cust.telenor.se) joined #pypy.20:16
dalke (~Adium@c-2ec2a567-74736162.cust.telenor.se) left irc: Read error: Connection reset by peer20:16
Rhy0lite (~dje@129.34.20.23) left irc: Quit: Leaving20:25
kenaan12ctismer win64_gborg 110bf72ed106e7 15/pypy/rlib/rerased.py: fixed test_rerased to show only the single error which it apparently had before ;-)20:28
amaury (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.20:29
stakkars (~tismer@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Quit: schnarch20:29
mat^2 (~mathias@212.130.113.35) left irc: 20:32
kenaan12hakanardo jit-targets 11ae7f187cc6fc 15/pypy/jit/metainterp/test/test_virtual.py: fix test20:34
kenaan12hakanardo jit-targets 11915eabbf8e27 15/pypy/jit/metainterp/test/: centralize target token counter20:34
kenaan12hakanardo jit-targets 118fc9c0d93a1c 15/pypy/jit/metainterp/test/test_virtual.py: fix test20:34
kenaan12hakanardo jit-targets 11aa824f7255e6 15/pypy/jit/metainterp/compile.py: optimize_trace might be forced to insert sameas operations infront of the label20:34
kenaan12hakanardo jit-targets 11b2fbfc8c5fef 15/pypy/jit/metainterp/test/test_string.py: fix tests20:34
Alex_Gaynoramaury: Is assigning directly to PyTypeObject.tp_bases about the same as just assigning to W_TypeObject.mro_w?20:34
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/694 [12hakanardo, jit-refactor-tests]20:35
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1831 [12hakanardo, jit-refactor-tests]20:35
amauryAlex_Gaynor: __bases__ instead of mro20:38
amauryyes, it's similar20:38
Alex_Gaynoramaury: numpy basically uses int as a mixin on a class, I'm trying to figure out the best way to do the same20:38
amaurybut IIRC this must be done before PyType_Ready()20:38
amauryint is not a mixing20:39
amaurymixin20:39
amauryit must be the concrete base class20:39
Alex_GaynorNumpPy basically has class int64(numpy.signedinteger, int), but in C20:39
Alex_Gaynorand it does this by just sticking int in tp_bases, as far as I can tell20:40
amauryyes, but numpy.signedinteger just inherit from object, no other concrete class20:40
amauryAlex_Gaynor: yes it works20:40
Alex_Gaynorwell, signed integer inherits from integer, which inherits number, which inherits generic, which inherits object20:40
Alex_Gaynor:)20:40
amaurythose are the mixin20:41
amaury(at RPython level)20:41
amauryso: W_Int64 should inherit from W_IntObject20:41
Alex_GaynorI'm not talking about the RPython MRO, I'm talking about the app levle one20:41
amauryassigning to tp_bases is the way to have multiple inheritance, yes20:42
Alex_Gaynorbut you won't be able to use ints descrs, right?20:43
amauryyou will20:44
Alex_Gaynorreally http://paste.pocoo.org/show/505478/ ?20:44
Alex_Gaynorindeed though, int.real.__get__ works20:45
amaurymaybe numpy.number implements the nb_add slot20:46
Alex_Gaynorhttp://paste.pocoo.org/show/505481/20:46
amauryand return NotImplemented20:46
Action: amaury downloads numpy code20:47
Alex_Gaynoramaury: it's scary, they have their own language thingy for generating C code20:48
amauryI know20:48
amauryAlex_Gaynor: are you describing pypy?20:49
amaury:-P20:49
Alex_Gaynor:D20:49
gutworth"let the one who hasn't invented their own language cast the first stone"20:49
Alex_Gaynorgutworth: RPython isn't a language, it's a set of graph constraints20:50
Alex_Gaynoramaury: I came up with http://paste.pocoo.org/show/505475/ but descrs from bases[1:] don't work, because they fail the type check because RPython doesn't have multiple inheritance (Except via mixins)20:52
lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving20:53
amauryAlex_Gaynor: it makes sense however20:55
Alex_Gaynoramaury: yes, this is enough for what I need :)20:55
amauryW_C does not contain W_B, how could it run W_B descriptors?20:55
Alex_Gaynordo you think it's reasonable to commit?20:56
amauryI'm sure numpy does the same20:56
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) joined #pypy.20:57
amauryplease don't use *__bases20:57
amauryI'd prefer having __base a tuple of typedefs20:57
Alex_Gaynorso you suggest, just pass a tuple if you want more than one?20:58
amauryyes20:58
Alex_Gaynorso it's tuple, None, or instance20:58
amaurya bit like isinstance20:58
amauryI think it can make it easier to extend TypeDef later20:59
amauryIt's OK to call it typedef.bases, but I would avoid the *args syntax21:01
Alex_Gaynoramaury: http://paste.pocoo.org/show/505491/21:02
Alex_Gaynorthat look ok?21:02
dalke1  _api_cgemv((("c") if (((trans.value) == 2)) else ("t")) if ((trans.value)) else ("n"), (m), (n), (alpha), a.ctypes.data_as(_ct.POINTER(_complex_float)), (m), (x if ((offx.value)) == 0 else x[(offx.value):]).ctypes.data_as(_ct.POINTER(_complex_float)), (incx), (beta), (y if ((offy.value)) == 0 else y[(offy.value):]).ctypes.data_as(_ct.POINTER(_complex_float)), (incy))21:03
dalke1Oops!21:03
dalke1Wrong window.21:03
timonatorthat is pretty21:04
amauryAlex_Gaynor: you must have an indentation issue21:04
k_bx (~k_bx@94.244.19.62) joined #pypy.21:04
Alex_Gaynoramaury: hg diff -w did it :)21:04
amauryplease21:04
Alex_Gaynoryes, I manually fix it before I commit, hg diff -w is good for pasting21:05
amaurynot for reviewing21:05
amaurysubtle logic in base classes manipulation21:06
amaurybut still, how is it useful?21:06
amauryif W_B.typedef descriptors can't be used21:07
amaurydo you really need to add W_B.typedef?21:07
gutworthAlex_Gaynor: yeah, well, python is a set of graph constraints on english...21:07
kkris (~kris@93-82-44-130.adsl.highway.telekom.at) left irc: Quit: Leaving.21:08
Alex_Gaynoramaury: I want it to appear in mro() at app level and work for isinstance, nothing else is important :)21:09
dgl (~dgl@109.86.165.231) joined #pypy.21:10
amauryso, the "B" class does not need to be a W_Something21:10
amauryyou don't need any W_B at all21:11
amaurycan't you just declare a TypeDef("B", ) without a RPython struct?21:11
Alex_Gaynoramaury: in the test you mean?21:12
Alex_Gaynoryes, I could21:12
amauryand in real life21:12
Alex_Gaynorwell, in numpy's case it's int, os there's a calss if I like it or not21:13
amauryno, W_Integer is the main base class for your W_NumpyNumber21:13
amauryanyway, in numpy you cannot create 'numpy.integer' instances21:14
amaurythis class has certainly no storage21:14
dalke1% pypy test_fblas.py21:14
dalke1.EE.EEEFEEEE.E.21:14
dalke1======================================================================21:14
dalke1ERROR: test_dnrm2 (__main__.CBlasTestCase)21:14
dalke1----------------------------------------------------------------------21:14
dalke1Traceback (most recent call last):21:14
dalke1  File "test_fblas.py", line 166, in test_dnrm221:14
dalke1    E(m.dnrm2(x), float((numpy.array([1+1+16+81], "d")**0.5)))21:14
dalke1  File "/Users/dalke/cvses/f2pypy/fblas.py", line 1192, in dnrm221:14
dalke1    return _api_dnrm2((n), (x if ((offx.value)) == 0 else x[(offx.value):]).ctypes.data_as(_ct.POINTER(_ct.c_double)), (incx))21:14
dalke1AttributeError: 'numarray' object has no attribute 'ctypes'21:14
dalke1======================================================================21:14
dalke1ERROR: test_drot (__main__.CBlasTestCase)21:14
dalke1----------------------------------------------------------------------21:14
amaurysizeof = sizeof(object)21:14
dalke1 (Adium@c-2ec2a567-74736162.cust.telenor.se) left #pypy.21:15
amaurydalke1: please use paste.pocoo.org21:15
Alex_Gaynoramaury: indeed I suppose21:16
Alex_Gaynoramaury: http://paste.pocoo.org/show/505496/21:18
amauryyes, looks better21:19
amauryw_b_typedef could contain methods21:19
amaurybut those would need to be RPython standalone functions21:19
Alex_Gaynorright21:19
amaurythat starts with "isinstance(w_self, W_Something)"21:19
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep21:19
Alex_Gaynortrue, do you think I should, or is it fine as is?21:20
amauryjust one to show the intent21:20
mitchellh (~mitchellh@c-69-181-107-107.hsd1.ca.comcast.net) joined #pypy.21:24
Alex_Gaynoramaury: http://paste.pocoo.org/show/505497/21:25
amauryyou added W_B again :-)21:26
Alex_Gaynoramaury: yes, because I wanted to have an instance of something that wasn't a W_A to pass to the method on it21:27
amauryah :-)21:27
amauryok, makes sense21:27
amauryAlex_Gaynor: LGTM21:29
kenaan12alex_gaynor default 1190b293e995c7 15/pypy/: Allow very basic multiple inheritance of app-level types in RPython.  Thanks to amaury for the review/suggest...21:30
Alex_Gaynoramaury: thanks!21:30
amaurythe double Python / C inheritance is not easy21:31
Alex_Gaynoramaury: oops, broke some cpyext stuff it seeems21:32
amauryI was going to say that it would be a pain for cpyext to support it21:32
amaurybut I don't see how you broke it21:32
amaury...or maybe I do21:33
amauryand fear some @specialize.memo magic21:33
stakkars (~tismer@213-65-251-34-no35.business.telia.com) joined #pypy.21:33
Alex_Gaynoramaury: well, there's something that accesses typedef.base, should I just use bases[0]?21:33
Shinata (~John@osbk-4db17044.pool.mediaWays.net) left irc: Ping timeout: 248 seconds21:33
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/694 [12hakanardo, jit-refactor-tests]21:33
gtaylor (~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net) left irc: Remote host closed the connection21:34
amauryhum21:34
amaurysomehow I need to get the most solid_base21:34
fzzzy (~donovan@76-198-130-19.lightspeed.mtvwca.sbcglobal.net) left irc: Quit: fzzzy21:35
Shinata (~John@osbk-4db17044.pool.mediaWays.net) joined #pypy.21:35
derdon (~derdon@pD9E1C57D.dip.t-dialin.net) left irc: Remote host closed the connection21:36
Alex_Gaynorhmm21:36
Alex_Gaynoramaury: do you want me to revert it, since it breaks cpyext tests/translation, or do you see a way to fix it?21:38
amauryAlex_Gaynor: you may use bases[0] for the moment21:38
Alex_Gaynorok21:38
Alex_Gaynor:)21:38
amaurywe'll add exposition of numpy types to cpyext another day21:39
Alex_Gaynoryes indeed, thanks21:39
amauryEven if this day may come soon21:39
amaurygiven the number of people who wanted support for a the C API of numpy21:40
Alex_Gaynoramaury: hmm, seems my patch did break something: http://paste.pocoo.org/show/505504/21:40
amaurymultiple inheritance broke single inheritance?21:43
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving21:43
Alex_GaynorI hope not, test_typedef all passes :/21:44
amauryAlex_Gaynor: is stdtypedef.issubtypedef broken?21:44
Alex_Gaynornope, issubtypedef(bool_typedef, int_typedef) returns True as expcted21:44
amauryOK21:44
amauryisn't object_typedef added to all types?21:46
Alex_Gaynorsomething in the multimethod code was broken I think :/21:46
Alex_GaynorW_BoolObject._mm_add_intS0 just raises a not implemented error21:47
Alex_Gaynorpff, all the multimethod tests pass as well :(21:48
amauryin multimethod.py21:52
amaurythere is a "if 0:" that you can change21:53
amauryto get the code of mm_add_intS021:53
Alex_Gaynoramaury: I'm sure this will be a mess, but here goes!21:53
Alex_Gaynorthanks21:53
ramusara (~ramusara@220.156.210.236.user.e-catv.ne.jp) left irc: Quit: Leaving...21:53
Alex_Gaynoramaury: hmm, that method isnt' run21:54
amaurybecause Installer = InstallerVersion121:54
asabil (~asabil@131.246.16.62.customer.cdi.no) left irc: Ping timeout: 240 seconds21:55
amauryat the bottom of the file21:55
Alex_GaynorI found where Installer1 does compile and stuck a print before it21:56
fzzzy (~donovan@nat/mozilla/x-fiozokdwxhiiiqil) joined #pypy.21:56
Alex_Gaynorhttp://paste.pocoo.org/show/505509/21:56
amaurytwo functions have the same name??21:59
amaury_mm_add_intS0__W_IntObject21:59
amauryof course, the second one calls bool2int21:59
Alex_Gaynoramaury: if you'd like me to print more info let me know :)21:59
amauryno, I don't understand mm22:00
Alex_GaynorI'm guessing one version goes on ints and the toher bools though22:00
amauryah ok22:00
Alex_Gaynoramaury: a version with target class http://paste.pocoo.org/show/505514/22:02
Alex_Gaynorwhere I assume target is what the method gets put on22:03
Varriount_ (~Varriount@pool-96-255-203-197.washdc.fios.verizon.net) joined #pypy.22:03
amaurynote that bool2int is never called for the first argument22:04
amaurybut I fail to see why how your patch changed it22:05
Alex_Gaynorme neither :/22:05
Alex_Gaynorgutworth: you don't by chance understand multimethods do you?22:05
amauryAlex_Gaynor: what is your test?22:06
Alex_Gaynoramaury: objspace/std/test/test_boolobject.py:test_bool_ops22:07
pjenveyis there an easy way to toggle a value in sys.flags for an app level test22:12
amauryno22:14
amaurysys.flags is filled at interpreter startup, and is immutable22:14
asabil (~asabil@131.246.16.62.customer.cdi.no) joined #pypy.22:14
amauryanyway, this would not change the behaviour of the interpreter22:14
amaurywhich one do you want to change?22:14
pjenveybytes_warning 22:15
pjenveyjust to test that str(b'') would emit when one toggled22:15
amauryah, 2.7 code ;-)22:16
pjenveyit's still around in 3.x 22:16
pjenveyi don't want to waste too much time on it but i figured i'd at least give it a shot =]22:17
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection22:17
amaurysys.flags = type(sys.flags)(flags)?22:17
Alex_Gaynordidn't that used to crash CPython?22:17
pjenveythat didn't work22:17
pjenvey'no attribute flags' i think22:18
amauryAlex_Gaynor: yes, CPython forbids the creation of flagtypes22:18
Varriount_ (~Varriount@pool-96-255-203-197.washdc.fios.verizon.net) left irc: Quit: Error, please reboot universe from start22:18
amaurypjenvey: are you at applevel?22:19
cpets (c358b60a@gateway/web/freenode/ip.195.88.182.10) left irc: Ping timeout: 265 seconds22:19
pjenveyinterp =[22:19
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) left irc: Quit: Leaving22:19
Alex_Gaynoramaury: I think issubtypedef now basically returns True for everything22:23
Alex_Gaynorhah, yes I fixed it :)22:24
kenaan12alex_gaynor default 116ccba9d4e2b8 15/pypy/objspace/std/stdtypedef.py: Fix for various ops on bools.22:27
kenaan12alex_gaynor default 111428f8ab1883 15/pypy/: fix for a typo and cpyext22:27
gutworthfun with multimethods?22:29
Alex_Gaynorgutworth: Yes.22:30
Alex_Gaynormultimethods, multiple inheritance, multiple brain aneurysms... you know whatever22:30
gutwortharen't you a little young for brain aneuryms22:31
Alex_Gaynorgutworth: yes, but all of humanity is a little young for multimethods and multiple inheritance22:31
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/1831 [12hakanardo, jit-refactor-tests]22:33
amauryCPython has a release schedule for 2.8!22:34
amaury2.8 final: Never22:34
Alex_Gaynoramaury: and a release manager!22:34
amauryyes, I even volunteered22:34
amaurybut they did not want me22:34
Alex_GaynorCardinal Biggles is just a more qualified choice, we're very sorry.22:35
fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com22:35
Alex_Gaynoramaury: do TypeDef objects exist at runtime, or compile time only?22:36
amaurythey exist as frozen objects22:37
Alex_Gaynoryay PBCs :)22:38
amaurythink of them as the equivalent of the PyTypeObject struct22:38
Alex_Gaynoramaury: ok, just realized that the tuples need to be lists :)22:39
kenaan12alex_gaynor default 1162bc56457861 15/pypy/interpreter/typedef.py: This needs to be a list ot be RPython22:39
pjenveyi almost replied to that pep to ask them they chnage "the migration path from 2.7 is python3" to "path from 2.7 is pypy"22:39
Alex_Gaynorpjenvey: pypy3k!22:40
pjenveyo yea22:40
amaury2.8 release manager is the unexpected one22:42
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/13222:45
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/70722:45
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/93622:45
lambacck (~chris@d24-150-124-118.home.cgocable.net) joined #pypy.22:47
mat^2 (~mathias@212.130.113.35) joined #pypy.22:54
Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) left irc: Read error: Connection reset by peer22:55
Niedar (dfgdfgssdf@host-173-230-2-133.vanodod.clients.pavlovmedia.com) joined #pypy.22:55
k_bx (~k_bx@94.244.19.62) left irc: Ping timeout: 255 seconds22:56
antocuni (~antocuni@c-c4c4e055.1321-1-64736c11.cust.bredbandsbolaget.se) left irc: Ping timeout: 260 seconds23:02
asabil (~asabil@131.246.16.62.customer.cdi.no) left irc: Ping timeout: 240 seconds23:09
mat^2 (~mathias@212.130.113.35) left irc: Read error: Connection reset by peer23:12
mat^2 (~mathias@212.130.113.35) joined #pypy.23:13
bbot24Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/93623:15
Alex_Gaynorstakkars: ping23:16
bbot24Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/13223:17
rguillebert (~rguillebe@fec76-1-78-234-124-105.fbx.proxad.net) left irc: Ping timeout: 240 seconds23:19
maxyz (~maxy@186.23.74.228) left irc: Ping timeout: 240 seconds23:25
maxyz (~maxy@186.23.74.228) joined #pypy.23:26
rguillebert (~rguillebe@fec76-1-78-234-124-105.fbx.proxad.net) joined #pypy.23:32
overminder (8f59be24@gateway/web/freenode/ip.143.89.190.36) joined #pypy.23:37
whitelynx (~whitelynx@li117-47.members.linode.com) left irc: Quit: Ex-Chat23:41
stakkarsAlex_Gaynor: pong ?23:56
--- Thu Nov 10 201100:00

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