In the enclosure for all my snakes (BP, Corn, and BCI).

I feed all at night with the lights out - almost totally dark. I handle with lights on either in room and/or in enclosure.

When I go in with lights on they do not expect food. When I go with lights out the corn is in hunt mode immediately (even when I walk by the cage). The BCI is calmer, but eats like a champ every time. The BP is shy and likes the darkness.

I have never had any of my snakes strike at me with the lights on, or off for that matter, but they are definitely ready for food with lights out.

In this sense, they are conditioned somewhat.

I will say I handle all my snakes regularly, 3-5 times a week, and not every time I go in their enclosure are they getting fed. That helps too.

I don't think it's black and white. As mentioned above, there are other factors to snake behavior and how they react when you go in the enclosure. So, other people may have different experiences.

I also believe the less stress the better and that is another reason I feed in the enclosure.