-
Committer:
Package Import Robot
-
Author(s):
Evan Dandrea, Colin Watson, Evan Dandrea
-
Date:
2012-05-28 17:58:43 UTC
-
Revision ID:
package-import@ubuntu.com-20120528175843-lzn9cdt9y0djrqst
Tags: 0.2.39
[ Colin Watson ]
* Clean up various pyflakes warnings.
* Only pass unicode=True to gettext.install in Python 2.
* Open subprocesses with universal_newlines=True when expecting to read
text from them. On Python 2, this only enables \r\n conversion and the
like, but on Python 3 this also causes subprocess-related file objects
to read str rather than bytes.
* Use str() rather than unicode() in Python 3.
* Remove __pycache__ directories on clean.
* Use 'isinstance(obj, collections.Callable)' instead of 'callable(obj)'
in Python 3.
* Change 'except StandardError' to 'except Exception'; StandardError was
removed in Python 3.
* Use Python 3 name for Queue if available.
* Handle a few cases of builtins being changed to return iterators in
Python 3.
* Just use dict.items() rather than bothering with Python 2/3
compatibility for dict.iteritems().
[ Evan Dandrea ]
* Only clear the selected partition on the disk, not the entire disk
(LP: #484252). Thanks Dmitrijs Ledkovs!