==== Channel ##pypy: 03/07/05 ====

[00:17] pedronis (~Samuele_P@c-1e8b70d5.022-54-67626719.cust.bredbandsbolaget.se) left irc: Remote closed the connection

[00:18] Eventh (evenwiik@v201a.studby.ntnu.no) left irc:

[00:19] <stakkars> hi

[00:19] <arigo> re-hi

[00:25] pyb0t joined #pypy.

[00:30] <tea> good morning ~

[00:31] <tea> hpk: thank u :) can I see the code?

[00:39] yuuh (ziycox@i528C1AB0.versanet.de) left irc: Client Quit

[00:39] <tea> parser takes 2 phase? there is the intermediate expr between tokens and ast,

[00:41] <tea> python has tokenize but compiler/transformer use parser module that C extensin module. im looking for module written in python, fills the phase

[00:43] <arigo> good night for me :-)

[00:44] arigo (~arigo@d213-103-147-108.cust.tele2.ch) left irc: Remote closed the connection

[00:45] <tea> night~ opposite my place

----- silence for 23 minutes -----

[01:08] dialtone (~dialtone@host116-56.pool80117.interbusiness.it) left irc: Read error: 60 (Operation timed out)

----- silence for 1 hr and 24 minutes -----

[02:32] Continuity (kittish@host81-157-78-162.range81-157.btcentralplus.com) left irc: Read error: 60 (Operation timed out)

----- silence for 3 hr and 33 minutes -----

[06:05] idnar (mithrandi@idnar.user) left irc: Read error: 60 (Operation timed out)

----- silence for 2 hr and 22 minutes -----

[08:27] idnar (mithy@idnar.user) joined #pypy.

----- silence for 51 minutes -----

[09:18] arre (ac@ratthing-b3fa.strakt.com) joined #pypy.

[09:27] stakkars (wiarmc@i528C1AB0.versanet.de) left irc: Read error: 60 (Operation timed out)

----- silence for 58 minutes -----

[10:25] stakkars (~tismer@82.144.60.19) joined #pypy.

[10:36] pedronis (pedronis@ratthing-b246.strakt.com) joined #pypy.

[10:51] hpk (~hpk@mail.trillke.de) left irc: Read error: 110 (Connection timed out)

[10:51] hpk (~hpk@merlinux.de) joined #pypy.

[11:00] sanxiyn (~tinuviel@218.145.51.39) joined #pypy.

----- silence for 36 minutes -----

[11:36] Nick change: pedronis -> pedronis_lunch

----- silence for 23 minutes -----

[11:59] sanxiyn (~tinuviel@218.145.51.39) left irc: "Bye"

[12:11] ludal (~ludal@logilab.net2.nerim.net) joined #pypy.

[12:25] Nick change: pedronis_lunch -> pedrons

----- silence for 1 hr and 21 minutes -----

[13:46] <stakkars> hi all!

[13:47] <stakkars> can somebody give me a hint about caching of generated code?

[13:47] <stakkars> Especially, I need a strategy that makes sense.

[13:47] <stakkars> the question(s) is(are):

[13:48] <stakkars> we still have classobjinterp and exceptionsinter files, although Armin said once, they would go away.

[13:49] <stakkars> then, we have this nice builtin folder, which cleanly breaks the builtins into functional groups and divides app and interp level.

[13:49] <stakkars> Now I think, this all should got hrough geninterp.py and produce some temporary python files, to be cached

[13:49] <stakkars> in a folder like module/cache or module/generated, on the user's machine, not going into svn.

[13:50] <stakkars> theremustprobably be some registry for the modules to be translated on demand.

[13:50] <stakkars> where do we put that?

[13:51] <stakkars> Should the __init__ of builtin for instance know that it needs to be cached?

[13:51] <stakkars> Or is there an __init__.py in the module/generated folder, which holds information about modules to be translated?

[13:52] <stakkars> I am ready to build such a beast, but I need to know what the layout should look like.

[14:06] <pedrons> stakkars: I think that hiding the functionality inside applevel is what we want

----- silence for 56 minutes -----

[15:02] arre (ac@ratthing-b3fa.strakt.com) left irc: Remote closed the connection

----- silence for 1 hr -----

[16:02] <stakkars> sorry,wastolunch

