[Differential] D107: util: remove dead code which used to be for old python2 versions

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Jul 17 13:33:55 EDT 2017


indygreg added a comment.


  It's worth noting that in theory it should be possible to transition from buffer to memoryview. However, there are various bugs in various Python 2 versions where memoryview isn't accepted. Most notable is that the zlib module doesn't accept memoryview until Python 3 IIRC. So we're stuck with buffer for a while :/

REPOSITORY
  rHG Mercurial

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

EMAIL PREFERENCES
  https://phab.mercurial-scm.org/settings/panel/emailpreferences/

To: alex_gaynor, #hg-reviewers, durin42
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list