Congratulations... I read about this on PyCoder's Weekly
Isn't this enough for your use case (pure and simple Python)?
>>> 42 * True
42
>>> 21 * False
0
>>> a = 42
>>> a += 1 * False
>>> a
42
>>> a += 1 * True
>>> a
43
Hello Miguel Brito
Yes, of course I understand that it is an experiment and 99% of your article is about adding your own syntax to Python which is super interesting and worth reading, but I believe it adds value to mention that it could be done already in pure Python.
Best regards!
Note: As you probably know in Python you can use False, 0, None, [], {} and '' as "not True" in "if" clauses, so in all cases: "if a:" should work later in your code, so the multiplication operator does work with str's:
>>> a = 'hello' * True
>>> a
'hello'
>>> a = 'hello' * False
>>> a
''
>>> if a:
... print "True"
...
>>>