Author Keith.Dart
Recipients Keith.Dart
Date 2011-01-29.17:10:59
SpamBayes Score 6.48299e-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