Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue22902

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Use 'ip' for uuid.getnode()
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.5
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: bru, python-dev, serhiy.storchaka, vstinner
Priority:normalKeywords:patch

Created on2014-11-19 15:16 bybru, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
uuid_find_mac_with_ip.patchbru,2014-11-19 15:16Patch for 'ip' usage in uuid.getnode()review
Messages (6)
msg231382 -(view)Author: Bruno Cauet (bru)*Date: 2014-11-19 15:16
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()`
msg231384 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2014-11-19 15:22
IMO such change can wait for Python 3.5.
msg231388 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-11-19 16:26
LGTM.
msg231891 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-11-30 16:17
Bruno, could you please sign a Contributor Licensing Agreement?http://www.python.org/psf/contrib/contrib-form/http://www.python.org/psf/contrib/
msg231898 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2014-11-30 18:41
New changeset64bb01bce12c by Serhiy Storchaka in branch 'default':Issue#22902: The "ip" command is now used on Linux to determine MAC addresshttps://hg.python.org/cpython/rev/64bb01bce12c
msg231899 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2014-11-30 18:44
Thank you for your contribution Bruno.
History
DateUserActionArgs
2022-04-11 14:58:10adminsetgithub: 67091
2014-11-30 18:44:10serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg231899

stage: commit review -> resolved
2014-11-30 18:41:16python-devsetnosy: +python-dev
messages: +msg231898
2014-11-30 16:17:31serhiy.storchakasetassignee:serhiy.storchaka
type: enhancement
messages: +msg231891
stage: commit review
2014-11-19 16:26:40serhiy.storchakasetmessages: +msg231388
2014-11-19 15:22:31vstinnersetnosy: +vstinner,serhiy.storchaka

messages: +msg231384
versions: + Python 3.5, - Python 3.4
2014-11-19 15:16:34brucreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp