{"action":"opened","issue":{"url":"https://api.github.com/repos/brython-dev/brython/issues/360","labels_url":"https://api.github.com/repos/brython-dev/brython/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/brython-dev/brython/issues/360/comments","events_url":"https://api.github.com/repos/brython-dev/brython/issues/360/events","html_url":"https://github.com/brython-dev/brython/issues/360","id":124590056,"number":360,"title":"isidentifier() returns wrong result","user":{"login":"aroberge","id":629698,"avatar_url":"https://avatars.githubusercontent.com/u/629698?v=3","gravatar_id":"","url":"https://api.github.com/users/aroberge","html_url":"https://github.com/aroberge","followers_url":"https://api.github.com/users/aroberge/followers","following_url":"https://api.github.com/users/aroberge/following{/other_user}","gists_url":"https://api.github.com/users/aroberge/gists{/gist_id}","starred_url":"https://api.github.com/users/aroberge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroberge/subscriptions","organizations_url":"https://api.github.com/users/aroberge/orgs","repos_url":"https://api.github.com/users/aroberge/repos","events_url":"https://api.github.com/users/aroberge/events{/privacy}","received_events_url":"https://api.github.com/users/aroberge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-02T13:09:45Z","updated_at":"2016-01-02T13:09:45Z","closed_at":null,"body":"Brython recognizes a subset of valid Python identifiers; however, its `isidentifier()` string method is not consistent.  If you run the following example in the Brython editor\r\n```python\r\nAndré = 1 \r\nprint(André)\r\nprint('André'.isidentifier())\r\n```\r\nThe result will be\r\n```python\r\n1\r\nFalse\r\n```\r\nshowing that Brython does recognize `André` as a valid identifier, even though the `isidentifier()` string method does not.\r\n"}}