Actually snakes (including BPs) can lay furtile eggs without a male.
It's called Parthenogenesis. It's a form of asexual reproduction and all of the offspring will be female.
And if the snake is not a virgin, she could retain sperm from the previous breeding season to use in the current season and lay fertile eggs even if she doesn't physically breed in the current season.