The documentation for upgrading output redirection from Python2 suggests using a class which is internal. #1968
NickNightingale
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation (https://github.com/IronLanguages/ironpython3/wiki/Upgrading-from-IronPython2#redirecting-output) suggests when writing output to a
TextWriter
it is wrapped in aMicrosoft.Scripting.Utils.TextStream
. Although that class is implemented inMicrosoft.DynamicLanguageRuntime
, it is internal and so not available to use in my project. Is there an alternative (other than copying the code forMicrosoft.Scripting.Utils.TextStream
into my project)?Beta Was this translation helpful? Give feedback.
All reactions