Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] sys.stdout.isatty() always returns True
2. [New comment] sys.stdout.isatty() always returns True
----------------------------------------------
ISSUES
1. [New comment] sys.stdout.isatty() always returns True
http://ironpython.codeplex.com/workitem/33123
User jdhardy has commented on the issue:
"I don't think, in general, that IronPython can tell them apart, but False is
probably safer."-----------------
2. [New comment] sys.stdout.isatty() always returns True
http://ironpython.codeplex.com/workitem/33123
User pekkaklarck has commented on the issue:
"It seems you cannot do this directly using .NET 4.0 APIs, but the information
is available via win32 APIs:
http://stackoverflow.com/questions/3453220/how-to-detect-if-console-in-stdin-has-been-redirected
.NET 4.5 makes this easier:
http://msdn.microsoft.com/en-us/library/system.console.isoutputredirected%28v=VS.110%29.aspx
If this problem cannot be easily fixed under these circumstances, I actually
prefer True over False as the return value. Well behaving tools that enable
fancy console output when sys.stdout.isatty() is True work better currently.
Really well behaving tools allow unconditionally turning fancy outputs off and
that functionality can be used when redirecting."
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on
CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue
Tracker. You can unsubscribe or change your issue notification settings on
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users