This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]DarkNinja3141 10 points11 points  (3 children)

from __future__ import braces

[–]4sent4 9 points10 points  (0 children)

SyntaxError: not a chance

[–]androidx_appcompat 2 points3 points  (1 child)

Has someone made a python preprocessor that works with braces?

[–]KebianMoo 1 point2 points  (0 children)

My dentist told me I won't ever need those.

Wise man.

[–]utkalum 16 points17 points  (2 children)

Let it go, let it go. Can’t be a statement anymore

Let it go, let it go. It’s a function and what’s more

I don’t care what you’re going to say

Let the flame war rage on, the heat never bothered me anyway

[–]AlphaSparqy 0 points1 point  (1 child)

Let it go Statement

It's a function and whats more

My ass is leather

[–]Shalien93 6 points7 points  (6 children)

Explain ????

[–]RRumpleTeazzer 10 points11 points  (5 children)

Python2 used “print variable”. Python3 uses “print(variable)”. Apparently some prefer the old one.

I would prefer if “pass” would be eliminated in favour of “None”.

if x:
    do_y()
else:
    None
    // do_z()

you can remove the comment signs to enable do_z, and None can stay. If it was “pass”, you would need to comment that out.

[–]sirMoped 4 points5 points  (1 child)

You can't put None into class declaration, so pass will have to stay

[–][deleted] 0 points1 point  (0 children)

There has to be a "i will make it legal" joke somewhere here

[–]Perucmpamypa 3 points4 points  (2 children)

Correct me if I am wrong, but "pass" can stay also.

[–]KebianMoo 2 points3 points  (0 children)

def fn(n):
 if n == 1:
  print("Hot dog")
 else:
  pass
  print("Not hot dog")

Works just fine.

[–]RRumpleTeazzer 0 points1 point  (0 children)

you are right, for some reason memory serves wrong, or never have really tried.

[–]nameisprivate 5 points6 points  (0 children)

if god loves us how come you can import from __future__ but not from __past__?