Kiln dried pine is supposed to be "fine" but I've also seen animals get lesions while on pine bedding. Pine wood is fine for enclosures as long as you seal it (which you want to do for any wood anyway).
I'd be interested in this, I know people who have kept snakes (including ball pythons) on pine for over 20 years without any noticeable issues