FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Updated Python version to 3.5.1 (Linux) · durof/Source.Python@bc4cb52 · GitHub

Updated Python version to 3.5.1 (Linux) · durof/Source.Python@bc4cb52 · GitHub
Skip to content

Navigation Menu

Repository navigation

Commit bc4cb52

Browse files
committed
Updated Python version to 3.5.1 (Linux)
1 parent 1b87d68 commit bc4cb52

733 files changed

Lines changed: 34237 additions & 37535 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎addons/source-python/Python3/__future__.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"print_function",
5757
"unicode_literals",
5858
"barry_as_FLUFL",
59+
"generator_stop",
5960
]
6061

6162
__all__ = ["all_feature_names"] + all_feature_names
@@ -72,6 +73,7 @@
7273
CO_FUTURE_PRINT_FUNCTION = 0x10000 # print function
7374
CO_FUTURE_UNICODE_LITERALS = 0x20000 # unicode string literals
7475
CO_FUTURE_BARRY_AS_BDFL = 0x40000
76+
CO_FUTURE_GENERATOR_STOP = 0x80000 # StopIteration becomes RuntimeError in generators
7577

7678
class _Feature:
7779
def __init__(self, optionalRelease, mandatoryRelease, compiler_flag):
@@ -132,3 +134,7 @@ def __repr__(self):
132134
barry_as_FLUFL = _Feature((3, 1, 0, "alpha", 2),
133135
(3, 9, 0, "alpha", 0),
134136
CO_FUTURE_BARRY_AS_BDFL)
137+
138+
generator_stop = _Feature((3, 5, 0, "beta", 1),
139+
(3, 7, 0, "alpha", 0),
140+
CO_FUTURE_GENERATOR_STOP)

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.

Back | FazBrowse Home | New Git URL