| Alex_Gaynor (~alex@12.157.240.2) joined #pypy. | 00:01 | |
| Alex_Gaynor (~alex@12.157.240.2) left irc: Client Quit | 00:05 | |
| Trundle (~andy@p5B131EA8.dip.t-dialin.net) left irc: Read error: Operation timed out | 00:14 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 00:15 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Client Quit | 00:17 | |
| forrestv (~forrestv@unaffiliated/forrestv) left irc: Ping timeout: 245 seconds | 00:24 | |
| DasIch_ (~DasIch@p5DC5EF48.dip.t-dialin.net) joined #pypy. | 00:36 | |
| bsod1 (~osa1@78.173.127.125) left irc: Remote host closed the connection | 00:38 | |
| DasIch (~DasIch@p5DC5EEDA.dip.t-dialin.net) left irc: Ping timeout: 272 seconds | 00:39 | |
| nickdaly` (user@96-42-29-189.dhcp.mdsn.wi.charter.com) left #pypy ("ERC Version 5.3 (IRC client for Emacs)"). | 01:08 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 01:18 | |
| ousado_ (~ousado@port-92-206-28-195.dynamic.qsc.de) joined #pypy. | 01:21 | |
| jonanin (~jonanin@66-188-98-4.dhcp.mdsn.wi.charter.com) left irc: Remote host closed the connection | 01:23 | |
| Ademan (~dan@21.sub-97-159-46.myvzw.com) joined #pypy. | 01:24 | |
| ousado (~ousado@port-92-206-93-18.dynamic.qsc.de) left irc: Ping timeout: 252 seconds | 01:24 | |
| Ademan (~dan@21.sub-97-159-46.myvzw.com) left irc: Quit: leaving | 01:47 | |
| verte (~verte@120.154.219.10) joined #pypy. | 02:04 | |
| Shanita (~John@osbk-4d087989.pool.mediaWays.net) joined #pypy. | 02:07 | |
| panni__ (hannes@ip-178-203-81-220.unitymediagroup.de) joined #pypy. | 02:27 | |
| panni_ (hannes@ip-178-203-81-220.unitymediagroup.de) left irc: Read error: Connection reset by peer | 02:27 | |
| wuhy (~chatzilla@121.28.73.42) joined #pypy. | 02:35 | |
| nettok (~quassel@200.119.157.49) joined #pypy. | 02:43 | |
| bobbyz (~bobbyz@c-67-184-36-36.hsd1.il.comcast.net) joined #pypy. | 02:45 | |
| wuhy (~chatzilla@121.28.73.42) left irc: Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716] | 03:15 | |
| elmom_ (~elmom@hoasnet-fe29dd00-137.dhcp.inet.fi) joined #pypy. | 03:40 | |
| panni__ (hannes@ip-178-203-81-220.unitymediagroup.de) left irc: Read error: Connection reset by peer | 04:02 | |
| elmom_ (~elmom@hoasnet-fe29dd00-137.dhcp.inet.fi) left irc: Ping timeout: 264 seconds | 04:09 | |
| elmom_ (~elmom@hoasnet-fe29dd00-137.dhcp.inet.fi) joined #pypy. | 04:22 | |
| Alex_Gaynor (~alex@12.157.240.2) joined #pypy. | 04:35 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Quit: jimbaker | 05:13 | |
| kenaan | 03hakanardo 10r7690714 pypy/branch/jit-bounds/pypy/jit/metainterp/optimizeopt 07M(optimizer.py rewrite.py): moved some optimizations infront of the heap optimizer ... | 05:27 |
|---|---|---|
| hruske (~Gasper@89-212-104-197.dynamic.dsl.t-2.net) joined #pypy. | 06:29 | |
| elmom_ (~elmom@hoasnet-fe29dd00-137.dhcp.inet.fi) left irc: Ping timeout: 265 seconds | 06:31 | |
| Alex_Gaynor (~alex@12.157.240.2) left irc: Quit: Ex-Chat | 06:32 | |
| ErKa (keryell@keryell.pck.nerim.net) joined #pypy. | 06:39 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 245 seconds | 07:09 | |
| Ademan (~dan@adsl-75-36-248-63.dsl.pltn13.sbcglobal.net) joined #pypy. | 07:35 | |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) joined #pypy. | 07:39 | |
| fijal (~fijal@143-mi2-3.acn.waw.pl) joined #pypy. | 07:43 | |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) left irc: Ping timeout: 272 seconds | 07:52 | |
| antocuni (~antocuni@host159-123-dynamic.2-87-r.retail.telecomitalia.it) joined #pypy. | 07:55 | |
| nettok (~quassel@200.119.157.49) left irc: Ping timeout: 240 seconds | 07:58 | |
| voidspace_ (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy. | 08:02 | |
| voidspace (~voidspace@87-194-212-65.bethere.co.uk) left irc: Ping timeout: 245 seconds | 08:04 | |
| Nick change: voidspace_ -> voidspace | 08:04 | |
| hakanardo (~hakan@gw.cognimatics.ideon.se) joined #pypy. | 08:08 | |
| hakanardo | Morning | 08:09 |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) joined #pypy. | 08:11 | |
| fijal | hakanardo: hi | 08:12 |
| mvt (~mvt@87.213.45.85) joined #pypy. | 08:13 | |
| hakanardo | I'm getting a failure in objspace.std.test.test_shadowtracking AppTestMethodCaching().test_many_names that I don't know what to make of | 08:16 |
| fijal | hakanardo: can you reproduce this failure? | 08:16 |
| hakanardo | I could try | 08:16 |
| fijal | basically this is a test that fails very rarely | 08:17 |
| fijal | and we never found out that it can cause any real problems | 08:17 |
| hakanardo | you mean it's failing randomly? | 08:17 |
| hakanardo | Running it localy it is successfull | 08:19 |
| hakanardo | Nothing to worry about then? | 08:20 |
| kingemer (~kingemer@67.23.36.7) left irc: Ping timeout: 240 seconds | 08:21 | |
| kingemer (~kingemer@67.23.36.7) joined #pypy. | 08:22 | |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) left irc: Ping timeout: 252 seconds | 08:27 | |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) joined #pypy. | 08:33 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 08:33 | |
| fijal | hakanardo: not much | 08:37 |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) left irc: Read error: Connection reset by peer | 08:37 | |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 276 seconds | 08:37 | |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) joined #pypy. | 08:47 | |
| fijal | hi | 08:52 |
| ErKa (keryell@m3.wifi.enstb.org) joined #pypy. | 08:52 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Quit: Leaving. | 08:53 | |
| arigato | hi | 09:03 |
| hpk | hi | 09:07 |
| stakkars (~tismer@i577B6194.versanet.de) left irc: Ping timeout: 240 seconds | 09:07 | |
| Nick change: stakkars_ -> stakkars | 09:07 | |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) joined #pypy. | 09:08 | |
| kenaan | 03arigo 10r7690814 pypy/branch/gc-module/pypy 07M(rgc.py base.py markcompact.py semispace.py framework.py test_newgc.py): Translation of get_rpy_memory_usage(). ... | 09:16 |
| arigato | ha, the university wants to order a new laptop for me, but has trouble because Swiss keyboards are not found in the Euro zone | 09:24 |
| hpk | do you actually require a swiss keyword? | 09:26 |
| hpk | keyboard | 09:26 |
| arigato | not completely, it's close enough to the german keyboard | 09:26 |
| kenaan | 03arigo 10r7690914 pypy/branch/gc-module/pypy 07M(base.py framework.py test_newgc.py): Translate rgc.get_rpy_typeid(). ... | 09:31 |
| fijal | arigato: do you need pictures on keys? | 09:33 |
| fijal | I doubt so | 09:33 |
| arigato | :-) | 09:33 |
| arigato | precisely | 09:33 |
| kenaan | 03arigo 10r7691014 pypy/branch/gc-module/pypy 07M(rgc.py base.py framework.py test_newgc.py): Change rgc.get_rpy_typeid() into rgc.get_rpy_type_index(), ... | 09:35 |
| kenaan | 03arigo 10r7691114 pypy/branch/gc-module/pypy/module/gc 07M(__init__.py referents.py test_referents.py): Expose get_rpy_type_index() to app-level. ... | 09:41 |
| hpk | google.com is kind of fun today | 09:43 |
| fijal | how do I find out mro of an oldstyle class? | 09:44 |
| arigato | :-) | 09:44 |
| arigato | seems to be only google.de | 09:45 |
| arigato | fijal: inspect.getmro() is the easiest | 09:45 |
| fijal | (Pdb) inspect.getmro(v) | 09:46 |
| fijal | *** AttributeError: 'int' object has no attribute '__bases__' | 09:46 |
| arigato | well 'v' has to be a class, obviously | 09:46 |
| fijal | well ok | 09:47 |
| fijal | but the error does not make any sense even if I pass an object | 09:47 |
| arigato | ? | 09:47 |
| arigato | inspect.getmro(42) -> 'int' object has no attribute '__bases__' | 09:48 |
| arigato | sounds like a correct error to me | 09:48 |
| arigato | inspect.getmro() works also for "simulated" classes, a very old concept | 09:48 |
| fijal | except v is not an int | 09:50 |
| fijal | anyway | 09:50 |
| fijal | I'm seeing some strange behavior with regard to pypy | 09:50 |
| arigato | that means anything with a __bases__ attribute | 09:50 |
| arigato | feel free to explain more | 09:52 |
| fijal | I'm trying to understand | 09:52 |
| fijal | (Pdb) !v | 09:55 |
| fijal | <ASN1Codec SER[8]> | 09:55 |
| fijal | (Pdb) !v.__hash__ | 09:55 |
| fijal | <bound method int.__hash__ of 8> | 09:55 |
| fijal | (Pdb) inspect.getmro(v.__class__) | 09:55 |
| fijal | (<class scapy.asn1.asn1.ASN1Codec at 0x0000000a>, <class scapy.utils.EnumElement at 0x00000006>) | 09:55 |
| arigato | it's a subtype of int maybe? | 09:55 |
| fijal | this is python | 09:55 |
| fijal | this does not make a whole lot of sense to me | 09:55 |
| verte | is this app level? | 09:56 |
| fijal | this is pure-python | 09:56 |
| arigato | from the message <bound method int.__hash__> it looks like it must be a subclass of int | 09:56 |
| fijal | verte: how it could be interp-level btw? | 09:56 |
| fijal | arigato: how is this a subclass of int not having int in bases? | 09:56 |
| verte | fijal: could be native (on top of python) | 09:57 |
| arigato | someone playing tricks with __bases__ maybe? | 09:57 |
| arigato | remember that inspect.getmro() can be fooled, by fooling __bases__ | 09:57 |
| arigato | try to ask more directly | 09:57 |
| arigato | e.g. issubclass(type(v), int) | 09:57 |
| antocuni | wow, google finally learned that even if I'm visiting google.de, it does not mean that I want it to be in german | 09:59 |
| fijal | (Pdb) isinstance(v, int) | 09:59 |
| fijal | False | 09:59 |
| fijal | (Pdb) v.__hash__ | 09:59 |
| fijal | <bound method int.__hash__ of 7> | 09:59 |
| fijal | (Pdb) issubclass(v.__class__, int) | 09:59 |
| fijal | False | 09:59 |
| fijal | antocuni: only if you're logged in | 09:59 |
| fijal | arigato: that's pypy-c btw, but python looks similar | 09:59 |
| arigato | try with type(v), not v.__class__ | 10:00 |
| antocuni | bah, why it cannot just follow Accept-Language? | 10:00 |
| antocuni | fijal: ah no, it does | 10:00 |
| fijal | pfffff | 10:01 |
| fijal | arigato: it's __getattr__ | 10:01 |
| arigato | when you have an object 'v' that sounds strange, you must not do any getattr on it, but use e.g. type(v) which is not overridable | 10:02 |
| verte | it would be nice to have a way to get a special method at app level | 10:03 |
| fijal | arigato: sorry, I'm making shortcuts | 10:03 |
| fijal | http://paste.pocoo.org/show/259122/ | 10:03 |
| fijal | this is an example that works under cpython but bails out under pypy-c | 10:03 |
| verte | is the special method lookup algorithm different for new-style instances? | 10:04 |
| verte | er, old-style? | 10:04 |
| arigato | fijal: ah ha | 10:05 |
| fijal | verte: cpython has a long history of looking or not looking special methods fairly randomly | 10:05 |
| arigato | in that case, I thought that old-style instances should always use __getattr__ | 10:06 |
| arigato | apparently they don't | 10:06 |
| Action: arigato -> lunch | 10:06 | |
| fijal | ValueError: Attempted relative import in non-package | 10:06 |
| fijal | what does that mean? | 10:06 |
| verte | did you import .foo ? | 10:14 |
| fijal | WUAAAAAA..... | 10:14 |
| fijal | well, now I found a real gem | 10:15 |
| fijal | http://paste.pocoo.org/show/259128/ | 10:15 |
| fijal | this is certainly not cross-interpreter compatible | 10:15 |
| verte | why can't they just give the kernel a pointer to the BPF? | 10:18 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 10:19 | |
| Hodgestar (~Hodge@196-210-228-174.dynamic.isadsl.co.za) left irc: Ping timeout: 245 seconds | 10:23 | |
| fijal | verte: what do you mean? | 10:24 |
| fijal | er | 10:24 |
| fijal | how do I create an address with ctypes? | 10:24 |
| verte | I mean if you need to give a pointer to any non-opaque memory to the kernel, you should be dropping into unsafe code to do it, anything from python is going to be a hack | 10:28 |
| fijal | you can use array or something | 10:30 |
| fijal | you need this pointer for a second | 10:30 |
| fijal | ok | 10:31 |
| ErKa (keryell@m3.wifi.enstb.org) left irc: Read error: Operation timed out | 10:32 | |
| Hodgestar (~Hodge@196-210-228-174.dynamic.isadsl.co.za) joined #pypy. | 10:34 | |
| kenaan | 03antocuni 10r7691214 pypy/build/bot2/pypybuildbot 07M(builds.py summary.py test_builds.py test_summary.py): - rename TestRunnerCmd into PytestCmd ... | 10:54 |
| fijal | implement_5.c:240588: warning: dereferencing pointer 'l_v568220' does break strict-aliasing rules | 10:55 |
| arigato | it's an issue I already talked about, I think | 10:56 |
| arigato | cpyext breaks strict-aliasing rules | 10:57 |
| ErKa (~keryell@keryell.pck.nerim.net) joined #pypy. | 10:58 | |
| arigato | fijal: did you fix __getattr__('__hash__') on old-style classes? if not, I can give it a try | 10:59 |
| fijal | arigato: I did not | 10:59 |
| fijal | I added __hash__ to this class, since I'm already 3 yaks away | 10:59 |
| fijal | I'm fixing rsocket though | 10:59 |
| amaury_ (5bc3480e@gateway/web/freenode/ip.91.195.72.14) joined #pypy. | 11:00 | |
| fijal | arigato: will you look into generators? | 11:02 |
| arigato | fijal: with the JIT? | 11:02 |
| fijal | yes | 11:02 |
| fijal | because they're disabled | 11:02 |
| arigato | I can, yes | 11:02 |
| fijal | and noone is doing anything with them as far as I can see | 11:02 |
| fijal | the question is more why don't we just enable them for now | 11:02 |
| arigato | well I disabled them because they were not really helping a lot | 11:03 |
| fijal | but they were helping in certain cases quite a bit | 11:03 |
| fijal | as shown by speed | 11:03 |
| arigato | ok | 11:04 |
| arigato | I can look again | 11:04 |
| fijal | it's fine to keep them disabled if you're doing something | 11:04 |
| fijal | but if noone is doing something, I don't see the point | 11:04 |
| elmom_ (~elmom@vallila-gw.hupnet.helsinki.fi) left irc: Ping timeout: 276 seconds | 11:07 | |
| fijal | we seem to have bogus structs in rsocket | 11:18 |
| fijal | minlen and maxlen is 0 | 11:21 |
| fijal | and the class seems to be 'Address' and not any of it's subclasses | 11:21 |
| fijal | arigato: any clue where it might come from? | 11:21 |
| arigato | familyclass(some-unknown-value) | 11:22 |
| arigato | it's not really a bug, it's kind of designed that way | 11:22 |
| voidspace (~voidspace@87-194-212-65.bethere.co.uk) left irc: Quit: voidspace | 11:23 | |
| fijal | a bug is that you can't call recvfrom on such thing | 11:23 |
| fijal | I suppose | 11:23 |
| arigato | of course | 11:23 |
| arigato | it's an invalid address | 11:23 |
| fijal | hm | 11:23 |
| fijal | ok | 11:23 |
| fijal | I'll find out | 11:23 |
| fijal | since cpython handles that | 11:23 |
| fijal | maybe I need to add some address family | 11:23 |
| arigato | I suppose that cpython handles it a bit more upstream | 11:23 |
| fijal | in what sense? | 11:23 |
| fijal | btw, you're aware that modern python has __sizeof__ on most objects? | 11:24 |
| arigato | there is some special casing or something that prevents the equivalent of familyclass() from being ever called in that particular case | 11:24 |
| Led_Zeppelin (~user@ool-4573f43b.dyn.optonline.net) joined #pypy. | 11:24 | |
| Led_Zeppelin | is there a 64bit version of pypy out? | 11:24 |
| arigato | fijal: 2.4 does not have __sizeof__ e.g. on ints, so that's out | 11:25 |
| arigato | Led_Zeppelin: yes, http://buildbot.pypy.org/nightly/trunk/ | 11:25 |
| fijal | Led_Zeppelin: without JIT though | 11:25 |
| Led_Zeppelin | oh | 11:25 |
| fijal | arigato: 2.5 neither | 11:26 |
| fijal | arigato: I'm just saying in case you need some good estimates of sizes yourself | 11:26 |
| fijal | or we can use better ones if there are | 11:26 |
| voidspace (~voidspace@87-194-212-65.bethere.co.uk) joined #pypy. | 11:27 | |
| arigato | fijal: is it related to what I just wrote in the gc-module branch? | 11:27 |
| Led_Zeppelin | ok, so there is not JIT compiler. | 11:27 |
| arigato | http://codespeak.net/svn/pypy/branch/gc-module/pypy/rlib/rgc.py | 11:27 |
| arigato | get_rpy_memory_usage() | 11:27 |
| arigato | I think this logic is rather good too | 11:28 |
| fijal | it should also be exposed as __sizeof__ | 11:28 |
| Trundle (~andy@p5B14DF1A.dip.t-dialin.net) joined #pypy. | 11:29 | |
| fijal | I'm just saying there is already an interface, that's all :) | 11:29 |
| mwhudson (~mwh@canonical/launchpad/mwhudson) left irc: Ping timeout: 260 seconds | 11:30 | |
| fijal | it's AF_PACKET | 11:31 |
| arigato | it's quite possible that it's implemented in CPython and not in PyPy | 11:32 |
| fijal | exception -- return it as a tuple. */ | 11:33 |
| fijal | er | 11:33 |
| fijal | /* If we don't know the address family, don't raise an | 11:33 |
| fijal | exception -- return it as a tuple. */ | 11:33 |
| fijal | that's a comment in CPython | 11:33 |
| fijal | and yes, it's implemented in CPython | 11:33 |
| fijal | I suppose I'll just reproduce the logic | 11:34 |
| fijal | of course cpython has no tests for that | 11:34 |
| kenaan | 03arigo 10r7691314 07M(pypy/branch/gc-module/pypy/rlib/rgc.py): Fix. ... | 11:37 |
| arigato | http://pastebin.com/5qEbTvEB | 11:41 |
| arigato | this prints 0 | 11:41 |
| arigato | I have noooooooooo clue why so far | 11:41 |
| fijal | because __cmp__ returned None? | 11:42 |
| arigato | it doesn't | 11:42 |
| arigato | __cmp__() returns a string in that case | 11:43 |
| arigato | ah, I see | 11:46 |
| arigato | it's because cmp(A(), 42) actually finds and calls __eq__ | 11:46 |
| arigato | which returns a non-empty string | 11:46 |
| fijal | pfff | 11:47 |
| arigato | TypeError: __float__ returned non-float (type int) | 11:58 |
| arigato | pom pom pom | 11:58 |
| kenaan | 03arigo 10r7691414 07M(pypy/trunk/pypy/module/__builtin__/test/test_classobj.py): Write a lengthy test about old-style classes that look up special method ... | 12:05 |
| dmalcolm_ (~david@c-76-24-23-94.hsd1.ma.comcast.net) joined #pypy. | 12:07 | |
| antocuni | how safe it is to rename a builder in buildbot? | 12:11 |
| antocuni | i.e., I'd like to rename pypy-c-app-level-win-32 or pypy-c-app-level-win-x86-32, or pypy-c-jit-win-x86-32 to pypy-c-jit-win-32 | 12:12 |
| antocuni | but I've no clue what could happen :_) | 12:12 |
| arigato | ...is the '__getattr__' name ever looked up in the old-style *instance* itself...? | 12:13 |
| arigato | no, good | 12:14 |
| Nick change: DasIch_ -> DasIch | 12:15 | |
| arigato | what about '__del__'... does the destructor calls __getattr__('__del__') ? | 12:19 |
| arigato | no | 12:20 |
| arigato | but it does call the x.__del__ in the instance | 12:20 |
| arigato | which is a strange case anyway, it gives a warning in PyPy already | 12:21 |
| fijal | arigato: are you trying to find out some sense out of it? | 12:21 |
| arigato | I guess I will just ignore this case entirely | 12:21 |
| arigato | fijal: well, I'm trying to "fix" it by making it more compatible with cpython | 12:21 |
| kenaan | 03arigo 10r7691514 07M(pypy/trunk/pypy/module/__builtin__/test/test_classobj.py): Improve the test. ... | 12:24 |
| arigato | pom pom pom | 12:25 |
| kenaan | 03antocuni 10r7691614 pypy/build/bot2/pypybuildbot 07M(master.py test_pypylist.py): rename the builder pypy-c-app-level-win-32 to pypy-c-app-level-win-x86-32 in ... | 12:27 |
| oal (~oal@5.79-160-122.customer.lyse.net) joined #pypy. | 12:29 | |
| amaury_ | antocuni: win-x86-32 looks a bit weird | 12:30 |
| antocuni | for the sake of whoever will read the logs in the future: renaming a builder is fine if you stop the buildbot, change the config, manually rename the directory and restart buildbot again | 12:30 |
| amaury_ | windows has only 2 platforms: win32 and win64 | 12:30 |
| antocuni | amaury_: well, you never know :-) | 12:31 |
| Led_Zeppelin | so for a 64bit python version, I can use the trunk's 64bit version of PyPy but there is no JIT. Will I still see performance gain? | 12:31 |
| hakanardo (~hakan@gw.cognimatics.ideon.se) left irc: Remote host closed the connection | 12:31 | |
| antocuni | amaury_: actually, I don't really care about the exact name, but I needed it to follow a consistent scheme | 12:31 |
| arigato | Led_Zeppelin: no, that's unlikely | 12:33 |
| arigato | Led_Zeppelin: you might find memory usage gains, though | 12:33 |
| kenaan | 03antocuni 10r7691714 pypy/build/bot2/pypybuildbot 07M(master.py test_pypylist.py): argh, rename also this builder ... | 12:34 |
| Led_Zeppelin | when is JIT going to be ready for 64bit? | 12:34 |
| arigato | I guess I should try out the branch/asmgcc-64 | 12:37 |
| arigato | :-) | 12:37 |
| amaury_ | I thought that JIT was working on 64bit, but only with boehm GC? | 12:38 |
| arigato | amaury_: the branch asmgcc-64 tries to fix the gap | 12:38 |
| arigato | it's working at least for targetrpystonedalone | 12:39 |
| arigato | I guess for the whole of pypy, it's more or less working, expect a few zillion special cases that will show up over time | 12:39 |
| arigato | as with the 32-bit version of asmgcc | 12:39 |
| verte (~verte@120.154.219.10) left irc: Quit: ~~~ Crash in JIT! | 12:41 | |
| arigato | >>>> objs = gc.get_objects() | 12:44 |
| arigato | Segmentation fault | 12:44 |
| arigato | of course I cannot reproduce this segfault now | 12:49 |
| arigato | >>>> import gc | 12:50 |
| arigato | >>>> uh = map(repr, gc.get_rpy_roots()) | 12:50 |
| arigato | >>>> objs = gc.get_objects() | 12:50 |
| arigato | Segmentation fault | 12:50 |
| xorAxAx | Led_Zeppelin: communication breakdown! | 13:04 |
| arigato | sorry, about the JIT on 64-bits, I meant: it's mostly ready but there are potentially a number of small fixes to be done in asmgcc-64 | 13:08 |
| arigato | so it needs someone to care about it regularly for a while | 13:08 |
| fijal | Led_Zeppelin: "soon", but the more people care the sooner it'll be "ready" | 13:18 |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 276 seconds | 13:25 | |
| zeugme (~zeugme@mol92-1-82-67-218-223.fbx.proxad.net) joined #pypy. | 13:31 | |
| ErKa (keryell@m3.wifi.enstb.org) joined #pypy. | 13:33 | |
| arigato | eh? | 13:34 |
| arigato | W_IntObject.intval appears to become a r_uint | 13:34 |
| arigato | sooooomewhere | 13:34 |
| arigato | at least on 64-bits | 13:34 |
| arigato | no, confused | 13:37 |
| dmalcolm_ (~david@c-76-24-23-94.hsd1.ma.comcast.net) left irc: Quit: Leaving | 13:47 | |
| zeugme (~zeugme@mol92-1-82-67-218-223.fbx.proxad.net) left irc: Quit: zeugme | 13:53 | |
| Rhy0lite (~dje@nat/ibm/x-fnejhgqoowlpaxnu) joined #pypy. | 13:53 | |
| dijital1 (~bob@unaffiliated/dijital1) joined #pypy. | 13:55 | |
| dijital1 | are there any plans to have pypy support 64 bit architectures? | 13:55 |
| exarkun | yes | 13:57 |
| dijital1 | I'm looking for something that will run under snow leopard in 64 bit mode | 13:58 |
| Guest34319 (~jan@ip-109-85-1-67.web.vodafone.de) joined #pypy. | 14:07 | |
| Action: arigato fixes the segfault with gc.get_objects() | 14:13 | |
| arigato | antocuni: there is a bug probably in Pdb++: | 14:14 |
| arigato | pp 5 | 14:14 |
| arigato | prints 5 but no newline | 14:14 |
| antocuni | uhm | 14:14 |
| antocuni | arigato: is works for me | 14:15 |
| antocuni | probably we have a slightly different config | 14:16 |
| arigato | :-/ | 14:16 |
| arigato | it's a "import pdb; pdb.set_trace()" | 14:16 |
| antocuni | arigato: ah, I think it's because you don't have pygments | 14:17 |
| arigato | ah could be | 14:17 |
| antocuni | it follows another path in format_source, that's probably the difference | 14:17 |
| antocuni | arigato: try to svn up | 14:19 |
| Nick change: Guest34319 -> haag498 | 14:19 | |
| arigato | uuuuuuuuuh | 14:20 |
| arigato | on a 64-bit machine, "x & (2**32-1)" | 14:20 |
| arigato | might end up being compiled as | 14:20 |
| arigato | and_(v116305, (4294967295L)) | 14:21 |
| arigato | notice the "L" | 14:21 |
| antocuni | why? | 14:21 |
| arigato | hum | 14:21 |
| arigato | argh? | 14:21 |
| arigato | could is possibly be a pyc file issue? | 14:21 |
| arigato | yes :-(((((((( | 14:22 |
| arigato | print repr(2**32) | 14:22 |
| arigato | put this in a file x.py | 14:22 |
| arigato | run "python -c 'import x'" on 32-bit | 14:23 |
| arigato | then run it on 64-bit | 14:23 |
| arigato | and bam, you get a long too | 14:23 |
| arigato | if you remove x.pyc and try again on 64-bit directly, you get an int | 14:23 |
| antocuni | ah, because it's constant folded by the compiler | 14:23 |
| antocuni | sounds like a bug in cpython to me | 14:24 |
| arigato | yes | 14:27 |
| arigato | but it's kind of known | 14:27 |
| kenaan | 03arigo 10r7691914 07M(pypy/branch/gc-module/pypy/rlib/rgc.py): Ignore the issue that we can get occasionally some strange objects, ... | 14:29 |
| kenaan | 03arigo 10r7692014 pypy/trunk/pypy 07M(bookkeeper.py builtin.py classdef.py test_annrpython.py rarithmetic.py): Change annotation to say that int(r_uint(x)) is invalid: ... | 14:50 |
| haag498 (~jan@ip-109-85-1-67.web.vodafone.de) left irc: Ping timeout: 255 seconds | 14:54 | |
| haag498 (~jan@ip-109-85-24-162.web.vodafone.de) joined #pypy. | 14:56 | |
| Shanita (~John@osbk-4d087989.pool.mediaWays.net) left irc: Remote host closed the connection | 15:04 | |
| kenaan | 03arigo 10r7692114 07M(pypy/trunk/pypy/rpython/module/ll_time.py): Fix. ... | 15:07 |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 15:07 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Read error: Connection reset by peer | 15:08 | |
| jbaker_ (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 15:08 | |
| Moku (~John@osbk-4d0872fd.pool.mediaWays.net) joined #pypy. | 15:09 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 15:12 | |
| dijital1 (bob@unaffiliated/dijital1) left #pypy. | 15:16 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Quit: Leaving. | 15:19 | |
| jbaker_ (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Quit: jbaker_ | 15:20 | |
| amaury_ | (Pdb) rffi.cast(rffi.VOIDP, -1)._cast_to_int() | 15:30 |
| amaury_ | 26380024 | 15:30 |
| amaury_ | I must be missing something | 15:31 |
| ErKa (keryell@m3.wifi.enstb.org) left irc: Read error: Operation timed out | 15:33 | |
| arigato | ah right | 15:33 |
| arigato | that's because nobody should use _cast_to_int() | 15:33 |
| arigato | it returns a value based on the id of some lltype object | 15:34 |
| lmoura (~lauromour@187.58.99.11) left irc: Read error: Connection reset by peer | 15:37 | |
| lmoura (~lauromour@187.112.3.18) joined #pypy. | 15:38 | |
| mvt (~mvt@87.213.45.85) left irc: Quit: Leaving | 15:43 | |
| amaury_ | I would like this test to pass http://paste.pocoo.org/show/259228/ | 15:45 |
| amaury_ | (in test_rffi.py) | 15:45 |
| amaury_ | for the moment, the code uses a VOIDP | 15:47 |
| arigato | who calls _cast_to_int()? | 15:48 |
| amaury_ | nobody for the moment, I was just trying | 15:48 |
| arigato | ah | 15:48 |
| amaury_ | rffi.cast(LONG, ...) is fine | 15:48 |
| fijal | arigato: I'm seriously unhappy that method like "lock" is also doing error checking if object is valid | 15:51 |
| arigato | asmgcc64 seems to work | 15:52 |
| arigato | including the jit | 15:53 |
| fijal | hahaha | 15:56 |
| fijal | there is even a comment copied from cpython | 15:56 |
| fijal | # If we don't know the address family, don't raise an | 15:57 |
| fijal | # exception -- return it as a tuple. | 15:57 |
| fijal | that's even a lie :) | 15:57 |
| fijal | EKHEM | 16:01 |
| arigato | yes, I know it's fun to look in rsocket | 16:02 |
| arigato | there are reasons for this funniness, mostly | 16:02 |
| fijal | well | 16:02 |
| fijal | it's untested and contains lies in comments | 16:02 |
| arigato | sorry about that | 16:02 |
| fijal | anyway | 16:03 |
| fijal | there is no test that creates Address object for example | 16:04 |
| fijal | and I'm trying to find out what are those args | 16:05 |
| fijal | C structures, ok | 16:06 |
| Alex_Gaynor (~alex@12.157.240.3) joined #pypy. | 16:08 | |
| haag498 (~jan@ip-109-85-24-162.web.vodafone.de) left irc: Ping timeout: 258 seconds | 16:18 | |
| kenaan | 03fijal 10r7692314 pypy/trunk/pypy 07M(test_sock_app.py rsocket.py): A test for untested piece of code (initializing raw addresses). Also kill ... | 16:18 |
| fijal | arigato: can you have a look? | 16:18 |
| kenaan | 03arigo 10r7692414 pypy/trunk/pypy/module/__builtin__ 07M(interp_classobj.py test_classobj.py): Fix for the test. ... | 16:19 |
| fijal | also, if anyone feels explaining to me what this does: | 16:20 |
| fijal | http://paste.pocoo.org/show/259242/ | 16:20 |
| fijal | I would be grateful | 16:20 |
| fijal | (that's cpython's source code) | 16:20 |
| haag498 (~jan@ip-109-85-90-175.web.vodafone.de) joined #pypy. | 16:20 | |
| fijal | eh ok, I kind of know | 16:20 |
| kenaan | 03arigo 10r7692514 07M(pypy/branch/gc-module/pypy/module/gc/test/test_referents.py): Fix these tests to also work on "pypy-c py.test -A". ... | 16:27 |
| arigato | fijal: sorry, I was in the land of "let's try to finish these 3 branches" | 16:33 |
| arigato | fijal: I'm thinking of leaving now | 16:33 |
| ly- (~ly-@unaffiliated/ly-) joined #pypy. | 16:35 | |
| ly- (ly-@unaffiliated/ly-) left #pypy. | 16:36 | |
| amaury_ | fijal: are you still lost in socketmodule.c? | 16:44 |
| haag498 (~jan@ip-109-85-90-175.web.vodafone.de) left irc: Ping timeout: 240 seconds | 16:58 | |
| haag498 (~jan@ip-109-41-200-70.web.vodafone.de) joined #pypy. | 17:00 | |
| Alex_Gaynor (~alex@12.157.240.3) left irc: Ping timeout: 245 seconds | 17:08 | |
| haag498 | Hi, are there any plans to support python3 syntax in pypy? | 17:16 |
| hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) joined #pypy. | 17:17 | |
| Alex_Gaynor (~alex@12.157.240.3) joined #pypy. | 17:20 | |
| elmom_ (~elmom@a88-114-241-230.elisa-laajakaista.fi) joined #pypy. | 17:20 | |
| elmom_ (~elmom@a88-114-241-230.elisa-laajakaista.fi) left irc: Read error: Operation timed out | 17:24 | |
| kenaan | 03hakanardo 10r7692614 pypy/branch/jit-bounds 07M(/* array.py function.py primitive.py binaryop.py bookkeeper.py builtin.py classdef.py model.py test_annrpython.py py.py argument.py baseobjspace.py pycode.py gc.py ...): svn merge - ... | 17:25 |
| arigato (~arigo@fwstups.cs.uni-duesseldorf.de) left irc: Quit: See you | 17:27 | |
| zooko (~user@173-164-32-246-colorado.hfc.comcastbusiness.net) joined #pypy. | 17:28 | |
| gonsor (~quassel@kel30.kel.stud.uni-goettingen.de) joined #pypy. | 17:44 | |
| jimbaker (~jbaker@sta-204-144-184-242.rockynet.com) joined #pypy. | 17:47 | |
| fijal | amaury_: a bit | 17:48 |
| amaury_ | haag498: your question has two meanings | 17:49 |
| amaury_ | 1. when will pypy build a python 3 interpreter | 17:49 |
| amaury_ | 2. if pypy will be written itself with python 3 syntax | 17:49 |
| amaury_ | For the first question: some of us are currently porting to 2.7; Python 3 will be another large piece of work, later. | 17:51 |
| amaury_ | For the second meaning, I think there is less interest in it. | 17:53 |
| eggy_ (~mark@eggy.student.utwente.nl) joined #pypy. | 18:01 | |
| Ademan (~dan@adsl-75-36-248-63.dsl.pltn13.sbcglobal.net) left irc: Quit: leaving | 18:06 | |
| amaury_ (5bc3480e@gateway/web/freenode/ip.91.195.72.14) left irc: Quit: Page closed | 18:07 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 18:09 | |
| jimbaker (~jbaker@sta-204-144-184-242.rockynet.com) left irc: Quit: jimbaker | 18:15 | |
| stakkars (~tismer@i577B6194.versanet.de) left irc: Ping timeout: 240 seconds | 18:16 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Quit: Leaving. | 18:18 | |
| bsod1 (~osa1@88.242.140.47) joined #pypy. | 18:19 | |
| stakkars (~tismer@i59F7D32A.versanet.de) joined #pypy. | 18:23 | |
| ambroff (~ambroff@65-113-99-90.dia.static.qwest.net) joined #pypy. | 18:25 | |
| ambroff (~ambroff@65-113-99-90.dia.static.qwest.net) left irc: Read error: Connection reset by peer | 18:25 | |
| jimbaker (~jbaker@sta-204-144-184-242.rockynet.com) joined #pypy. | 18:40 | |
| Alex_Gaynor (~alex@12.157.240.3) left irc: Quit: Ex-Chat | 19:06 | |
| Rhy0lite (~dje@nat/ibm/x-fnejhgqoowlpaxnu) left irc: Quit: Leaving | 19:12 | |
| amaury_ (4dc5553f@gateway/web/freenode/ip.77.197.85.63) joined #pypy. | 19:27 | |
| hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) left irc: Quit: Leaving | 19:44 | |
| bsod1 (~osa1@88.242.140.47) left irc: Ping timeout: 240 seconds | 19:54 | |
| dialtone (~dialtone@70.36.244.244) joined #pypy. | 19:57 | |
| dialtone (~dialtone@70.36.244.244) left irc: Changing host | 19:57 | |
| dialtone (~dialtone@unaffiliated/dialtone) joined #pypy. | 19:57 | |
| mwhudson (~mwh@canonical/launchpad/mwhudson) joined #pypy. | 20:06 | |
| ErKa (keryell@keryell.pck.nerim.net) joined #pypy. | 20:07 | |
| Alex_Gaynor (~alex@12.157.240.3) joined #pypy. | 20:19 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:24 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Client Quit | 20:27 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:27 | |
| oal (~oal@5.79-160-122.customer.lyse.net) left irc: Read error: Connection reset by peer | 20:31 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Quit: Leaving. | 20:33 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:33 | |
| jimbaker (~jbaker@sta-204-144-184-242.rockynet.com) left irc: Quit: jimbaker | 20:34 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:36 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Read error: Connection reset by peer | 20:36 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:38 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Read error: Connection reset by peer | 20:38 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:39 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Read error: Connection reset by peer | 20:39 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) joined #pypy. | 20:40 | |
| witulski1 (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Read error: Connection reset by peer | 20:40 | |
| witulski (~stupsi@dslb-088-073-126-083.pools.arcor-ip.net) left irc: Ping timeout: 240 seconds | 20:49 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 21:10 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Read error: Connection reset by peer | 21:11 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 21:11 | |
| eggy_ (~mark@eggy.student.utwente.nl) left irc: Remote host closed the connection | 21:20 | |
| cwillu_at_work (~cwillu@cwillu.com) left irc: Remote host closed the connection | 21:23 | |
| cwillu_at_work (~cwillu@cwillu.com) joined #pypy. | 21:36 | |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 240 seconds | 21:47 | |
| fijal | is codespeak down? | 21:56 |
| Alex_Gaynor | fijal: it looks like it, but I'm on conference internet, so it might just be me | 21:57 |
| Trundle | It seems like it. | 21:57 |
| fijal | :( | 21:57 |
| Alex_Gaynor | fijal: hpk just tweeted that he's looking into it | 22:03 |
| hpk | rather the provider (hopefully) is | 22:04 |
| bsod1 (~osa1@88.242.140.47) joined #pypy. | 22:05 | |
| hpk | not sure if a part of the provider network is down or the host itself, will probably take until tomorrow morning (gmt+1) | 22:05 |
| Alex_Gaynor (~alex@12.157.240.3) left irc: Ping timeout: 252 seconds | 22:16 | |
| Alex_Gaynor (~alex@12.157.240.3) joined #pypy. | 22:31 | |
| jbaker_ (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) joined #pypy. | 22:31 | |
| jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) left irc: Ping timeout: 245 seconds | 22:31 | |
| Hodgestar (~Hodge@196-210-228-174.dynamic.isadsl.co.za) left irc: Remote host closed the connection | 22:32 | |
| Hodgestar (~Hodge@196-210-228-174.dynamic.isadsl.co.za) joined #pypy. | 22:34 | |
| nettok (~quassel@proxy.galileo.edu) joined #pypy. | 22:36 | |
| antocuni (~antocuni@host159-123-dynamic.2-87-r.retail.telecomitalia.it) left irc: Ping timeout: 276 seconds | 22:37 | |
| Ademan (~dan@astound-64-85-244-219.ca.astound.net) joined #pypy. | 22:38 | |
| Alex_Gaynor (~alex@12.157.240.3) left irc: Quit: Ex-Chat | 22:41 | |
| Hodgestar (~Hodge@196-210-228-174.dynamic.isadsl.co.za) left irc: Read error: Connection reset by peer | 22:44 | |
| hruske (~Gasper@89-212-104-197.dynamic.dsl.t-2.net) left irc: Ping timeout: 265 seconds | 23:15 | |
| pybot (~pybot@stackless.com) left irc: Ping timeout: 276 seconds | 23:19 | |
| -ERROR from server- Closing Link: stackless.com (Ping timeout: 276 seconds) | 23:19 | |
| CTCP VERSION: from frigg (~frigg@freenode/utility-bot/frigg) | 23:20 | |
| pybot joined #pypy. | 23:20 | |
| Alex_Gaynor (~alex@12.157.240.2) joined #pypy. | 23:20 | |
| Nick change: elbowtone -> headtone | 23:20 | |
| -ChanServ (ChanServ@services.)- [#stackless] Welcome to #stackless. This channel is for the discussion of matters relating to Stackless Python. Remember that others in this channel may not be in the same timezone as you, so stick around for an answer (even if only in your channel history) if you ask a question. The mailing list is also recommended as being a faster place to get help (http://www.stackless.com/mailman/listinfo/stackless). | 23:20 | |
| ousado_ (~ousado@port-92-206-28-195.dynamic.qsc.de) left irc: Remote host closed the connection | 23:24 | |
| CTCP VERSION: from frigg (~frigg@freenode/utility-bot/frigg) | 23:30 | |
| pybot joined #pypy. | 23:30 | |
| -ChanServ (ChanServ@services.)- [#stackless] Welcome to #stackless. This channel is for the discussion of matters relating to Stackless Python. Remember that others in this channel may not be in the same timezone as you, so stick around for an answer (even if only in your channel history) if you ask a question. The mailing list is also recommended as being a faster place to get help (http://www.stackless.com/mailman/listinfo/stackless). | 23:31 | |
| nettok (~quassel@proxy.galileo.edu) left irc: Ping timeout: 245 seconds | 23:33 | |
| bsod1 (~osa1@88.242.140.47) left irc: Remote host closed the connection | 23:38 | |
| haag498 (~jan@ip-109-41-200-70.web.vodafone.de) left irc: Ping timeout: 258 seconds | 23:59 | |
| --- Wed Sep 8 2010 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!