diff --git a/IPython/core/compilerop.py b/IPython/core/compilerop.py index 735fa3f..e39ded6 100644 --- a/IPython/core/compilerop.py +++ b/IPython/core/compilerop.py @@ -43,12 +43,9 @@ import time # Roughtly equal to PyCF_MASK | PyCF_MASK_OBSOLETE as defined in pythonrun.h, # this is used as a bitmask to extract future-related code flags. -try: - PyCF_MASK = functools.reduce(operator.or_, - (getattr(__future__, fname).compiler_flag - for fname in __future__.all_feature_names)) -except AttributeError: # IronPython __future__'s are non-standard, 2/8/2014 - PyCF_MASK = 0 +PyCF_MASK = functools.reduce(operator.or_, + (getattr(__future__, fname).compiler_flag + for fname in __future__.all_feature_names)) #----------------------------------------------------------------------------- # Local utilities diff --git a/IPython/utils/_process_cli.py b/IPython/utils/_process_cli.py index d7c8ea9..eb69d3f 100644 --- a/IPython/utils/_process_cli.py +++ b/IPython/utils/_process_cli.py @@ -1,11 +1,14 @@ -""" -cli-specific implementation of process utilities. +"""cli-specific implementation of process utilities. cli - Common Language Infrastructure for IronPython. Code can run on any operating system. Check os.name for os- specific settings. This file is only meant to be imported by process.py, not by end-users. + +This file is largely untested. To become a full drop-in process +interface for IronPython will probably require you to help fill +in the details. """ # Import cli libraries: