Problems using struct pack/unpack in files, and reading them.

Steven D'Aprano steve at pearwood.info
Fri Nov 13 21:40:19 EST 2015


On Sat, 14 Nov 2015 09:42 am, Chris Angelico wrote:

> However, this is a reasonable call for the abolition of unary plus...

The only way you'll take unary plus out of Python is by prying it from my
cold, dead hands.


BTW, unary minus suffers from the same "problem":

x =- y  # oops, meant x -= y

If anything, this is an argument against the augmented assignment
short-cuts, rather than the operators.


-- 
Steven




More information about the Python-list mailing list