r/Python • • Jun 27 '18

Python 3.7.0 released

https://www.python.org/downloads/release/python-370/
1.3k Upvotes

293 comments sorted by

View all comments

-9

u/Pojan06 Jun 28 '18

I know this sound stupid...but what this 3.7 diffrent with 3.6

26

u/13steinj Jun 28 '18

...I can't tell if you didn't bother to click the link or what but:

Among the major new features in Python 3.7 are:

  • PEP 539, new C API for thread-local storage

  • PEP 545, Python documentation translations

  • New documentation translations: Japanese, French, and Korean.

  • PEP 552, Deterministic pyc files

  • PEP 553, Built-in breakpoint()

  • PEP 557, Data Classes

  • PEP 560, Core support for typing module and generic types

  • PEP 562, Customization of access to module attributes

  • PEP 563, Postponed evaluation of annotations

  • PEP 564, Time functions with nanosecond resolution

  • PEP 565, Improved DeprecationWarning handling

  • PEP 567, Context Variables

  • Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)

  • The insertion-order preservation nature of dict objects is now an official part of the Python language spec.

  • Notable performance improvements in many areas.

10

u/zenverak Jun 28 '18

I think his question is better phrased as, what does any of that mean to him as a user. Insertion order preservation is pretty neat but for the random joe they might not know what some of those things truly offer

0

u/13steinj Jun 28 '18

I'd like to think that each of those bullet points is either self explanatory by the title in what it offers, or is summarized in the first few lines of the respective PEP. The order preservation already existed in 3.6 as mentioned, so that's also not even "new" bar it is now "officially new".

If they aren't, well, I'd like to hear from someone which ones aren't and I'll apologize immediately and give an explanation that should have been in the PEP.

1

u/jaffycake Jun 28 '18

You would like to think, but you're wrong.

1

u/13steinj Jun 28 '18

I said it in the previous comment, I'll say it again. Show me one abstract that a buffoon couldn't understand assuming they know the programming concept itself (ex threads), and I will gladly both explain and apologize.

You haven't done this. No one has. Just throwing angry statements my way. Which is doing nothing but proving my point.

1

u/jaffycake Jun 28 '18

I don't want you to explain it, I am just commenting that you're simply wrong. Lots of programmers don't understand those change logs and would like a better more bitesize description of what is new and what has changed.

1

u/13steinj Jun 28 '18

This isn't a changelog. The changelog is far more intense. If I'm wrong someone would have asked for an explanation by now and made me apologize, saying why they don't understand the simple abstracts. But none have. The abstracts are extremely bitesize, you can't get smaller without losing important info.

→ More replies (8)