summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/_pty.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace @returns with @return.Zac Medico2012-03-271-1/+1
|
* _pty.py: remove unused _tested_pty variableZac Medico2011-12-221-2/+0
|
* _pty.py: remove _test_pty_eof()Zac Medico2011-12-221-149/+8
| | | | | | | | | | | If array.fromfile() is not used, then _test_pty_eof() is useless. This function was for runtime detection of python issue 5380: http://bugs.python.org/issue5380 However, array.fromfile() use has since been abandoned due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* _test_pty_eof: use os.read, not array.fromfileZac Medico2011-12-161-32/+38
| | | | | | We have abandoned array.fromfile() due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* Add some comments, which will allow to easier find code, which should beArfrever Frehtes Taifersar Arahesis2011-08-251-0/+1
| | | | removed when support for older versions of Python is removed.
* python3.2 fixes: use array.tobytes()Zac Medico2011-08-241-3/+5
|
* Fix a typo in a comment.Zac Medico2011-01-201-1/+1
|
* SpawnProcess: read proc with unbuffered fdopenZac Medico2011-01-201-2/+2
| | | | | This enables pty support in python3, by using unbuffered fdopen to avoid http://bugs.python.org/issue5380.
* PtyEofTestCase: test unbuffered fdopenZac Medico2011-01-201-2/+13
| | | | | | New development: It appears that array.fromfile() is usable with python3 as long as fdopen is called with a bufsize argument of 0.
* EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1.Arfrever Frehtes Taifersar Arahesis2010-08-051-1/+0
|
* Bug #330937: Handle IOError raised by remaining calls to array.fromfile().Arfrever Frehtes Taifersar Arahesis2010-08-051-4/+2
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Move _pty module to portage.util._pty.Zac Medico2010-03-021-0/+205
svn path=/main/trunk/; revision=15515