andrea crotti <andrea.crott...@gmail.com> writes: > Also because how doi I make an immutable object in pure Python?
Numbers in Python are already immutable. What you're really looking for is a programming style where you don't bind any variable more than once. This gives rise to a programming style that Python can support to a certain extent, but for which some other languages are designed from the beginning. You might look at http://learnyouahaskell.com (online book) if you want to try the above approach. -- http://mail.python.org/mailman/listinfo/python-list