[Python-Dev] should a module's thread safety be documented?

Skip Montanaro skip@mojam.com (Skip Montanaro)
Sat, 20 Jan 2001 16:31:52 -0600 (CST)


    Fred> If you can create a list of the known thread safe and known thread
    Fred> unsafe modules, I'll come up with appropriate annotations for the
    Fred> documentation.

I think that's going to be a significant undertaking, requiring examination
of a lot of Python and C code.  I'd rather approach it incrementally, which
was why I suggested the LaTeX macros.  As modules are determined to be safe
or unsafe, the appropriate safety macro could just be inserted into the
correct lib*.tex file.  It would (in my mind) expand to a stock bit of text
inserted at a standard place in the file.

Skip