{"action":"created","issue":{"url":"https://api.github.com/repos/pyreadline/pyreadline/issues/38","labels_url":"https://api.github.com/repos/pyreadline/pyreadline/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/pyreadline/pyreadline/issues/38/comments","events_url":"https://api.github.com/repos/pyreadline/pyreadline/issues/38/events","html_url":"https://github.com/pyreadline/pyreadline/issues/38","id":101828657,"number":38,"title":"Python 3.5 support","user":{"login":"floqqi","id":969443,"avatar_url":"https://avatars.githubusercontent.com/u/969443?v=3","gravatar_id":"","url":"https://api.github.com/users/floqqi","html_url":"https://github.com/floqqi","followers_url":"https://api.github.com/users/floqqi/followers","following_url":"https://api.github.com/users/floqqi/following{/other_user}","gists_url":"https://api.github.com/users/floqqi/gists{/gist_id}","starred_url":"https://api.github.com/users/floqqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floqqi/subscriptions","organizations_url":"https://api.github.com/users/floqqi/orgs","repos_url":"https://api.github.com/users/floqqi/repos","events_url":"https://api.github.com/users/floqqi/events{/privacy}","received_events_url":"https://api.github.com/users/floqqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T07:50:59Z","updated_at":"2015-09-15T06:11:31Z","closed_at":null,"body":"`pyreadline` is not working on Python 3.5rc1 (on Windows 7, SP1). After installing I get the following error running `python` in command line:\r\n\r\n```python\r\nFailed calling sys.__interactivehook__\r\nTraceback (most recent call last):\r\n  File \"C:\\Python35\\lib\\site.py\", line 388, in register_readline\r\n    import readline\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\readline.py\", line 6, in <module>\r\n    from pyreadline.rlmain import Readline\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\__init__.py\", line 11, in <module>\r\n    from . import unicode_helper, logger, clipboard, lineeditor, modes, console\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\console\\__init__.py\", line 15, in <module>\r\n    from .console import *\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\console\\console.py\", line 21, in <module>\r\n    import pyreadline.unicode_helper as unicode_helper\r\nAttributeError: module 'pyreadline' has no attribute 'unicode_helper'\r\n```\r\n\r\nUsing `ipython` (4.0.0):\r\n```python\r\nTraceback (most recent call last):\r\n  File \"C:\\Python35\\lib\\runpy.py\", line 170, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"C:\\Python35\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\Scripts\\ipython.exe\\__main__.py\", line 9, in <module>\r\n    sys.exit(start_ipython())\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\__init__.py\", line 118, in start_ipython\r\n    return launch_new_instance(argv=argv, **kwargs)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\traitlets\\config\\application.py\", line 591, in launch_instance\r\n    app.initialize(argv)\r\n  File \"<string>\", line 2, in initialize\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\traitlets\\config\\application.py\", line 75, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\terminal\\ipapp.py\", line 314, in initialize\r\n    self.init_shell()\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\terminal\\ipapp.py\", line 330, in init_shell\r\n    ipython_dir=self.ipython_dir, user_ns=self.user_ns)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\traitlets\\config\\configurable.py\", line 380, in instance\r\n\r\n    inst = cls(*args, **kwargs)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 531, in __init__\r\n\r\n    self.init_readline()\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 1941, in init_readline\r\n    import IPython.utils.rlineimpl as readline\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\IPython\\utils\\rlineimpl.py\", line 21, in <module>\r\n    _rl = __import__(_rlmod_name)\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\readline.py\", line 6, in <module>\r\n    from pyreadline.rlmain import Readline\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\__init__.py\", line 11, in <module>\r\n    from . import unicode_helper, logger, clipboard, lineeditor, modes, console\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\console\\__init__.py\", line 15, in <module>\r\n    from .console import *\r\n  File \"C:\\Users\\floqqi\\Envs\\<project>\\lib\\site-packages\\pyreadline\\console\\console.py\", line 610, in <module>\r\n    msvcrt = cdll.LoadLibrary(ctypes.util.find_msvcrt())\r\n  File \"C:\\Python35\\lib\\ctypes\\__init__.py\", line 425, in LoadLibrary\r\n    return self._dlltype(name)\r\n  File \"C:\\Python35\\lib\\ctypes\\__init__.py\", line 347, in __init__\r\n    self._handle = _dlopen(self._name, mode)\r\nTypeError: bad argument type for built-in operation\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pyreadline/pyreadline/issues/comments/140290764","html_url":"https://github.com/pyreadline/pyreadline/issues/38#issuecomment-140290764","issue_url":"https://api.github.com/repos/pyreadline/pyreadline/issues/38","id":140290764,"user":{"login":"Evfro","id":5283394,"avatar_url":"https://avatars.githubusercontent.com/u/5283394?v=3","gravatar_id":"","url":"https://api.github.com/users/Evfro","html_url":"https://github.com/Evfro","followers_url":"https://api.github.com/users/Evfro/followers","following_url":"https://api.github.com/users/Evfro/following{/other_user}","gists_url":"https://api.github.com/users/Evfro/gists{/gist_id}","starred_url":"https://api.github.com/users/Evfro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evfro/subscriptions","organizations_url":"https://api.github.com/users/Evfro/orgs","repos_url":"https://api.github.com/users/Evfro/repos","events_url":"https://api.github.com/users/Evfro/events{/privacy}","received_events_url":"https://api.github.com/users/Evfro/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T06:11:31Z","updated_at":"2015-09-15T06:11:31Z","body":"I can confirm it's not only PyPi version's problem. And it's failing even with released python 3.5.\r\nI've upgraded my python with `conda install python=3.5` and seeing the same problem when trying to launch python from command prompt on Windows 10 x64"}}