snoopyjc / pythonizer

Automatic translator from Perl to Python
https://snoopyjc.org/pythonizer/
Artistic License 2.0
12 stars 1 forks source link

Change errors for use overload ++ / -- to warnings #331

Closed snoopyjc closed 1 year ago

snoopyjc commented 1 year ago

Change errors for use overload ++ / -- to warnings. We would never call them anyway as we replace ++ with += and -- with -=. See examples in Math::BigInt and Math::BigFloat.

snoopyjc commented 1 year ago

Also - allow the function supplying the overload to be specified as a string.

snoopyjc commented 1 year ago

Implemented in 1.029