For starters ball pythons aren't native to rainforests. They live in grasslands in Africa. Second, this is the only time I've EVER heard of a ball python, the most harmless python on the planet and one of the most harmless snakes PERIOD, attacking or even injuring a child. Know why they're called BALL pythons? They curl up into a defensive ball when threatened. You often can pick them up straight out of the wild because they're so docile. Yes, individuals can have different reactions when they feel threatened, and I have heard of unusually pissy balls that bite first and ask questions later, but they are in the extreme minority. More people are injured or even killed by dog attacks every year, mostly by Labrador Retrievers, yet no one thinks of outlawing Labs because they're supposedly the perfect all-American pet. Know how many snakes are in my house? Six. Three ball pythons, a Pueblan milk snake, a corn snake, and a Dumerils boa. Know how many have bitten me? Not a one. I've endured constant hamster bites, but have never been bitten by a snake. I'm not saying I never WILL, because all animals are unpredictable, but I would feel safer handling a strange ball python than I would a strange dog. Ball pythons are one of the easiest (I won't say THE easiest, they're notorious for having feeding problems; fortunately all of ours are good little eaters) pet snakes available, and if you can't properly care for one I sure as hell don't think you could properly care for a child. I've had goldfish that were more work.
If the snake had been dumped in a park it was probably hungry, cold (they're used to 90 degree temps in the African savannah, without belly heat snakes can't digest food and they starve), and unbelievably stressed. Under those conditions I'd bite, too.
Also: Burmese dude? If you're alone in a cage with a 23 foot predator and no back-up, that's a Darwin award waiting to happen. I don't care if it was to change his water, feed, medicate, or give him shiatsu massage. Avoidable deaths are the reason legislators are in a tizzy to make laws against owning pythons. You're lucky your snake lost interest before you became a statistic.