While is generally safe for certain wildlife to eat discarded pumpkins, as long as they are not rotting and do not contain any bleached wax, there are important things to keep in mind if you are considering putting your pumpkin out for wildlife. Hedgehogs can get very ill from eating pumpkins, so if in doubt just don't put pumpkin out for wildlife. Pumpkins can also attract pests, such as rats and mice.