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.

4

u/Pojan06 Jun 28 '18

I mean...i told you the question might sound stupid to a python user...while Iam just learning it...so is the 3.7 gonna affect 3.6 and should they transit to 3.7?

-8

u/13steinj Jun 28 '18

I'm not going to literally repeat what the PEPs say because you're lazy to click the links?

0

u/[deleted] Jun 28 '18

[deleted]

1

u/13steinj Jun 28 '18

The abstracts are extremely basic in terms of necessary comprehension. For example,

This PEP proposes adding a new built-in function called breakpoint() which enters a Python debugger at the point of the call. Additionally, two new names are added to the sys module to make the choice of which debugger is entered configurable.

For the breakpoint PEP. For the PEPs that he can't begin to understand, ex, maybe the thread local storage C api, it wouldn't be because he can't understand that abstract. It would be because he can't understand threads, or what a C API is, because he isn't that advanced yet.

So again, I am not going to repeat the abstracts of the PEPs. He can click the damned links. And I'm not his undergrad professor either-- it's not my job to teach him what a thread is, and even if I was nice enough to do so, which I am, he didn't ask that, he asked what these new features are.

0

u/[deleted] Jun 28 '18

[deleted]

2

u/13steinj Jun 28 '18

An open question was asked, vaguely, and out of apparent laziness. I, just like you, could have responded. I did. When the laziness was further solidified, I put my foot down.