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?

18

u/Raging_Hippy Jun 28 '18

3.6 isn't going anywhere. You can still use it if you can't or don't want to upgrade to 3.7. But if you're just learning then you aren't going to notice any real difference between the two. The changes are all more advanced features.