summaryrefslogtreecommitdiffstats
path: root/pym/portage/util.py
Commit message (Expand)AuthorAgeFilesLines
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-261-4/+5
* Use list comprehensions instead of filter() or map() in some places for compa...Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+1
* Fix stack_dicts() to always return a dict.Zac Medico2009-09-221-3/+1
* Clean up stack_dicts() a little.Zac Medico2009-09-221-6/+5
* Disable the ignore_none parameter for stack_dicts() since having it returnZac Medico2009-09-221-5/+2
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-3/+2
* Support bytes in portage.util.normalize_path() with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+7
* Use dict.(keys|values|items)() instead of dict.(iterkeys|itervalues|iteritems...Arfrever Frehtes Taifersar Arahesis2009-09-211-4/+4
* Fix all remaining SyntaxErrors with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
* Add fallback in ImportError for io.StringIO. This is needed for python-2.6Zac Medico2009-09-201-1/+7
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-7/+6
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-11/+11
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-18/+18
* Bug #285637 - Fix NameError exception triggered by InvalidAtom inZac Medico2009-09-201-1/+1
* Make grabfile_package() accept *atom only for files named 'packages' sinceZac Medico2009-09-121-1/+2
* Make grabdict_package() and grabfile_package() return Atom instances whenZac Medico2009-09-121-12/+25
* Bug #281834 - In getconfig(), do not allow definition of variables that haveZac Medico2009-08-281-0/+13
* Use _encodings where appropriate and add _encodings['stdio'] for stdoutZac Medico2009-08-211-1/+2
* Use _encodings where appropriate.Zac Medico2009-08-211-12/+11
* Use _content_encoding and _fs_encoding for unicode encoding/decoding.Zac Medico2009-08-171-11/+19
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-16/+17
* Use portage._merge_encoding to encode/decode all filenames duringZac Medico2009-08-141-1/+11
* Use _unicode_encode() where appropriate.Zac Medico2009-08-121-2/+2
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-19/+15
* In getconfig(), specify utf_8 encoding for py3k.Zac Medico2009-08-061-1/+5
* In shlex_split(), don't encode unicode for py3k. Thanks to Arfrever.Zac Medico2009-08-061-1/+1
* Make getconfig() return unicode type and remove corresponding env_update()Zac Medico2009-08-061-0/+4
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-0/+13
* Do not pass unicode strings into os.walk calls, since it can causeZac Medico2009-08-061-0/+5
* Avoid UnicodeEncodeError in writemsg(). Thanks to Markos ChandrasZac Medico2009-08-041-0/+3
* Updating find_updated_config_files function descriptionMounir Lamouri2009-07-301-4/+4
* Rename get_updated_config_files() to find_updated_config_files() and makeZac Medico2009-07-301-8/+4
* Add get_updated_config_files in portage APIMounir Lamouri2009-07-301-7/+65
* Always pass encodings='utf_8' to codecs.open(), since otherwise it canZac Medico2009-07-201-6/+8
* In grablines(), specify encoding=sys.getdefaultencoding() in the codecs.open()Zac Medico2009-07-201-2/+3
* Make atomic_ofstream() use codecs.open() for py3k compatible unicode handlingZac Medico2009-07-041-4/+10
* Make grablines() use codecs.open() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+1
* Make code from previous commit safe for empty files.Zac Medico2009-07-041-1/+1
* Make getconfig() use codecs.option() for py3k compatible unicode handling.Zac Medico2009-07-041-1/+5
* As a performance optimization, use StringIO instead of _insert_newline_eof toZac Medico2009-07-041-60/+4
* Make LazyItemsDict derive from UserDict instead of dict so that we don't haveZac Medico2009-07-041-43/+18
* Implement LazyItemsDict.pop() since dict.pop() bypasses our overriddenZac Medico2009-07-031-0/+17
* Simplify cmp_sort_key._cmp_key.__lt__().Zac Medico2009-03-101-4/+2
* In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it wasZac Medico2009-03-071-2/+25
* Use slice instead of startwith in stack_* incremental processing.Zac Medico2009-03-071-2/+2
* Remove unnecessary list() from previous commit.Zac Medico2009-03-071-1/+1
* Fix an issue with incomplete deepcopy of _LazyItem instances insideZac Medico2009-03-071-8/+3
* Simplify LazyItemsDict internals.Zac Medico2009-03-071-27/+30
* Fix LazyItemsDict.update() to create new _SingletonWrapper instances thatZac Medico2009-03-071-9/+12
* Add keyword argument support to LazyItemsDict.update().Zac Medico2009-03-061-2/+16