[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall
anand jeyahar added the comment: Hi, This will need latest kernel to develop, fix and test. I (on Debian 7) couldn't find the latest kernel, but picked up ubuntu kernel from here http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17-rc7-utopic/. I picked up the latest i.e: linux-image-3.17.0-031700rc7-generic_3.17.0-031700rc7.201409281835_amd64.deb and installed manually, but couldn't find the getrandom() function call either in stdlib.h or linux/random.h. Can anyone confirm it's availability in a kernel image (from some other distribution?). -- nosy: +anand.jeyahar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22181 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8492] Addition to readline module to get dictionary of keystrokes and commands
Changes by anand jeyahar anand.jeya...@gmail.com: -- nosy: +anand.jeyahar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8492 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8492] Addition to readline module to get dictionary of keystrokes and commands
anand jeyahar added the comment: Here's what the original maintainer chet romney had to say about this functionality not being a part of readline, and should be implemented by the calling application. From Chet Ramey: -- The answer is that this is very similar to the operate-and-get-next feature bash adds to the readline interface. I am not inclined to add this to readline in its current form because it manipulates state managed by the calling application (rl_startup_hook) and requires that state to be kept between calls to readline(). It's a feature that should be provided by the calling application -- it's implementation is not complicated. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8492 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13004] pprint: add option to truncate sequences
anand jeyahar anand.jeya...@gmail.com added the comment: Umm... Excuse me but how is this max_length parameter different from the (existing)depth parameter? pformat(object,depth=3) seems to do the same thing. -- nosy: +anandjeyahar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13004 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12381] refactor slice checks made by methods that take slice like arguments
anand jeyahar anand.jeya...@gmail.com added the comment: I started working on this. But found sliceobject.c. Think it would be a good idea to add the refactored functions there. Anyway, i was trying to figure out the functionality of sliceobject.c. Can someone put up a use/test case example for it? Thanks for patience with my newbieness to python source -- nosy: +anand.jeyahar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12381 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com