[issue1175004] Export more libreadline API functions
Changes by strank : -- nosy: +strank ___ Python tracker <http://bugs.python.org/issue1175004> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1713877] Expose callback API in readline module
strank added the comment: I am pretty sure I posted a patch in the sf patch tracker... oh yes, here it is: http://bugs.python.org/issue1744456 I think it still needs some work if you want to make it impossible for users of the API to wreck the interactive prompt. If this possibility is considered ok (it does not make sense to use the callback api from the interactive prompt anyway), I think it's ok. But someone with more readline experience should probably look at it... :-) _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1713877> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1646838] os.path, %HOME% set: realpath contradicts expanduser on '~'
strank added the comment: I agree with the 'test needed' stage, but for that, the intended behaviour should be decided on first. A quick test for checking current behaviour:: pythonX.Y -c 'import os; p = os.path; print (os.environ["HOME"], p.realpath("~"), p.expanduser("~"), p.normpath("~"))' Run both, with and without HOME set (or set to something unusual). Current result on Linux for both 2.5 and 2.6:: ('/home/rank', '/home/rank/~', '/home/rank', '~') on Mac OS for 2.5, 2.6 and 3.1:: ('/Users/rank', '/Users/rank/~', '/Users/rank', '~') (for 3.1 it's not a tuple of course). Cannot test on Windows at the moment, but I think there's already something wrong going on here :-). Adding Macintosh and tested python version tags (there's no Unix tag?). cheers -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren, strank versions: +Python 2.5, Python 3.1 ___ Python tracker <http://bugs.python.org/issue1646838> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com