What are Python __future__ imports?

Описание к видео What are Python __future__ imports?

Imports from the future!

Python allows you to opt in to new features that are planned to change in future versions. This facilitates a transition away from code that uses the flawed or broken original version of the feature.

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosS...
Future module: https://github.com/python/cpython/blo...
Feature flag used in C: https://github.com/python/cpython/blo...

SUPPORT ME ⭐
---------------------------------------------------
Patreon:   / mcoding  
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate

Top patrons and donors: Jameson, Laura M, Vahnekie, Dragos C, Matt R, Casey G, Johan A, John Martin, Jason F, Mutual Information, Neel R

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:   / discord  
Github: https://github.com/mCodingLLC/
Reddit:   / mcoding  
Facebook:   / james.mcoding  

Комментарии

Информация по комментариям в разработке