Загрузка страницы

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/VideosSampleCode
Future module: https://github.com/python/cpython/blob/main/Lib/__future__.py
Feature flag used in C: https://github.com/python/cpython/blob/main/Python/compile.c

SUPPORT ME ⭐
---------------------------------------------------
Patreon: https://patreon.com/mCoding
Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
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: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/james.mcoding

Видео What are Python __future__ imports? канала mCoding
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
18 июля 2022 г. 19:04:05
00:08:18
Яндекс.Метрика