>>33595224Since Guzzlord is noted as being unusual for not pooping, it is probably safe to say all other Pokemon excrete waste. Shedinja probably doesn't either, though it may have pooped as a Nincada unless you consider it a separate entity. Trapinch and Volcarona are based on life stages that don't poop, although in the case of the adult atlas moth it's because it doesn't have a mouth and only exits to breed. Volcarona can eat so that's not the case.
Probably safe to assume that most pupa Pokemon hold it in until evolution. Cosmoem is barely even a lifeform.