Skip to content
Snippets Groups Projects
  1. Feb 21, 2022
  2. Mar 02, 2022
  3. Feb 21, 2022
  4. Mar 03, 2022
  5. Feb 21, 2022
  6. Mar 02, 2022
  7. Feb 21, 2022
  8. Mar 08, 2022
  9. Mar 02, 2022
  10. Feb 21, 2022
  11. Mar 02, 2022
  12. Feb 21, 2022
  13. Mar 02, 2022
  14. Feb 21, 2022
  15. Mar 02, 2022
  16. Mar 04, 2022
    • Gregory Szorc's avatar
      global: bulk replace simple pycompat.iteritems(x) with x.items() · f254fc73d956
      Gregory Szorc authored
      pycompat.iteritems() just calls .items().
      
      This commit applies a regular expression search and replace to convert
      simple instances of pycompat.iteritems() with .items(). There are still
      a handful of calls to pycompat.iteritems() remaining. But these all have
      more complicated expressions that I wasn't comfortable performing an
      automated replace on. In addition, some simple replacements were withheld
      because they broke pytype. These will be handled by their own changesets.
      
      Differential Revision: https://phab.mercurial-scm.org/D12318
      f254fc73d956
    • Gregory Szorc's avatar
      worker: silence type error when calling pickle · a0674e916fb6
      Gregory Szorc authored
      pytype is complaining that the argument to `pickle.load()` is not an
      `IO`. pytype isn't wrong: `_blockingreader` doesn't implement
      `io.RawIOBase`, only `read()` and `readline()`. But it appears this is
      enough for pickle. So we silence the false positive.
      
      This fixes a regression introduced by D12304 /
      cc0e059d2af8: worker: remove Python 2 support code.
      
      Differential Revision: https://phab.mercurial-scm.org/D12337
      a0674e916fb6
  17. Feb 21, 2022
  18. Mar 02, 2022
  19. Feb 21, 2022
Loading