The fact that Python is written in C and is actually a C program made me wonder about how decimal numbers assignment are handled.
How does a C program implement the Python variable assignment of a very large decimal number (bigger than int or long)?
For example:
a=10000... # a=(10^1000)
when running in python I know that the value is so big that it takes many words in the memory, so the C program obviously does that, but how?
Every variable in C has a type, but the C compiled code does not know how big the number will be.
How does the (python) C program handles that assignment? (and operations on such variables)