| nopper (~nopper@host3-184-dynamic.57-82-r.retail.telecomitalia.it) left irc: Remote host closed the connection | 00:05 | |
| Ademan (~dan@adsl-75-36-249-165.dsl.pltn13.sbcglobal.net) left irc: Quit: Lost terminal | 00:06 | |
| arigato (~arigo@c-6a4fe353.022-54-67626719.cust.bredbandsbolaget.se) left irc: Read error: Operation timed out | 00:14 | |
| Ademan (~dan@adsl-75-36-249-165.dsl.pltn13.sbcglobal.net) joined #pypy. | 00:23 | |
| Ademan | this is really aggravating... since I upgraded to lucid, x.org will go into a mode switching frenzy and keep changing the resolution, and whereas I've never had X.org crash before, it's crashed at least five times since I got lucide a month ago | 00:23 |
|---|---|---|
| Ademan | s/(?<=lucid)e// | 00:24 |
| getxsick | Ademan: Lucid is amazing, i have no idea what you are talking about ;-) | 00:24 |
| ousado_ (~ousado@p5B3C2BA9.dip0.t-ipconnect.de) joined #pypy. | 00:27 | |
| ousado (~ousado@p5B3C2C7C.dip0.t-ipconnect.de) left irc: Ping timeout: 240 seconds | 00:27 | |
| bigdog1 (scmikes@72-197-8-8-arpa.cust.cinci.current.net) left #pypy. | 00:46 | |
| Alex_Gaynor (~alex@76-206-247-179.lightspeed.cicril.sbcglobal.net) left irc: Remote host closed the connection | 00:59 | |
| Alex_Gaynor (~Alex_Gayn@76-206-247-179.lightspeed.cicril.sbcglobal.net) joined #pypy. | 00:59 | |
| panni__ (hannes@ip-95-222-52-93.unitymediagroup.de) joined #pypy. | 02:37 | |
| panni_ (hannes@ip-95-222-52-93.unitymediagroup.de) left irc: Read error: Connection reset by peer | 02:37 | |
| panni__ (hannes@ip-95-222-52-93.unitymediagroup.de) left irc: Client Quit | 02:39 | |
| jcreigh (~jason@72-160-63-13.dyn.centurytel.net) left irc: Quit: Leaving | 03:01 | |
| kursor (~kursor@p57BB15D1.dip0.t-ipconnect.de) joined #pypy. | 03:18 | |
| ronny|ho1e (~egeram@p57978BFC.dip.t-dialin.net) joined #pypy. | 03:30 | |
| ronny|home (~egeram@p5B3DCB21.dip.t-dialin.net) left irc: Ping timeout: 258 seconds | 03:33 | |
| nettok (~netto@200.119.152.176) joined #pypy. | 04:25 | |
| kursor (~kursor@p57BB15D1.dip0.t-ipconnect.de) left irc: Quit: kursor | 04:27 | |
| e-max_ (~e-max@217.14.244.16) joined #pypy. | 04:36 | |
| ronny|ho1e (~egeram@p57978BFC.dip.t-dialin.net) left irc: Quit: leaving | 05:10 | |
| nettok (~netto@200.119.152.176) left irc: Quit: Ex-Chat | 05:24 | |
| nettok (~netto@200.119.152.176) joined #pypy. | 05:25 | |
| fijal | hi | 05:28 |
| gutworth | hi | 05:31 |
| gutworth | up late, too? | 05:31 |
| nettok (~netto@200.119.152.176) left irc: Quit: Ex-Chat | 05:34 | |
| Alex_Gaynor | late? it's only 12:30 | 05:36 |
| nsf (~nsf@jiss.convex.ru) left irc: Ping timeout: 240 seconds | 05:43 | |
| ronny (ronny@pida/ronny) joined #pypy. | 05:48 | |
| fijal | http://xkcd.com/361/ | 05:53 |
| fijal | gutworth: just got back from climbing really | 05:53 |
| fijal | arigato: (if you read logs) I'll fix those failures tomorrow | 05:54 |
| DasIch (~DasIch@p5DC5F88D.dip.t-dialin.net) joined #pypy. | 05:59 | |
| dju (dju@fsf/member/dju) left irc: Read error: Connection reset by peer | 06:01 | |
| dju (dju@fsf/member/dju) joined #pypy. | 06:01 | |
| DasIch_ (~DasIch@p5DC5ED3F.dip.t-dialin.net) left irc: Ping timeout: 258 seconds | 06:02 | |
| Scriptor (~Scriptor@98.117.19.57) joined #pypy. | 06:37 | |
| mvt (~mvt@87.213.45.85) joined #pypy. | 06:49 | |
| iko (iko@eskarina.iko.pp.se) left irc: Ping timeout: 276 seconds | 07:18 | |
| Scriptor (~Scriptor@98.117.19.57) left irc: Quit: Scriptor | 07:19 | |
| fubd (~a@digsby05.rit.edu) left irc: | 07:21 | |
| antocuni (~antocuni@host83-56-dynamic.14-87-r.retail.telecomitalia.it) joined #pypy. | 07:21 | |
| iko (iko@eskarina.iko.pp.se) joined #pypy. | 07:23 | |
| arigato (~arigo@c-164be353.022-54-67626719.cust.bredbandsbolaget.se) joined #pypy. | 07:29 | |
| kenaan | 03afa 10r7522814 07M(pypy/branch/cpyext-init-cleanup/pypy/module/cpyext/api.py): Move module-level code to a function ... | 07:52 |
| pedronis (~pedronis@46-180.61-188.cust.bluewin.ch) joined #pypy. | 07:53 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 07:58 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 08:08 | |
| verte (~verte@120.153.16.136) joined #pypy. | 08:19 | |
| mwhudson | has there been a benchmark run on speed.pypy.org since blackhole-improvements landed? | 08:24 |
| arigato | yes | 08:25 |
| arigato | hard to see the difference, on these benchmarks | 08:26 |
| arigato | maybe we should really add e.g. translate.py | 08:27 |
| antocuni | arigato: so, the result is that you destroyed all of the ootype jit for no improvement? :-) | 08:27 |
| arigato | yes :-) | 08:27 |
| antocuni | "cool" | 08:28 |
| arigato | sorry about that | 08:28 |
| antocuni | well, no problem | 08:28 |
| antocuni | I'll try to catch it up at some point | 08:28 |
| arigato | :-/ | 08:28 |
| antocuni | if we did the big rtyper refactoring, these things would not happen :-/ | 08:29 |
| wolf_ (~venkatakr@122.167.3.254) joined #pypy. | 08:30 | |
| verte | which refactoring? | 08:33 |
| kenaan | 03arigo 10r7522914 pypy/trunk/pypy/jit 07M(llimpl.py assembler.py regalloc.py executor.py jitprof.py optimizeopt.py pyjitpl.py resoperation.py simple_optimize.py test_basic.py test_jitprof.py test_optimizeopt.py test_string.py jitou ... | 08:34 |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) joined #pypy. | 08:35 | |
| aleale | are you sure that there have been a benchmark run since the merge? | 08:36 |
| aleale | http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/339/steps/svn/logs/stdio | 08:37 |
| CIA-55 | 03arigo 07roundup * 10#545/Rare bug in optimizeopt: [testing] After discussions in IRC that you have to fish for by date (e.g. to get the answer to "I fixed one issue"), r75229 might fix the issue t ... * 14https://codespeak.net/issue/pypy-dev/issue545 | 08:39 |
| arigato | aleale: I did a few benchmark runs before the merge, at least | 08:40 |
| arigato | aleale: hum, yes, most buildbot processes did not run this morning | 08:42 |
| aleale | so I dont think it made it to speed.pypy.org | 08:43 |
| arigato | no, but as I said I did a few runs before the merge | 08:43 |
| arigato | which should have ended up at speed.pypy.org as well | 08:43 |
| arigato | (it ignores the branches) | 08:44 |
| Shanita (~John@f049147210.adsl.alicedsl.de) joined #pypy. | 08:53 | |
| Moku (~John@f049020145.adsl.alicedsl.de) left irc: Ping timeout: 260 seconds | 08:54 | |
| wolf_ (~venkatakr@122.167.3.254) left irc: Ping timeout: 260 seconds | 09:09 | |
| cmd (dmc@fragstore.net) left irc: Ping timeout: 240 seconds | 09:12 | |
| cmd (dmc@fragstore.net) joined #pypy. | 09:13 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 09:13 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 09:23 | |
| Hory (~hory@78.96.96.85) joined #pypy. | 09:39 | |
| kenaan | 03arigo 10r7523014 07M(pypy/trunk/pypy/lib/test2/test_dbm_extra.py): Missing import. ... | 09:39 |
| arigato | exarkun: you may have broken test_zipimport.py | 10:04 |
| arigato | exarkun: see http://codespeak.net:8099/summary/longrepr?testname=unmodified&builder=pypy-c-app-level-linux-x86-32&build=629&mod=lib-python.2.5.2.test.test_zipimport | 10:05 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 10:06 | |
| kenaan | 03arigo 10r7523114 pypy/trunk/pypy/jit/tl/tinyframe 07M(/* /test/*): fixeol ... | 10:07 |
| kenaan | 03arigo 10r7523214 pypy/trunk/py 07M(/* __init__.py* __metainfo.py* _builtin.py* /_cmdline/* __init__.py* pycleanup.py* pyconvert_unittest.py* pycountloc.py* pylookup.py* pysvnwcrevert.py* pytest.py* pywhich.py* /_code/* __init__.py ... | 10:08 |
| kenaan | 03afa 10r7523314 07M(pypy/branch/cpyext-init-cleanup/pypy/module/cpyext/api.py): Remove unused parameter ... | 10:09 |
| e-max__ (~e-max@212.44.158.20) joined #pypy. | 10:15 | |
| kenaan | 03arigo 10r7523414 07M(pypy/trunk/lib-python/modified-2.5.2/distutils/tests/test_msvccompiler.py): Attempt to skip this file on non-Windows platforms. ... | 10:16 |
| e-max_ (~e-max@217.14.244.16) left irc: Ping timeout: 245 seconds | 10:18 | |
| wolf (~venkatakr@122.167.24.0) joined #pypy. | 10:21 | |
| Nick change: wolf -> Guest63110 | 10:21 | |
| verte (~verte@120.153.16.136) left irc: Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org | 10:22 | |
| kenaan | 03arigo 10r7523514 07M(pypy/trunk/pypy/module/sys/interp_encoding.py): Revert r75039. It makes pypy-c -A tests fail on tannit, ... | 10:23 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 10:23 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) left irc: Quit: aleale | 10:24 | |
| kursor (~kursor@p57BB03A6.dip0.t-ipconnect.de) joined #pypy. | 10:47 | |
| kursor (~kursor@p57BB03A6.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer | 10:47 | |
| kursor (~kursor@p57BB03A6.dip0.t-ipconnect.de) joined #pypy. | 10:47 | |
| lizardo (~lizardo@189.2.128.130) joined #pypy. | 10:53 | |
| nsf (~nsf@jiss.convex.ru) left irc: Quit: WeeChat 0.3.2 | 10:54 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 11:01 | |
| Guest63110 (~venkatakr@122.167.24.0) left irc: Ping timeout: 260 seconds | 11:11 | |
| arigato | pfff | 11:15 |
| fuzzyman (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy. | 11:15 | |
| Guest63110 (~venkatakr@122.167.9.200) joined #pypy. | 11:16 | |
| arigato | the unicode errors that fijal introduced three days ago and left untouched are a complete mess to fix | 11:16 |
| arigato | I may just revert them instead | 11:17 |
| antocuni (~antocuni@host83-56-dynamic.14-87-r.retail.telecomitalia.it) left irc: Ping timeout: 276 seconds | 11:20 | |
| Guest63110 (~venkatakr@122.167.9.200) left irc: Ping timeout: 258 seconds | 11:26 | |
| nsf (~nsf@jiss.convex.ru) left irc: Quit: WeeChat 0.3.2 | 11:28 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 11:28 | |
| nsf (~nsf@jiss.convex.ru) left irc: Client Quit | 11:29 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 11:30 | |
| nsf (~nsf@jiss.convex.ru) left irc: Client Quit | 11:30 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 11:31 | |
| nsf (~nsf@jiss.convex.ru) left irc: Client Quit | 11:32 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 11:32 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) joined #pypy. | 11:34 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 11:41 | |
| amaury_ (~5bc3480e@gateway/web/freenode/ip.91.195.72.14) joined #pypy. | 11:47 | |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) joined #pypy. | 11:52 | |
| cmd (dmc@fragstore.net) left irc: Ping timeout: 245 seconds | 11:53 | |
| ebo^ (~ebo@2001:6f8:1ca0:4711:226:2dff:fef9:ea8f) joined #pypy. | 11:54 | |
| stakkars (~tismer@82.113.121.129) joined #pypy. | 11:57 | |
| cmd (dmc@fragstore.net) joined #pypy. | 11:58 | |
| Hory (~hory@78.96.96.85) left irc: Ping timeout: 276 seconds | 12:02 | |
| amaury_ | arigato: hi | 12:07 |
| amaury_ | thanks for fixing the tests | 12:07 |
| arigato | n | 12:18 |
| arigato | no problem | 12:18 |
| arigato | it was much easier than the unicode test failures, which I still have not fixed at all | 12:18 |
| amaury_ | yes, I tried also | 12:21 |
| amaury_ | but I could not fix ootype/rstr.py | 12:21 |
| arigato | we also need much more special-casing in llinterp.py | 12:21 |
| arigato | and all other places that call fn_raise_OSError() | 12:22 |
| romao (~Caio@143.106.167.157) joined #pypy. | 12:22 | |
| arigato | I still think that it was a very bad idea to use the normal Unicode{En,De}codeError in RPython | 12:23 |
| arigato | hah, even the cli backend is broken, as far as I see | 12:24 |
| amaury_ | yes, raise UnicodeEncodeError("message") was valid RPython | 12:30 |
| amaury_ | when it's not even valid in CPython | 12:30 |
| arigato | :-) | 12:30 |
| nsf (~nsf@jiss.convex.ru) left irc: Quit: WeeChat 0.3.2 | 12:36 | |
| exarkun | arigato: I can't see anything (at all) at http://codespeak.net:8099/summary/longrepr?testname=unmodified&builder=pypy-c-app-level-linux-x86-32&build=629&mod=lib-py | 12:37 |
| Hory (~hory@78.96.96.85) joined #pypy. | 12:37 | |
| WildChild | does anything exist that can pickle the metadata of a module (class definitions, function definitions, etc.)? | 12:45 |
| exarkun | "metadata"? | 12:45 |
| amaury_ | exarkun: I think this URL is truncated | 12:46 |
| amaury_ | try http://buildbot.pypy.org/summary/longrepr?testname=unmodified&builder=pypy-c-app-level-linux-x86-32&build=629&mod=lib-python.2.5.2.test.test_zipimport | 12:46 |
| exarkun | amaury_: :( | 12:46 |
| exarkun | amaury_: It's probably still truncated, I guess. | 12:46 |
| WildChild | exarkun: pickle will only save a reference to a class or a function inside a module | 12:46 |
| exarkun | amaury_: At least in my IRC client. | 12:46 |
| WildChild | I want to pickle the function itself or the class itself | 12:46 |
| WildChild | to "recreate" it without the source on another interpreter | 12:46 |
| exarkun | WildChild: There's no metadata. There's just objects. | 12:46 |
| WildChild | I know they are objects | 12:46 |
| amaury_ | exarkun: this one is short enough http://buildbot.pypy.org/summary?category=applevel | 12:47 |
| exarkun | amaury_: Thank you :) | 12:47 |
| WildChild | but a class it "sort of" a meta-object that generates some other objects of its type | 12:47 |
| WildChild | and a class isn't pickled by pickle | 12:47 |
| amaury_ | exarkun: I guess that the "test_zipimport" failure is for you | 12:47 |
| exarkun | amaury_: I guess so | 12:47 |
| exarkun | Although it passes when I run it :( | 12:48 |
| amaury_ | it's an applevel test | 12:48 |
| amaury_ | did you run it with a translated pypy-c? | 12:48 |
| exarkun | Ohh. No. And in fact I did not run it, I ran PyPy's test_zipimport, not this test_zipimport. | 12:49 |
| WildChild | I guess there's nothing like this in Python? :) | 12:49 |
| exarkun | (I tried to run the whole test suite but six hours later it crashed so I didn't get to see the results) | 12:49 |
| exarkun | WildChild: There's probably lots of things like it. | 12:49 |
| exarkun | WildChild: pyro, py.execnet, etc, all those things must have something like it. | 12:50 |
| WildChild | most of these use the .py file to move the code | 12:50 |
| exarkun | Why do you care about the implementation if it achieves the desired goal? | 12:50 |
| WildChild | I have some case where moving the .py is just really easy but some other where I need to copy a really specific part of a module and where the source may not be available | 12:51 |
| exarkun | That sounds unnecessarily challenging. | 12:51 |
| WildChild | ex: interactive interpreter | 12:51 |
| exarkun | In the general case, you can't extract part of a module for execution elsewhere. | 12:51 |
| exarkun | How are you going to figure out which other parts of the module it requires for correct operation? | 12:51 |
| exarkun | You can't do it. | 12:52 |
| WildChild | I lied. I want to copy the entire module, not just a part of it | 12:52 |
| exarkun | You just don't want it to be as easy as copying a .py file? | 12:52 |
| WildChild | references to other modules can usually be copied with the file, this part is easy | 12:52 |
| exarkun | Good luck | 12:52 |
| WildChild | lol | 12:53 |
| WildChild | I'll explain in some other way | 12:53 |
| WildChild | I'm trying to create some kind of tasklet sandboxing so an interpreter can receive tasklets from many sources and I want to avoid name clashes | 12:53 |
| WildChild | also, the server that receives tasklets has it's own program and received tasklets must not interfere with this program | 12:54 |
| exarkun | I assume you're talking about accidental clashes, not intentional ones | 12:54 |
| WildChild | yep | 12:54 |
| WildChild | accidental | 12:54 |
| exarkun | So you were planning to rename modules anyway, it seems | 12:54 |
| WildChild | exactly | 12:54 |
| exarkun | Why is that any harder if you're sending .py files around instead of random pickley things? | 12:55 |
| kenaan | 03arigo 10r7523614 pypy/trunk/pypy 07M(builtin.py classdef.py test_annrpython.py unicodetype.py runicode.py rstr.py rbuiltin.py test_rbuiltin.py): Revert half of r75146, which was half-done (see e.g. test_runicode ... | 12:55 |
| WildChild | is it easy to load a python file as a module with a customized name? | 12:56 |
| WildChild | imp module? | 12:56 |
| exarkun | m = types.ModuleType("name") | 12:57 |
| exarkun | exec source in m.__dict__ | 12:57 |
| exarkun | something like that | 12:57 |
| WildChild | oh, that I know! | 12:57 |
| exarkun | perhaps imp.load_module is a good idea too, yea. The imp module seems kinda sketchy, though. | 12:57 |
| WildChild | I already use it for a late loading of remote imports | 12:58 |
| WildChild | works well | 12:58 |
| exarkun | :) | 12:58 |
| WildChild | :) | 12:58 |
| WildChild | the interactive interpreter still gives me some problem as there are no source file associated with it | 12:59 |
| WildChild | I could always add this to the list of limitations :P | 12:59 |
| exarkun | You can fix that, too, with enough effort. | 12:59 |
| WildChild | ? | 12:59 |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) left irc: Ping timeout: 265 seconds | 12:59 | |
| exarkun | inspect.getsource or linecache.getline | 12:59 |
| exarkun | You can interfere with one of those | 13:00 |
| WildChild | I think getsource didn't work | 13:00 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 13:01 | |
| romao (~Caio@143.106.167.157) left irc: Read error: Connection reset by peer | 13:01 | |
| WildChild | about pickling the state, I already started something that kinda work but I know there's a lot of stuff I don't cover yet. I can pickle classes (old style and new style) and functions including func_code) and load them on a remote interpreter | 13:02 |
| WildChild | just wanted to know if there was already something move evolved like this :) | 13:03 |
| WildChild | but imp.load_module seems a good idea when I know I have the source available | 13:03 |
| Action: exarkun vomits | 13:10 | |
| exarkun | test_zipimport is utter garbage | 13:10 |
| exarkun | Can someone tell me where the files it's operating on go? | 13:11 |
| exarkun | Oh nevermind, there's the os.remove call | 13:12 |
| exarkun | Aghh and they all use the same filename | 13:12 |
| exarkun | And surprise, the behavior varies depending on whether you run the whole module or just one test | 13:13 |
| exarkun | ... and the zip file the tests create isn't importable outside of the test suite for some reason | 13:16 |
| exarkun | ... and I can't even run the test on top of CPython at all? | 13:20 |
| copelco (~copelco@h-66-166-135-210.atlngahp.static.covad.net) joined #pypy. | 13:23 | |
| getxsick | list.append/pop is thread-safe in Python? | 13:24 |
| amaury_ | yes | 13:24 |
| getxsick | thx | 13:24 |
| amaury_ | getxsick: thanks to the GIL: http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm | 13:24 |
| getxsick | oh, nice link :) | 13:25 |
| amaury_ | nice site in general | 13:25 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 13:25 | |
| getxsick | bookmarked | 13:26 |
| WildChild | getxsick: I now remember a reason to manually pickle a module instead of moving a file. a future plan for my project. dynamic code update | 13:28 |
| WildChild | if a loaded modules has parts of its code replaced, it can't be loaded directly from the source file | 13:28 |
| exarkun | Why not? | 13:29 |
| exarkun | I used to do that all the time. | 13:29 |
| WildChild | unless you do the modification in the same exact source file? | 13:29 |
| exarkun | I don't understand what that means. | 13:30 |
| WildChild | I explain | 13:30 |
| WildChild | I have a remote tasklet (on a remote interpreter) but a reference to it. | 13:30 |
| WildChild | tasklet.updatecode("name", new_function) | 13:31 |
| WildChild | updatecode should push the code of new_function to the remote interpreter and reload it in the module in which the tasklet execute with the name "name" | 13:32 |
| WildChild | how would you do that? | 13:32 |
| exarkun | amaury_: Do you know how many hours it will take to run test_zipimport on py.py? | 13:32 |
| arigato | exarkun: if it's too long, you should not try, but instead run it on top of pypy-c | 13:32 |
| exarkun | arigato: But if I change the implementation of zipimport, then I have to retranslate :/ | 13:33 |
| arigato | exarkun: yes | 13:33 |
| exarkun | So either way I'm in for hours of suffering | 13:33 |
| arigato | exarkun: but you might also extract the test that is failing | 13:33 |
| arigato | exarkun: and run only that one on top of py.py, or even only part of it, as a specific one-liner test that you put in pypy/module/zipimport/test | 13:34 |
| exarkun | That's what I'm trying to do. I can't understand what's going on in python's test_zipimport, I want to add some debug prints and see what they say on pypy. | 13:34 |
| arigato | why can't you use an existing pypy-c to run that? and compare it with CPython? | 13:35 |
| exarkun | The debug prints are in the zipimport implementation. Sorry, I was unclear. | 13:35 |
| exarkun | Everything worth inspecting happens inside __import__. | 13:36 |
| exarkun | Probably if I were smarter I could just read the code and see the bug. But I can't, I need a lot of interactive help. | 13:37 |
| arigato | ah, messy indeed | 13:40 |
| Alex_Gaynor (~Alex_Gayn@76-206-247-179.lightspeed.cicril.sbcglobal.net) left irc: Quit: Alex_Gaynor | 13:43 | |
| e-max__ (~e-max@212.44.158.20) left irc: Ping timeout: 240 seconds | 13:45 | |
| romao (~Caio@143.106.167.157) joined #pypy. | 13:47 | |
| Alex_Gaynor (~alex@76-206-247-179.lightspeed.cicril.sbcglobal.net) joined #pypy. | 13:53 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 13:54 | |
| jcreigh (~jason@72-160-63-13.dyn.centurytel.net) joined #pypy. | 13:57 | |
| Action: exarkun narrows it down to six tests | 14:05 | |
| exarkun | And cleaning up the modules imported by testZipImporterMethods at the end of that test fixes it | 14:07 |
| exarkun | So why doesn't CPython care about those left-over modules | 14:07 |
| lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) left irc: Quit: Leaving... | 14:22 | |
| exarkun | For some reason __import__ doesn't return the module already in sys.modules on CPython :/ | 14:26 |
| exarkun | But only in this special case, not in general | 14:27 |
| gutworth | that's because __import__ is riddled with implementation details | 14:27 |
| gutworth | you're probably calling it in some way the interpreter never expects | 14:27 |
| gutworth | or does | 14:28 |
| Alex_Gaynor | Django has a somewhat pure python veresion of __import__ :D | 14:28 |
| gutworth | no, you have a wrapper over it | 14:28 |
| exarkun | gutworth: Well, it's not me | 14:28 |
| exarkun | gutworth: It's Lib/test/test_zipimport.py | 14:28 |
| gutworth | oh, joy | 14:28 |
| Alex_Gaynor | guibou: nope, we now have a total implementation of the finder portion of it | 14:28 |
| Alex_Gaynor | doh, gutworth | 14:28 |
| gutworth | yes, passing "dummy" there is a hack | 14:29 |
| exarkun | :( | 14:29 |
| exarkun | Should I have been paying attention to that? | 14:29 |
| exarkun | I can never remember what fromlist is supposed to do | 14:29 |
| gutworth | in this case it ensures that the last module in the dot sequence is returned | 14:30 |
| Alex_Gaynor | fromlist scares me, i've learned not to use it | 14:30 |
| exarkun | gutworth: What would a non-hack value be? | 14:30 |
| Alex_Gaynor | because strange hacks like fromlist=[""] and fromlist=["*"] I ran away | 14:30 |
| exarkun | __import__("A.B", ..., ["B"])? | 14:30 |
| gutworth | a non hack would be doing something like Lib/importlib.py | 14:31 |
| exarkun | Meh | 14:31 |
| gutworth | or importlib/__init__.py as it may be | 14:31 |
| exarkun | At the moment I'm only interested in making these tests not fail on PyPy somehow. So that excludes anything related to importlib, I think. | 14:32 |
| gutworth | http://paste.pocoo.org/show/223566/ | 14:32 |
| arigato | traditionally we pass ["__doc__"] as the last arg to __import__ | 14:32 |
| arigato | (not saying that it's not a hack) | 14:32 |
| nopper (~nopper@host114-196-dynamic.6-87-r.retail.telecomitalia.it) joined #pypy. | 14:32 | |
| exarkun | gutworth: Oh. Yea, I already have a function like that. I'm not really sure it's relevant here, though. | 14:32 |
| exarkun | So ["__dummy__"] is a hack, but does it cause sys.modules to be ignored or something? | 14:33 |
| exarkun | Does regrtest.py do something to sys.modules sometimes? | 14:35 |
| exarkun | Ugh, it does... But hopefully nothing that's actually relevant here. | 14:35 |
| gutworth | you're not really expanding on your problem | 14:36 |
| Action: gutworth leaves | 14:37 | |
| exarkun | Why would I want my problem to expand? | 14:37 |
| Alex_Gaynor | expanding *on* ;) | 14:37 |
| exarkun | "expounding" is a much better word | 14:38 |
| Alex_Gaynor | "expanding on" is a fair common phrase I think | 14:38 |
| exarkun | gutworth: If you're interested, there's plenty of stuff in scrollback. | 14:38 |
| exarkun | Alex_Gaynor: Better things are often less common, true. | 14:38 |
| exarkun | Well, I give up. Three hours is my limit. | 14:42 |
| tav_ (~tav@2001:0:53aa:64c:0:3ffb:abf2:50cd) joined #pypy. | 14:42 | |
| tav (~tav@2001:0:53aa:64c:0:3ffb:a3e2:c907) left irc: Ping timeout: 260 seconds | 14:44 | |
| Nick change: tav_ -> tav | 14:44 | |
| dju (dju@fsf/member/dju) left irc: Read error: Connection reset by peer | 14:50 | |
| Alex_Gaynor | out of memory (from JITted code) | 14:59 |
| Alex_Gaynor | Aborted | 14:59 |
| Alex_Gaynor | :( | 14:59 |
| Alex_Gaynor | happened while trying to translate pypy (with jit) using pypy-c (with JIT) as translated yesterday | 14:59 |
| Shanita (~John@f049147210.adsl.alicedsl.de) left irc: Read error: No route to host | 15:03 | |
| Moku (~John@f049147210.adsl.alicedsl.de) joined #pypy. | 15:03 | |
| fijal | arigato: why are unicode errors hard to fix? | 15:11 |
| arigato | fijal: it's done by now | 15:15 |
| arigato | see the checkin message | 15:15 |
| fijal | uh | 15:15 |
| fijal | r75039 was not meant to be merged, sorry | 15:15 |
| arigato | uh? | 15:15 |
| arigato | ah | 15:16 |
| ebo^ (~ebo@2001:6f8:1ca0:4711:226:2dff:fef9:ea8f) left irc: Read error: Connection reset by peer | 15:16 | |
| fijal | but anyway, why r75236? | 15:16 |
| fijal | it's only about passing more attributes to UnicodeDecodeError, is it hard? | 15:16 |
| arigato | well I gave up after two hours this morning | 15:17 |
| arigato | so I guess so | 15:17 |
| fijal | why it was hard? | 15:17 |
| arigato | see e.g. make_raise_OSError | 15:17 |
| fijal | ? | 15:18 |
| arigato | I'm not saying it's specially hard, but it requires many more special cases (in addition to the ones you always did) | 15:18 |
| fijal | no | 15:18 |
| fijal | it requires less special cases | 15:18 |
| fijal | places that do raise UnicodeDecodeError | 15:19 |
| arigato | if you don't understand why make_raise_OSError, then I can explain it to you | 15:19 |
| fijal | should pass arguments | 15:19 |
| fijal | that's it | 15:19 |
| arigato | but it will take a while | 15:19 |
| fijal | eh | 15:19 |
| fijal | I have to go and buy milk, brb | 15:19 |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) left irc: Quit: aleale | 15:20 | |
| lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) joined #pypy. | 15:23 | |
| mvt (~mvt@87.213.45.85) left irc: Quit: Leaving | 15:24 | |
| fijal | back | 15:34 |
| fijal | arigato: my question is why is making all places that raise UnicodeXError use 6 parameters not enough | 15:34 |
| amaury_ | Because after translation there is only one prebuilt UnicodeError | 15:36 |
| arigato | amaury_: no, wait | 15:36 |
| amaury_ | (eh, that's what I was said before) | 15:37 |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) joined #pypy. | 15:37 | |
| arigato | ok, but that is wrong from 3 days ago until this morning :-) | 15:38 |
| arigato | fijal: one issue left is testing | 15:38 |
| arigato | you need quite special cases for exceptions that take arguments | 15:38 |
| arigato | e.g. you need to be able to convert from the low-level exceptions and Python exceptions and back in llinterp.py | 15:39 |
| arigato | for one direction, you would need to copy carefully fn_raise_OSError, which does it for OSError already | 15:40 |
| arigato | grepping, I find 4 places that use it, all a bit delicate | 15:40 |
| fijal | pff | 15:40 |
| fijal | so it's only a matter of testing? | 15:40 |
| arigato | and all potentially broken by your branch | 15:40 |
| fijal | which is fragile? | 15:40 |
| arigato | then there is the other direction | 15:41 |
| arigato | it's not strictly just for testing | 15:41 |
| fijal | so what is it? | 15:41 |
| fijal | it definitely worked after translation | 15:41 |
| arigato | e.g. on ootype, the operation 'oounicode' can raise UnicodeDecodeEror | 15:41 |
| arigato | so my guess is that an ootype translation would not work out of the box | 15:41 |
| fijal | it's not like we have a buildbot that does it, mind you | 15:42 |
| arigato | you would need to fix the cli and jvm backends first | 15:42 |
| fijal | ok, fine | 15:42 |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 15:43 | |
| arigato | for the other direction of conversion, it's broken too | 15:43 |
| fijal | I think it's enough to convince me | 15:43 |
| stakkars (~tismer@82.113.121.129) left irc: Ping timeout: 265 seconds | 15:44 | |
| arigato | so that means e.g. that existing tests using interpret_raises(UnicodeDecodeError, ..) won't work | 15:44 |
| fijal | right | 15:45 |
| arigato | uh | 15:49 |
| arigato | I got a pypy-c binary, but running it always just prints "Error calling sys.excepthook: (..) No module named traceback" | 15:50 |
| stakkars (~tismer@82.113.121.129) joined #pypy. | 15:50 | |
| arigato | even if I put it inside pypy/ | 15:50 |
| arigato | pfffffff | 15:52 |
| fijal | ? | 15:57 |
| kenaan | 03afa 10r7523714 pypy/branch/cpyext-init-cleanup/pypy/module/cpyext 05A(gateway.py) 07M(api.py boolobject.py classobject.py complexobject.py datetime.py dictobject.py eval.py floatobject.py funcobject.py import_.py intobject.py ite ... | 15:57 |
| Action: fijal is buying tickets for south africa | 15:57 | |
| getxsick | fijal: for when? | 15:58 |
| fijal | ~10th of July | 15:58 |
| mwhudson | that's after the impending excitement finishes? | 15:58 |
| fijal | mwhudson: precisely | 15:58 |
| mwhudson | seems like a good idea | 15:59 |
| fijal | amaury_: did you look into distinguishing between pypy-built so and cpython-built one? | 15:59 |
| fijal | I think that would be a blocker for introducing it into a release | 15:59 |
| fijal | mwhudson: how far it is from SA to NZ? | 15:59 |
| fijal | pretty far? | 15:59 |
| mwhudson | fijal: yes | 16:00 |
| mwhudson | also, you probably have to fly via somewhere like dubai | 16:00 |
| amaury_ | I'll try by simply changing the PYTHON_API_VERSION | 16:00 |
| fijal | uh | 16:00 |
| fijal | amaury_: will it prevent segfaults? | 16:00 |
| arigato | amaury_: what is wrong with giving the file a distinguished name? | 16:01 |
| jcreigh | fijal: oh, cool. why south africa? | 16:01 |
| fijal | my point is that if we include cpyext, people would try to load random .so's (like cpython speedups) | 16:01 |
| fijal | arigato: I'm pretty sure some stuff have hardcoded names | 16:01 |
| fijal | jcreigh: work | 16:01 |
| fijal | mwhudson: you can go via singapure | 16:02 |
| amaury_ | fijal: it will prevent segfaults if Py_InitModule is called early enough by the module | 16:02 |
| fijal | then I want distinguished name | 16:02 |
| fijal | I really want to avoid segfaults for each case | 16:03 |
| mwhudson | fijal: that's not completely ridiculous i guess | 16:03 |
| fijal | still far :) | 16:04 |
| amaury_ | but for example Boost.Python won't work any more | 16:04 |
| amaury_ | it has its own build system | 16:04 |
| fijal | uh | 16:04 |
| fijal | how about having different symbol | 16:05 |
| fijal | that is looked up *before* we do anything? | 16:05 |
| amaury_ | I don't know how to implement it | 16:05 |
| amaury_ | you cannot add a new .c | 16:05 |
| amaury_ | you cannot add some compiler option | 16:06 |
| amaury_ | everything must be in .h files | 16:06 |
| fijal | no | 16:06 |
| fijal | when you compile an extension | 16:06 |
| mwhudson_ (~mwh@fw-unat.cambridge.arm.com) joined #pypy. | 16:07 | |
| fijal | you add a symbol inside the extension with a special value | 16:07 |
| fijal | and then it's looked up when it's loaded | 16:07 |
| amaury_ | how do you add a symbol in an extension? | 16:07 |
| mwhudson_ | fijal: well yes | 16:07 |
| mwhudson_ | fijal: "is it far from NZ to *" has the same answer for most values of "*" :-) | 16:08 |
| stakkars (~tismer@82.113.121.129) left irc: Ping timeout: 265 seconds | 16:09 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 16:09 | |
| Nick change: mwhudson_ -> mwhudson | 16:09 | |
| fijal | amaury_: good question :) | 16:09 |
| tav_ (~tav@84.13.175.50) joined #pypy. | 16:10 | |
| exarkun | amaury_: Well, ELF is a pretty well-defined format, right? | 16:12 |
| tav (~tav@2001:0:53aa:64c:0:3ffb:abf2:50cd) left irc: Ping timeout: 248 seconds | 16:13 | |
| Nick change: tav_ -> tav | 16:13 | |
| stakkars (~tismer@82.113.121.129) joined #pypy. | 16:13 | |
| exarkun | But isn't this idea hopeless, if you want to support Boost? | 16:13 |
| exarkun | If Boost has its own build system, then how could you influence the resulting binaries? | 16:13 |
| amaury_ | exarkun: with some magic in Python.h | 16:14 |
| exarkun | amaury_: except no one seems to know a way to achieve such a thing | 16:17 |
| mwhudson | fijal: you can also fly from .za to sydney and then to nz. which at least stays in the right hemisphere | 16:17 |
| stakkars (~tismer@82.113.121.129) left irc: Ping timeout: 265 seconds | 16:17 | |
| fijal | mwhudson: oh, cool, not from CPT though | 16:18 |
| fijal | amaury_: I'm scared | 16:18 |
| fijal | I really want to avoid segfaults | 16:18 |
| exarkun | Can symbols be enumerated? Or can you only try to get one and have it either succeed or not? | 16:19 |
| amaury_ | "nm -u" does this | 16:21 |
| exarkun | Well, I'm sure there's some way to enumerate them. It's mostly a question of how hard it is, I guess. | 16:21 |
| exarkun | Since someone will have to implement it for .dylibs and .dlls | 16:21 |
| amaury_ | http://fixunix.com/linux/533643-list-symbols-provided-shared-library-runtime.html | 16:22 |
| amaury_ | I've already to this on Windows | 16:22 |
| amaury_ | I've once *done* this on Windows | 16:23 |
| exarkun | I'm trying to think of ways you could define a symbol in Python.h and have it end up with a different name each time it's evaluated | 16:23 |
| exarkun | I don't think there's any way to use a counter. __FILE__ doesn't help because that's always Python.h. | 16:24 |
| kenaan | 03arigo 10r7523814 pypy/trunk/pypy/module/sys 07M(app.py test_sysmodule.py): Try to be really careful in sys.excepthook(). ... | 16:25 |
| exarkun | If you stuffed the expression into some other name, like Py_InitModule, then it'd be evaluated in the right context for __FILE__ to work, but it'd be in a function, so you'd need something that's going to be used at the top-level | 16:25 |
| Alex_Gaynor | if this was C++ we probably could, templates are turing complete afte rall | 16:25 |
| exarkun | But you'd also have to make sure it's something that every module is going to use | 16:25 |
| exarkun | Things like PyDoc_STR are nice candidates, but you still can't be 100% sure | 16:26 |
| exarkun | Although hey, maybe people won't even call anything | 16:27 |
| exarkun | But then that's okay, because you won't segfault when trying to service some call. | 16:27 |
| arigato | why do we want the name of the symbol to change? | 16:28 |
| exarkun | implementation detail | 16:29 |
| fijal | arigato: we want to encode information somewhere | 16:29 |
| arigato | isn't it enough to have a macro in our Python.h that defines Py_InitModule to some different name that only exists in pypy? | 16:29 |
| exarkun | we want to know if a module was built against pypy or not | 16:29 |
| exarkun | arigato: That doesn't handle the case where a module doesn't call Py_InitModule until after it's done something else that causes a segfault | 16:29 |
| arigato | I don't really care | 16:30 |
| mwhudson (~mwh@fw-unat.cambridge.arm.com) left irc: Ping timeout: 276 seconds | 16:30 | |
| arigato | Py_InitModule should be the first thing any module does, no? | 16:30 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 16:30 | |
| arigato | alternatively, can't we define *all* the Py_xxx functions to some other name like PyPy_xxx? | 16:31 |
| arigato | then there is no way a module can accidentally use the wrong one | 16:31 |
| exarkun | As I understand it, that's how it works already? | 16:31 |
| exarkun | I don't understand which cases that's insufficient to guard against. | 16:31 |
| arigato | ah, sorry if I misunderstand the goals of this discussion | 16:32 |
| amaury_ | arigato: no, some modules do considerable things before Py_InitModule | 16:32 |
| jcreigh | arigato: okay, stupid question. I'm looking at malloc_cond_fixedsize in assembler.py (in trunk), and I don't even get how it works. Specifically, I don't see how the jump-not-above would ever be triggered. | 16:32 |
| amaury_ | like: module = PyImport_ImportModule("decimal") | 16:32 |
| arigato | ok, but then if no Py_xxx function possibly works because they are #defined to PyPy_xxx, then it should be safe, I think? | 16:33 |
| exarkun | arigato: But they can go on to poke CPython-specific things inside the resulting object | 16:33 |
| exarkun | ie, not use Py_ APIs | 16:33 |
| arigato | uh | 16:34 |
| exarkun | fijal: Ultimately, it's C | 16:34 |
| exarkun | fijal: You can always have a segfault | 16:34 |
| exarkun | fijal: So probably we just need to decide on a level of safety. It'll be below 100%, because it has to be. | 16:34 |
| amaury_ | exarkun: we carefully avoid to declare the C structures that are not safe | 16:35 |
| arigato | jcreigh: nursery_free_adr and nusery_top_adr are gc-specific values, coming from rpython/memory/gc/semispace.py | 16:35 |
| arigato | they mean: | 16:35 |
| arigato | nursery_free_adr is an address inside the nursery, which is the top of the allocated stuff; everything below is allocated space, and everything above is free. | 16:36 |
| arigato | that is, up to nursery_top_adr, which is the address of the end of the nursery. | 16:36 |
| jcreigh | *facepalm* | 16:36 |
| arigato | so the JNA is followed in the common case that there is still enough free space | 16:37 |
| jcreigh | I was reading "nursery_top_adr" as if it was "nursery_free_adr" and wondering why you would compare against the same thing that you just added to. | 16:37 |
| arigato | :-) | 16:37 |
| jcreigh | but that makes a ton of sense. thanks. | 16:37 |
| fijal | exarkun: my level of safety would be ideally that if pypy-c without cpyext does not segfault on loading module X, I would like pypy-c with cpyext not to segfault as well | 16:40 |
| arigato | fijal: that's not possible :-) e.g. write in X.so a single line that segfaults | 16:41 |
| exarkun | Yea, what arigato said. | 16:41 |
| fijal | ok | 16:41 |
| fijal | that's ideal | 16:41 |
| Alex_Gaynor | yes, and because of borrowed ref semantics that's somewhat likely :/ | 16:41 |
| fijal | I think less ideal, but still fine would be if we don't segfault if extension was built against cpython | 16:41 |
| arigato | of course we could provide (with some more effort) a mode in which the C extension modules are loaded in a different process... | 16:41 |
| fijal | that's especially biting in cases like zope.interface speedups | 16:42 |
| fijal | arigato: how do we know if call_pure fix fixed the issue, if we now swallow InvalidLoop? | 16:42 |
| arigato | fijal: good question | 16:42 |
| arigato | fijal: I suppose by the few tests I added | 16:42 |
| fijal | still | 16:43 |
| fijal | I suppose this case should not raise invalidloop | 16:43 |
| fijal | but something more grave | 16:43 |
| fijal | (guard_isnull receiving nonnull box) | 16:43 |
| arigato | well, we have to look very carefully again | 16:43 |
| arigato | to know if there is any way or not for Boxes to be turned into incompatible Consts | 16:44 |
| arigato | I know that we looked at some point, and decided that there was a way | 16:44 |
| arigato | so that's why we are careful and raise InvalidLoop | 16:44 |
| stakkars (~tismer@82.113.121.129) joined #pypy. | 17:00 | |
| dialtone (~dialtone@adsl-99-136-101-166.dsl.pltn13.sbcglobal.net) joined #pypy. | 17:01 | |
| dialtone (~dialtone@adsl-99-136-101-166.dsl.pltn13.sbcglobal.net) left irc: Changing host | 17:01 | |
| dialtone (~dialtone@unaffiliated/dialtone) joined #pypy. | 17:01 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) joined #pypy. | 17:02 | |
| amaury_ (~5bc3480e@gateway/web/freenode/ip.91.195.72.14) left irc: Quit: Page closed | 17:11 | |
| Trundle (~andy@p5B133A60.dip.t-dialin.net) joined #pypy. | 17:14 | |
| nsf (~nsf@jiss.convex.ru) left irc: Quit: WeeChat 0.3.2 | 17:18 | |
| nsf (~nsf@jiss.convex.ru) joined #pypy. | 17:19 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 276 seconds | 17:24 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) left irc: Quit: aleale | 17:29 | |
| kursor (~kursor@p57BB03A6.dip0.t-ipconnect.de) left irc: Quit: kursor | 17:34 | |
| vpoluceno (~vpoluceno@189.73.98.192) joined #pypy. | 17:37 | |
| Gromit (~Gromit_@g230051074.adsl.alicedsl.de) joined #pypy. | 17:44 | |
| Trundle (~andy@p5B133A60.dip.t-dialin.net) left irc: Remote host closed the connection | 17:55 | |
| Gromit (~Gromit_@g230051074.adsl.alicedsl.de) left irc: Quit: Verlassend | 18:01 | |
| Trundle (~andy@p5B133A60.dip.t-dialin.net) joined #pypy. | 18:12 | |
| Gromit (~Gromit_@g230051074.adsl.alicedsl.de) joined #pypy. | 18:28 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) joined #pypy. | 18:49 | |
| kenaan | 03arigo 10r7523914 07M(pypy/trunk/pypy/module/zipimport/test/test_zipimport.py): This test fails on pypy but passes on CPython. ... | 19:05 |
| whyking (~quassel@cycle.cog.brown.edu) joined #pypy. | 19:05 | |
| arigato (~arigo@c-164be353.022-54-67626719.cust.bredbandsbolaget.se) left irc: Read error: Operation timed out | 19:07 | |
| arigato (~arigo@c-164be353.022-54-67626719.cust.bredbandsbolaget.se) joined #pypy. | 19:08 | |
| jcreigh | in tool/viewcode.py, what is the difference between the red and black arrows? | 19:11 |
| arigato | the red arrows are conditional jumps | 19:12 |
| arigato | the black arrows are either JMP, or fall-through to the next block | 19:12 |
| jcreigh | ah! | 19:12 |
| arigato | (I think that JMP are black) | 19:12 |
| jcreigh | some of these graphs get a bit...involved. :) | 19:14 |
| gutworth (~benjamin@64-131-1-181.usfamily.net) left irc: Ping timeout: 265 seconds | 19:23 | |
| gutworth (~benjamin@64-131-1-181.usfamily.net) joined #pypy. | 19:23 | |
| WildChild | Is it possible that imp.find_module only looks for .py files? | 19:43 |
| WildChild | http://paste.pocoo.org/show/223694/ | 19:43 |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) left irc: Quit: aleale | 19:47 | |
| WildChild | http://paste.pocoo.org/show/223699/ | 19:50 |
| WildChild | Is there a reason for this? | 19:50 |
| WildChild | fijal: https://codespeak.net/viewvc/pypy/trunk/pypy/module/imp/importing.py?view=diff&r1=74235&r2=74236 | 19:53 |
| panni_ (hannes@ip-95-222-52-93.unitymediagroup.de) joined #pypy. | 19:53 | |
| WildChild | Why do you test space.config.objspace.lonepycfiles if the comment on top tells that the imp module should search for .pyc files? | 19:54 |
| Arfrever (~Arfrever@gentoo/developer/Arfrever) left irc: Quit: Ex+re (KVIrc 4) | 19:54 | |
| gutworth | how is that contradictory? | 19:55 |
| WildChild | the comment tells the imp modules is allowed to search for lone pyc files | 19:56 |
| gutworth | and it is | 19:56 |
| gutworth | if that is enabled | 19:56 |
| WildChild | but why do I have to enable this if the comment tells the imp module "always" accept lone .pyc? | 19:56 |
| WildChild | and how do I enable this? | 19:57 |
| WildChild | cpython accepts lone pyc | 19:57 |
| gutworth | you look at py.py --help | 19:58 |
| gutworth | and pass the right option | 19:58 |
| WildChild | and with pypy-c? | 19:58 |
| gutworth | no, you must translate with it | 19:58 |
| WildChild | I know | 19:59 |
| WildChild | but I would be also interested to know why this condition has been added :) | 19:59 |
| gutworth | because apparently lone pycs were thought to be an implementation detail | 20:00 |
| WildChild | http://wyvern.cs.uni-duesseldorf.de/~arigo/pypy-doc/config/objspace.lonepycfiles.html | 20:00 |
| WildChild | ok so I guess I'll have to retranslate :) | 20:01 |
| WildChild | how do I enable such options with translate.py? --objspace-lonepycfiles doesn't work | 20:02 |
| Ademan (~dan@adsl-75-36-249-165.dsl.pltn13.sbcglobal.net) left irc: Quit: leaving | 20:03 | |
| WildChild | nevermind, found it | 20:03 |
| romao (~Caio@143.106.167.157) left irc: Changing host | 20:10 | |
| romao (~Caio@unaffiliated/errado) joined #pypy. | 20:10 | |
| Arfrever (~Arfrever@gentoo/developer/Arfrever) joined #pypy. | 20:14 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:41 | |
| dju (~dju@fsf/member/dju) left irc: Max SendQ exceeded | 20:42 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:42 | |
| dju (~dju@fsf/member/dju) left irc: Read error: Connection reset by peer | 20:43 | |
| lizardo (~lizardo@189.2.128.130) left irc: Quit: Leaving | 20:46 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:46 | |
| dju (~dju@fsf/member/dju) left irc: Max SendQ exceeded | 20:48 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:48 | |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) left irc: Ping timeout: 264 seconds | 20:50 | |
| stakkars (~tismer@82.113.121.129) left irc: Ping timeout: 265 seconds | 20:51 | |
| dju (~dju@fsf/member/dju) left irc: Client Quit | 20:51 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:52 | |
| dju (~dju@fsf/member/dju) left irc: Max SendQ exceeded | 20:53 | |
| dju (~dju@fsf/member/dju) joined #pypy. | 20:53 | |
| arigato (~arigo@c-164be353.022-54-67626719.cust.bredbandsbolaget.se) left irc: Quit: See you | 20:55 | |
| Gromit (~Gromit_@g230051074.adsl.alicedsl.de) left irc: Quit: Verlassend | 20:57 | |
| romao (~Caio@unaffiliated/errado) left irc: Quit: nil | 20:59 | |
| amaury_ (~5645c527@gateway/web/freenode/ip.86.69.197.39) joined #pypy. | 21:03 | |
| jcreigh | x86: For when you need three completely different sets of floating point instructions | 21:06 |
| Alex_Gaynor | at least everyone implements the same spec | 21:10 |
| copelco (~copelco@h-66-166-135-210.atlngahp.static.covad.net) left irc: Ping timeout: 248 seconds | 21:11 | |
| verte (~verte@120.153.16.136) joined #pypy. | 21:13 | |
| uorygl (~Warrigal@rrcs-70-63-156-144.midsouth.biz.rr.com) joined #pypy. | 21:17 | |
| uorygl | Hi. I'd like to run PyPy's sandbox version under OS X. I downloaded the binary of the JIT Compiler version and unpacked it, and everything went perfectly fine. | 21:18 |
| uorygl | Doing the same with the Sandbox version, however, gave me a single binary that crashed when I tried to run it. | 21:19 |
| uorygl | Presumably, this isn't supposed to happen. | 21:19 |
| uorygl | How come unpacking pypy-1.2-osx-sandbox.bz2 gave me only a single binary instead of the directory that pypy-1.2-osx.tar.bz2 gave me? | 21:20 |
| ErKa (~keryell@212-198-242-212.rev.numericable.fr) joined #pypy. | 21:21 | |
| amaury_ | uorygl: did you follow these instructions? http://pypy.org/features.html#sandboxing | 21:23 |
| uorygl | Nope. I'll do that now. | 21:24 |
| uorygl | Aaa, and now I get a really esoteric error message. | 21:27 |
| uorygl | http://pastebin.com/tkS5s6q3 | 21:28 |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) joined #pypy. | 21:31 | |
| stakkars (~tismer@82.113.121.129) joined #pypy. | 21:34 | |
| amaury_ | uorygl: did you get the code from pypy-1.2-src.tar.bz2 ? | 21:39 |
| amaury_ | because the svn trunk may be out of sync | 21:39 |
| uorygl | Yes, I believe I did. | 21:39 |
| amaury_ | I'm afraid I can't help you more now. But please file a ticket in the bug tracker https://codespeak.net/issue/pypy-dev/ | 21:41 |
| uorygl | Will do. Thanks. | 21:42 |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) joined #pypy. | 21:42 | |
| aleale (~aleale@0x57386838.honqu1.dynamic.dsl.tele.dk) left irc: Client Quit | 21:43 | |
| amaury_ (~5645c527@gateway/web/freenode/ip.86.69.197.39) left irc: Quit: Page closed | 21:45 | |
| nettok (~netto@200.119.155.176) joined #pypy. | 21:54 | |
| nettok (~netto@200.119.155.176) left irc: Client Quit | 21:56 | |
| Arfrever (~Arfrever@gentoo/developer/Arfrever) left irc: Ping timeout: 252 seconds | 22:01 | |
| lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) left irc: Ping timeout: 240 seconds | 22:03 | |
| lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) joined #pypy. | 22:05 | |
| jcreigh (~jason@72-160-63-13.dyn.centurytel.net) left irc: Quit: Leaving | 22:28 | |
| nopper (~nopper@host114-196-dynamic.6-87-r.retail.telecomitalia.it) left irc: Quit: quit | 22:37 | |
| ErKa (~keryell@212-198-242-212.rev.numericable.fr) left irc: Ping timeout: 276 seconds | 22:39 | |
| Trundle (~andy@p5B133A60.dip.t-dialin.net) left irc: Remote host closed the connection | 22:47 | |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) left irc: Ping timeout: 276 seconds | 22:51 | |
| Hory (~hory@78.96.96.85) left irc: Quit: Leaving. | 23:09 | |
| Alex_Gaynor (~alex@76-206-247-179.lightspeed.cicril.sbcglobal.net) left irc: Ping timeout: 258 seconds | 23:26 | |
| Moku (~John@f049147210.adsl.alicedsl.de) left irc: Ping timeout: 276 seconds | 23:37 | |
| Alex_Gaynor (~Alex_Gayn@76-206-247-179.lightspeed.cicril.sbcglobal.net) joined #pypy. | 23:45 | |
| --- Thu Jun 10 2010 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!