With textbooks, in maths if we don't bring ours or any of our things for maths (like calculator, compass, prtactor etc.) We would get a detention.
With compasses and protractors my teacher is pretty flexible, because they have a box full of them in the classroom.