Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix UnboundLocalError triggered by atom without category for nonexistent | Zac Medico | 2009-09-25 | 1 | -1/+1 | |
| | | | | | | package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting. svn path=/main/trunk/; revision=14431 | |||||
* | Make sure self._allowed_keys are sorted in the table create statement. They | Zac Medico | 2009-09-25 | 1 | -1/+1 | |
| | | | | | | already are sorted, but do it explicitly here for clarity. svn path=/main/trunk/; revision=14430 | |||||
* | Fix formatting of sizes with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 2 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=14429 | |||||
* | Remove ugly code from __len__, since defining __bool__ fixes the same | Zac Medico | 2009-09-25 | 1 | -9/+1 | |
| | | | | | | issue. svn path=/main/trunk/; revision=14428 | |||||
* | Define __bool__() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 4 | -5/+19 | |
| | | | | svn path=/main/trunk/; revision=14427 | |||||
* | Use imp.reload() instead of reload() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=14426 | |||||
* | Remove unused imports. | Zac Medico | 2009-09-25 | 2 | -4/+0 | |
| | | | | svn path=/main/trunk/; revision=14425 | |||||
* | Fix length calculation so it doesn't assume the length of the encoded | Zac Medico | 2009-09-25 | 1 | -3/+4 | |
| | | | | | | string is the same as the unicode string. svn path=/main/trunk/; revision=14424 | |||||
* | Add a test case for this issue: http://bugs.python.org/issue5334 | Zac Medico | 2009-09-25 | 2 | -1/+45 | |
| | | | | svn path=/main/trunk/; revision=14423 | |||||
* | Use 'in' instead of has_key() in portage.glsa.Glsa.parse() when Python 3 is ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -1/+2 | |
| | | | | | | used. svn path=/main/trunk/; revision=14422 | |||||
* | Use list comprehensions instead of filter() or map() in some places for ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 8 | -18/+17 | |
| | | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421 | |||||
* | Fix more. | Zac Medico | 2009-09-25 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14420 | |||||
* | Fix ValueError in digestcheck(), reported by Arfrever. | Zac Medico | 2009-09-25 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=14419 | |||||
* | Remove unnecessary dict.has_key() call (fix for python 3). | Zac Medico | 2009-09-25 | 1 | -2/+0 | |
| | | | | svn path=/main/trunk/; revision=14418 | |||||
* | Show an appropriate error message in _create_pty_or_pipe() if openpty() | Zac Medico | 2009-09-24 | 2 | -15/+16 | |
| | | | | | | fails inside _test_pty_eof(). svn path=/main/trunk/; revision=14417 | |||||
* | Fix regression in _getitem() from r14398, since myf.read().split("\n") | Zac Medico | 2009-09-24 | 1 | -1/+4 | |
| | | | | | | | yields an empty string at the end which is causes _parse_data() to catch a ValueError and raise CacheCorruption. svn path=/main/trunk/; revision=14416 | |||||
* | Add a test case for http://bugs.python.org/issue5380 and mark it as 'todo' | Zac Medico | 2009-09-24 | 1 | -0/+22 | |
| | | | | | | since it fails with current versions of python 3. svn path=/main/trunk/; revision=14415 | |||||
* | Make _test_pty_eof() return None if openpty() fails. | Zac Medico | 2009-09-24 | 1 | -1/+5 | |
| | | | | svn path=/main/trunk/; revision=14414 | |||||
* | Use a runtime check to see if http://bugs.python.org/issue5380 is fixed. | Zac Medico | 2009-09-24 | 1 | -5/+62 | |
| | | | | svn path=/main/trunk/; revision=14413 | |||||
* | Use dict.__iter__ instead of keys(), since it behaves identically in python | Zac Medico | 2009-09-24 | 1 | -2/+2 | |
| | | | | | | 2 and 3. svn path=/main/trunk/; revision=14412 | |||||
* | Fix previous commit. | Zac Medico | 2009-09-24 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=14402 | |||||
* | Warn if cpv_getkey() is given invalid input that triggers legacy code. | Zac Medico | 2009-09-24 | 1 | -0/+4 | |
| | | | | svn path=/main/trunk/; revision=14401 | |||||
* | Avoid unicode errors in python 3. Thanks to Arfrever for reporting. | Zac Medico | 2009-09-24 | 1 | -0/+8 | |
| | | | | svn path=/main/trunk/; revision=14400 | |||||
* | Decode directory names where appropriate in digestcheck(). Thanks to | Zac Medico | 2009-09-24 | 1 | -0/+14 | |
| | | | | | | Arfrever for reporting. svn path=/main/trunk/; revision=14399 | |||||
* | Misc performance enhancements. Thanks to Marat Radchenko | Zac Medico | 2009-09-24 | 3 | -22/+13 | |
| | | | | | | <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14398 | |||||
* | Fix test case for recent changes. | Zac Medico | 2009-09-24 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14397 | |||||
* | Bug #286118 - Fix dbapi.move_ent() methods so they don't assume Atom instances | Zac Medico | 2009-09-23 | 2 | -15/+16 | |
| | | | | | | | can be concatenated with strings (even though they can now, it's not really a good assumption). svn path=/main/trunk/; revision=14396 | |||||
* | Fix "TypeError: object of type 'filter' has no len()". | Arfrever Frehtes Taifersar Arahesis | 2009-09-23 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=14395 | |||||
* | Fix formatting of size of downloads with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-23 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14394 | |||||
* | Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clear | Zac Medico | 2009-09-23 | 6 | -7/+4 | |
| | | | | | | that this key really is unused. svn path=/main/trunk/; revision=14393 | |||||
* | Optimize vardbapi.getpath(). Thanks to Marat Radchenko | Zac Medico | 2009-09-23 | 1 | -3/+8 | |
| | | | | | | <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14392 | |||||
* | Optimize SlotDict.iteritems() a little. | Zac Medico | 2009-09-22 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=14391 | |||||
* | Make SlotDict use call self.iteritems() where appropriate since it implements | Zac Medico | 2009-09-22 | 1 | -5/+5 | |
| | | | | | | that method even when running in python 3.x. svn path=/main/trunk/; revision=14390 | |||||
* | Fix stack_dicts() to always return a dict. | Zac Medico | 2009-09-22 | 1 | -3/+1 | |
| | | | | svn path=/main/trunk/; revision=14389 | |||||
* | Don't pass the ignore_none parameter to stack_dicts() since it does nothing | Zac Medico | 2009-09-22 | 1 | -1/+1 | |
| | | | | | | now. svn path=/main/trunk/; revision=14388 | |||||
* | Clean up stack_dicts() a little. | Zac Medico | 2009-09-22 | 1 | -6/+5 | |
| | | | | svn path=/main/trunk/; revision=14387 | |||||
* | Disable the ignore_none parameter for stack_dicts() since having it return | Zac Medico | 2009-09-22 | 1 | -5/+2 | |
| | | | | | | None instead of a dict sometimes is hazardous. svn path=/main/trunk/; revision=14386 | |||||
* | Replace dict.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 7 | -19/+18 | |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14385 | |||||
* | Replace dict.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 7 | -13/+13 | |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14384 | |||||
* | Remove code that's been commented out. | Zac Medico | 2009-09-22 | 1 | -18/+0 | |
| | | | | svn path=/main/trunk/; revision=14383 | |||||
* | Replace dict.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 2 | -7/+7 | |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14382 | |||||
* | Fix for python 3.x compatibility. | Zac Medico | 2009-09-22 | 1 | -5/+13 | |
| | | | | svn path=/main/trunk/; revision=14381 | |||||
* | Replace dict.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 5 | -17/+17 | |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14380 | |||||
* | Replace doct.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 4 | -9/+9 | |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14379 | |||||
* | Do manual unicode handling (instead of using the wrapped os module) in | Zac Medico | 2009-09-22 | 1 | -12/+26 | |
| | | | | | | | portdbapi.findname2(), since it's a hotspot. Thanks to Marat Radchenko <marat@slonopotamus.org> for the initial patch. svn path=/main/trunk/; revision=14378 | |||||
* | For python 3.x with boolean target, len() results in TypeError, so | Zac Medico | 2009-09-22 | 1 | -1/+9 | |
| | | | | | | make __len__ return 0 or 1 in this case. svn path=/main/trunk/; revision=14377 | |||||
* | Optimize unicode wrappers. Thanks to Marat Radchenko <marat@slonopotamus.org> | Zac Medico | 2009-09-22 | 1 | -28/+30 | |
| | | | | | | for this patch from bug #276813. svn path=/main/trunk/; revision=14376 | |||||
* | Fix another potential 'RuntimeError: dictionary changed size during iteration' | Zac Medico | 2009-09-22 | 1 | -1/+1 | |
| | | | | | | exception in _owners_db._populate() for py3k. svn path=/main/trunk/; revision=14375 | |||||
* | Fix 'iteritems' attribute detection to look for 'items' instead. | Zac Medico | 2009-09-22 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14374 | |||||
* | Fix 'RuntimeError: dictionary changed size during iteration' in | Zac Medico | 2009-09-22 | 1 | -1/+1 | |
| | | | | | | bindbapi.aux_update() with py3k. svn path=/main/trunk/; revision=14373 |