freenode/#clasp - IRC Chatlog
Search
0:15:50
drmeister
Class #<The STANDARD-CLASS CLPYTHON::DICT-MIXIN> is not a valid superclass for #<The CLPYTHON::PY-META-TYPE CLPYTHON:PY-TYPE>
0:24:02
Bike
maybre it's trying to make the classes at compile time before the validate-superclass methods are installed
1:12:44
drmeister
This cannot succeed for class #<The CLPYTHON::PY-META-TYPE CLPYTHON:PY-TYPE> and superclass #<The STANDARD-CLASS CLPYTHON::DICT-MIXIN>
1:12:53
drmeister
https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/clos/standard.lsp#L303
1:14:58
drmeister
The class of clpython:py-type is clpython::py-meta-type and the class of clpython::dict-mixin is standard-class
1:27:10
drmeister
I see - clpython defines a closer-mop:validate-superclass - but clasp doesn't use it because it's not in the clos class.
2:55:33
drmeister
::notify Bike Tomorrow can you explain to me how closer-mop is supposed to work with the existing clos? clpython defines several closer-mop:validate-superclass but they won't be called by the clasp clos code.
2:58:25
drmeister
::notify Bike Also, I tried to remove quicklisp from the cando startup but it's needed to resolve dependencies for some of the systems. I also need quicklisp to build the systems the first time cando is run. Is there a way around this? If not - we have to keep loading quicklisp at startup.
4:11:56
drmeister
::notify Bike - I think I uncovered a subtle problem with clasp's generic function dispatch when building clpython.
8:17:57
scymtym
drmeister: i think quicklisp has a "bundle" feature for preparing a set of libraries such that they can be loaded without quicklisp
9:10:04
Bike
drmeister: i'm pretty sure c2mop doesn't define its own validate-superclass on clasp- it just imports the symbol, so closer-mop:validate-superclass is just an alias to clos:validat-esuperclass. which is why i suggested a different problem.
9:10:04
Colleen
Bike: drmeister said 6 hours, 14 minutes ago: Tomorrow can you explain to me how closer-mop is supposed to work with the existing clos? clpython defines several closer-mop:validate-superclass but they won't be called by the clasp clos code.
9:10:04
Colleen
Bike: drmeister said 6 hours, 11 minutes ago: Also, I tried to remove quicklisp from the cando startup but it's needed to resolve dependencies for some of the systems. I also need quicklisp to build the systems the first time cando is run. Is there a way around this? If not - we have to keep loading quicklisp at startup.
9:10:04
Colleen
Bike: drmeister said 4 hours, 58 minutes ago: - I think I uncovered a subtle problem with clasp's generic function dispatch when building clpython.