diff -r 29d67ac7a9d5 Lib/pathlib.py --- a/Lib/pathlib.py Tue Dec 03 02:05:42 2013 +0100 +++ b/Lib/pathlib.py Tue Dec 03 16:20:51 2013 +0800 @@ -6,19 +6,12 @@ import posixpath import re import sys -import weakref -try: - import threading -except ImportError: - import dummy_threading as threading - -from collections import Sequence, defaultdict +from collections import Sequence from contextlib import contextmanager from errno import EINVAL, ENOENT -from itertools import chain, count from operator import attrgetter from stat import S_ISDIR, S_ISLNK, S_ISREG, S_ISSOCK, S_ISBLK, S_ISCHR, S_ISFIFO -from urllib.parse import quote as urlquote, quote_from_bytes as urlquote_from_bytes +from urllib.parse import quote_from_bytes as urlquote_from_bytes supports_symlinks = True