Martin v. Löwis <mar...@v.loewis.de> added the comment: > Maybe the functions in Doc/tools/sphinxext/patchlevel.py should be moved > to somewhere else then ? IDLE could use them.
No. IDLE shouldn't parse the version out of the header file, but instead use sys.version_info to compute the file name, so it's really just get_sys_version_info, and you only need half of its return value. Copying it is fine, IMO. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com