Update PTL magic for Python 2.3. (quixote/ptl_compile.py)
Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Mon, 06 Jan 2003 16:49:35 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote
In directory hewson:/tmp/cvs-serv17544
Modified Files:
ptl_compile.py
Log Message:
Update PTL magic for Python 2.3.
Index: ptl_compile.py
===================================================================
RCS file: /home/cvs/quixote/ptl_compile.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ptl_compile.py 20 Nov 2002 19:43:22 -0000 1.27
+++ ptl_compile.py 6 Jan 2003 21:49:33 -0000 1.28
@@ -232,7 +232,9 @@
PTL_EXT = ".ptl"
PTLC_EXT = ".ptlc"
-if sys.hexversion >= 0x20200b1:
+if sys.hexversion >= 0x20300a1:
+ PTLC_MAGIC = "PTLC\x01\x00"
+elif sys.hexversion >= 0x20200b1:
PTLC_MAGIC = "PTLC\x00\x09"
elif sys.hexversion >= 0x20100b1:
PTLC_MAGIC = "PTLC\x00\x08"