##// END OF EJS Templates
Removed another of the tweaks, and added a note in that it is largely untested.
Doug Blank -
Show More
@@ -43,12 +43,9 b' import time'
43
43
44 # Roughtly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h,
44 # Roughtly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h,
45 # this is used as a bitmask to extract future-related code flags.
45 # this is used as a bitmask to extract future-related code flags.
46 try:
46 PyCF_MASK = functools.reduce(operator.or_,
47 PyCF_MASK = functools.reduce(operator.or_,
47 (getattr(__future__, fname).compiler_flag
48 (getattr(__future__, fname).compiler_flag
48 for fname in __future__.all_feature_names))
49 for fname in __future__.all_feature_names))
50 except AttributeError: # IronPython __future__'s are non-standard, 2/8/2014
51 PyCF_MASK = 0
52
49
53 #-----------------------------------------------------------------------------
50 #-----------------------------------------------------------------------------
54 # Local utilities
51 # Local utilities
@@ -1,11 +1,14 b''
1 """
1 """cli-specific implementation of process utilities.
2 cli-specific implementation of process utilities.
3
2
4 cli - Common Language Infrastructure for IronPython. Code
3 cli - Common Language Infrastructure for IronPython. Code
5 can run on any operating system. Check os.name for os-
4 can run on any operating system. Check os.name for os-
6 specific settings.
5 specific settings.
7
6
8 This file is only meant to be imported by process.py, not by end-users.
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 # Import cli libraries:
14 # Import cli libraries:
General Comments 0
You need to be logged in to leave comments. Login now