DAGDA SEARCH | Back to results | Support

Message 127442 - Python tracker

Source: https://bugs.python.org/msg127442

homepage

Message127442 ➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Keith.Dart
Recipients Keith.Dart
Date 2011-01-29.17:10:59
SpamBayes Score 6.482987e-06
Marked as misclassified No
Message-id <1296321060.32.0.846037411239.issue11063@psf.upfronthosting.co.za>
In-reply-to
Content
When the uuid.py module is simply imported it has the side effect of forking a subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation by ctypes. This is undesirable in many contexts. It would be better to perform those tasks on demand, when the first UUID is actually requested. In general, imports should avoid unnecessary system call side effects. This also makes testing easier.
History
Date User Action Args
2011-01-29 17:11:00Keith.Dartsetrecipients: + Keith.Dart
2011-01-29 17:11:00Keith.Dartsetmessageid: <1296321060.32.0.846037411239.issue11063@psf.upfronthosting.co.za>
2011-01-29 17:10:59Keith.Dartlinkissue11063 messages
2011-01-29 17:10:59Keith.Dartcreate
Supported by The Python Software Foundation,
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements