[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-26 Thread bru
bru added the comment: Closed the issue since it's already been fixed. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.

[issue22940] readline does not offer partial saves

2014-11-25 Thread bru
New submission from bru: The "readline" module offers "write_history_file" from readline/history.h "write_history", but there's no "append_history_file" that would invoke "append_history" from the C header. This causes inconveniences

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
bru added the comment: I realize that I was not working against the tip... The patch I offered does not apply since revision 88068, which fixes the test by skipping it when "ifconfig" isn't available. Therefore this issue is invalid. However I think that "test_find_mac&q

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
bru added the comment: According to http://en.wikipedia.org/wiki/Iproute2 "ip" is Linux-only. I opened an issue with a patch that brings "ip link list" to "uuid.getnode()": http://bugs.python.org/issue22902 -- ___

[issue22902] Use 'ip' for uuid.getnode()

2014-11-19 Thread bru
New submission from bru: Only linux, `uuid.getnode()` will use the Unix ddl, then ifconfig, then random. `ifconfig` is disappearing in favour of `ip` (from iproute2), which should be used. This patch ads `_ip_getnode` getter to `uuid.getnode()` -- components: Library (Lib) files

[issue22901] test.test_uuid.test_find_mac fails because of `ifconfig` deprecation

2014-11-19 Thread bru
New submission from bru: `test.test_uuid.test_find_mac` relies on `ifconfig` binary presence, which is on its way out. This makes the test fail on more and more Linux installations. Using `env` (for example) is more reliable. `ip` could also be used since it's the replacement to `ifc