Show More
@@ -43,12 +43,9 b' import time' | |||
|
43 | 43 | |
|
44 | 44 | # Roughtly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h, |
|
45 | 45 | # this is used as a bitmask to extract future-related code flags. |
|
46 | try: | |
|
47 | PyCF_MASK = functools.reduce(operator.or_, | |
|
48 |
|
|
|
49 | for fname in __future__.all_feature_names)) | |
|
50 | except AttributeError: # IronPython __future__'s are non-standard, 2/8/2014 | |
|
51 | PyCF_MASK = 0 | |
|
46 | PyCF_MASK = functools.reduce(operator.or_, | |
|
47 | (getattr(__future__, fname).compiler_flag | |
|
48 | for fname in __future__.all_feature_names)) | |
|
52 | 49 | |
|
53 | 50 | #----------------------------------------------------------------------------- |
|
54 | 51 | # Local utilities |
@@ -1,11 +1,14 b'' | |||
|
1 | """ | |
|
2 | cli-specific implementation of process utilities. | |
|
1 | """cli-specific implementation of process utilities. | |
|
3 | 2 | |
|
4 | 3 | cli - Common Language Infrastructure for IronPython. Code |
|
5 | 4 | can run on any operating system. Check os.name for os- |
|
6 | 5 | specific settings. |
|
7 | 6 | |
|
8 | 7 | This file is only meant to be imported by process.py, not by end-users. |
|
8 | ||
|
9 | This file is largely untested. To become a full drop-in process | |
|
10 | interface for IronPython will probably require you to help fill | |
|
11 | in the details. | |
|
9 | 12 | """ |
|
10 | 13 | |
|
11 | 14 | # Import cli libraries: |
General Comments 0
You need to be logged in to leave comments.
Login now