Issue 18784: minor uuid.py loading optimization (original) (raw)

Issue18784

Created on 2013-08-19 17:49 by eugals, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
uuid.patch eugals,2013-08-19 17:49 review
Messages (5)
msg195653 - (view) Author: Evgeny Sologubov (eugals) Date: 2013-08-19 17:49
Please see the patch attached. It quite is primitive and self-explanatory: the code wouldn't attempt to load *libc* via ctypes.CDLL, if all necessary functions are already found in *libuuid*. This patch also can serve as a work-around solution to issue #17213 (which I encountered on cygwin+python27)
msg197548 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 04:52
LGTM.
msg197549 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-13 05:09
New changeset 7aaba721ebc0 by Serhiy Storchaka in branch '3.3': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/7aaba721ebc0 New changeset 66ec8431032d by Serhiy Storchaka in branch 'default': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/66ec8431032d New changeset 6d8a5cbb94c9 by Serhiy Storchaka in branch '2.7': Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, http://hg.python.org/cpython/rev/6d8a5cbb94c9
msg197550 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 05:17
Thank you for your contribution Evgeny.
msg227959 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-09-30 17:34
New changeset f9cd915410d2 by Georg Brandl in branch '3.2': Issue #19855: uuid.getnode() on Unix now looks on the PATH for the https://hg.python.org/cpython/rev/f9cd915410d2
History
Date User Action Args
2022-04-11 14:57:49 admin set github: 62984
2014-09-30 17:34:51 python-dev set messages: +
2013-09-13 05:17:25 serhiy.storchaka set status: open -> closedresolution: fixedmessages: + stage: commit review -> resolved
2013-09-13 05:09:16 python-dev set nosy: + python-devmessages: +
2013-09-13 04:52:04 serhiy.storchaka set assignee: serhiy.storchakastage: commit reviewmessages: + versions: + Python 3.3, Python 3.4
2013-08-19 18:09:48 pitrou set nosy: + serhiy.storchaka
2013-08-19 17:49:28 eugals create