Actually ball pythons have two functioning lungs as do all Pythons and Boas, you're thinking of colubrids. I would think that as long as it's not constantly exposed to the fumes and it's only an occasional thing, it should be fine.