Merged from trunk -r14368:14378
| 14369 | Don't wrap os.statvfs since it requires unicode string args |
| zmedico | in py3k. |
| 14370 | Fix 'RuntimeError: dictionary changed size during iteration' |
| zmedico | in _owners_db._populate() with py3k. |
| 14371 | Fix items to prevent infinite recursion. |
| zmedico | |
| 14372 | Remove redundant list() since starred expressions work with |
| zmedico | iterators. |
| 14373 | Fix 'RuntimeError: dictionary changed size during iteration' |
| zmedico | in bindbapi.aux_update() with py3k. |
| 14374 | Fix 'iteritems' attribute detection to look for 'items' |
| zmedico | instead. |
| 14375 | Fix another potential 'RuntimeError: dictionary changed size |
| zmedico | during iteration' exception in _owners_db._populate() for |
| | py3k. |
| 14376 | Optimize unicode wrappers. Thanks to Marat Radchenko |
| zmedico | <marat@slonopotamus.org> for this patch from bug #276813. |
| 14377 | For python 3.x with boolean target, len() results in |
| zmedico | TypeError, so make __len__ return 0 or 1 in this case. |
| 14378 | Do manual unicode handling (instead of using the wrapped os |
| zmedico | module) in portdbapi.findname2(), since it's a hotspot. |
| | Thanks to Marat Radchenko <marat@slonopotamus.org> for the |
| | initial patch. |
svn path=/main/branches/prefix/; revision=14404