#pypy IRC log for Monday, 2012-01-16

fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) left irc: Ping timeout: 240 seconds00:11
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) joined #pypy.00:14
cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) joined #pypy.00:16
cocoatomo (~cocoatomo@p2118-ipbf901souka.saitama.ocn.ne.jp) left irc: Remote host closed the connection00:16
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.00:21
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.00:30
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 252 seconds00:38
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds00:55
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.01:05
cocoatomo (~cocoatomo@157.82.5.148) joined #pypy.01:06
cocoatomo (~cocoatomo@157.82.5.148) left irc: Remote host closed the connection01:07
ThomasWaldmannttps://bitbucket.org/mchaput/whoosh/issue/207/with-patch-pypy-and-whoosh-too-many-open solved. just in case someone else is having "out of files" issues: do not just look for open() and file(), but also for mmap()!01:11
nedbat (~nedbat@python/psf/nedbat) joined #pypy.01:12
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds01:19
mfoord_ (~anonymous@python/psf/voidspace) joined #pypy.01:23
doloexit01:23
dolo (~jfysh@ppp59-167-188-51.static.internode.on.net) left irc: Quit: ircII EPIC5-1.1.2 -- Are we there yet?01:23
mfoord (~anonymous@python/psf/voidspace) left irc: Ping timeout: 240 seconds01:25
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.01:26
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host01:26
mfoord (~anonymous@python/psf/voidspace) joined #pypy.01:26
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.01:27
mfoord_ (~anonymous@python/psf/voidspace) left irc: Ping timeout: 240 seconds01:29
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/20501:31
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/3301:35
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/77701:52
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/192602:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/67902:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/33902:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/32902:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/67702:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/119602:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/86002:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/151302:00
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/79002:00
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection02:12
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord02:19
fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) joined #pypy.02:23
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Ping timeout: 244 seconds02:58
Kaskuka (~John@osbk-d9bf2242.pool.mediaWays.net) left irc: Ping timeout: 240 seconds03:04
Kaskuka (~John@osbk-4db163b1.pool.mediaWays.net) joined #pypy.03:04
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/101403:12
dracman (~draco@212.255.21.252) left irc: Ping timeout: 252 seconds03:19
dracman (~draco@212.255.29.213) joined #pypy.03:25
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.03:31
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.03:40
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 252 seconds03:45
Nick change: forrestv -> forrestoshi03:49
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/192604:13
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds04:27
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.04:31
tmu (~tmu@evil.oulu.nixu.fi) left irc: Ping timeout: 248 seconds04:33
tmu (~tmu@evil.oulu.nixu.fi) joined #pypy.04:34
mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 260 seconds04:37
nettok (~quassel@190.149.184.238) left irc: Ping timeout: 260 seconds04:55
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep.04:59
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.05:10
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Client Quit05:12
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/86005:18
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/151305:19
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/67705:30
anish_ (anish@nat/redhat/x-fmpltnxpvuwwxlhc) joined #pypy.05:35
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 260 seconds05:35
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/119605:36
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/67905:46
Justin_ (~Justin@114-34-52-12.HINET-IP.hinet.net) joined #pypy.05:50
Justin_hey guys, just wondering if there's any known issues running pypy with jinja2? I am able to get the setup running but performance is degraded significantly05:55
Justin_I ran a few sampling profiles, numbers look like this05:56
Justin_jinja2 (350ms using pypy, 35ms using python)05:57
Justin_*cpython05:57
Justin_django (700ms using pypy, 5s using cpython)05:58
Justin_so using django's built in template engine, pypy has significant improvement05:58
Justin_but using jinja2, performance is somehow degraded significantly05:58
Justin_any ideas?05:59
DasIch (~DasIch@p3E991405.dip.t-dialin.net) left irc: Quit: DasIch06:15
Arach (~arach@128-75-174-161.broadband.corbina.ru) left irc: Ping timeout: 260 seconds06:26
mikefc__ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) joined #pypy.06:27
mikefc_ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) left irc: Ping timeout: 258 seconds06:28
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.06:37
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) joined #pypy.06:45
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/79006:46
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/33906:48
mat^2 (~mathias@212.130.113.35) left irc: 06:50
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.07:08
Justin_guess its too early of the day to be asking questions07:11
Justin_:\07:11
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection07:30
mikefc__you can try07:35
fermianyon (~lane@c-71-229-21-197.hsd1.al.comcast.net) left irc: Read error: Connection reset by peer07:42
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/32907:43
Justin_i tried07:50
Da_BlitzJustin_: iirc jinja2 has cpython specifc hacks07:50
Justin_don't want to repeat it07:51
Da_Blitzand uses c libs07:51
Justin_but basically i have slower performance result mixing jinja2 with pypy07:51
Justin_Da_Blitz: got a link?07:51
Da_Blitzi would assume it disables these hacks when not running on cpython07:52
Da_Blitzno, it comes up every now and again07:52
Da_Blitzdidnt anwser earlier as i cant remeber the exact issues that cause it07:52
Justin_oh i see07:52
Da_Blitzthere may be a bug on the bug tracker07:52
Da_Blitzor somthing on the compatibility wiki if you want to take a closer look at it07:52
Da_BlitzAFAIK its not a pypy issue07:53
Justin_i checked compatibility wiki already07:53
Justin_under jinja2 it just says compatible07:54
Justin_not much information07:54
Da_Blitzi would recomend idling, someone may clarify later07:54
Justin_hmm ok i will hang around for a few more hours07:54
Justin_i am gonna try and deploy this to my ubuntu box meanwhile07:54
Justin_i think there's reports saying pypy being slow on osx07:55
Justin_i did fine-tune some configs but performance didn't really change07:55
Justin_but jinja2 (350ms using pypy, 35ms using cpython) and django (700ms using pypy, 5s using cpython)07:56
Justin_these numbers really suggest something is not mixing well between jinja2 and pypy07:57
Da_Blitzmost development is done on linux, so any help on other platforms is always apreciated07:57
Justin_they both increased performance significantly alone07:57
Da_Blitzmost of the devs are in the EU so they should be on later07:57
mikefc__pypy runs fine on OSX.08:01
mikefc__speedwise08:01
Justin_it probably does if you have the right set of configurations08:04
mikefc__i haven't translated it myself. I'm just using the nightly build08:05
Da_Blitzso you are basing pypy being slow purely based on jinja2 being slow?08:05
Da_Blitzor do you have other benchmarks that are also significantly slower?08:06
Justin_no the issue is only when I mix the two08:06
Justin_i created a sample test, generating 10x10000 tables08:06
Justin_the result is like i said earlier08:07
Justin_if i use django's built in template engine, it takes 5s to render, using pypy it takes 700ms08:07
Justin_so improvement is quite significant08:07
Justin_however if i run the same test using jinja2 template engine, it takes 350ms to render using pypy and 35ms to render using cpython08:08
Da_Blitzwhich is exactly what i would expect on all platforms08:08
Justin_so jinja2 just works better with cpython? 08:09
Justin_i am not sure how it works behind the scenes08:09
Da_Blitzas i said earlier, it uses a whole bunch of cpython specifc hacks for speed08:09
Da_Blitzthese hacks dont work on pypy08:09
Da_Blitzpypy also only speeds up python code08:09
Justin_but 10x slower?08:09
Justin_i would expect same or slightly better performance08:10
Da_Blitzcpython extensions are done via a compatability layer which may slow things down08:10
Da_Blitzthe thing with expectations is they are not always correct08:11
Da_Blitzalways better to mesure08:11
Justin_hmm ok i think i am going to profile pypy + jinja2 a bit more in depth08:12
Justin_maybe with cprofile08:12
Justin_s08:12
Justin_see where the actual bottlenecks are coming from08:12
mikefc__cprofile isn't that great for pypy profiling08:12
Justin_maybe not the numbers but actual queries 08:12
mikefc__fair enough. 08:13
mikefc__I don't know why cprofile is slower. http://stackoverflow.com/questions/7063508/pypy-significantly-slower-than-python08:13
mikefc__but it's "known"08:13
Justin_right i am aware of this actually08:14
mikefc__OK. Just making sure :)08:14
mikefc__ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) left irc: Quit: Page closed08:14
fijalhi08:26
fijalJustin_: can I have the template?08:29
Justin_sure& its only a for loop though08:30
Justin_hang on08:30
Justin_this is the template08:32
Justin_http://pastebin.com/meyX2L2k08:32
Justin_this is the view08:33
Justin_http://pastebin.com/XLa0ThaD08:33
bivab (~david@fwstups.cs.uni-duesseldorf.de) joined #pypy.08:39
Justin_you're not a troll are you :D08:40
fijalme?08:42
fijalJustin_: where do I import stuff from?08:43
fijalImportError: cannot import name 'render_to_response'08:45
fijalJustin_: ?08:45
Justin_....08:47
Justin_this is built in django08:48
kenaan12bivab arm-backend-2 116b5ffc5a9e85 15/pypy/jit/backend/arm/: add (set|get)_interiorfield_raw methods08:48
kenaan12bivab arm-backend-2 11a317879ec998 15/pypy/jit/backend/arm/: print some information when hitting a missing operation in the backend08:48
fijalJustin_: yeah, ok, can you paste the entire thing and not leave me guessing?08:49
fijalJustin_: I would like to be able to run it08:50
fijalhakanardo: ping08:50
Justin_from django.shortcuts import render_to_response08:50
Justin_from django.template.context import RequestContext08:51
Justin_i think thats about it08:51
fijalwell08:52
fijalwhat do I pass as request?08:52
fijalJustin_: seriously this is not really a "runnable benchmark"08:53
fijalideally I want a command line tool that I can run like this:08:53
fijalpython x.py08:53
fijaland measure time08:53
fijalnow I have to write main loop on my own and figure out how to pass django request08:53
fijalImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.08:56
fijalJustin_: etc etc.08:56
fijalJustin_: why do you assume I know how to use django?08:56
Justin_here08:58
Justin_python -c "from struct import pack; print  pack('5b', (41*len('99')),08:58
Justin_pow(8,2)+20, 4900**0.5, range(78)[-1], 10)"08:58
Justin_run that in command line you'll get your answer08:58
fijalJustin_: look, you come here complaining that something renders slowly09:00
fijalit's relatively expected that I can potentially help you, but seriously, not by reading django manual09:00
fijalI have much better stuff to do than read django manual now09:00
fijaleither you can cooperate and provide a slow standalone program or you don't09:01
fijal"jinja2 rendering is slow" is a tad misleading09:01
fijalbecause you didn't even bother isolating jinja2 rendering09:01
fijalyou still use pieces of django that I have no idea how work09:01
Justin_ok sorry I might've' come off too strong there09:01
Justin_but problem is, what you're asking is matter of rendering all the tables, it doesn't have anything to do with benchmarking09:02
fijalJustin_: seriously, if you come up with a command line tool that I can run, I can help you09:02
fijalhow do I know?09:02
fijaland how do you know in the first place?09:02
fijalhow do you know it's not add filter which is jinja non-default one is not at fault?09:02
fijalit requires quite some forensics to figure out what you really want09:02
Justin_point is to install the right environments and just test from there09:02
fijalI have no idea09:03
fijalif you tell me how to achieve that, I can probably do that09:03
fijalcommandline is better than on server btw09:03
Justin_ok don't worry about it, thanks for offering to help anyway09:04
mher (~Adium@tethras5.ucd.ie) joined #pypy.09:07
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) left irc: Ping timeout: 252 seconds09:09
fijal_ (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy.09:25
fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds09:25
Nick change: fijal_ -> fijal09:25
arigato (~arigo@89-40.5-85.cust.bluewin.ch) joined #pypy.09:31
rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) joined #pypy.09:33
squiddy (~squiddy@g224197249.adsl.alicedsl.de) joined #pypy.09:36
matthp (c1a9466d@gateway/web/freenode/ip.193.169.70.109) joined #pypy.09:36
arigatohi09:39
fijalhi armin09:39
fijalarigato: I have a crazy idea, want to listen?09:40
fijal:)09:40
arigato:-)09:40
arigatoyes09:40
matthp (c1a9466d@gateway/web/freenode/ip.193.169.70.109) left irc: Client Quit09:40
fijalso, what would happen if we do the same thing as we're doing for bridges (short preamble inlining) for call_assembler?09:40
fijalwould we be able to jump directly to the optimized loop and maybe not even allocate the frame?09:40
Arach (~arach@128-75-182-202.broadband.corbina.ru) joined #pypy.09:41
arigatoI don't know09:42
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:43
arigatosorry, that's about as much as I can say right now09:44
fijalok09:44
fijalanyway, it's a food for thought for now :)09:44
arigato:-)09:44
fijalI don't know either, but it sounds like a good way to approach it09:44
fijalto inline the short preamble into call_assembler09:44
arigatowhat occurs if the guards from the short preamble fail?09:45
fijalwe compile a bridge to the long preamble?09:46
fijalsame as with bridges no?09:47
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy.09:47
fijalarigato: note that as for numpy most of those guards are for example completely redundant but we don't have enough info yet to remove them09:47
fijalarigato: I guess we allocate the frame and then inline short preamble09:48
fijalwhich means the frame will be virtual09:48
fijalnormal things occur in case of the bridge to the long preamble09:48
arigatofijal: I mean of course that the short preamble is inlined in the caller in what you said, so if a guard fails there, it will trigger recompilation in the caller, which is potentially bad09:48
fijalrecompilation or a compilation of bridge?09:49
Action: arigato doesn't get the question09:49
fijalbecause it'll (ideally) start at the guard and compile just a bridge to the long preamble of the callee09:49
fijalno?09:50
arigatook, I guess we're talking about a different solution09:50
fijalok09:50
fijalsorry for the typical fijal-style change of topics, but is list(generator) supposed to be fast?09:50
arigatowhat did you mean above: " (short preamble inlining) for call_assembler"  ?  inlining the short preamble where?09:50
fijalso you trace until the point of the moment where you allocate frame and do call assembler09:51
antocunihi09:51
fijalthen instead, you allocate frame and inline the short preamble of a callee09:51
fijaland then call_assembler to the actual loop09:52
arigatoyes, so what I'm saying is that you're adding potentially more guards to the *caller*, which may fail09:52
fijalyes, but they'll only start tracing for a bit09:53
arigatowhy?09:53
fijaland compile a bit that goes to the long preamble09:53
arigatothat's what I don't get09:53
arigatoif they fail, you compile a bridge that will also contain call_assembler and the whole rest of the caller09:53
fijalright09:54
fijalok09:54
fijalarigato: yes, that's potentially bad09:58
mikefc_ (~mikefc@60-242-240-196.static.tpgi.com.au) joined #pypy.10:06
dmarkey (~dmarkey@dmarkey.xen.prgmr.com) joined #pypy.10:06
nanonyme_ (nanonyme@unaffiliated/nanonyme) joined #pypy.10:07
mikefc (~mikefc@60-242-240-196.static.tpgi.com.au) got netsplit.10:07
PiotrSikora (~none@nginx/adept/piotrsikora) got netsplit.10:07
dmarkey_ (~dmarkey@dmarkey.xen.prgmr.com) got netsplit.10:07
_root_ (~Scalable@li252-14.members.linode.com) got netsplit.10:07
nanonyme (nanonyme@unaffiliated/nanonyme) got netsplit.10:07
__class__ (~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net) got netsplit.10:07
jml (~jml@canonical/launchpad/jml) got netsplit.10:07
magcius (magcius@unaffiliated/magcius) got netsplit.10:07
Nick change: mikefc_ -> mikefc10:07
Possible future nick collision: mikefc10:07
__root__ (~Scalable@li252-14.members.linode.com) joined #pypy.10:07
_class_ (~class@99-105-56-217.lightspeed.sntcca.sbcglobal.net) joined #pypy.10:08
magcius (magcius@unaffiliated/magcius) returned to #pypy.10:08
PiotrSikora (~none@2001:41d0:2:936d::1) joined #pypy.10:08
Nick change: PiotrSikora -> Guest3840810:09
Nick change: __root__ -> _root_10:10
Possible future nick collision: _root_10:10
Nick change: _class_ -> __class__10:12
Possible future nick collision: __class__10:12
jml (~jml@canonical/launchpad/jml) got lost in the net-split.10:18
dmarkey_ (~dmarkey@dmarkey.xen.prgmr.com) got lost in the net-split.10:18
nanonyme (nanonyme@unaffiliated/nanonyme) got lost in the net-split.10:18
kenaan12arigo extradoc 11c36311962789 15/sprintinfo/leysin-winter-2012/planning.txt: Planning session for today10:21
kenaan12arigo extradoc 11588db0e8396b 15/: merge heads10:22
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.10:33
antocunifijal: do you know if it's possible to merge a pull request inside a branch?10:34
antocunie.g., I would like to merge the jvm-improvements inside its own branch, so we can run the tests before merging it to default10:35
Action: antocuni would like not to have to play with transplant :-)10:35
ciphergoth (~paul@host238.lshift.net) joined #pypy.10:37
ciphergothWith the sandbox, function calls like os.write are deferred to the controlling process10:40
ciphergothIs there an easy way for me to add to the list of deferred functions?10:40
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.10:51
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host10:51
mfoord (~anonymous@python/psf/voidspace) joined #pypy.10:51
jml (~jml@mumak.net) joined #pypy.10:52
jml (~jml@mumak.net) left irc: Changing host10:52
jml (~jml@canonical/launchpad/jml) joined #pypy.10:52
arigatociphergoth: to add what?10:53
ciphergotharigato: currently, if in my sandbox I try to call os.write(), that gets turned into a message for the controlling process.  I'd like the same to be true of mymodule.foo()10:54
arigatowhere mymodule is a pure Python module, ideally?10:54
matthp (c1a9466d@gateway/web/freenode/ip.193.169.70.109) joined #pypy.10:55
arigatothen no, not easily; you need to write some hack like  def foo(string): os.write(42, string + '\n')10:55
arigato(and I really mean 42 literally)10:56
matthpfrom last night's logs: "<justinpeel> hmm.. np.array([[1,2],[3,4]]).prod(1) = array([2.0, 0.0]) in numpypy. should be array([2, 12])"10:56
arigatoto improved the situation we could add "__pypy__.sandboxexternal(*args)"10:56
arigatofor this very purpose10:56
matthpbug!  _reduce_ufunc_impl() in interp_numarray.py should accept an identity argument!10:57
arigato(use -42 instead of 42 if you are concerned about conflicts)10:58
matthparigato: sorry, bad lag here, didn't mean to cut you off.10:58
arigatomatthp: no problem, feel free to cut me off.  we're used to have two conversations in parallel10:59
matthpfijal: ping10:59
matthp (c1a9466d@gateway/web/freenode/ip.193.169.70.109) left irc: Quit: Page closed11:00
ciphergotharigato: I note that you're respecting the types of arguments to os.write11:07
ciphergothsadly it only returns an integer, which is rather limiting11:07
arigatoyes11:07
arigatociphergoth: you can use something else, like os.read() which returns a string11:08
ciphergothbut then only takes an integer :-)11:08
arigatoyes :-)11:08
arigatoit's all hacks11:08
arigatoe.g. os.listdir() would take a string and return a list of strings11:08
ciphergothI thought about trying to work by simulating a socket connection, but that gets pretty complex11:08
arigatobasically __pypy__.sandboxexternal() could be made to accept any "simple-typed" arguments, and return another "simple-typed" argument11:10
ciphergothI want to trace the sandboxed process outside of it11:10
ciphergothone hit for "pypy sandboxexternal"11:11
arigatowell sandboxexternal() is a name I just came up with11:11
ciphergothah OK11:11
arigatoit's not implemented so far11:11
arigatothe easiest is actually to have it take one string and return one string11:12
ciphergothOK11:12
arigatothen you can do any pickling on top of it11:12
arigatoor marshal.dumps/loads11:13
ciphergothright now it sounds like some sort of evil listdir hack might be the way forward11:13
arigatoyes :-)11:13
arigatorather obscure but yes11:13
ciphergothif there's another function that both takes and returns a string that I can override in a less hacky way that would be great11:14
arigatoos.confstr() has the signature "str->str"11:14
ciphergothaha!11:14
arigatoah, or just os.getenv(key)->str11:14
ciphergothso how does pypy work out what functions to sandbox atm? I guess it's all the non-pure-Python ones11:14
arigatoit's all the ones that include calls to library functions11:15
arigatoand sandboxing actually occurs at the level of the calls to library functions11:15
arigato(as opposed to at the level of the Python wrapper os.listdir())11:15
ciphergoththere's a Python wrapper?11:16
mfoordos.listdir  *is* the python wrapper11:16
ciphergothah there isn't in CPython but maybe there is in pypy?11:17
arigato(ah, use confstr(), not getenv(), because there are other level of wrappers around the latter)11:17
arigatociphergoth: no, there is too in CPython: os.listdir() is a small wrapper around the C libraries11:17
arigato(I also see os.readlink(str)->str)11:18
ciphergothconfused: searching /usr/lib/python2.7/os.py for "listdir" doesn't reveal a function of that name11:18
arigatociphergoth: no, it's a wrapper implemented in C or RPython11:18
arigatoit's still a wrapper because it mainly just calls the C library functions11:19
arigato(it's defined in the posix module, which is imported by "from posix import *" into os.py)11:19
ciphergothah, pypy/rpython/module/ll_os.py11:19
ciphergothso it's where you call self.llexternal that we hit the wrapper11:20
legogris (~legogris@c80-217-207-157.bredband.comhem.se) left irc: Ping timeout: 240 seconds11:20
arigatoin the sandbox case, yes, it's self.llexternal() that will ask the outer process what to do instead of doing it itself11:21
arigatobut look at os.readlink() instead of listdir(), it's much simpler11:21
legogris (~legogris@c80-217-207-157.bredband.comhem.se) joined #pypy.11:22
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer11:23
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.11:24
Action: arigato tries to undo the mess in translator/stm in view of the new point of view11:27
ciphergothhmm the code for os_readlink_llimpl doesn't look right11:31
ciphergothit looks like it assumes readlink will return 0 if bufsize is too small11:32
ciphergoththe manual page doesn't seem to say that11:32
ciphergothsorry scratch that I'm talking rubbish11:33
bivab (david@fwstups.cs.uni-duesseldorf.de) left #pypy.11:49
bivab_ (~david@134.99.36.142) joined #pypy.11:49
bivab_ (~david@134.99.36.142) left irc: Client Quit11:49
witulski (~stupsi@134.99.16.26) joined #pypy.11:59
witulski (stupsi@134.99.16.26) left #pypy.11:59
umgeher (~umgeher@unaffiliated/umgeher) left irc: Ping timeout: 255 seconds12:36
lizardo (~lizardo@189.2.128.130) joined #pypy.12:44
khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) joined #pypy.12:49
kenaan12rguillebert py3k 115500c9127aab 15/pypy/interpreter/pyparser/test/test_pyparse.py: Add a failing test for extended attribute unpacking13:05
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds13:05
azanella (~azanella@189.6.80.131) joined #pypy.13:09
azanella (~azanella@189.6.80.131) left irc: Ping timeout: 260 seconds13:14
kenaan12rguillebert py3k 1134ff01570492 15/pypy/interpreter/pyparser/test/test_pyparse.py: Rename the test commited earlier, rewrite tests that should pass.13:18
nedbat (~nedbat@python/psf/nedbat) joined #pypy.13:19
witulski (~stupsi@134.99.16.26) joined #pypy.13:21
Eventh (evenwiik@caracal.stud.ntnu.no) joined #pypy.13:24
kenaan12rguillebert py3k 11851536b685a6 15/pypy/interpreter/pyparser/test/test_pyparse.py: Parsing 0777 should fail on py3k13:25
anish_ (anish@nat/redhat/x-fmpltnxpvuwwxlhc) left irc: Ping timeout: 252 seconds13:28
apanda (~apanda@59.178.210.229) joined #pypy.13:31
apanda (~apanda@59.178.210.229) left irc: Remote host closed the connection13:32
DasIch (~DasIch@p3E991405.dip.t-dialin.net) joined #pypy.13:35
kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) joined #pypy.13:35
bivab (~david@ip-62-143-59-5.unitymediagroup.de) joined #pypy.13:35
anish_ (anish@nat/redhat/x-utnpuiafquccehkh) joined #pypy.13:39
witulski (~stupsi@134.99.16.26) left irc: Ping timeout: 248 seconds13:49
kenaan12arigo stm 1191a0ee8fc4ab 15/pypy/translator/stm/test/: Add a (skipped) test about using the minimark GC.13:59
kenaan12arigo stm 11382a5969beda 15/pypy/: Revert 0782958b144f.  No longer needed.13:59
kenaan12arigo stm 112965c13c2427 15/pypy/: (antocuni, arigo)  Start to refactor the world.  The idea is not to build on RPython threads any more.13:59
anish_ (anish@nat/redhat/x-utnpuiafquccehkh) left irc: Ping timeout: 252 seconds14:00
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.14:01
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) joined #pypy.14:09
anish_ (anish@nat/redhat/x-koeusarsjwzkxuao) joined #pypy.14:13
nettok (~quassel@190.149.184.238) joined #pypy.14:18
nettok (~quassel@190.149.184.238) left irc: Remote host closed the connection14:21
anish_ (anish@nat/redhat/x-koeusarsjwzkxuao) left irc: Ping timeout: 240 seconds14:25
gtaylor (~gtaylor@108-196-160-156.lightspeed.tukrga.sbcglobal.net) joined #pypy.14:30
horieyui (horieyui@222.47.182.195) left irc: Quit: http://www.cnblogs.com/crazyhack14:32
Eventh (evenwiik@caracal.stud.ntnu.no) left irc: Quit: Lost terminal14:33
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection14:33
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.14:35
AlekSi (~AlekSi@85.235.191.82) joined #pypy.14:36
anish_ (anish@nat/redhat/x-jncolakpedvvseof) joined #pypy.14:38
kenaan12arigo stm 117dc69a93d5be 15/pypy/translator/stm/: (antocuni, arigo)  Fix the llstminterp.  Wondering a bit what is its purpose...14:43
Rhy0lite (dje@nat/ibm/x-nqxtecyvgqkpgfrd) joined #pypy.14:49
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord14:55
whitelynx|work (~whitelynx@63.241.75.144) joined #pypy.15:02
alexwillmer (~alexwillm@5ad0d588.bb.sky.com) joined #pypy.15:05
alexwillmerAfternoon all, Is there such a thing as 2to3 but for a PyPy? A script that when run over a .py file warns/suggests replacements of CPython-isms that will be problematic on PyPy15:07
alexwillmerOne example I'm thinking of: x is 0 vs x == 015:09
gutworthyou should never write x == 0 in cpython either15:12
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection15:12
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:13
alexwillmergutworth: I know that, but somebody didn't http://trac.edgewall.org/changeset/c8dceba41b5b23ec6dce1debfb8b828595790cda/jomae15:14
JaRoel (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:15
gutworthessentially all cpython-isms are bad python coding15:15
alexwillmer(That's the link  that corrects it. It wasn't me that spotted it)15:15
alexwillmerWonder if pylint would report x is 015:15
AlekSi (~AlekSi@85.235.191.82) left irc: Remote host closed the connection15:16
ciphergothgutworth: you know this, but you meant " you should never write x is 0 in cpython either"15:17
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Ping timeout: 260 seconds15:18
gutworthindeed :)15:20
mher (~Adium@tethras5.ucd.ie) left irc: Quit: Leaving.15:20
JaRoel (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection15:22
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.15:23
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.15:25
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.15:27
mher (~Adium@tethras5.ucd.ie) joined #pypy.15:28
antocuniwe got tired of code reuse, so we started to reuse also commit messages :-)15:30
antocuni<spam>15:30
kenaan12antocuni stm 11a81e51b21e06 15/pypy/translator/stm/: (arigo, antocuni): fix test_getfield_all_sizes, and make sure we test both the cases of stm_getfield inside and outs...15:30
kenaan12antocuni stm 116b3914441db1 15/pypy/translator/stm/test/test_funcgen.py: (arigo, antocuni): fix test_setfield_all_sizes, and make sure we test both the cases of stm_setfield inside and outs...15:31
kenaan12antocuni stm 1108f6815aba37 15/pypy/translator/stm/test/test_funcgen.py: (arigo, antocuni): fix test_getarrayitem_all_sizes, and make sure we test both the cases of stm_getarrayitem inside ...15:31
kenaan12antocuni stm 11da7457ea38cd 15/pypy/translator/stm/test/test_funcgen.py: (arigo, antocuni): fix test_setarrayitem_all_sizes, and make sure we test both the cases of stm_setarrayitem inside ...15:31
kenaan12antocuni stm 11e7847828c029 15/pypy/translator/stm/test/test_funcgen.py: (arigo, antocuni): fix test_getinteriorfield_all_sizes, and make sure we test both the cases of stm_getinteriorfield...15:31
kenaan12antocuni stm 11a2b3f2c9ea45 15/pypy/translator/stm/test/test_funcgen.py: (arigo, antocuni): fix test_setinteriorfield_all_sizes, and make sure we test both the cases of stm_setinteriorfield...15:31
antocuni</spam>15:31
gutworthhehe, commit message parameterization?15:31
timotimomakes the hg repository compress better15:31
gutworthI think the classic pypy one is "test and fix"15:31
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.15:34
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host15:34
mfoord (~anonymous@python/psf/voidspace) joined #pypy.15:34
ltratt (~ltratt@198.45.112.87.dyn.plus.net) joined #pypy.15:34
stakkars_ (~tismer@82.113.98.207) joined #pypy.15:43
arigatohttp://paste.pocoo.org/show/535680/15:46
rguillebertis it rpython to call str with a W_Unicode object as the parameter ?15:51
stakkars_ (~tismer@82.113.98.207) left irc: Quit: schnarch15:51
timotimorguillebert: if the W_Unicode object has a __str__ method i don't see why it shouldn't?15:52
gutworthno, it's not15:52
stakkars_ (~tismer@82.113.98.207) joined #pypy.15:53
timotimooh, how come?15:53
rguillebertI should call space.something ?15:53
gutworthspace.str15:53
gutworthwhat are you trying to do?15:53
gutworthtimotimo: almost no special methods are rpython15:54
timotimoOK, my mistake then, carry on :)15:54
rguillebertI have a wrapped unicode string that I should unwrap and turn to unicode (in no particular order) 15:54
rguilleberthum15:54
rguillebertturn to str15:54
gutworthwell, you obviously cannot always do that15:55
rguillebertbut I'm not sure that I should get a unicode string in the first place15:55
rguillebertso I'm curing the symptoms more than the disease15:55
alexwillmer (alexwillm@5ad0d588.bb.sky.com) left #pypy.15:55
mher1 (~Adium@tethras5.ucd.ie) joined #pypy.15:55
mher (~Adium@tethras5.ucd.ie) left irc: Read error: Connection reset by peer15:55
rguillebert(I'm working on py3k so there's stuff turned to unicode)15:56
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) left irc: Ping timeout: 245 seconds16:00
squiddy (~squiddy@g224197249.adsl.alicedsl.de) left irc: Read error: Connection reset by peer16:02
anish_ (anish@nat/redhat/x-jncolakpedvvseof) left irc: Quit: Leaving16:02
jnoller (~jnoller@vpn.nasuni.com) joined #pypy.16:05
fijalantocuni: are you still interested?16:07
antocunifijal: in what?16:07
fijalantocuni: in how to deal with merging into branch16:09
antocuniI asked Michal to do it, but if you know an easy way it's always useful to know :-)16:10
fijalyou just close the pull request and pull into a branch?16:14
Alex_Gaynorfijal: last night I was thinking about the same thing (inlining entry into call_assembler)16:14
Alex_Gaynorfijal: I'm not sure it lets you skip allocating frame, but it lets you avoid a bunch of unboxing16:14
fijalarigato: ping?16:16
Alex_Gaynorfijal, antocuni: Any opinion about letting JIT look into _codecs module?16:16
Alex_GaynorATM stuff like str.decode gets lost in that mess before you even run the encoder16:17
arigatofijal: pong?16:17
fijalarigato: can't we merge all traces after call_assembler anyway?16:17
arigatomaybe16:17
fijalbecause call_assembler invalidates all possible caches anyway16:17
fijalAlex_Gaynor: try?16:18
fijalarigato: I agree it's twisting again my arguments, but this is what I (quite subconsciously) was thinking about16:20
Alex_Gaynorfijal: am :)16:20
fijalarigato: well, I won't work on it very soon16:24
stakkars_ (~tismer@82.113.98.207) left irc: Quit: schnarch16:25
bivab_ (~david@ip-62-143-59-5.unitymediagroup.de) joined #pypy.16:25
bivab (~david@ip-62-143-59-5.unitymediagroup.de) left irc: Read error: Connection reset by peer16:25
Nick change: bivab_ -> bivab16:25
fijalAlex_Gaynor: I'm looking at a jinja benchmark that's 3x slower than cpython16:26
fijalit's even very easy16:26
Alex_Gaynorfijal: oh yeah, that's the problem?16:26
lesshastehi16:29
lesshasteI was just looking at the very poor http://attractivechaos.github.com/plb/ 16:29
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) joined #pypy.16:29
lesshasteso I thought I would test some of them using pypy 1.716:29
lesshaste(don't ask why they used a 12 month old pypy)16:29
lesshastetheir tests seem mostly broken16:31
lesshaste./matmul_v1.py: line 7: syntax error near unexpected token `('16:31
lesshaste./matmul_v1.py: line 7: `def matmul(a, b): # FIXME: no error checking'16:31
Alex_Gaynorsounds like it's just missing a shebang line16:31
rguillebertso matrix multiplication doesn't use numpy ?16:31
rguillebertwhich can be counted as 'in the standard library' in the case of pypy :)16:32
lesshasteAlex_Gaynor: doh!16:33
lesshasteAlex_Gaynor: in any case.. I can't get any of the tests to have results anything like they quote16:33
lesshasteAlex_Gaynor: except for sudoko.. where it is clear that pypy just takes some time to warm up16:34
Alex_Gaynoras in the ratio between different impls or absolute?16:34
Nick change: forrestoshi -> forrestv16:34
lesshasteratio16:34
lesshastewell also absolute as my pc must be much slower than theirs16:34
lesshasteand yet I get faster times16:34
lesshasteeven for cpython16:34
lesshastetime ./matmul_v2.py 16:35
lesshaste-9.335833316:35
asmeurer_ (~asmeurer@129.138.218.98) joined #pypy.16:35
lesshasteassuming that is what they really did16:35
lesshasteAlex_Gaynor: just tried dict.. it takes basically no time16:38
lesshastevery weird16:38
bfirsh (u1308@gateway/web/irccloud.com/x-bimfhxsmopzfjqbz) left irc: Remote host closed the connection16:38
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-cfnpvjrrtplwnnkc) left irc: Remote host closed the connection16:38
oal (u4126@gateway/web/irccloud.com/x-jadakdcnvlfonink) left irc: Write error: Connection reset by peer16:38
lesshasteoh I see what they did for dict.. involves running another app to get the input16:39
lesshasteoh.. well actually this is a nice example it seems :) dict_v1.py from https://github.com/attractivechaos/plb/tree/master/dict is very slow in pypy 1.716:42
lesshaste7 seconds in cpython16:42
lesshaste18 seconds in pypy16:42
lesshastetested using file created by https://github.com/attractivechaos/plb/blob/master/ext/genint.c16:43
bfirsh (u1308@gateway/web/irccloud.com/x-ghxvuahtgluskuol) joined #pypy.16:43
lesshastehi bfirsh 16:45
oal (u4126@gateway/web/irccloud.com/x-unpyohqhdbnlojoe) joined #pypy.16:45
fijallesshaste: a combination of slow read and a large dicts that are slow in pypy16:45
lesshastefijal: ok16:46
fijalit's still interesting16:46
lesshasteand sudoko is all about the warm up time, right?16:47
lesshasteit appears to be much faster after a second or two16:47
lesshastein general the tests seems really stupid as they take a second or two to complete16:50
lesshasteunless I am running them wrong16:50
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-veirrgtasauxjhkw) joined #pypy.16:51
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.16:51
kenaan12arigo default 11e244681d320e 15/pypy/rpython/: (antocuni, arigo)  Add support for malloc'ing RPython instances non-movable, just by specifying "_alloc_nonmovable_...16:51
kenaan12arigo stm 1130f56b4fb5ea 15/: hg merge default16:51
kenaan12antocuni stm 11c3ebb4f01089 15/pypy/translator/stm/test/test_transform.py: (arigo, antocuni) fix test which failed after the renaming of stm_become_inevitable16:53
kenaan12arigo stm 11a14e0f148aad 15/pypy/translator/stm/test/test_transform.py: hg merge16:53
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.17:01
antocuni<arigato>: "It looks safe enough" --> Segfault17:01
fijal:]17:01
Action: fijal wants planning!17:02
lesshastefijal: hmm.. matmul_v1 and v2 take about 7 seconds on pypy and 1 second in shedskin .. from https://github.com/attractivechaos/plb/tree/master/matmul (with n = 500 in the source)17:02
arigatofijal: planning session?17:03
arigatoor what do you mean?17:03
Alex_Gaynorarigato: planning.txt, people who aren't at the sprint like reading it :)17:04
fijalarigato: I wand planning file :)17:04
fijallesshaste: make sure those arrays are both float then it'll go faster17:04
fijalright now it's a combination of int and float17:04
arigatofijal: we checked in one17:04
fijaluh missed that17:04
fijallesshaste: 7s or 0.7s?17:06
lesshastefijal: pypy seems 7 times slower17:07
lesshastefijal: 7s for pypy, 1s for shedskin17:08
fijallesshaste: how old is your pypy?17:08
lesshaste1.717:08
fijalah17:08
fijalwe merged new cool stuff17:08
fijalit's much faster now17:08
fijalthere is absolutely no point in running benchmarks with such an old version :)17:08
lesshastehttp://buildbot.pypy.org/nightly/trunk/pypy-c-jit-latest-linux.tar.bz2 ?17:09
fijalyeah17:09
lesshastefijal: 2 seconds :)17:10
lesshastemaybe the warm up time is the problem17:10
lesshasteI'll increase the matrix size17:11
fijallesshaste: run it few times17:13
fijallesshaste: seriously it's 0.7s on my laptop17:14
fijalit's not 2x faster17:14
lesshastetry matmul_v1.py with n = 80017:14
lesshastetime ~/Desktop/pypy-c-jit-51333-eb0269c21eec-linux/bin/pypy ./matmul_v1.py17:14
fijal2s17:14
lesshastereal0m6.620s17:14
lesshastenow try shedskin17:14
fijalwhat's your os?17:14
lesshastetime ./matmul_v117:15
lesshastereal0m3.186s17:15
fijalI don't have it and I'm leaving for dinner17:15
lesshasteubuntu.. but my computer is slow17:15
lesshastean oldish amd computer17:15
kenaan12antocuni stm 111aa99f2f035f 15/pypy/: (arigo, antocuni): start to write the RPython level interface for using transactions in rlib/rstm.py.  Move the comp...17:15
kenaan12antocuni stm 11f19ffa0b7bb3 15/pypy/: (arigo, antocuni): rename _rffi_stm.* to _rffi_stm.stm_* and rstm.stm_* to rstm.*17:15
lesshastethere is a big speed difference between v1 and v217:15
lesshasteI'll retry dict with the latest pypy while you dine :)17:15
kenaan12alex_gaynor default 11af6b237eaecf 15/pypy/module/pypyjit/policy.py: allow inlining into _codecs, makes simple decoding ~3x faster17:16
kenaan12alex_gaynor default 118688ce42472e 15/pypy/rpython/: merged upstream17:16
lesshasteime cat test.dict |~/Desktop/pypy-c-jit-51333-eb0269c21eec-linux/bin/pypy ./dict_v1.py17:16
lesshastereal0m10.590s17:16
lesshastetime cat test.dict |./dict_v1.py17:17
lesshastereal0m7.053s17:17
lesshasteso in the first case pypy is slower than shedskin and in the second it is slower than cpython17:18
kenaan12arigo stm 11e2645247a9c2 15/pypy/: (antocuni, arigo) Move CompiledSTMTests to its own file in translator/stm/test/support.py.17:19
lesshastebut there is something fishy about the matmul example as v1 and v2 have very different performances17:19
lesshastefijal: bon appetit17:20
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.17:27
kenaan12arigo stm 11dbadc138e9b5 15/pypy/: (antocuni, arigo)  Add an integration test to test_rstm.py: really call rstm.perform_transaction() in a C-compiled test.17:29
mher1 (~Adium@tethras5.ucd.ie) left irc: Quit: Leaving.17:30
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) joined #pypy.17:35
antocunigood, today I and armin added 642 lines of code, but removed 55917:35
antocuninot too bad :-)17:35
Action: mattip looking at axisops bug. 17:36
oal (u4126@gateway/web/irccloud.com/x-unpyohqhdbnlojoe) left irc: Remote host closed the connection17:37
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-veirrgtasauxjhkw) left irc: Read error: Connection reset by peer17:37
bfirsh (u1308@gateway/web/irccloud.com/x-ghxvuahtgluskuol) left irc: Remote host closed the connection17:37
mattipbug with a.prod(1) is not an issue with identity. 17:37
woyna (woyna@79.133.200.48) joined #pypy.17:38
bfirsh (u1308@gateway/web/irccloud.com/x-zthszjvtbgvwqwvt) joined #pypy.17:39
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Read error: Operation timed out17:40
oal (u4126@gateway/web/irccloud.com/x-vtujjnjpajthapsi) joined #pypy.17:43
ltratt (~ltratt@198.45.112.87.dyn.plus.net) left irc: Quit: using sirc version 2.211+KSIRC/1.3.1217:43
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.17:44
bivab (~david@ip-62-143-59-5.unitymediagroup.de) left irc: Quit: bivab17:45
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-ywjjhaqqlviyrqlw) joined #pypy.17:45
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.17:45
khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) left irc: Quit: Leaving17:46
mattipfijal: Your use of first_line is even more clever than my first analysis led me to believe. very cool.17:53
kenaan12arigo stm 111e52821ea7bc 15/pypy/rlib/test/test_rstm.py: (antocuni, arigo)  Test (maybe) for inevitable transactions.17:56
kenaan12arigo stm 11f565b7971e14 15/pypy/: (antocuni, arigo)  A way to get and test the current transaction mode, for debugging.17:56
jnoller (~jnoller@vpn.nasuni.com) left irc: Quit: Leaving...17:58
squiddy (~squiddy@g224197249.adsl.alicedsl.de) joined #pypy.17:59
oal (u4126@gateway/web/irccloud.com/x-vtujjnjpajthapsi) left irc: Remote host closed the connection17:59
rguilleberthi amaury_ 18:00
oal (u4126@gateway/web/irccloud.com/x-itkkrhjtcqjwpxbe) joined #pypy.18:03
DasIch_ (~DasIch@p3E991405.dip.t-dialin.net) joined #pypy.18:06
dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) joined #pypy.18:06
DasIch (~DasIch@p3E991405.dip.t-dialin.net) left irc: Ping timeout: 252 seconds18:09
Nick change: DasIch_ -> DasIch18:09
mfoord (~anonymous@python/psf/voidspace) left irc: Quit: mfoord18:13
danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 248 seconds18:18
danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy.18:19
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds18:22
arigato (~arigo@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds18:22
davisagli (~davisagli@davisagli.com) left irc: Excess Flood18:25
davisagli (~davisagli@davisagli.com) joined #pypy.18:25
exnihilo (~nathan@descartes.its.unc.edu) joined #pypy.18:26
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds18:28
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) left irc: Quit: Page closed18:31
oal (u4126@gateway/web/irccloud.com/x-itkkrhjtcqjwpxbe) left irc: Remote host closed the connection18:34
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-ywjjhaqqlviyrqlw) left irc: Remote host closed the connection18:34
bfirsh (u1308@gateway/web/irccloud.com/x-zthszjvtbgvwqwvt) left irc: Remote host closed the connection18:34
amaury_rguillebert: hi18:37
amaury_how is the sprint?18:37
bfirsh (u1308@gateway/web/irccloud.com/x-zeyuomfbcehjdgda) joined #pypy.18:38
bfirsh (u1308@gateway/web/irccloud.com/x-zeyuomfbcehjdgda) left irc: Remote host closed the connection18:39
bfirsh (u1308@gateway/web/irccloud.com/x-xcpfqjeimrkfzbxe) joined #pypy.18:42
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-dlgnnjmsxhmyelkc) joined #pypy.18:46
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.18:46
whyking (~quassel@p4FFB7B5C.dip.t-dialin.net) left irc: Ping timeout: 244 seconds18:48
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.18:54
int3__ (~int3__@bb116-14-110-92.singnet.com.sg) joined #pypy.19:00
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) joined #pypy.19:00
mwhudson (~mwh@121.73.77.183) joined #pypy.19:01
mwhudson (~mwh@121.73.77.183) left irc: Changing host19:01
mwhudson (~mwh@linaro/mwhudson) joined #pypy.19:01
hakanardofijal: pong19:01
icrazyhack (~horieyui@183.60.100.166) joined #pypy.19:03
ojii (~ojii@50-57-189-190.static.cloud-ips.com) left irc: Ping timeout: 260 seconds19:03
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Quit: Lost terminal19:05
ojii (~ojii@50.57.189.190) joined #pypy.19:06
nickik (~nick@217.150.234.222) joined #pypy.19:07
oal (u4126@gateway/web/irccloud.com/x-lhdzgqgbidfplosv) joined #pypy.19:10
kenaan12mattip default 11ee1b4ea67ed9 15/pypy/module/micronumpy/: add failing test, add fix19:11
mattipfijal: can you take a look at that ^^^ just to make sure?19:11
mattipwe needed a test where:19:12
mattip- identity is neither None nor 0 and19:13
mattip- we iterate across something other than the 0 axis19:13
mattipjustinpeel: thanks for pointing out the bug.19:14
timotimohm, i haven't really kept track; how far is multi-dimensional numpy arrays?19:15
mattipslices and reduce functions work. Hopefully we will have matrix multiply in a week or so.19:18
timotimoso, obviously, creating multidim arrays works? nice.19:19
mattipwell, no hstack, concatenate, etc but yes reshape19:20
mattipand you can do array([[1,2], [3,4]])19:20
mattipwhat's your pet feature?19:21
timotimouh19:22
timotimonot much beyond simple slicing really19:22
mattipI sometimes wonder how long the tail is for numpy,19:23
timotimooh, i do have one occurence of the histogram function i believe19:23
mattipThere's so many features but I commonly use very few.19:23
fijalhakanardo: hey19:23
hakanardofijal: hi :)19:23
fijalhakanardo: so I had a weird idea for call_assembler19:24
fijalto just inline the short preamble and maybe avoid allocating the frame19:25
fijalbut we need trace merging before we can do that19:25
hakanardocool19:26
hakanardotrace merging should sort of work by now...19:26
hakanardoif the virtual state at the end of a bridge matches the virtual state of a loop19:27
fijalok19:27
hakanardoyou can jump directly to the loop by inlining the short preamble19:27
fijalhakanardo: so, can we merge traces at each call_assembler?19:27
fijalsince call_assembler is always invalidating all possible caches19:27
fijalit's not a jump, it's a call btw19:27
hakanardohmm19:28
fijalcall_assembler19:28
moreati (~alex@5ad0d588.bb.sky.com) joined #pypy.19:28
hakanardoso you would like to place a label infront of ever call_assembler19:28
fijalno19:28
fijalI want to replace call_assembler with another call_assembler19:28
fijalessentially19:28
fijaland possibly merge traces after call_assembler19:28
hakanardowe need a label at the point where you merge traces19:29
fijalyes, that's fine19:29
timotimomattip: is there C vs F memory layout?19:29
fijaltimotimo: no19:29
timotimoalso, does pypy 1.7 have multidim ndarray?19:29
hakanardoso it's right after the call_assembler then that we want the label I suppose19:29
fijaltimotimo: don't use 1.719:29
fijal:)19:29
fijalhakanardo: so how does it work? what sort of structures have to match?19:29
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection19:29
timotimooh, is 1.7 especially broken in some way?19:29
fijaltimotimo: no, just nightly is much better, especially when it comes to numpy19:30
timotimoof course19:30
timotimothe question is when i'll be able to claim "stable pypy can run my stuff"19:30
hakanardofijal: the virtualstate has to match19:30
hakanardocheck out jump_to_already_compiled_trace in unroll.py19:30
fijalhakanardo: ok19:31
timotimoi personally am quite fond of the nightlies19:31
fijaltimotimo: you mean numpy?19:31
hakanardoit loops over all specialized version of a loop and tries to find on that maches19:31
hakanardoand if it does i procudes the jump there19:31
fijalok19:31
fijalI guess right now what I have is:19:31
fijalallocate the frame, do call_assembler that goes to preamble19:31
hakanardotarget.virtual_state.generalization_of is the check19:31
fijalwhat I want is:19:31
fijalavoid allocating the frame and call directly the loop19:32
fijaland then merge traces after call_assembler19:32
Alex_Gaynorhow can you avoid allocaint the frame?19:32
Alex_Gaynorthe loop assumes it exists19:32
timotimowhere can the code that is used to generate the listing at http://buildbot.pypy.org/nightly/ be found?19:32
timotimoi'd like to contribute "sorting by date of last change"19:33
fijalAlex_Gaynor: maybe we can compile the loop slightly differently?19:33
timotimohm, or maybe alphabetical sorting is OK, but it should still display some kind of "date of last change" or something19:33
fijaltimotimo: it's a normal directory view of twisted.web19:33
Alex_Gaynorfijal: could be19:33
fijalAlex_Gaynor: in general we *know* the frame does not escape19:34
fijalif all we do is create it and then do call_assembler19:34
Alex_Gaynorfijal: even just inlining entry and calling to preamble would help since you avoid unboxing19:34
int3__ (~int3__@bb116-14-110-92.singnet.com.sg) left irc: Remote host closed the connection19:35
fijalAlex_Gaynor: and potentially tons of guards and stuff19:35
fijalbut yes19:35
Alex_Gaynorfijal: there are never guards in the entry19:35
fijaleh19:35
fijalI said calling  to the loop, not to preamble19:36
Alex_Gaynorthat's harder :)19:36
timotimohrm.19:36
timotimothat's a bit big to just jump in19:37
timotimowell, it's not that important anyway19:37
lesshastehow do they measure memory usage (in linux) for benchmarks like  http://attractivechaos.github.com/plb/?19:43
timotimolesshaste: use "time"19:45
timotimo(the one your OS offers, not the one your shell offers)19:46
lesshastetimotimo: how do I get the OS one not the shell one?19:46
timotimoin zsh, just write =time19:46
timotimootherwise use which to find out the absolute path and run that19:46
fijallesshaste: there is no reasonable way to measure memory in linux19:46
fijallesshaste: and those benchmarks are very shitty19:46
fijal /usr/bin/time is the one OS offers19:47
lesshastetimotimo: I get 0.00user 0.00system 0:00.01elapsed 23%CPU (0avgtext+0avgdata 2512maxresident)k19:47
lesshaste8inputs+0outputs (0major+204minor)pagefaults 0swaps19:47
timotimoyeah, the maxresident size is probably the most interesting one19:47
timotimobut fijal is correct19:47
mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 245 seconds19:47
lesshastesure I know the problems in linux19:47
lesshastetimotimo: that figure is printed *before* the output to the program!19:48
timotimoyou have a more complicated commandline, do you not?19:48
lesshastefijal: they are indeed.. I was trying to make some sense of them19:48
lesshaste/usr/bin/time cat sudoku.txt|~/Desktop/pypy-c-jit-51333-eb0269c21eec-linux/bin/pypy sudoku_v1.py19:48
timotimoyes, that measures how long cat takes to output the text file19:49
lesshasteright19:49
timotimoput the time after the pipe and you'll be fine19:49
lesshastegood point19:49
lesshastethanks19:49
lesshasteit's a stupid benchmark.. I need to work out they repeated in 50 times19:50
lesshastethe code the point to isn't exactly the benchmarks they did19:50
lesshastewhich is annoying19:50
lesshastework out how they...19:50
fijallesshaste: those are really silly benchmarks, I would not spend time there19:51
lesshastefijal: you make a good point of course. The shedskin asked me to run them though so I would like to give pypy a reasonable chance19:52
lesshastewhich means not having them run for 1 second19:52
JaRoel|4d (~jaroel|4d@2001:980:7133:1:b812:5826:d3e:b3e1) joined #pypy.19:53
mwhudson (~mwh@linaro/mwhudson) joined #pypy.19:54
lesshasteThe shedskin guy19:55
fijallesshaste: no, 1s is fine for such benchmarks19:55
lesshasteof course I could just ignore him :)19:55
fijalbut they're seriously dumb19:55
lesshastefijal: isn't there a warm up cost for pypy?19:55
fijalyeah, but it depends on code size19:55
fijaland this code is tiny19:55
lesshasteI mean shedskin does run a compiler first which isn't counted in the time :)19:55
fijallesshaste: if he wants to brag how shedskin is faster on those examples, let him19:56
lesshastefijal: in the sudoko code it does look like the first iteration is much slower19:56
lesshastefijal: the thing is that I suspect it isn't if the tests are made sensible :)19:56
fijalwell19:56
fijalI guess whatever, really19:56
nedbat (~nedbat@python/psf/nedbat) joined #pypy.19:56
fijalshedskin would do stuff that will be faster *because it's not python*19:56
lesshastemaybe I should just add the compiler time :)19:56
fijalI don't really care19:56
woyna (woyna@79.133.200.48) left irc: Excess Flood19:56
tmu (~tmu@evil.oulu.nixu.fi) got netsplit.19:57
EnCuKou (~encukou@ip-94-113-220-25.net.upcbroadband.cz) got netsplit.19:57
setmeaway (~setmeaway@118.45.149.247) got netsplit.19:57
Arnar (~arnarb@li187-148.members.linode.com) got netsplit.19:57
panni_ (smuxi@descent.fragstore.net) got netsplit.19:57
bogner` (~bogner@2600:3c03::f03c:91ff:fedf:7ef4) got netsplit.19:57
ericholscher (~eric@173.203.223.63) got netsplit.19:57
hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) got netsplit.19:57
tito (~tito@pdpc/supporter/active/tito) got netsplit.19:57
metvik (~metvik@unaffiliated/metvik) got netsplit.19:57
smuxi (smuxi@descent.fragstore.net) joined #pypy.19:57
Nick change: smuxi -> panni_19:57
Possible future nick collision: panni_19:57
bogner (bogner@2600:3c03::f03c:91ff:fedf:7ef4) joined #pypy.19:57
tmu (~tmu@evil.oulu.nixu.fi) returned to #pypy.19:57
lesshastefijal: talking of which... are the any rpython benchmarks?19:57
lesshasteare there19:57
tito (~tito@178.73.216.85) joined #pypy.19:57
tito (~tito@178.73.216.85) left irc: Changing host19:57
tito (~tito@pdpc/supporter/active/tito) joined #pypy.19:57
EnCuKou (~encukou@ip-94-113-220-25.net.upcbroadband.cz) returned to #pypy.19:57
hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) returned to #pypy.19:57
setmeaway (stemearay@118.45.149.247) joined #pypy.19:57
lesshastefijal: you do compare pypy to C and C certainly isn't python :)19:57
timotimorpython is seriously not meant to be used for production apps that are not interpreters19:58
timotimowell, that wasn't worded very well19:58
fijallesshaste: yes, but I mean people spend time optimizing those benchmarks for shedskin19:58
ericholscher (~eric@173.203.223.63) returned to #pypy.19:59
fijallesshaste: but noone looked into optimizing them for pypy19:59
lesshastefijal: a good point19:59
fijalI know how Mark goes about it, I've seen it "if you tweak this tiny detail, shedskin goes much faster"19:59
lesshastefijal: oh yes I know all about that19:59
fijaland some of those are enforced because otherwise it won't run at all19:59
lesshastefijal: I am not blind to these things :)19:59
lesshastewhich is why I thought at least if I ran the tests I wouldn't cheat19:59
fijalwhat I'm saying is that warmup time is probably not a big deal, but I don't care in optimizing those ones19:59
lesshastesure20:00
timotimoyeah, pypy2 will have a static compiler-like preprocessor in front of the jitted interpreter that statically pre-optimises code that is sufficiently shedskin-like!!!!! not20:00
fijaltimotimo: more like a thing that complains :)20:01
Arnar (~arnarb@li187-148.members.linode.com) returned to #pypy.20:02
timotimothat sounds sane20:02
mattip_ (4fb1711d@gateway/web/freenode/ip.79.177.113.29) joined #pypy.20:02
mfoord (~anonymous@python/psf/voidspace) joined #pypy.20:03
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) left irc: Ping timeout: 258 seconds20:04
Nick change: mattip_ -> mattip20:05
mfoord (~anonymous@python/psf/voidspace) left irc: Client Quit20:06
Guest38408 (~none@2001:41d0:2:936d::1) left irc: Excess Flood20:06
bogner` (~bogner@2600:3c03::f03c:91ff:fedf:7ef4) got lost in the net-split.20:08
metvik (~metvik@unaffiliated/metvik) got lost in the net-split.20:08
PiotrSikora (~none@nginx/adept/piotrsikora) joined #pypy.20:09
kenaan12fijal default 11f6b8525d8a10 15/pypy/objspace/std/unicodeobject.py: A bit experimental - try to preallocate the size of unicode join and remove a pointless performance hack (the gener...20:16
kenaan12fijal default 115e43d79c76a7 15/pypy/: mere20:16
Alex_Gaynorfijal: ugh, this should reall- share with strs version :/20:17
fijalyes20:17
Alex_Gaynorsame for the whole file really :/20:18
fijalpossibly yes20:19
fijalthis is one of the very few things that might not share code actually20:19
Alex_Gaynorwhy not?20:19
lesshastefijal: you have persuaded me not to reply to Mark20:22
fijalbecause the string join has a fallback to unicode path20:22
fijallesshaste: why?20:22
lesshastefijal: because of the points you made above20:22
lesshastefijal: about the benchmarks being tailored for a particular purpose20:23
danchr (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 272 seconds20:23
dukebilgewater (~dukebilge@cpe-74-78-69-183.maine.res.rr.com) joined #pypy.20:23
lesshastefijal: you didn't realise you were so persuasive? :)20:24
fijallesshaste: I also said "let him brag about it"20:26
fijalseriously though20:26
fijalI think the space that mark is aiming for is already occupied by cython20:27
fijaland he has not enough power to beat cython PR20:27
timotimoespecially when cython gets the pypy backend20:27
fijalI don't think it's relevant20:27
DasIch_ (~DasIch@p4FFDED18.dip.t-dialin.net) joined #pypy.20:32
DasIch (~DasIch@p3E991405.dip.t-dialin.net) left irc: Ping timeout: 252 seconds20:34
Nick change: DasIch_ -> DasIch20:34
fijallesshaste: so seriously, he's a bit barking at the wrong tree.20:35
fijalif you want to write those benchmarks in pypy, use numpy20:35
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Quit: Leaving20:42
lambacck (~chris@d24-150-124-118.home.cgocable.net) left irc: Quit: lambacck20:42
fijalmattip: your fix is wrong IMO20:42
fijalfirst_line is supposed to mean "we never touched this field"20:43
fijalfirst_line should be true for a while and then false imo20:44
fijalit should never change back to true20:44
fijaloh maybe not20:44
fijalright20:45
fijalok :)20:45
mattip:)20:50
mattipeven cooler than you thought20:51
danchr_ (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy.20:53
Rhy0lite (dje@nat/ibm/x-nqxtecyvgqkpgfrd) left irc: Quit: Leaving20:54
fijalya20:55
fijalmattip: note it's not as fast as it should be though20:55
fijalbut that's unrelated to numpy itself20:56
mattipright. but the slowdown is really the test that was there in the original code.20:56
mattipanyhow I like compact and correct better than fast :)20:57
danchr_ (~danchr@cl-848.chi-02.us.sixxs.net) left irc: Ping timeout: 248 seconds20:57
mattipwell, with the usual caveats (not too much slower)20:57
lambacck (~chris@d24-150-124-118.home.cgocable.net) joined #pypy.21:00
lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving21:01
Trundle (~andy@89.204.139.101) joined #pypy.21:02
Trundle (~andy@89.204.139.101) left irc: Changing host21:02
Trundle (~andy@python/site-packages/trundle) joined #pypy.21:02
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.21:12
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.21:24
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.21:39
rguillebertamaury_, good, I worked a bit on py3k21:59
rguillebertthe parser now refuses the old octal syntax21:59
amaury_did you change it? I have seen only changes in tests22:00
rguillebertI did but I didn't push it, can you take a look before ?22:02
amaury_did you change genpytokenize.py?22:04
rguillebertyes22:04
rguillebertI took what you did for the long syntax as an example22:05
mwhudson (~mwh@linaro/mwhudson) left irc: Ping timeout: 248 seconds22:05
amaury_yes, probably similar22:05
rguillebertit's just a bit different because 0 was parsed as an octal number22:06
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.22:06
rguillebertit's there https://bitbucket.org/rguillebert/pypy22:06
amaury_if your test pass, then you did it correctly :)22:06
rguillebertit does (at least for the interpreter tests) except for one that uses the old syntax22:08
amaury_:)22:08
amaury_why did you need this "zero" target?22:08
amaury_could you accept all digits in decNumber instead?22:09
rguillebertno because python3 rejects numbers that starts with 022:09
amaury_oh22:10
amaury_true22:10
rguillebertand I tried to "only 0" inside decNumber, but it looked bad and didn't work22:11
amaury_What happens with "0x"?22:13
amaury_is it parsed as 0 followed by an identifier?22:13
rguillebertit works fine so I guess it's parsed correctly22:15
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy.22:16
amaury_"works fine"22:16
amaury_should return "Syntax Error: invalid token"22:16
rguillebert>>>> 0x1222:16
rguillebert1822:16
amaury_0x alone22:16
rguillebertah22:16
rguillebertSyntaxError22:16
amaury_and the error string?22:17
rguillebertinvalid syntax22:17
rguillebertit's the same if I do 012 or 12L22:17
amaury_CPython has a different message22:17
amaury_for 0x and 1x22:18
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Read error: Connection timed out22:18
mfoord (~anonymous@python/psf/voidspace) joined #pypy.22:18
rguillebertIs there a case where PyPy returns that message ?22:20
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.22:20
Nick change: nanonyme_ -> nanonyme22:22
mfoord (~anonymous@python/psf/voidspace) left irc: Ping timeout: 240 seconds22:23
amaury_rguillebert: no22:24
amaury_so ignore my remark22:24
rguillebertcan I push it ?22:26
mwhudson (~mwh@linaro/mwhudson) joined #pypy.22:27
mfoord (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.22:27
mfoord (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host22:27
mfoord (~anonymous@python/psf/voidspace) joined #pypy.22:27
amaury_yes22:28
amaury_btw, did you try a translation?22:28
rguillebertyes it translates22:29
amaury_./pypy-c crashes (in interactive mode only), I think I found why22:29
nickik (~nick@217.150.234.222) left irc: Quit: Verlassend22:29
amaury_something related to the termio module22:29
rguillebertdo you get 'NoneType' object is not iterable ?22:29
nickik (~nick@217.150.234.222) joined #pypy.22:29
amaury_I don't remember22:29
rguillebertthat's what I get even if I try to run something22:31
rguillebertpy.py works though22:31
amaury_my pypy-c works when I run a command22:33
amaury_./pypy-c -c "print(1)"22:33
amaury_or more complex22:33
amaury_./pypy-c -m test test_list22:33
rguillebertit doesn't :s22:35
amaury_traceback?22:36
rguillebertit's an OperationError so I guess it's at interp-level22:36
amaury_do you happen to have non-ascii7 characters in your environment?22:37
rguillebertI was running it on tannit but my localisation variables where set to french22:39
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Quit: schnarch22:39
rguillebertindeed it works22:39
rguillebertif I set LC_ALL to C22:40
amaury_ah, I get the error if I set "LANG=fr"22:40
rguillebertI'll take a look at it tomorrow22:45
rguillebertif I do make lldebug in the source directory I should get a proper traceback right ?22:46
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection22:47
amaury_hum, not sure22:50
amaury_I'm already using lldebug22:50
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) left irc: Quit: Page closed22:53
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/77823:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/20623:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/101523:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/3423:00
rguillebertso it should be ok now ?23:00
mikefc_ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) joined #pypy.23:01
dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) left irc: Quit: Leaving23:05
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.23:12
amaury_rguillebert: please submit your code, I'll try to find this issue with LANG=fr23:16
kenaan12rguillebert py3k 11d745dbc657b4 15/pypy/interpreter/: Reject old octal literals23:17
kenaan12rguillebert py3k 114714f110a1ae 15/pypy/translator/goal/nanos.py: Use new octal literals23:17
amaury_yeah, now I get a "normal" crash in interactive mode23:17
amaury_some SyntaxError in pyrepl module23:17
amaury_which is not at all ready for py3k23:17
rguillebertI don't know why banning the old syntax broke the translation23:21
squiddy (~squiddy@g224197249.adsl.alicedsl.de) left irc: Ping timeout: 252 seconds23:21
danchr (~danchr@cl-848.chi-02.us.sixxs.net) joined #pypy.23:21
amaury_did it?23:21
amaury_maybe some applevel code23:22
rguillebertyes, that's why I changed nanos.py23:22
amaury_where does it break?23:22
rguillebertI don't remember but there's code at applevel23:23
rguillebertso it's probably in there23:23
amaury_rguillebert: the issue with "LANG=fr" comes from sys.getfilesystemencoding() which returns None and breaks initstdio() in app_main.py23:24
rguillebertok23:24
amaury_I won't fix it now, but so you know for tomorrow :)23:24
rguillebertyes, I'll look at it23:25
mutux (~muratux@139.179.102.153) joined #pypy.23:26
kenaan12amauryfa py3k 11a20df1bb1bb8 15/pypy/module/imp/: PEP3147: .pyc files are now named ./__pycache__/foo.pypy-17.pyc  (Note: the "nolonepycfile" option makes less sense...23:26
kenaan12amauryfa py3k 11708194fb76ef 15/lib_pypy/binascii.py: Remove long() and L suffix from binascii.py23:26
kenaan12amauryfa py3k 11dcae009093d8 15/pypy/objspace/std/longtype.py: Fix a test in test_longobject.py23:26
kenaan12amauryfa py3k 114a6fb1817feb 15/pypy/module/termios/: Fixes in termios module23:26
kenaan12amauryfa py3k 113843c6835175 15/pypy/objspace/fake/objspace.py: bin/checkmodule.py: Add support for space.wrabytes23:26
squiddy (~squiddy@g229037172.adsl.alicedsl.de) joined #pypy.23:29
voidspace (~voidspace@python/psf/voidspace) left irc: Ping timeout: 240 seconds23:35
mfoord (~anonymous@python/psf/voidspace) left irc: Ping timeout: 260 seconds23:35
gtaylor (~gtaylor@108-196-160-156.lightspeed.tukrga.sbcglobal.net) left irc: Quit: Konversation terminated!23:36
rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) left irc: Remote host closed the connection23:38
Arfrever (~Arfrever@apache/committer/Arfrever) left irc: Quit: Ex+re23:40
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds23:43
JaRoel (~jaroel|4d@sink.jaroel.nl) joined #pypy.23:47
JaRoel|4d (~jaroel|4d@2001:980:7133:1:b812:5826:d3e:b3e1) left irc: Ping timeout: 260 seconds23:50
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer23:56
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.23:56
Trundle (~andy@python/site-packages/trundle) left irc: Ping timeout: 240 seconds23:58
zain (~textual@c-67-160-201-63.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.23:59
--- Tue Jan 17 201200:00

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