Change to be able to use BoolVector correctly in python modular

Before this change, trying the following in python_modular : 
x = BoolVector(3)
x[0] = True
resulted in "TypeError: 'BoolVector' object does not support item assignment".