Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
___
anatoly techtonik added the comment:
I having a snippet to fix that, should I open a new issue for patch?
Please open a new issue.
Reference is welcome.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
Senthil Kumaran added the comment:
Georg: Thanks for spotting. I feel bad for the mistake. I shall correct it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
Roundup Robot added the comment:
New changeset 2b7f11ba871c by Senthil Kumaran in branch '3.3':
Correcting the mistake in 14ba90816930
http://hg.python.org/cpython/rev/2b7f11ba871c
New changeset e839e524a7d5 by Senthil Kumaran in branch 'default':
Correcting the mistake in 678e3c0d2d99
Senthil Kumaran added the comment:
Fixed now. Ascertained myself by doing hg diff -r tip^ -U 10 on local commits
before pushing. :-)
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
Dmi Baranov added the comment:
I found a little difference in isatty implementaions:
Windows
Determines whether a file descriptor is associated with a character device [1]
Unix
Test whether a file descriptor refers to a terminal [2]
So, we having a same behavior for pipes, but different for
Senthil Kumaran added the comment:
Hello Dmi,
I having a snippet to fix that, should I open a new issue for patch?
Please open a new issue.
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
Georg Brandl added the comment:
Senthil: your 3.3-default merge removed the Availability from fpathconf().
--
nosy: +georg.brandl
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
STINNER Victor added the comment:
Why only changing Python 2 documentation?
http://docs.python.org/dev/library/os.html#os.isatty
still mention Availability: Unix.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
Senthil Kumaran added the comment:
I had removed them in all. Something must have gone wrong if still present or I
did a mistake.
changeset: 85594:678e3c0d2d99
parent: 85591:c116b658aede
parent: 85593:14ba90816930
user:Senthil Kumaran sent...@uthcode.com
date:Sat
Roundup Robot added the comment:
New changeset d5c5ac33b9a1 by Senthil Kumaran in branch '2.7':
os.isatty is not Unix only. Correct the wrong documentation.
http://hg.python.org/cpython/rev/d5c5ac33b9a1
--
nosy: +python-dev
___
Python tracker
Senthil Kumaran added the comment:
I have corrected the documentation. Thanks for raising this issue, anatoly
techtonik.
--
nosy: +orsenthil
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Dmi Baranov added the comment:
isatty is a part of of POSIX sub-system at Windows 5.x (AKA 2000) [1] (file
handling equivalents [2]). I think, we need to remove availability note here.
[1] http://msdn.microsoft.com/en-us/library/f4s0ddew.aspx
[2]
Andrew Svetlov added the comment:
Agree
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
___
Python-bugs-list mailing
anatoly techtonik added the comment:
None that I know of.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
Are there tests for this?
Not sure what you mean: there are several tests using isatty() in test suite.
Regardless, there is no #ifdef around the isatty() definition in posixmodule.c,
so I can only assume it exists on all platforms.
--
nosy: +pitrou
Ezio Melotti added the comment:
Are there tests for this?
--
components: +Tests
keywords: +easy
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - needs patch
type: - behavior
versions: -Python 3.1, Python 3.2, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
New submission from anatoly techtonik:
It seems like os.isatty(0) works on Windows too. Documentation says Unix only:
http://docs.python.org/2/library/os.html#os.isatty
http://docs.python.org/3.4/library/os.html#os.isatty
C:\py -c import os; print os.isatty(0)
True
C:\echo x | py -c
Changes by anatoly techtonik techto...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18553
___
20 matches
Mail list logo