>>11
WTF?
>>16
lambda still sucks dicks.
True. But that doesn't make Python 3 suck any more than Python 2.
ONE WORD, THE FORCED IMPORT OF REDUCE, GODDAMN GUIDO
Guido
hates functional programming. Anyways, I always import my additional FP tools, so reduce will come from there now.
0o12345. What the fuck?
That's actually a good idea. Consistency at last. 0x, 0o, 0b, I like it. 0123 for octal is error-prone and an unjustified shortcut for a seldom used numeric base.
You can't open files with names that aren't valid unicode -- which means no more using Python to fix filenames after, e.g., unzipping a file that came from a system that used a different encoding -- which happens VERY OFTEN for some people, myself included. Phenomenally stupid.
Not a massive failure of Python; just trying to support Unicode properly. Many others (like Java) exhibit this behaviour, or worse. Partly a failure of UNIX, but it's also a matter of design.
On the subject, what other languages out there have *good* unicode support, and aren't written by retards who live in a happy-land where filesystem encodings are always perfect?
NONE THAT I KNOW OF