Python 2で書いたコードで扱ってるデータのtypeのリストを返すtypesというメソッドが実装の詳細によりPython 3ではdict_keysを返すようになっちゃったみたいなんだけどそれを確認するのにprint(type(x.types())とか書いてぐえーw
メソッドの実装側でretrun ….keys()になってたのでreturn list(….keys())にしました。Python 3こわい。いまさら←
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.