#NEWLINE# @ lower_builtin ( 'is' , types . List , types . List ) #NEWLINE# def list_is( context , builder , sig , args ) : #NEWLINE# #INDENT# a = ListInstance ( context , builder , sig . args [ 0 ] , args [ 0 ] ) #NEWLINE# b = ListInstance ( context , builder , sig . args [ 1 ] , args [ 1 ] ) #NEWLINE# ma = builder . ptrtoint ( a . meminfo , cgutils . intp_t ) #NEWLINE# mb = builder . ptrtoint ( b . meminfo , cgutils . intp_t ) #NEWLINE# return builder . icmp_signed ( '==' , ma , mb )