# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1475359694 -19800 # Node ID 42ead5b3aa7b21caf127c27945d821f11b055049 # Parent cd7276f7ea8308df2c5d8874d335d73247d0f357 py3: use unicodes in __slots__ __slots__ doesnot accepts bytes on Python 3. diff -r cd7276f7ea83 -r 42ead5b3aa7b mercurial/util.py --- a/mercurial/util.py Sat Oct 01 15:10:38 2016 -0400 +++ b/mercurial/util.py Sun Oct 02 03:38:14 2016 +0530 @@ -561,7 +561,7 @@ Holds a reference to nodes on either side as well as a key-value pair for the dictionary entry. """ - __slots__ = ('next', 'prev', 'key', 'value') + __slots__ = (u'next', u'prev', u'key', u'value') def __init__(self): self.next = None diff -r cd7276f7ea83 -r 42ead5b3aa7b tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Sat Oct 01 15:10:38 2016 -0400 +++ b/tests/test-check-py3-compat.t Sun Oct 02 03:38:14 2016 +0530 @@ -17,96 +17,96 @@ > | xargs $PYTHON3 contrib/check-py3-compat.py \ > | sed 's/[0-9][0-9]*)$/*)/' doc/hgmanpage.py: invalid syntax: invalid syntax (, line *) - hgext/acl.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/automv.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/blackbox.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/bugzilla.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/censor.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/chgserver.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/children.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/churn.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/clonebundles.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/color.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/acl.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/automv.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/blackbox.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/bugzilla.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/censor.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/chgserver.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/children.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/churn.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/clonebundles.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/color.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) hgext/convert/bzr.py: error importing module: Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) - hgext/convert/common.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/convcmd.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/cvs.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/cvsps.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/darcs.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/convert/common.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/convcmd.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/cvs.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/cvsps.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/darcs.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) hgext/convert/filemap.py: error importing module: Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) - hgext/convert/git.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/gnuarch.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/hg.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/monotone.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/p4.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/convert/subversion.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/convert/git.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/gnuarch.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/hg.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/monotone.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/p4.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/convert/subversion.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) hgext/convert/transport.py: error importing module: No module named 'svn.client' (line *) - hgext/eol.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/extdiff.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/factotum.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/fetch.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/fsmonitor/state.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/fsmonitor/watchmanclient.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/gpg.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/graphlog.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/hgk.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/histedit.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/journal.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/keyword.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/basestore.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/lfcommands.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/lfutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/eol.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/extdiff.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/factotum.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/fetch.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/fsmonitor/state.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/fsmonitor/watchmanclient.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/gpg.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/graphlog.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/hgk.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/histedit.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/journal.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/keyword.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/basestore.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/lfcommands.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/lfutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) hgext/largefiles/localstore.py: error importing module: Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) - hgext/largefiles/overrides.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/proto.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/remotestore.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/reposetup.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/storefactory.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/largefiles/uisetup.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/largefiles/overrides.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/proto.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/remotestore.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/reposetup.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/storefactory.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/largefiles/uisetup.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) hgext/largefiles/wirestore.py: error importing module: Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) - hgext/mq.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/notify.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/pager.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/patchbomb.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/purge.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/rebase.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/record.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/relink.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/schemes.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/share.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/shelve.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/strip.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/transplant.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - hgext/win32text.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/archival.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/bookmarks.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/branchmap.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/bundle2.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/bundlerepo.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/byterange.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/changegroup.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/changelog.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/cmdutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/commands.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/commandserver.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/config.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/context.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/copies.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/crecord.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/destutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/dirstate.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/discovery.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/dispatch.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/mq.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/notify.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/pager.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/patchbomb.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/purge.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/rebase.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/record.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/relink.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/schemes.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/share.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/shelve.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/strip.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/transplant.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + hgext/win32text.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/archival.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/bookmarks.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/branchmap.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/bundle2.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/bundlerepo.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/byterange.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/changegroup.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/changelog.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/cmdutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/commands.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/commandserver.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/config.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/context.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/copies.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/crecord.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/destutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/dirstate.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/discovery.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/dispatch.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) mercurial/encoding.py: error importing module: bytes expected, not str (line *) - mercurial/exchange.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/extensions.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/filelog.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/filemerge.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/fileset.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/formatter.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/graphmod.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/help.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/hg.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + mercurial/exchange.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/extensions.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/filelog.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/filemerge.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/fileset.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/formatter.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/graphmod.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/help.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/hg.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) mercurial/hgweb/common.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) mercurial/hgweb/hgweb_mod.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) mercurial/hgweb/hgwebdir_mod.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) @@ -116,57 +116,57 @@ mercurial/hgweb/webcommands.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) mercurial/hgweb/webutil.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) mercurial/hgweb/wsgicgi.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) - mercurial/hook.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/httpconnection.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/httppeer.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + mercurial/hook.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/httpconnection.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/httppeer.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) mercurial/i18n.py: error importing module: bytes expected, not str (line *) - mercurial/keepalive.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/localrepo.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/lock.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/mail.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/manifest.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/match.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/mdiff.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/merge.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/minirst.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/namespaces.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/obsolete.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/patch.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/pathutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/peer.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/profiling.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/pushkey.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/pvec.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/registrar.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/repair.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/repoview.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/revlog.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/revset.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/scmutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/scmwindows.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/similar.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/simplemerge.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/sshpeer.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/sshserver.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/sslutil.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/statichttprepo.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/store.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/streamclone.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/subrepo.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/tagmerge.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/tags.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/templatefilters.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/templatekw.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/templater.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/transaction.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/ui.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/unionrepo.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) - mercurial/url.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + mercurial/keepalive.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/localrepo.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/lock.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/mail.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/manifest.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/match.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/mdiff.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/merge.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/minirst.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/namespaces.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/obsolete.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/patch.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/pathutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/peer.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/profiling.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/pushkey.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/pvec.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/registrar.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/repair.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/repoview.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/revlog.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/revset.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/scmutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/scmwindows.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/similar.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/simplemerge.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/sshpeer.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/sshserver.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/sslutil.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/statichttprepo.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/store.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/streamclone.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/subrepo.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/tagmerge.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/tags.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/templatefilters.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/templatekw.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/templater.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/transaction.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/ui.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/unionrepo.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) + mercurial/url.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) mercurial/util.py: error importing: encode() argument 1 must be str, not bytes (error at i18n.py:*) - mercurial/verify.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + mercurial/verify.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) mercurial/win32.py: error importing module: No module named 'msvcrt' (line *) mercurial/windows.py: error importing module: No module named 'msvcrt' (line *) - mercurial/wireproto.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + mercurial/wireproto.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) #endif @@ -174,5 +174,5 @@ $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ > | xargs $PYTHON3 contrib/check-py3-compat.py \ > | sed 's/[0-9][0-9]*)$/*)/' - hgext/highlight/highlight.py: error importing: __slots__ items must be strings, not 'bytes' (error at util.py:*) + hgext/highlight/highlight.py: error importing: is_frozen() argument must be str, not bytes (error at util.py:*) #endif