{"published":"2013-01-19 16:40:08","categories":["python"],"title":"Python\u3067\u518d\u5e30\u304c\u6df1\u3059\u304e\u308b\u6642","description":"Python\u3067\u95a2\u6570\u306e\u518d\u5e30\u3092\u4f7f\u3063\u305f\u6642\u306b\u305f\u307e\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059 \"RuntimeError: maximum recursion depth exceeded in cmp\"\u3053\u306e\u30a8\u30e9\u30fc\u306f\u518d\u5e30\u306e\u6570\u304c\u6df1\u3059\u304e\u308b\u3068\u51fa\u308b\u3089\u3057\u3044\u3067\u3059\u3002 \u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3068\u518d\u5e30\u306e\u6700\u5927\u6570\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u3066\u3001\u79c1\u306e\u74b0\u5883\u3067\u306f1000\u3067\u3057\u305f\u3002 import sys sys.getrecursionlimit() \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u518d\u5e30\u306e\u6700\u5927\u6570\u3092\u5897\u3084\u305b\u3070\u52d5\u304f\u3053\u3068\u3082\u3042\u308b\u3002 \u5927\u304d\u3059\u304e\u308b\u6570\u306f\u30c0\u30e1\u3089\u3057\u3044\u3002 sys.setrecursionlimit(\u9069\u5f53\u306a\u5927\u304d\u3044\u6570)","image_url":null,"provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/sucrose/","height":"190","author_name":"sucrose","url":"https://sucrose.hatenablog.com/entry/2013/01/19/164008","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsucrose.hatenablog.com%2Fentry%2F2013%2F01%2F19%2F164008\" title=\"Python\u3067\u518d\u5e30\u304c\u6df1\u3059\u304e\u308b\u6642 - \u552f\u7269\u662f\u771f @Scaled_Wurm\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_url":"https://sucrose.hatenablog.com/","blog_title":"\u552f\u7269\u662f\u771f @Scaled_Wurm"}