4 ms·
One way to do things becomes impossible to after thirty years unless one wants to make large, breaking changes. After Python 3: >>> from __future__ import
by mixmastamyk 3y ago
One way to do things becomes impossible to after thirty years unless one wants to make large, breaking changes. After Python 3:
>>> from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance
- lijok 3y agoHaha, didn't know about this easter egg, amazing
- endgame 3y agoThat's been around since at least Python 2.6, and I think I remember seeing it before then: $ LC_ALL=C NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/release-13.10.tar.gz nix-shell -p python26 --run 'python -c "from __future__ import braces"' File "<string>", line 1 SyntaxError: not a chance
- mixmastamyk 3y ago“After Python 3” doesn’t mean it arrived then. It was supposed to be read, “after Python three … not a chance.”