Steven D'Aprano <[email protected]> added the comment:
For the reasons already discussed on the Stackoverflow link you gave, Python does not have pre- and post-increment and -decrement operators, and probably never will. I'm closing this ticket as Won't Fix, but if you wish to discuss it further, you can raise it on Python-Ideas for community feedback. If there is significant interest, you can then write a PEP for it, and if the PEP is approved, then you can re-open this ticket and provide a PR or patch. https://mail.python.org/mailman3/lists/python-ideas.python.org/ https://www.python.org/dev/peps/ ---------- nosy: +steven.daprano resolution: -> wont fix stage: -> resolved status: open -> closed versions: +Python 3.9 _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue37304> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
