diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | gio/__init__.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2008-01-19 Johan Dahlin <johan@gnome.org> + * gio/__init__.py: set gio.unix to None if it's not available + * gio/gio.override: Implement InputStream.read efficiently without copying the strings, based on the standard libararys file.read() implementation. diff --git a/gio/__init__.py b/gio/__init__.py index d316da8..2a21d88 100644 --- a/gio/__init__.py +++ b/gio/__init__.py @@ -33,5 +33,5 @@ try: import unix unix # pyflakes except ImportError: - pass + unix = None del _gio |
