File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343
4444# Roughtly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h,
4545# this is used as a bitmask to extract future-related code flags.
46- try :
47- PyCF_MASK = functools .reduce (operator .or_ ,
48- (getattr (__future__ , fname ).compiler_flag
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 ))
5249
5350#-----------------------------------------------------------------------------
5451# Local utilities
Original file line number Diff line number Diff line change 1- """
2- cli-specific implementation of process utilities.
1+ """cli-specific implementation of process utilities.
32
43cli - Common Language Infrastructure for IronPython. Code
54 can run on any operating system. Check os.name for os-
65 specific settings.
76
87This 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.
912"""
1013
1114# Import cli libraries:
You can’t perform that action at this time.
0 commit comments