Message309668
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 does not seem to be successful in finding it:
> /data/prj/python/git/python3-3.7/Lib/test/test_uuid.py(10)<module>()
-> py_uuid = support.import_fresh_module('uuid', blocked=['_uuid'])
(Pdb) n
> /data/prj/python/git/python3-3.7/Lib/test/test_uuid.py(11)<module>()
-> c_uuid = support.import_fresh_module('uuid', fresh=['_uuid'])
(Pdb) n
> /data/prj/python/git/python3-3.7/Lib/test/test_uuid.py(14)<module>()
-> def importable(name):
(Pdb) py_uuid
<module 'uuid' from '/data/prj/python/git/python3-3.7/Lib/uuid.py'>
(Pdb) c_uuid
(Pdb)
So, for now it seems the test is only testing 'uuid.py'. I would like to see the added value of having gotten the _uuid Module to build.
However, if this is 'working as designed' I not worry about it and just go back into the util.py - getnode() etc. |
|
Date |
User |
Action |
Args |
2018-01-08 15:07:28 | Michael.Felt | set | recipients:
+ Michael.Felt, vstinner, serhiy.storchaka, David.Edelsohn |
2018-01-08 15:07:28 | Michael.Felt | set | messageid: <1515424048.52.0.467229070634.issue28009@psf.upfronthosting.co.za> |
2018-01-08 15:07:28 | Michael.Felt | link | issue28009 messages |
2018-01-08 15:07:27 | Michael.Felt | create | |
|