Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f318a2 + f14e0e8 commit 33b8830Copy full SHA for 33b8830
graalpython/lib-graalpython/sys.py
@@ -1,4 +1,4 @@
1
-# Copyright (c) 2019, 2019, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3
#
4
# The Universal Permissive License (UPL), Version 1.0
@@ -52,6 +52,11 @@ def make_implementation_info():
52
del make_implementation_info
53
del __gmultiarch
54
version_info = implementation.version
55
+hexversion = ((version_info.major << 24) |
56
+ (version_info.minor << 16) |
57
+ (version_info.micro << 8) |
58
+ (0xa << 4) | # 0xA is alpha, 0xB is beta, 0xC is rc, 0xF is final
59
+ (version_info.serial << 0))
60
61
62
def make_flags_class():
0 commit comments