summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-07-10 13:48:54 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-07-10 13:48:54 (GMT)
commitd9dfe0213fa391a212d2557271fa6b4e8dc91a1f (patch)
treeb3f463668ec2e7fe4a15df62c375e3a1cf26a9b2 /Doc
parentff8113f8d02dc14f10b99d2e71f17c1a5fd24d52 (diff)
downloadcpython-d9dfe0213fa391a212d2557271fa6b4e8dc91a1f.zip
cpython-d9dfe0213fa391a212d2557271fa6b4e8dc91a1f.tar.gz
cpython-d9dfe0213fa391a212d2557271fa6b4e8dc91a1f.tar.bz2
Remove a few elderly sentences
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/init.tex11
1 files changed, 2 insertions, 9 deletions
diff --git a/Doc/api/init.tex b/Doc/api/init.tex
index 56d9039..4057f2f 100644
--- a/Doc/api/init.tex
+++ b/Doc/api/init.tex
@@ -357,15 +357,8 @@ requests the I/O is waiting for the I/O operation to complete.
The Python interpreter needs to keep some bookkeeping information
separate per thread --- for this it uses a data structure called
-\ctype{PyThreadState}\ttindex{PyThreadState}. This is new in Python
-1.5; in earlier versions, such state was stored in global variables,
-and switching threads could cause problems. In particular, exception
-handling is now thread safe, when the application uses
-\withsubitem{(in module sys)}{\ttindex{exc_info()}}
-\function{sys.exc_info()} to access the exception last raised in the
-current thread.
-
-There's one global variable left, however: the pointer to the current
+\ctype{PyThreadState}\ttindex{PyThreadState}. There's one global
+variable, however: the pointer to the current
\ctype{PyThreadState}\ttindex{PyThreadState} structure. While most
thread packages have a way to store ``per-thread global data,''
Python's internal platform independent thread abstraction doesn't