Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SpawnProcess: use os.open for /dev/null input | Zac Medico | 2012-02-15 | 1 | -3/+3 |
| | |||||
* | SpawnProcess: for stdout use os.write, not fdopen | Zac Medico | 2012-02-14 | 1 | -6/+5 |
| | |||||
* | AsynchronousTask: skip cancelled check in _start | Zac Medico | 2012-02-14 | 1 | -3/+0 |
| | | | | | These checks should be irrelevant, since the cancel() method is never called on anything that hasn't been started already. | ||||
* | PollScheduler: glib.io_add_watch() compatibility | Zac Medico | 2012-02-07 | 1 | -0/+4 |
| | |||||
* | SpawnProcess/AbstractPollTask: eliminate array | Zac Medico | 2011-12-16 | 1 | -11/+2 |
| | | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(). So, eliminate array usage entirely. | ||||
* | SpawnProcess: remove obsolete fdopen | Zac Medico | 2011-12-16 | 1 | -4/+2 |
| | | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(), so there's no need to use fdopen. | ||||
* | SpawnProcess: work around array.fromfile() bugs | Zac Medico | 2011-12-15 | 1 | -11/+20 |
| | | | | | | When I extended test_poll to test SpawnProcess array.fromfile() usage, it exposed bugs in array.fromfile() that I couldn't find a way to handle. So, use os.read() instead. | ||||
* | SpawnProcess: use /dev/null fd from subclass | Zac Medico | 2011-12-13 | 1 | -14/+17 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 1 | -1/+8 |
| | |||||
* | Add some comments, which will allow to easier find code, which should be | Arfrever Frehtes Taifersar Arahesis | 2011-08-25 | 1 | -0/+1 |
| | | | | removed when support for older versions of Python is removed. | ||||
* | python3.2 fixes: use array.tobytes() | Zac Medico | 2011-08-24 | 1 | -1/+5 |
| | |||||
* | BinpkgFetcher: support selinux PORTAGE_FETCH_T | Zac Medico | 2011-07-21 | 1 | -2/+12 |
| | | | | | Thanks to Sven Vermeulen <sven.vermeulen@siphos.be> for the initial patch posted on bug #375835. | ||||
* | SpawnProcess: read proc with unbuffered fdopen | Zac Medico | 2011-01-20 | 1 | -2/+4 |
| | | | | | This enables pty support in python3, by using unbuffered fdopen to avoid http://bugs.python.org/issue5380. | ||||
* | Split out a AbstractPollTask._read_buf() helper method. | Zac Medico | 2010-09-09 | 1 | -16/+6 |
| | |||||
* | Bug #324191 - Add support for FEATURES=compress-build-logs. The causes | Zac Medico | 2010-08-21 | 1 | -2/+14 |
| | | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled. | ||||
* | Fix SubProcess instances to call _set_returncode() when appropriate, | Zac Medico | 2010-08-15 | 1 | -1/+1 |
| | | | | instead of setting self.returncode directly. | ||||
* | Remove unuser return values from PollScheduler event handlers. | Zac Medico | 2010-08-15 | 1 | -2/+0 |
| | |||||
* | EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1. | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -2/+0 |
| | |||||
* | Bug #330937: Handle IOError raised by remaining calls to array.fromfile(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -1/+2 |
| | |||||
* | Bug #330937: Handle IOError raised by array.fromfile(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-03 | 1 | -1/+2 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Bug #162404 - Automatically disable logging if sesandbox is enabled and a | Zac Medico | 2009-12-05 | 1 | -1/+7 |
| | | | | | | | pty is not available for some reason (currently they are never available with python3). svn path=/main/trunk/; revision=14928 | ||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -1/+1 |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | ||||
* | Update syntax of numbers for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 |
| | | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -8/+3 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994 | ||||
* | Add/update copyright headers. | Zac Medico | 2009-06-25 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=13690 | ||||
* | Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to | Zac Medico | 2009-06-22 | 1 | -0/+219 |
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663 |