{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4016","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4016/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4016/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4016/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4016","id":61776987,"number":4016,"title":"[python] \"len\" should be reserved in function arguments too","user":{"login":"jonasmalacofilho","id":1832496,"avatar_url":"https://avatars.githubusercontent.com/u/1832496?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasmalacofilho","html_url":"https://github.com/jonasmalacofilho","followers_url":"https://api.github.com/users/jonasmalacofilho/followers","following_url":"https://api.github.com/users/jonasmalacofilho/following{/other_user}","gists_url":"https://api.github.com/users/jonasmalacofilho/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasmalacofilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasmalacofilho/subscriptions","organizations_url":"https://api.github.com/users/jonasmalacofilho/orgs","repos_url":"https://api.github.com/users/jonasmalacofilho/repos","events_url":"https://api.github.com/users/jonasmalacofilho/events{/privacy}","received_events_url":"https://api.github.com/users/jonasmalacofilho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-15T08:41:26Z","updated_at":"2015-03-15T08:41:26Z","closed_at":null,"body":"Variables called \"len\" are renamed to \"hx_len\", but that doesn't happen with function argument names.\r\n\r\n```\r\nclass Main {\r\n    static function foo(str, len)\r\n    {\r\n        return haxe.Utf8.length(str) + len;  // 'int' object is not callable\r\n    }\r\n    static function main()\r\n    {\r\n        var len = 0;\r\n        foo(\"a\", len);\r\n        // haxe.Utf8.length(\"a\") + len;  // WORKS\r\n    }\r\n}\r\n```\r\n"}}