On Wed, 18 Mar 2015 00:35:42 +0000, Mark Lawrence wrote: > I've just come across this > http://www.stavros.io/posts/brilliant-or-insane-code/ as a result of > this http://bugs.python.org/issue23695 > > Any and all opinions welcomed, I'm chickening out and sitting firmly > on the fence.
According to the article itself, "it relies in an implementation detail (the order the zip function iterates over the arrays) to work." Then again, the article also points to the official docs that says that this implementation detail is guaranteed. So it's no worse than depending on some weird but *documented* corner of the IEEE-754 or POSIX spec. -- https://mail.python.org/mailman/listinfo/python-list