News for hackers. Stuff that matters.
Re:Python 3.7: Introducing Data Classes by xapata on Wednesday April 18, 2018 @11:44PM (#16873174)
It's hard for me to imagine that situation coming up, but yes, __slots__ does indeed have a purpose.

BTW, have you considered using the complex type to handle that for you? It's 2d and ints should be safe in float representation. If it overflows it'll crash nicely.

Re:Python 3.7: Introducing Data Classes by marvy on Thursday April 19, 2018 @11:07PM (#16881895)
Good one. But let's say I want something mutable, so complex won't do.