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

Jeffrey Altman noreply at github.com
Fre May 24 03:12:26 CEST 2019


  Branch: refs/heads/heimdal-7-1-branch
  Home:   https://github.com/heimdal/heimdal
  Commit: 829bf5d171709e6bc7c11d3a2d22dad903eff83f
      https://github.com/heimdal/heimdal/commit/829bf5d171709e6bc7c11d3a2d22dad903eff83f
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit f7c2860a3623e382ae524a353ec428705f02e786)


  Commit: ccda072e9fd6c153e15a9bc007f76bcd2af20016
      https://github.com/heimdal/heimdal/commit/ccda072e9fd6c153e15a9bc007f76bcd2af20016
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 965bb515ed54d768bf8b702e548ec8acfcd8c10b)


  Commit: 25021c05e464bee0d35687b1b76b4cedf6b54a49
      https://github.com/heimdal/heimdal/commit/25021c05e464bee0d35687b1b76b4cedf6b54a49
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit f26b1cd599ed3f1fef9a1476bca708055b2c59b2)


  Commit: 923306a462230957c8c68164b3d7fdfcc6bc60bf
      https://github.com/heimdal/heimdal/commit/923306a462230957c8c68164b3d7fdfcc6bc60bf
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit fc9aab949fcb1bb93f43a5bee01132ffed70a01a)


  Commit: 8bee05fa1f13438c75fa223611bfbbed3f975478
      https://github.com/heimdal/heimdal/commit/8bee05fa1f13438c75fa223611bfbbed3f975478
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 07e3cbb7fb88ef27d6145f4f2b22a1becf7088c5)


  Commit: 7fcf69642739cf15ec2fbcc2ca547d7d2d9407eb
      https://github.com/heimdal/heimdal/commit/7fcf69642739cf15ec2fbcc2ca547d7d2d9407eb
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 96b410ed46689f4cfb8b6505ab6c9ac0d4965f9f)


  Commit: cec805e2e7b51b191352920245820fbe390f284b
      https://github.com/heimdal/heimdal/commit/cec805e2e7b51b191352920245820fbe390f284b
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 76b2f1572911e2872414dfd64db5001439e858cf)


  Commit: 7534f547c9f4e92a7512937968d2fb8ffe5829c2
      https://github.com/heimdal/heimdal/commit/7534f547c9f4e92a7512937968d2fb8ffe5829c2
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 926b3aae822e72b85f1d5adefba49417806909d8)


  Commit: 3363caec5348d81f5bbb4123fd1e493773421c79
      https://github.com/heimdal/heimdal/commit/3363caec5348d81f5bbb4123fd1e493773421c79
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 06143cc12bbd377172203c032491b58ee7c4c6b2)


  Commit: 064ab7e2777a4b47141f63045c70b4230f5059ec
      https://github.com/heimdal/heimdal/commit/064ab7e2777a4b47141f63045c70b4230f5059ec
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit fa3c0031a8becea94045cd0d060ce37d1a58ed52)


  Commit: 23a9769aab688720f396250104387aa304816dcb
      https://github.com/heimdal/heimdal/commit/23a9769aab688720f396250104387aa304816dcb
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  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)
(cherry picked from commit 5542a0ba16b53eb223c9cc0acdf91b53d80adc54)


  Commit: 423d5bc52cb6e4f2890370e196553dbce4418f80
      https://github.com/heimdal/heimdal/commit/423d5bc52cb6e4f2890370e196553dbce4418f80
  Author: Noel Power <noel.power at suse.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M lib/wind/UnicodeData.py

  Log Message:
  -----------
  PY3: fix "TabError: inconsistent use of tabs and spaces"

Signed-off-by: Noel Power <noel.power at suse.com>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>

(cherry-picked from Samba commit e8fec94827c933041acd5b447eeeefd0b7b507ef)

(cherry picked from commit 59aee7cad2b3fdb7fe8ddcc621e12703cdc35022)


  Commit: 6fd276011e191e714333e990042b2272c2592f08
      https://github.com/heimdal/heimdal/commit/6fd276011e191e714333e990042b2272c2592f08
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M lib/wind/gen-punycode-examples.py

  Log Message:
  -----------
  lib/wind: PY3 gen-punycode-examples.py

Update gen-punycode-examples.py for python 3.

gen-punycode-examples.py parses the Sample strings from section 7.1
of rfc3492.txt and generates the punycode_examples.[ch] sources containing
the punycode_examples[].

Python 3 requires that print output be surrounded by parentheses
and the split and join operations have been moved from the "string"
class to built-ins.

This change adds the missing parentheses and switches to the built-in
split and join str operations.

The "string" class is no longer required as an import.

Change-Id: Ic5f341080d2ff2feef692c89e0b28dcbf4e48cb4
(cherry picked from commit 63914b95b8aa1153fc44c7cc5b6a4ca1eb2bbc39)


  Commit: 9dbafc06742dc2fc8667573249e78db0df46727c
      https://github.com/heimdal/heimdal/commit/9dbafc06742dc2fc8667573249e78db0df46727c
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-23 (Thu, 23 May 2019)

  Changed paths:
    M lib/wind/gen-punycode-examples.py

  Log Message:
  -----------
  lib/wind: get-punycode-examples.py whitespace fix

Change-Id: I89e82539578fd9436ee735c124401fa019369eee
(cherry picked from commit 4d57ee72f322352c19497bdea1849b42034cb2a2)


Compare: https://github.com/heimdal/heimdal/compare/1293b21e13e8...9dbafc06742d


More information about the Heimdal-source-changes mailing list