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

Jeffrey Altman noreply at github.com
Fre May 24 01:11:47 CEST 2019


  Branch: refs/heads/jaltman/heimdal-7-python-3
  Home:   https://github.com/heimdal/heimdal
  Commit: 67f66797b376dbad29ef1073a274c50e0b5ed5f1
      https://github.com/heimdal/heimdal/commit/67f66797b376dbad29ef1073a274c50e0b5ed5f1
  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: db5bea0ad2e52e31fcbaf6ea6e1acab758ab18df
      https://github.com/heimdal/heimdal/commit/db5bea0ad2e52e31fcbaf6ea6e1acab758ab18df
  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: 9df26cf308ed6b681a5651b3e078f7a29b09c926
      https://github.com/heimdal/heimdal/commit/9df26cf308ed6b681a5651b3e078f7a29b09c926
  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: 2b51de2e1d8cce93ae60b63a10e53904cd6b89d5
      https://github.com/heimdal/heimdal/commit/2b51de2e1d8cce93ae60b63a10e53904cd6b89d5
  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: f87c2513176d411a9a01c9cedc082e9386528836
      https://github.com/heimdal/heimdal/commit/f87c2513176d411a9a01c9cedc082e9386528836
  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: bff7b5c247365d2c72548cf9020795d6b691a859
      https://github.com/heimdal/heimdal/commit/bff7b5c247365d2c72548cf9020795d6b691a859
  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: d289f637b21d47e5cc5e0d074ec87616e909a1a9
      https://github.com/heimdal/heimdal/commit/d289f637b21d47e5cc5e0d074ec87616e909a1a9
  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: 59a3594a07e1c6b4c8a749a627038ecbb0aac933
      https://github.com/heimdal/heimdal/commit/59a3594a07e1c6b4c8a749a627038ecbb0aac933
  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: 1aa998f7e4ea5f2bf5582c9012e844300343ea9c
      https://github.com/heimdal/heimdal/commit/1aa998f7e4ea5f2bf5582c9012e844300343ea9c
  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: 81c96a4cdc76ac318710b5d193c2800e7edd2a36
      https://github.com/heimdal/heimdal/commit/81c96a4cdc76ac318710b5d193c2800e7edd2a36
  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: 985eee52a57e1adf0baa473e8937d2415d9ac1e7
      https://github.com/heimdal/heimdal/commit/985eee52a57e1adf0baa473e8937d2415d9ac1e7
  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: 131505ab4bfa80bbe580b2477e91fe3b68513b94
      https://github.com/heimdal/heimdal/commit/131505ab4bfa80bbe580b2477e91fe3b68513b94
  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: a107d3be9839da0d15c52db51913fb1ecd660899
      https://github.com/heimdal/heimdal/commit/a107d3be9839da0d15c52db51913fb1ecd660899
  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: 772452c8ee87bf4fb6204d320bf5e747d5cc2fa8
      https://github.com/heimdal/heimdal/commit/772452c8ee87bf4fb6204d320bf5e747d5cc2fa8
  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/67f66797b376%5E...772452c8ee87


More information about the Heimdal-source-changes mailing list