alan-turing-institute/CleverCSV

Problem with names defined in cparser and cabstraction modules

BergLucas opened this issue · 0 comments

Hi,

I'm currently working with a dynamic code analysis tool and I've noticed that it doesn't work very well with CleverCSV.

The problem seems to come from the fully qualified names defined in the cparser and cabstraction modules.

When I run the following code:

import clevercsv

print(clevercsv.cabstraction.__name__)
print(clevercsv.cparser.__name__)
print(clevercsv.cparser.Error.__module__)
print(clevercsv.cparser.Parser.__module__)

I got the following output:

ccsv.cabstraction
ccsv.cparser
cparser
ccsv.cparser

But I expected to get something like that:

clevercsv.cabstraction
clevercsv.cparser
clevercsv.cparser
clevercsv.cparser

I hope this will help you find the problem.
Have a nice day!