Natural Law, canon law actually says that a man who has murdered someone cannot be a priest, let alone the Pope.
I heard this on EWTN just the other day I believe. I could be mistaken.
I had never heard this or remembered reading it in the canon so I just did a quick word search. It isn't there. In fact neither the words murder and kill are contained in the canon law.