import imdb i = imdb.IMDb() p = i.get_person("0002035") print p["canonical name"]
This code prints
Jr., Sammy Davis
This is bad if you want to sort a list of Person objects according to the surname. I don't know if this is intentional but I would prefer the following notation:
Davis Jr., Sammy
I attached small patch that seems to fix the issue.
Thanks you very much for your work on imdbpy!