[Heimdal-source-changes] [heimdal/heimdal] f7c286: PY3: dict has no iterkeys method

GitHub noreply at github.com
Fre Dec 14 23:39:57 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: f7c2860a3623e382ae524a353ec428705f02e786
      https://github.com/heimdal/heimdal/commit/f7c2860a3623e382ae524a353ec428705f02e786
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-map.py

  Log Message:
  -----------
  PY3: dict has no iterkeys method

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit c6884138e4c1aec80e8f99ef0978b43919ae9d3a)


  Commit: 965bb515ed54d768bf8b702e548ec8acfcd8c10b
      https://github.com/heimdal/heimdal/commit/965bb515ed54d768bf8b702e548ec8acfcd8c10b
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-errorlist.py

  Log Message:
  -----------
  PY3: iterkeys -> keys

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit d20e85d008e1b7badbea5ada8b22639f7767a097)


  Commit: f26b1cd599ed3f1fef9a1476bca708055b2c59b2
      https://github.com/heimdal/heimdal/commit/f26b1cd599ed3f1fef9a1476bca708055b2c59b2
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-errorlist.py

  Log Message:
  -----------
  PY3: iterkeys -> keys

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit b2b0f8191dde58fe234b0147c4a0bd39020aa504)


  Commit: fc9aab949fcb1bb93f43a5bee01132ffed70a01a
      https://github.com/heimdal/heimdal/commit/fc9aab949fcb1bb93f43a5bee01132ffed70a01a
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-normalize.py

  Log Message:
  -----------
  PY3: dict doesn't have has_key

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit 82c84513331da9d0f42ba73d03e58dce5d0f76d3)


  Commit: 07e3cbb7fb88ef27d6145f4f2b22a1becf7088c5
      https://github.com/heimdal/heimdal/commit/07e3cbb7fb88ef27d6145f4f2b22a1becf7088c5
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-combining.py

  Log Message:
  -----------
  PY3: dict_keys doesn't have a sort method

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit 0358d57db4705b2330e294b5d6318c1a78a8518c)


  Commit: 96b410ed46689f4cfb8b6505ab6c9ac0d4965f9f
      https://github.com/heimdal/heimdal/commit/96b410ed46689f4cfb8b6505ab6c9ac0d4965f9f
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/generate.py

  Log Message:
  -----------
  PY3: bytes.maketrans, string.maketrans is a PY2 only function

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit b342e6f038b5277cf30115f11cf0f30d238c12ea)


  Commit: 76b2f1572911e2872414dfd64db5001439e858cf
      https://github.com/heimdal/heimdal/commit/76b2f1572911e2872414dfd64db5001439e858cf
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/generate.py

  Log Message:
  -----------
  PY3: string.translate string.upper don't exist in PY3

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit a0c8c8c8331856d9f09d18b389b7dd01c8d33de2)


  Commit: 926b3aae822e72b85f1d5adefba49417806909d8
      https://github.com/heimdal/heimdal/commit/926b3aae822e72b85f1d5adefba49417806909d8
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/stringprep.py

  Log Message:
  -----------
  PY3: string.upper not in PY3

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit 899ef5d186c2c44f63c1cbf415daa33e9f668a5b)


  Commit: 06143cc12bbd377172203c032491b58ee7c4c6b2
      https://github.com/heimdal/heimdal/commit/06143cc12bbd377172203c032491b58ee7c4c6b2
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-map.py

  Log Message:
  -----------
  PY3: xrange->range

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit e2c0af6bcdf271ff75c455695c129bc18322bd5a)


  Commit: fa3c0031a8becea94045cd0d060ce37d1a58ed52
      https://github.com/heimdal/heimdal/commit/fa3c0031a8becea94045cd0d060ce37d1a58ed52
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-normalize.py

  Log Message:
  -----------
  Bulk: enclose .keys() method with list where list (from python2) expected

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba commit 521bc6056edc5252f2256664f4eacba13a3749e3)


  Commit: 5542a0ba16b53eb223c9cc0acdf91b53d80adc54
      https://github.com/heimdal/heimdal/commit/5542a0ba16b53eb223c9cc0acdf91b53d80adc54
  Author: Noel Power <noel.power at suse.com>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M lib/wind/gen-bidi.py
    M lib/wind/gen-combining.py
    M lib/wind/gen-errorlist.py
    M lib/wind/gen-map.py
    M lib/wind/gen-normalize.py

  Log Message:
  -----------
  PY3: make sure print stmt is enclosed by '(' & ')'

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
(cherry picked from Samba merge request https://gitlab.com/samba-team/samba/merge_requests/68)


Compare: https://github.com/heimdal/heimdal/compare/de4fbc951457...5542a0ba16b5
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list