[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-11-14 Thread Michael Felt
Michael Felt added the comment: Historically, I started this issue because I saw that none of the calls made in uuid.py were working for AIX. I also assumed that they ALL worked already, at least somewhere. a) one cause is the difference between AIX and (all) others was the letter chosen

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-10-28 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-10-28 Thread Michael Felt
Michael Felt added the comment: re; the current status of PR8672 - which I shall probably close as it no longer merges. @taleinat re: the need for lambda As _find_mac_netstat() is only called once the need for the last two arguments may be unnecessary. My reason for including them was to

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-08-04 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +8164 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-07-25 Thread Michael Felt
Michael Felt added the comment: @pitrou: re: Is nohup required in the example you just posted or is that a red herring? I just use nohup to merge stdout and stderr when grepping for messages - and to, ideally, have the stdout and stderr messages properly synced in the output stream. So, I

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-07-21 Thread Michael Felt
Michael Felt added the comment: OK. as promised when I closed PR 5183 - a restart. You may skip the wall that follows - it is just documentation. The key points: * AIX ifconfig and arp do not supply maccaddr * netstat supplies a macaddr, but uses '.' not ':' as a delimiter ** also, AIX

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-06-03 Thread Michael Felt
Michael Felt added the comment: Please review PR. at least for "master" -- versions: +Python 3.8 ___ Python tracker ___ ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-14 Thread Michael Felt
Michael Felt added the comment: On 14/01/2018 22:01, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > Is nohup required in the example you just posted or is that a red herring? > > -- > > ___ >

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is nohup required in the example you just posted or is that a red herring? -- ___ Python tracker ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-14 Thread Michael Felt
Michael Felt added the comment: FYI: - On AIX, no uuid_create support: ./python -m unittest -v test.test_uuid ... Ran 48 tests in 0.261s OK (skipped=37) On AIX 6.1 (with ctypes, without _uuid) ./python -m unittest -v test.test_uuid ... Ran 48 tests in 0.274s OK

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-14 Thread Michael Felt
Michael Felt added the comment: PR added, please review. -- ___ Python tracker ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-14 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +5037 stage: -> patch review ___ Python tracker ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-09 Thread Michael Felt
Michael Felt added the comment: On 09/01/2018 16:21, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > >> What is the desired behavior, specifically, of > uuid.getnode() - constant, or 'random'? > > I'm also certain getnode() is supposed to

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What is the desired behavior, specifically, of uuid.getnode() - constant, or 'random'? I'm also certain getnode() is supposed to return a hardware-determined number (usually the MAC address of an Ethernet interface). A random output

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 08/01/2018 17:22, Michael wrote: > On 08/01/2018 16:07, Michael Felt wrote: >> Michael Felt added the comment: >> >> Considering that _uuid is now working for AIX issue32399 - some time differences - this is on

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 08/01/2018 16:07, Michael Felt wrote: > Michael Felt added the comment: > > Considering that _uuid is now working for AIX issue32399 - I need to get some > things straight (aka some help please). > > Does uuid.py

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: Considering that _uuid is now working for AIX issue32399 - I need to get some things straight (aka some help please). Does uuid.py (./Lib/uuid.py) call _uuid.py? If not, I am curious how _uuid.c is used - because ./Lib/test/test_uuid.py

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker ___ ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-12-21 Thread Michael Felt
Michael Felt added the comment: Sure - I'll work on a PR. This will be the easier one. Where I am currently 'lost' is to correct _uuidmodule.c - another thing that has always been broken (new issue, about to open). -- ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: "LGTM. Do you want to write this a pull request?" Michael? You didn't answer to my question. -- ___ Python tracker

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-22 Thread Michael Felt
Michael Felt added the comment: x064 is AIX 5.3, x071 is AIX 6.1, x072 is AIX 7.1 - in the following output On 11/20/2017 9:01 PM, Serhiy Storchaka wrote: > Serhiy Storchaka added the comment: > > What return commands `ifconfig`, `ifconfig

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What return commands `ifconfig`, `ifconfig -a`, `ifconfig -av`, `ip link list`, `arp -an`, `lanscan -ai` (if not error)? -- ___ Python tracker

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-20 Thread Michael Felt
Michael Felt added the comment: On 11/20/2017 5:22 PM, Serhiy Storchaka wrote: > Serhiy Storchaka added the comment: > > _unixdll_getnode, _ifconfig_getnode, and _arp_getnode were changed recently. > Are they still not working on AIX? After

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: _unixdll_getnode, _ifconfig_getnode, and _arp_getnode were changed recently. Are they still not working on AIX? -- nosy: +serhiy.storchaka versions: +Python 3.7 -Python 3.3, Python 3.4, Python 3.5

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-11-20 Thread STINNER Victor
STINNER Victor added the comment: +531 elif sys.platform.startswith("aix"): +532 getters = [_netstat_getnode] LGTM. Do you want to write this a pull request? -- nosy: +vstinner ___ Python tracker

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2016-09-07 Thread Michael Felt
New submission from Michael Felt: Short version: the five routines get_node() calls to get the MAC address either fail by definition, or is wrong. The one routine that works - is wrong because it returns the same value regardless of the system it runs on - wrong character is used to identify