Skip to content

Commit 00d0643

Browse files
author
Doug Blank
committed
Removed another of the tweaks, and added a note in that it is largely untested.
1 parent 13bba28 commit 00d0643

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

IPython/core/compilerop.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@
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

IPython/utils/_process_cli.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
"""
2-
cli-specific implementation of process utilities.
1+
"""cli-specific implementation of process utilities.
32
43
cli - Common Language Infrastructure for IronPython. Code
54
can run on any operating system. Check os.name for os-
65
specific settings.
76
87
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.
912
"""
1013

1114
# Import cli libraries:

0 commit comments

Comments
 (0)