prologin/camisole

Add a way to set arbitrary language names

seirl opened this issue · 3 comments

seirl commented
Originally posted 2017-01-10 18:41 by serialk on Bitbucket

Using __class__.__name__ is a cool default but I think we should give more control to the user (like using a name descriptor that gives __class__.__name__ when not set).

Originally posted 2017-01-11 20:38 by Zopieux on Bitbucket

What do you think of:

class Python(Lang, name="my-python"):
    pass
seirl commented
Originally posted 2017-01-11 20:44 by serialk on Bitbucket

sgtm

Originally posted 2017-01-11 20:53 by Zopieux on Bitbucket

models: add name= kwarg on Lang; fix #12

→ <<cset 5e0aed8>>