Should've had a Boa constrictor instead, they're far less bitey...hindsight's a bugger...
But seriously an awful trajedy for the child and mther and relatives...
Having Boa's (not to be confused with Burmese Pythons) myself before..roaming around my house!!! but no kids..at that time..I would say they recognised me my wife my dog..and posed no threat to us whatsoever....the rats I kept for food weren't as lucky....

personally I love snakes and well 'all creatures great and small'
A 8ft Python would look at a 2yr old as about the right size for food...then again some kids in America are huge....so maybe the kid could've eaten the snake.
A truely sad event for both family and snake...as now no doubt the snake will be destroyed....because of the incompatencey of the keeper...
Also a point made earlier...Animals and kids don't mix...I was brought from a baby with a dog that never left my side, and protected me all his life (RIP)
Yet there are many tragic stories about family dogs savaging kids...cats sitting on the mouths of kids and them suffocating

now that's a stuffed snake!! Can't tell if this is a fake photo or not...
All animals are dangerous....just look at mosquito's...tiny but deadly...