[16:16] jacob22 (jacob@enzo.strakt.com) joined #pypy.

[16:17] Nick change: pedrons -> pedronis

[16:30] jacob22 (jacob@enzo.strakt.com) left irc: Remote closed the connection

[16:40] <stakkars> pedronis: for instance,how would the import of classobjinterp look like? Where?

[16:41] <pedronis> well, ideally classobj should just be another .py file under module/builtin

[16:44] <stakkars> you mean, module/builtin/classobj just does what's needed to create the 3 things?

[16:45] <stakkars> while the import is in progress

[16:45] <pedronis> well because of the purify issue is a bit trickier

[16:46] <pedronis> the problem is that running _classobj at app level

[16:46] <pedronis> vs. the geninterp version are a bit different

[16:47] <stakkars> maybe we would want a version that hides this.

[16:49] <pedronis> well the problem are the __slots__

[16:50] <stakkars> aaah

[16:50] <pedronis> wich then global code capture

[16:50] <pedronis> but remove from the classes

[16:51] <pedronis> the removal is lost by the geninterp version

[16:51] <pedronis> so you have to it again with purify

[16:52] <pedronis> I presume you could add special code to geninterp to deal with this case

[16:54] <pedronis> but it's tricky because OTOH the top-level doesn't remove __slots__

[16:54] <pedronis> but purify does

[16:54] <pedronis> becaue if it did it would be even harder to figure out

[16:55] <pedronis> that the slots were there in the first place

[16:56] jriehl (~jriehl@sidewinder.cs.uchicago.edu) joined #pypy.

[17:00] <pedronis> stakkars: but I think this a distracting issue

[17:00] <pedronis> we can workaround this in some way

[17:01] <pedronis> exceptions are a more significant problem

[17:01] <pedronis> because they need to be created early

[17:02] <pedronis> and right now they are not loaded using gateway constructs

[17:05] Nick change: pedronis -> pedronis_away

[17:06] pedronis_away (pedronis@ratthing-b246.strakt.com) left irc: "ChatZilla 0.9.61 [Mozilla rv:1.7.3/20041007]"

[17:20] tic (~vision@c-996e73d5.019-35-67626717.cust.bredbandsbolaget.se) left irc: Read error: 104 (Connection reset by peer)

[17:22] tic (~vision@c-996e73d5.019-35-67626717.cust.bredbandsbolaget.se) joined #pypy.

----- silence for 18 minutes -----

[17:40] _hannes (qgdvoizp@dsl-62-220-8-201.berlikomm.net) joined #pypy.

----- silence for 22 minutes -----

[18:02] idnar (mithy@idnar.user) left irc: Nick collision from services.

[18:02] idnar_ (mithrandi@idnar.user) joined #pypy.

[18:02] idnar (mithy@idnar.user) joined #pypy.

[18:02] idnar (mithy@idnar.user) left irc: Client Quit

----- silence for 20 minutes -----

[18:22] dialtone (~dialtone@host116-56.pool80117.interbusiness.it) joined #pypy.

----- silence for 47 minutes -----

[19:09] ludal (~ludal@logilab.net2.nerim.net) left irc: "Download Gaim: http://gaim.sourceforge.net/";

[19:17] stakkars (~tismer@82.144.60.19) left irc: Read error: 60 (Operation timed out)

----- silence for 1 hr and 26 minutes -----

[20:43] Nick change: idnar_ -> idnar

----- silence for 24 minutes -----

[21:07] Continuity (kittish@host81-157-78-162.range81-157.btcentralplus.com) joined #pypy.

----- silence for 20 minutes -----

[21:27] tic (~vision@c-996e73d5.019-35-67626717.cust.bredbandsbolaget.se) left irc: "BeOS - Because you don't eat soup with a fork!"

[21:30] tic (~vision@c-996e73d5.019-35-67626717.cust.bredbandsbolaget.se) joined #pypy.

----- silence for 41 minutes -----

[22:11] arigo (~arigo@d83-176-52-106.cust.tele2.ch) joined #pypy.

----- silence for 1 hr and 16 minutes -----

[23:27] stakkars (wegafang@dsl-62-220-8-201.berlikomm.net) joined #pypy.

[00:00] --- Tue Mar 8 2005