[New-bugs-announce] [issue22698] Add constants for ioctl request codes

Serhiy Storchaka report at bugs.python.org
Wed Oct 22 17:12:03 CEST 2014

New submission from Serhiy Storchaka:

It would be useful to expose ioctl request codes (Linux specific?) [1] at Python level.

In particular this will allow to determine MAC address in uuid at Python level without using ctypes or calling external programs. [2]

[1] http://man7.org/linux/man-pages/man2/ioctl_list.2.html
[2] http://code.activestate.com/recipes/439094-get-the-ip-address-associated-with-a-network-inter/

components: Extension Modules
messages: 229827
nosy: pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Add constants for ioctl request codes
type: enhancement
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list