Marc-Andre Lemburg added the comment: I have tried this with a stock Python 2.7.6 version and don't get an error:
>>> platform._sys_version('2.7.5 (default, Sep 12 2013, 21:33:34) \n[GCC 4.2.1 >>> Compatible Apple LLVM 5.0 (clang-500.0.68)]') ('CPython', '2.7.5', '', '', 'default', 'Sep 12 2013 21:33:34', 'GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)') The stackoverflow posting you mentioned obviously uses a Python version that was modified in incompatible ways, so it doesn't apply here. Are you running an Apple version of Python or one that was installed using the python.org installer ? ---------- components: +Library (Lib) -2to3 (2.x to 3.x conversion tool) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com