New submission from Evgeny Sologubov:

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)

----------
components: Library (Lib), Windows, ctypes
files: uuid.patch
keywords: patch
messages: 195653
nosy: eugals
priority: normal
severity: normal
status: open
title: minor uuid.py loading optimization
type: performance
versions: Python 2.7
Added file: http://bugs.python.org/file31377/uuid.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18784>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to