1. 02 Nov, 2019 1 commit
    • demandimportpy3: only use lazy extension loader on Python 3.6+ · 2d31ef3fb49
      There was an inline comment denoting a bug in the lazy extension
      loader on Python 3.5 which prevents it from working there. But the
      code was not conditional on the Python version.
      
      The result of this was a myriad of failures on Python 3.5 due to
      getattr() and friends not working on lazy extension modules.
      
      By making extension modules non-lazy on Python 3.5, we reduce the
      number of test failures from 48 to 22 on that Python version.
      
      --HG--
      branch : stable
      Gregory Szorc authored
  2. 01 Dec, 2019 1 commit
  3. 08 Nov, 2019 1 commit
    • cleanup: remove pointless r-prefixes on single-quoted strings · 9f70512ae2c
      This is the promised second step on single-quoted strings. These had
      existed because our source transformer didn't turn r'' into b'', so we
      had tagged some strings as r-strings to get "native" strings on both
      Pythons. Now that the transformer is gone, we can dispense with this
      nonsense.
      
      Methodology:
      
      I ran
      
          hg locate 'set:added() or modified() or clean()' | egrep '.*\.py$'  | xargs egrep --color=never -n  -- \[\^b\]\[\^a-z\]r\'\[\^\'\\\\\]\*\'\[\^\'\
      
      in an emacs grep-mode buffer, and then used a keyboard macro to
      iterate over the results and remove the r prefix as needed.
      
      # skip-blame removing unneeded r prefixes left over from Python 3 migration.
      
      Differential Revision: https://phab.mercurial-scm.org/D7306
      Augie Fackler authored
  4. 07 Nov, 2019 1 commit
    • cleanup: remove pointless r-prefixes on double-quoted strings · 313e3a27982
      This is only double-quoted strings. I'll do single-quoted strings as a
      second step. These had existed because our source transformer didn't
      turn r"" into b"", so we had tagged some strings as r-strings to get
      "native" strings on both Pythons. Now that the transformer is gone, we
      can dispense with this nonsense.
      
      Methodology:
      
      I ran
      
          hg locate 'set:added() or modified() or clean()' | egrep '.*\.py$'  | xargs egrep --color=never -n  -- \[\^a-z\]r\"\[\^\"\\\\\]\*\"\[\^\"\]
      
      in an emacs grep-mode buffer, and then used a keyboard macro to
      iterate over the results and remove the r prefix as needed.
      
      # skip-blame removing unneeded r prefixes left over from Python 3 migration.
      
      Differential Revision: https://phab.mercurial-scm.org/D7305
      Augie Fackler authored
  5. 08 Aug, 2019 1 commit
  6. 12 Jun, 2019 3 commits
  7. 06 Oct, 2019 1 commit
  8. 16 Jul, 2017 3 commits
  9. 05 Jan, 2018 1 commit
  10. 01 Sep, 2018 1 commit
  11. 21 Aug, 2018 2 commits
  12. 06 May, 2018 1 commit
  13. 22 Aug, 2017 1 commit
  14. 16 Aug, 2017 1 commit
  15. 18 Aug, 2017 1 commit
  16. 27 Apr, 2017 1 commit
  17. 28 Apr, 2017 1 commit
  18. 01 May, 2017 2 commits
  19. 21 May, 2017 3 commits