#pypy IRC log for Saturday, 2011-12-31

verte-{nyctea} (~verte@python/site-packages/verte) joined #pypy.00:31
Nick change: verte-{nyctea} -> verte-wleslie00:31
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/76100:34
kkb110 (~kkb110@cpe-69-203-124-125.nyc.res.rr.com) left irc: Ping timeout: 240 seconds00:50
kkb110 (~kkb110@cpe-69-203-124-125.nyc.res.rr.com) joined #pypy.00:56
kkb110Q: how mature is pypy's CPython C API? I've seen it's alpha/beta state on the web page, but do you think it's ok to use boost::python to wrap simple classes and interact with embedded pypy on c++?00:57
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/1700:58
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/18901:01
Arfrever (~Arfrever@apache/committer/Arfrever) left irc: Ping timeout: 260 seconds01:01
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace01:15
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.01:26
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer01:26
Nick change: stakkars_ -> stakkars01:26
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.01:27
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer01:27
Nick change: stakkars_ -> stakkars01:27
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/190601:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/31201:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/32301:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/65801:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/66101:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/117701:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/84401:30
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/149601:30
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/77101:30
Gnosis- (~none@pool-96-248-225-79.snloca.dsl-w.verizon.net) joined #pypy.01:31
ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo02:15
Nick change: verte-wleslie -> wleslie02:41
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/99802:43
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/190603:45
Nick change: wleslie -> william-leslie04:48
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/149604:48
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/84404:49
Nick change: Gnosis- -> GNOSIS-04:51
GNOSIS- (none@pool-96-248-225-79.snloca.dsl-w.verizon.net) left #pypy.04:52
Nick change: william-leslie -> wleslie04:54
Action: mikefc misses numpy.cumsum and where05:04
wleslie (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT!05:05
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/66105:06
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/117705:11
rhiebert (~rhiebert@24.104.139.205) left irc: Remote host closed the connection05:13
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/65805:17
etrepum (~bob@75-101-96-144.dsl.static.sonic.net) joined #pypy.05:24
espes (espes@2001:470:1f05:ca1::) left irc: Read error: Connection timed out05:32
espes (espes@2001:470:1f05:ca1::) joined #pypy.05:33
Action: mikefc needs to hurry up and learn rpython so he can add these things.05:47
mikefcnee05:47
mikefcd 05:47
mikefcneed a numpy.var()...05:47
Action: mikefc starts05:58
Alex_Gaynormikefc: start with tests :)05:59
mikefcI want to start just seeing how the numpy code works. if i run "python py.py" how to i import numpypy?  Is this even possible/sensible?  06:00
mikefci get an imoprterror06:00
Alex_Gaynoryou need to do py.py --withmod-micronumpy06:00
mikefcalex: just going to hack around first and see what's what.  I'll definitely write tests when i get to the stage of having an idea :)06:00
gutworth (~benjamin@64-131-9-52.usfamily.net) left irc: Ping timeout: 252 seconds06:01
Alex_Gaynorndarray.var looks pretty simple, FWIW06:01
mikefcthe algorithm is simple. but i need to start thinking of object spaces and whatnot i guess.06:01
Alex_Gaynorhonestly, I wouldn't worry about understanding the full picture, just do it piece by piece06:02
Alex_Gaynorfigure out how to run/write teh tests06:02
Alex_Gaynorhow to add a method to ndarray objs06:02
Alex_Gaynoretc.06:02
mikefcAlex_Gaynor: yep sure. 06:03
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy.06:08
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/77106:17
mikefcis there an easy way to do a module reload when in py.py?  (so i can quickly see what effect my changes have).  Or do i have to quit() and restart?06:20
Alex_Gaynorquit and restart06:20
Alex_Gaynorand start it with -S (don't load site.py) it's faster06:20
mikefcthanks.06:21
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.06:25
mikefchow do I just run the micronumpy tests?06:33
mikefcrtfm?06:34
Alex_Gaynor./pytest.py pypy/module/micronumpy [-x < stop on first failure]06:34
mikefcta06:35
Action: mikefc has made a failing test. programming genius :|06:47
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/32306:54
Action: mikefc now has a passing test!07:06
mikefcbut i'm working in default branch. and there are no multidim array ops in default.07:07
Alex_Gaynorright, matti is working on a branch with them07:07
mikefcshould I try and make my function accept the same args as actual numpy?  like "axis=" .  or should I just get something working and worry about matching call signatures a bit later. 07:09
Alex_GaynorI'd skip axis for now07:09
mikefcthe actual numpypy implementation is quite rough when it comes to matching numpy call signatures.  I guess TDD is the way to go and implement as people need stuff.07:11
Alex_Gaynorexactly07:11
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/31207:11
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.07:16
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer07:16
Nick change: stakkars_ -> stakkars07:16
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.07:19
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer07:19
Nick change: stakkars_ -> stakkars07:19
asmeurer (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) left irc: Quit: asmeurer07:19
mikefcattempting to add the .std() method.07:22
mikefc    def descr_std(self, space):07:22
mikefc        return space.sqrt(self.descr_var(space))07:22
mikefcthat's obviously not right, but I can't figure out how to get a sqrt of the float returned by the var() method.07:22
Alex_Gaynoryou want to get the ufunc07:25
Alex_Gaynorit's interp_ufuncs.get(space).sqrt() or something07:25
Alex_Gaynorah, interp_ufuncs.get(space).sqrt.call(space, [self.descr_var(space)])07:26
mikefcbut currently var returns a float. not an array. so i just need the sqrt of a float -> float. not really a ufunc.07:27
Alex_Gaynorvar should return, whatever the right type is (wrapped)07:27
Alex_Gaynorvar can return an array right?07:27
mikefcwhen we get multi-dim it could return an array07:28
mikefcbut with 1d, it'll only ever return a (wrapped) float.07:29
Alex_Gaynorufuncs work with floats too07:29
mikefcok. well then ufuncs are more general and better in the long run.07:30
Action: mikefc tries07:30
mikefcworks! 07:31
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy.07:33
mikefcthis code runs OK, but causes an exception in test_ztranslation07:40
mikefc    def descr_var(self, space):07:40
mikefc        ''' var = mean( (values - mean(values))**2 ) '''07:40
mikefc        return (self.descr_sub(space, self.descr_mean(space))).descr_pow(space, space.wrap(2)).descr_mean(space)07:40
mikefcException': demoting method descr_pow to settled class <ClassDef 'pypy.interpreter.baseobjspace.Wrappable'> not allowed07:40
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) joined #pypy.08:37
mikefcsolved it. only took an hour of farting around. need to assert isinstance(result, BaseArray)08:42
mimi_ (~mimi@97-88-28-179.dhcp.roch.mn.charter.com) joined #pypy.08:50
mimi_ (~mimi@97-88-28-179.dhcp.roch.mn.charter.com) left irc: Ping timeout: 268 seconds08:55
fijal (~fijal@197.173.9.193) joined #pypy.08:57
metvik (~metvik@unaffiliated/metvik) joined #pypy.09:01
mimi_ (~mimi@97-88-28-179.dhcp.roch.mn.charter.com) joined #pypy.09:08
mat^2 (mathias@87.55.0.198) left irc: 09:15
mimi_ (~mimi@97-88-28-179.dhcp.roch.mn.charter.com) left irc: Ping timeout: 255 seconds09:17
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 260 seconds09:32
fijal (~fijal@197.173.9.193) left irc: Quit: Leaving09:39
fijal (~fijal@197.173.9.193) joined #pypy.09:40
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) joined #pypy.09:48
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy.09:50
fijalarigato: hi09:57
arigatohi!09:57
fijalarigato: happy new year and whatnot09:57
fijaldid you get any snow so far?09:57
arigatoI was about to say it09:57
arigatoyes, tons of it :-)09:57
arigatoit has been late to come, but now there are really a lot09:58
fijal:]09:58
dracman (~draco@d214008.adsl.hansenet.de) left irc: Ping timeout: 252 seconds09:59
ThomasWaldmann sunny wheather here09:59
fijalarigato: it's of course a middle of summer here10:00
fijal(of course)10:00
Action: ThomasWaldmann on way back from 28c/berlin3 to stuttgart10:01
fijalThomasWaldmann: how was it?10:01
ThomasWaldmannfun, as ever :) very interesting stuff, just a little crowded.10:02
ronnyThomasWaldmann: lucky you10:02
fijalarigato: I wanted something from you but I forgot what10:03
fijalah10:03
fijallesshaste had a good real-world scenario where we pay a lot for call_assembler for no good reason10:03
fijalbut it's kinda "known"10:03
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) left irc: Ping timeout: 252 seconds10:03
fijalah, I made him quit10:03
Action: ThomasWaldmann mentioned pypy to some folks who seemed to learn C currently10:04
fijalThomasWaldmann: and?10:04
ThomasWaldmannwell, get hey learned something new, but they are using C at school...10:06
ThomasWaldmannguess*10:06
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) joined #pypy.10:06
fijal (~fijal@197.173.9.193) left irc: Read error: Connection reset by peer10:06
Action: ThomasWaldmann .oO(latency sucks a bit here, so excuse all the weird typos)10:06
lahwranis there any better way to do what autopath does?10:07
lahwranI've been trying to think of one for a while and I'm coming up blank10:08
dracman (~draco@e176041007.adsl.alicedsl.de) joined #pypy.10:09
ronnylahwran: its quite a hack, there isnt a good way to replace it witht sommething less invasive10:15
lahwranwhat about in terms of the whole python language? #python is being rather useless10:15
lahwrannobody is responding to my question at all10:15
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) joined #pypy.10:17
fijal (~fijal@197.172.91.194) joined #pypy.10:17
arigatofijal: sorry, timed out10:17
fijalarigato: yeah, I've seen :)10:17
fijalarigato: but I didn't have anything urgent10:18
fijaland I'm about to go anyway10:18
arigato:-)10:18
arigatoin case you didn't notice, call_assembler is cheaper since 1-2 weeks10:18
arigatobecause we no longer pass infinitely many arguments10:18
fijalfrom label stuff?10:18
fijalor from what?10:18
arigatono, that's a bit more recent10:18
fijalyes, but we allocate and unpack the frame right10:19
fijal?10:19
arigatoyes10:19
fijalok10:19
fijalwell, ideally we would not need to allocate the frame10:19
arigatoI was talking about the jit-simplify-backendintf branch10:20
arigatoyes10:20
arigatomaybe we'd like to allocate "compact jit-only frames"10:21
fijalyes10:22
fijalthen you don't have to pack there tons of stuff, just copy away the heap10:22
fijalin case it escapes10:22
arigatoyes10:22
fijalfor-later kinda10:23
arigato:-)10:23
fijalbut maybe later is now :)10:23
arigatoobviously :-)10:23
fijalanyway from "general performance" problems, I'm working on what to do with those annoying traces10:23
fijalto have a faster test run10:23
arigatoah, good10:23
fijalnot much progress though ;-)10:24
arigatoyes, I fear it's not too easy :-/10:24
fijalbtw, the pypyjit.set_abort_hook is useful10:24
fijalyou can do10:24
fijalpypyjit.set_abort_hook(f)10:24
fijalwhere f gets reason as first arg10:24
fijaland can call say pdb.set_trace()10:24
fijalthat will put you in pdb each time you abort tracing10:25
arigatonice10:25
fijal[better-jit-hooks branch, but maybe we should merge it]10:25
arigato(similarly, maybe now is slowly getting a good time to worry about the speed of pyjitpl)10:25
fijalyes10:25
fijalnew year's promises :)10:25
arigato:-)10:25
fijalanwyay, I'm off and moving tomorrow10:25
arigatoI have vague ideas10:25
fijalso very likely I'll only be back on 2nd or so10:25
fijalWITH ADSL INTERNET!10:25
arigato:-)10:25
fijalcheers10:25
arigatook, have fun10:25
arigatoor "fun"10:25
fijaland have fun in snow :)10:25
arigatothank you :-)10:26
fijalI bet you'll go skiing10:26
arigatotoday the weather is horrible, so no10:26
arigatobut the next possible day, yes :-)10:26
fijal (~fijal@197.172.91.194) left irc: Ping timeout: 240 seconds10:30
mikefcwhat is numpypy get_concrete() supposed to do?10:45
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) left irc: Ping timeout: 252 seconds10:49
dracman (~draco@e176041007.adsl.alicedsl.de) left irc: Remote host closed the connection10:51
Nick change: christophler_afk -> christophler10:57
christophlernegotiate building contracts?10:57
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds11:11
lesshaste:)11:31
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy.11:37
Nick change: christophler -> christophler_afk11:51
whyking (~quassel@p5B3DC0EB.dip.t-dialin.net) joined #pypy.12:16
mikefc:/12:33
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.13:05
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host13:05
voidspace (~anonymous@python/psf/voidspace) joined #pypy.13:05
gutworth (~benjamin@64-131-9-52.usfamily.net) joined #pypy.14:02
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer14:20
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy.14:24
antocuni (~antocuni@host117-71-dynamic.58-82-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds14:27
Nick change: christophler_afk -> christophler14:36
christophler (web49_an_@84.45.87.204) left #pypy ("NickServe").14:37
christophler (~web49_an_@84.45.87.204) joined #pypy.14:37
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) left irc: Ping timeout: 268 seconds14:48
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) joined #pypy.14:51
derdon (~derdon@p5DE891FD.dip.t-dialin.net) joined #pypy.14:58
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds15:02
mrgecko (~Adium@219.161.66.86.rev.sfr.net) joined #pypy.15:23
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) joined #pypy.15:35
mrgeckoHello hello,  I don't know how to share the bug i've got with pypy :  http://nopaste.info/ad94b6ff4e.html  . What kind of infos do you need from me  :) ? A script that can reproduce it on demand ?15:36
Shanita (~John@osbk-4db17fc9.pool.mediaWays.net) joined #pypy.15:40
Kaskuka (~John@osbk-4d087de4.pool.mediaWays.net) left irc: Ping timeout: 240 seconds15:40
arigatomrgecko: hi15:41
arigatomrgecko: first question, which pypy is this?15:41
mrgeckothe nighty build15:42
arigatook15:42
arigatoyes, ideally a script15:43
arigatoeven a script that triggers the bug only sometimes15:43
mrgeckoMaybe I can get it everytime, if it's triggered by some random seeds. I guess I can catch randomness seeds I use in python, can I ?15:45
arigatoyes15:45
arigatojust call random.seed(some_number)15:45
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) joined #pypy.15:47
mrgeckocool, 42 as seed crashes it everytime :D15:48
nedbat (~nedbat@python/psf/nedbat) left irc: Quit: Leaving15:48
arigatoof course :-)15:48
mrgeckoLet's isolating the code now15:48
arigatothe crash is in the JIT, so maybe if you cut too much it won't crash any more, or only with a different seed15:49
nedbat (~nedbat@python/psf/nedbat) joined #pypy.15:49
kkb110Q: when sandboxed pypy marshals external function calls, what is the level of this function??? system call functions????15:53
arigatomrgecko: an alternative: if you run "PYPYLOG=jit-log-noopt:logfile pypy bigprogram.py"15:53
arigatoand it crashes15:53
arigatothen you can send us the produced logfile15:53
arigatoeven the last ~10000 lines are enough15:54
arigatokkb110: actually it's calls to C functions from (typically) the standard library15:55
arigatothis might be close to system calls, e.g. open(), read() etc., or not really, like time()15:55
kkb110I'm confused, then how pypy wraps the system calls when the python code uses c-written libraries (let's say, numpy?)16:00
arigatothat's unclear16:01
arigatoright now the pypy-sandbox that you get does not have many extension modules16:02
kkb110so I guess the sandboxing needs special care of each c-extension module??16:03
arigatoit depends on the kind of extension module16:03
arigatoby default, every C call is wrapped16:04
arigatoand instead of doing the C call,16:04
kkb110I think that needs rewriting of each extension module. Am I right??16:04
arigatono16:04
mrgeckoarigato: how do you notice the program has crashed crash with this huge amount of incomprehensible data :D ?16:05
arigatoa C call is wrapped, which means that any call to the C function is not really done at all, but instead exposed to the controlling process16:05
arigatofor some extension modules it's just what you want16:05
arigatofor numpy, well, it depends if you want to use only the standard built-in operations like matrix addition, or more complicated ones that are done with C calls16:06
arigatomrgecko: use PYPYLOG=jit-log-noopt:logfile , which puts the huge amount of data into the file "logfile" and not stdout16:07
kkb110arigato, so pypy-sandbox wraps C calls, not system calls directly?16:07
arigatokkb110: pypy-sandbox is not system-dependent at all, so it does not depend on what is a system call or not (which you don't know when writing a C program)16:08
arigatomrgecko: for the crash that you report, it's clear that we have to look at the last "{jit-log-noopt" - "jit-log-noopt}" section before the crash16:09
mrgeckoSure, I've got the infos but as a curious boy, I've tried to read the logfile. The style of the writer isn't bad but this is not the best novel i've read this year.16:09
arigatosure :-)16:09
kkb110arigato, then back to the numpy matrix addition example, I think matrix addition part is written as c-extension, so isn't it C call here?16:10
arigatono, matrix addition is written natively, not as a C extension16:11
kkb110python native?16:11
arigatoRPython native16:11
kkb110oh ok16:11
mrgeckoOkay so it seems it's a block of only 256 lines, but I will send you the whole last 10k lines to be sure :). Should I write a bug report on bugs.pypy.org now ?16:12
arigatoin other words it's done by C code that is part of "pypy" or "pypy-sandbox"16:12
arigatomrgecko: yes, please :-)16:12
kkb110I see. I think I'm very much clear at this point16:15
kkb110One more question (hopefully the last) are standard library modules supported by PyPy written in RPython mostly?16:16
arigatoyes16:17
arigatowhen I mentioned above "calls to C functions", I really meant calls to "external" kind of code16:18
arigatoe.g. the "re" module is entirely in RPython, but the "pyexpat" module is done by external calls to C functions16:18
kkb110I see, so I guess pypy-sandbox catches it in that case16:19
arigatoyes16:20
kkb110and maybe emmit NotImplemented exception if it is not supported yet16:20
arigatoyes16:20
kkb110crystal clear, thank you :)16:20
arigatoit's more precisely the demo wrapper, pypy_interact.py, that emits NotImplementedError if not supported yet16:20
arigatothe point is that the sandboxed pypy supports automatically all the C functions that it uses,16:22
arigatobut the demo wrapper only supports a few of them,16:22
arigatoand answers all the other ones by crashing16:23
kkb110nice :)16:23
CIA-5303MrGecko 07roundup * 10#975/A jit bug crashes my app: 16:24
CIA-53[new] This is what I randomly get with the latest nightly build:16:24
CIA-53RPython traceback:16:24
CIA-53File "jit_metainterp_optimizeopt_optimizer.c", line 611 ... * 14https://bugs.pypy.org/issue97516:24
arigatomrgecko: thank you16:25
mrgeckoIt's a kind of new year's gift16:25
arigatoindeed16:26
mrgeckoI wished it has been the 1000th bug report16:27
arigatotime to find 25 more bugs16:27
`fox` (~fox@host142-107-dynamic.45-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds16:36
kkb110do you think this scenario would possibly work to get sandboxed CPython? 1. replace CPython's libs with pypy's rpython libs. 2. control C-calls in CPython.16:37
kkb110I just want to get sandboxed python on C++, so I think I either have to make CPython sandboxed or modify pypy-sandbox not to use sub-process16:39
kkb110but since pypy's C API is not stable.. (according to pypy webpage)16:40
arigatomaking CPython sandboxed is impossible16:51
arigatobecause I know of at least 5 or 10 ways that can crash CPython, which an attacker may use to do malicious things instead of crashing16:52
arigato(in Lib/test/crashers/, if you're interested)16:52
arigato(in the standard CPython distribution)16:52
kkb110oh ok, I'll look into it thanks for the info16:53
arigatobottom line: CPython is not sandbox-safe at all.  If you like you can try to play around with OS-level sandboxing, too16:58
arigatoas for using the pypy sandbox, nedbat is trying16:59
kkb110arigato, I skimmed several files in the dir.. this is too sad lol16:59
nedbatkkb110: hello again.16:59
kkb110nedbat, hahaha you were here :D16:59
nedbatkkb110: I told you i've been working on the pypy sandbox!16:59
kkb110lol17:00
kkb110ok then I cancel my plan to make CPython sandboxed17:02
kkb110I guess I'm gonna just modify pypy-sandbox not to use sub-process17:03
arigatomrgecko: sorry, I'm failing to reproduce the bug out of the logs17:05
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace17:07
arigatomrgecko: can you try to re-run with "PYPYLOG=jit:pypylog"?17:07
mrgeckono prob, i'm all yours17:07
arigatoand paste again the last 10k lines (or maybe 50k)17:07
arigatoor, of course, if you can reduce the crash, just post the remaining sources17:08
derdon (~derdon@p5DE891FD.dip.t-dialin.net) left irc: Remote host closed the connection17:17
nettok (~quassel@200.119.184.61) joined #pypy.17:25
CIA-5303MrGecko 07roundup * 10#975/A jit bug crashes my app: 17:28
CIA-53[chatting] And here are the last 50k lines of my PYPYLOG=jit:logfile17:28
CIA-53The bug isn't caused by random.shuffle as I initially thought.17:28
CIA-53Ask me if yo ... * 14https://bugs.pypy.org/issue97517:28
CIA-5303arigo 07roundup * 10#974/channel is not iterable: 17:29
CIA-53[chatting] The documentation at that link is unclear: when does next() raises17:29
CIA-53StopIteration? It seems that if next() is just implemented by call ... * 14https://bugs.pypy.org/issue97417:29
nettok_ (~quassel@200.119.185.171) joined #pypy.17:36
nettok (~quassel@200.119.184.61) left irc: Ping timeout: 255 seconds17:38
whyking (~quassel@p5B3DC0EB.dip.t-dialin.net) left irc: Ping timeout: 240 seconds17:41
CIA-5303arigo 07roundup * 10#969/I want to be able to interrupt the translation process and continue from where it was left the last time: [wontfix] Sorry, it's not easy at all to dump the state and reload it. * 14https://bugs.pypy.org/issue96917:43
CIA-5303arigo 07roundup * 10#967/itertools.imap significantly (order of magnitude) slower than map or gencomps: 17:46
CIA-53[chatting] The issue is not imap() alone, but the construct 'list(imap(...))'. If you17:46
CIA-53write it differently, for example '[x for x in imap(...)]' ... * 14https://bugs.pypy.org/issue96717:46
CIA-5303arigo 07roundup * 10#965/xml.etree.ElementTree says 'unknown encoding' of a regular encoding: 17:55
CIA-53[chatting] PyPy is always equivalent to a wide unicode build, so we have the same issue as17:55
CIA-53CPython-in-wide-unicode-builds. Let's wait for its re ... * 14https://bugs.pypy.org/issue96517:55
CIA-5303arigo 07roundup * 10#961/Spurious (?) mercurial error messages from sandlib.py: 17:59
CIA-53This problem might have disappeared in ecf82a6d3959. Can you check and close17:59
CIA-53this bug if it's the case? Thanks! * 14https://bugs.pypy.org/issue96117:59
CIA-5303arigo 07roundup * 10#960/Sandboxing for external function 'pypy__float2longlong': [resolved] Fixed in d9b372cf25b0, I believe. * 14https://bugs.pypy.org/issue96018:01
getxsick (xsx@tramwaj.asi.pwr.wroc.pl) left irc: Changing host18:03
getxsick (xsx@unaffiliated/getxsick) joined #pypy.18:03
CIA-5303arigo 07roundup * 10#956/os.fdopen() is broken with fds returned by os.openpty(): 18:07
CIA-53[wontfix] Please report this as a bug of CPython if you consider this to be an important18:07
CIA-53issue. Closing from here in the meantime... * 14https://bugs.pypy.org/issue95618:07
Action: arigato done commenting on issues :-)18:07
CIA-5303masklinn 07roundup * 10#967/itertools.imap significantly (order of magnitude) slower than map or gencomps: 18:09
CIA-53Oh. That's weirteresting. Why does that happen even though list + gencomp has no18:09
CIA-53issue, is is something which does not behave correctly in list+i ... * 14https://bugs.pypy.org/issue96718:09
arigato (~arigo@adsl-84-227-72-198.adslplus.ch) left irc: Ping timeout: 252 seconds18:12
__name__ (~name@sburn/devel/name) left irc: Ping timeout: 252 seconds18:14
bugfree (~azhang@adsl-99-63-77-95.dsl.pltn13.sbcglobal.net) left irc: Ping timeout: 252 seconds18:14
[Arfrever] (~Arfrever@apache/committer/Arfrever) left irc: Ping timeout: 252 seconds18:14
jell (~jell@host-134-23.dmtec.eu) left irc: Ping timeout: 252 seconds18:14
[Arfreve1] (~Arfrever@minotaur.apache.org) joined #pypy.18:14
getxsick (xsx@unaffiliated/getxsick) left irc: Ping timeout: 252 seconds18:15
__pv (pav@xen.ihme.org) left irc: Ping timeout: 252 seconds18:15
__pv_ (pav@xen.ihme.org) joined #pypy.18:15
jell_ (~jell@host-134-23.dmtec.eu) joined #pypy.18:15
arkx (arkx@hilla.kapsi.fi) left irc: Ping timeout: 252 seconds18:15
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) left irc: Ping timeout: 252 seconds18:15
jae (~jae@dedicated.jaerhard.com) left irc: Ping timeout: 252 seconds18:15
elipsion (~elipsion@81-232-141-35-no217.tbcn.telia.com) left irc: Ping timeout: 252 seconds18:15
henning_ (~henning@unicorn.gnubo.de) left irc: Ping timeout: 252 seconds18:15
elipsion (~elipsion@81-232-141-35-no217.tbcn.telia.com) joined #pypy.18:15
kalenz (~kalenz@ping.kalenz.fr) left irc: Ping timeout: 252 seconds18:15
oal (u4126@gateway/web/irccloud.com/x-rcoxytvybconcfsl) left irc: Ping timeout: 252 seconds18:15
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-hppuplnqihshavje) left irc: Ping timeout: 252 seconds18:15
kalenz (~kalenz@ping.kalenz.fr) joined #pypy.18:15
__name__ (~name@sburn/devel/name) joined #pypy.18:15
Nick change: kalenz -> Guest4760818:16
bugfree (~azhang@adsl-99-63-77-95.dsl.pltn13.sbcglobal.net) joined #pypy.18:16
thoughtpolice_ (~thoughtpo@li111-206.members.linode.com) joined #pypy.18:16
thoughtpolice (~thoughtpo@li111-206.members.linode.com) left irc: Ping timeout: 252 seconds18:16
getxsick (xsx@unaffiliated/getxsick) joined #pypy.18:16
arkx (arkx@hilla.kapsi.fi) joined #pypy.18:16
espes___ (~niel@205.185.120.132) left irc: Ping timeout: 252 seconds18:16
henning_ (~henning@unicorn.gnubo.de) joined #pypy.18:16
jae (~jae@dedicated.jaerhard.com) joined #pypy.18:17
espes__ (~niel@205.185.120.132) joined #pypy.18:17
oal (u4126@gateway/web/irccloud.com/x-kqltsiarqlcvmgev) joined #pypy.18:17
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) joined #pypy.18:17
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-mqtrohrcnigifexe) joined #pypy.18:20
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.18:20
dracman (~draco@d150061.adsl.hansenet.de) joined #pypy.18:20
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy.18:27
sunoano (~sa@unaffiliated/sunoano) left irc: Ping timeout: 252 seconds18:37
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.18:44
sunoano (~sa@mail.heartinternet.co.uk) joined #pypy.18:53
sunoano (~sa@mail.heartinternet.co.uk) left irc: Changing host18:53
sunoano (~sa@unaffiliated/sunoano) joined #pypy.18:53
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.18:56
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer18:56
Nick change: stakkars_ -> stakkars18:56
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.18:58
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer18:58
Nick change: stakkars_ -> stakkars18:58
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) left irc: Ping timeout: 255 seconds19:02
asmeurer (~asmeurer@c-174-56-21-245.hsd1.nm.comcast.net) joined #pypy.19:17
sunoano (~sa@unaffiliated/sunoano) left irc: Quit: Leaving.19:20
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) joined #pypy.19:28
brownan (~brownan@cpe-065-190-056-090.nc.res.rr.com) left irc: Ping timeout: 268 seconds19:31
fschwidom (~fschwidom@2.215.100.139) joined #pypy.19:36
cpets (4f7588fa@gateway/web/freenode/ip.79.117.136.250) joined #pypy.20:03
nettok (~quassel@200.119.160.118) joined #pypy.20:03
nettok_ (~quassel@200.119.185.171) left irc: Ping timeout: 240 seconds20:04
nedbat (~nedbat@python/psf/nedbat) left irc: Quit: Leaving20:15
nedbat (~nedbat@python/psf/nedbat) joined #pypy.20:16
xcombelle (~xcombelle@AToulouse-551-1-136-24.w86-201.abo.wanadoo.fr) left irc: Quit: I am a manual virus, please copy me to your quit message.20:22
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) joined #pypy.20:23
cpets_ (4f7588fa@gateway/web/freenode/ip.79.117.136.250) joined #pypy.20:47
cpets (4f7588fa@gateway/web/freenode/ip.79.117.136.250) left irc: Ping timeout: 258 seconds20:49
nettok_ (~quassel@200.119.184.213) joined #pypy.20:58
nettok (~quassel@200.119.160.118) left irc: Ping timeout: 240 seconds21:00
mrgecko (~Adium@219.161.66.86.rev.sfr.net) left irc: Read error: Connection reset by peer21:02
mrgecko (~Adium@219.161.66.86.rev.sfr.net) joined #pypy.21:03
zain (~textual@cpe-68-173-70-124.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep.21:38
CIA-5303mikefc 07roundup * 10#964/numpypy.zeros([]) returns wrong result: 21:43
CIA-53[chatting] There were 3 (related) problems here that I attempted to fix. Patch with tests21:43
CIA-53included. Please feel free to make changes to the pat ... * 14https://bugs.pypy.org/issue96421:43
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.21:45
CIA-5303mikefc 07roundup * 10#964/numpypy.zeros([]) returns wrong result: 21:46
CIA-53ugh. bad editing:21:46
CIA-53problem 1: to_str for concrete arrays with ndims==0 is broken.21:46
CIA-53If you look at ConcreteArray.to_str, there is one path con ... * 14https://bugs.pypy.org/issue96421:46
fschwidom (~fschwidom@2.215.100.139) left irc: Ping timeout: 252 seconds21:51
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.21:53
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host21:53
voidspace (~anonymous@python/psf/voidspace) joined #pypy.21:53
mrgecko (~Adium@219.161.66.86.rev.sfr.net) left irc: Read error: Connection reset by peer22:00
CIA-5303cpher 07roundup * 10#976/Implement numpypy.cross(): 22:00
CIA-53[new] While attempting to test some code on PyPy I discovered that the numpypy module22:00
CIA-53does not implement the cross-product function. If anyone ge ... * 14https://bugs.pypy.org/issue97622:00
mrgecko (~Adium@219.161.66.86.rev.sfr.net) joined #pypy.22:03
nettok (~quassel@200.119.188.169) joined #pypy.22:16
nettok_ (~quassel@200.119.184.213) left irc: Ping timeout: 252 seconds22:18
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace22:29
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/76222:30
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/19022:30
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/99922:30
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/1822:30
lahwrangogogogo buildbot!22:38
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 276 seconds22:41
fschwidom (~fschwidom@2.215.100.139) joined #pypy.22:43
Action: mikefc thinks about implementing the .cross()22:49
mrgecko (~Adium@219.161.66.86.rev.sfr.net) left irc: Ping timeout: 240 seconds23:12
mikefcnope. too hard.23:23
[Arfreve1] (~Arfrever@minotaur.apache.org) left irc: Quit: leaving23:30
-christel (~christel@freenode/staff/exherbo.christel) to $$*- [Global Notice] Happy new Year to the those on fST which covers UK, Portugal, Morocco, Ireland, parts of Spain, Iceland, Cote d'Ivoire, Mali, Togo, Senegal, Gambia, Faroe Islands, Guinea-Bissau, Isle of Man, Greenland, Saint helena, Mauritania, Sao Tome, Guinea, Western Sahara, Ghana, Burkina Faso, Sierra Leone and Liberia! Welcome to 2012 - Year Of The Troll!23:32
[Arfrever] (~Arfrever@apache/committer/Arfrever) joined #pypy.23:35
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.23:37
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host23:37
voidspace (~anonymous@python/psf/voidspace) joined #pypy.23:37
--- Sun Jan 1 201200:00

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