D12352: py3: use class X: instead of class X(object):

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Mar 4 03:33:05 UTC 2022


indygreg created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: martinvonz.
Herald added subscribers: mercurial-patches, Kwan.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The inheritance from object is implied in Python 3. So this should
  be equivalent.
  
  This change was generated via an automated search and replace. So there
  may have been some accidental changes.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12352

AFFECTED FILES
  contrib/check-code.py
  contrib/fuzz/mpatch_corpus.py
  contrib/hgclient.py
  contrib/perf.py
  contrib/testparseutil.py
  doc/hgmanpage.py
  hgdemandimport/demandimportpy2.py
  hgdemandimport/demandimportpy3.py
  hgext/absorb.py
  hgext/blackbox.py
  hgext/bugzilla.py
  hgext/convert/common.py
  hgext/convert/convcmd.py
  hgext/convert/cvsps.py
  hgext/convert/filemap.py
  hgext/convert/git.py
  hgext/convert/gnuarch.py
  hgext/convert/subversion.py
  hgext/convert/transport.py
  hgext/eol.py
  hgext/extdiff.py
  hgext/fastannotate/context.py
  hgext/fastannotate/formatter.py
  hgext/fastannotate/revmap.py
  hgext/fastannotate/support.py
  hgext/fix.py
  hgext/fsmonitor/__init__.py
  hgext/fsmonitor/pywatchman/__init__.py
  hgext/fsmonitor/pywatchman/pybser.py
  hgext/fsmonitor/state.py
  hgext/fsmonitor/watchmanclient.py
  hgext/git/__init__.py
  hgext/git/dirstate.py
  hgext/git/gitlog.py
  hgext/git/manifest.py
  hgext/githelp.py
  hgext/gpg.py
  hgext/histedit.py
  hgext/infinitepush/__init__.py
  hgext/infinitepush/bundleparts.py
  hgext/infinitepush/indexapi.py
  hgext/infinitepush/store.py
  hgext/journal.py
  hgext/keyword.py
  hgext/largefiles/basestore.py
  hgext/largefiles/lfutil.py
  hgext/largefiles/overrides.py
  hgext/lfs/blobstore.py
  hgext/logtoprocess.py
  hgext/mq.py
  hgext/notify.py
  hgext/phabricator.py
  hgext/rebase.py
  hgext/releasenotes.py
  hgext/remotefilelog/basepack.py
  hgext/remotefilelog/basestore.py
  hgext/remotefilelog/connectionpool.py
  hgext/remotefilelog/contentstore.py
  hgext/remotefilelog/debugcommands.py
  hgext/remotefilelog/fileserverclient.py
  hgext/remotefilelog/metadatastore.py
  hgext/remotefilelog/remotefilelog.py
  hgext/remotefilelog/remotefilelogserver.py
  hgext/remotefilelog/repack.py
  hgext/remotenames.py
  hgext/schemes.py
  hgext/sqlitestore.py
  hgext/transplant.py
  hgext/zeroconf/Zeroconf.py
  hgext/zeroconf/__init__.py
  i18n/polib.py
  mercurial/ancestor.py
  mercurial/archival.py
  mercurial/bookmarks.py
  mercurial/branchmap.py
  mercurial/bundle2.py
  mercurial/bundlecaches.py
  mercurial/bundlerepo.py
  mercurial/cffi/osutil.py
  mercurial/changegroup.py
  mercurial/changelog.py
  mercurial/chgserver.py
  mercurial/cmdutil.py
  mercurial/commandserver.py
  mercurial/config.py
  mercurial/configitems.py
  mercurial/context.py
  mercurial/copies.py
  mercurial/crecord.py
  mercurial/dagop.py
  mercurial/dirstate.py
  mercurial/dirstatemap.py
  mercurial/dirstateutils/docket.py
  mercurial/dirstateutils/v2.py
  mercurial/discovery.py
  mercurial/dispatch.py
  mercurial/encoding.py
  mercurial/error.py
  mercurial/exchange.py
  mercurial/extensions.py
  mercurial/exthelper.py
  mercurial/fancyopts.py
  mercurial/filelog.py
  mercurial/filemerge.py
  mercurial/fileset.py
  mercurial/formatter.py
  mercurial/graphmod.py
  mercurial/grep.py
  mercurial/hg.py
  mercurial/hgweb/__init__.py
  mercurial/hgweb/common.py
  mercurial/hgweb/hgweb_mod.py
  mercurial/hgweb/hgwebdir_mod.py
  mercurial/hgweb/request.py
  mercurial/hgweb/server.py
  mercurial/hgweb/webcommands.py
  mercurial/hgweb/webutil.py
  mercurial/hgweb/wsgiheaders.py
  mercurial/httpconnection.py
  mercurial/httppeer.py
  mercurial/interfaces/repository.py
  mercurial/interfaces/util.py
  mercurial/keepalive.py
  mercurial/linelog.py
  mercurial/localrepo.py
  mercurial/lock.py
  mercurial/logcmdutil.py
  mercurial/loggingutil.py
  mercurial/lsprof.py
  mercurial/lsprofcalltree.py
  mercurial/manifest.py
  mercurial/match.py
  mercurial/mdiff.py
  mercurial/merge.py
  mercurial/mergestate.py
  mercurial/metadata.py
  mercurial/namespaces.py
  mercurial/node.py
  mercurial/obsolete.py
  mercurial/obsutil.py
  mercurial/parser.py
  mercurial/patch.py
  mercurial/pathutil.py
  mercurial/phases.py
  mercurial/posix.py
  mercurial/profiling.py
  mercurial/progress.py
  mercurial/pure/osutil.py
  mercurial/pure/parsers.py
  mercurial/pvec.py
  mercurial/pycompat.py
  mercurial/registrar.py
  mercurial/repair.py
  mercurial/repocache.py
  mercurial/repoview.py
  mercurial/revlog.py
  mercurial/revlogutils/__init__.py
  mercurial/revlogutils/deltas.py
  mercurial/revlogutils/docket.py
  mercurial/revlogutils/nodemap.py
  mercurial/revlogutils/randomaccessfile.py
  mercurial/scmutil.py
  mercurial/setdiscovery.py
  mercurial/shelve.py
  mercurial/simplemerge.py
  mercurial/smartset.py
  mercurial/sshpeer.py
  mercurial/state.py
  mercurial/statichttprepo.py
  mercurial/statprof.py
  mercurial/store.py
  mercurial/streamclone.py
  mercurial/subrepo.py
  mercurial/tags.py
  mercurial/templater.py
  mercurial/templateutil.py
  mercurial/ui.py
  mercurial/unionrepo.py
  mercurial/upgrade_utils/actions.py
  mercurial/url.py
  mercurial/urllibcompat.py
  mercurial/util.py
  mercurial/utils/cborutil.py
  mercurial/utils/compression.py
  mercurial/utils/procutil.py
  mercurial/utils/stringutil.py
  mercurial/utils/urlutil.py
  mercurial/verify.py
  mercurial/vfs.py
  mercurial/windows.py
  mercurial/wireprotoframing.py
  mercurial/wireprotoserver.py
  mercurial/wireprototypes.py
  mercurial/wireprotov1peer.py
  mercurial/worker.py
  setup.py
  tests/drawdag.py
  tests/dumbhttp.py
  tests/httpserverauth.py
  tests/mocktime.py
  tests/run-tests.py
  tests/simplestorerepo.py
  tests/test-absorb-filefixupstate.py
  tests/test-ancestor.py
  tests/test-batching.py
  tests/test-check-interfaces.py
  tests/test-extensions-wrapfunction.py
  tests/test-fastannotate-revmap.py
  tests/test-filecache.py
  tests/test-hashutil.py
  tests/test-lock.py
  tests/test-manifest.py
  tests/test-remotefilelog-datapack.py
  tests/test-revlog-raw.py
  tests/test-rust-discovery.py
  tests/test-simplekeyvaluefile.py
  tests/test-sshserver.py
  tests/test-wireproto.py
  tests/testlib/badserverext.py

To: indygreg, durin42, martinvonz, #hg-reviewers
Cc: Kwan, mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list