Author pablogsal
Recipients BTaskaya, gvanrossum, lys.nikolaou, pablogsal, rhettinger
Date 2020-09-08.20:57:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599598627.67.0.963042310612.issue41746@roundup.psfhosted.org>
In-reply-to
Content
> Well, since the extra code will be autogenerated, guess it wouldn't be much problematic. 

It will because it means that generic functions that receive asdl_seq an need to cast aliased pointers because they will still receive asdl_seq* items and you now need to cars them to the appropriate type:

int foo(asdl_seq* my_seq) {
    asdl_seq_expr* = (asdl_seq_expr*)my_seq
}

So you will end up with what I am proposing: a flag in asdl_seq that tells you of what type it is.
History
Date User Action Args
2020-09-08 20:57:07pablogsalsetrecipients: + pablogsal, gvanrossum, rhettinger, lys.nikolaou, BTaskaya
2020-09-08 20:57:07pablogsalsetmessageid: <1599598627.67.0.963042310612.issue41746@roundup.psfhosted.org>
2020-09-08 20:57:07pablogsallinkissue41746 messages
2020-09-08 20:57:07pablogsalcreate