[Python-checkins] r43733 - peps/trunk/pep-0353.txt

martin.v.loewis python-checkins at python.org
Sat Apr 8 12:09:44 CEST 2006


Author: martin.v.loewis
Date: Sat Apr  8 12:09:44 2006
New Revision: 43733

Modified:
   peps/trunk/pep-0353.txt
Log:
Add PY_SSIZE_T_MAX/PY_SSIZE_T_MIN into the conversion guide.


Modified: peps/trunk/pep-0353.txt
==============================================================================
--- peps/trunk/pep-0353.txt	(original)
+++ peps/trunk/pep-0353.txt	Sat Apr  8 12:09:44 2006
@@ -134,6 +134,8 @@
 
  #if PY_VERSION_HEX < 0x02050000
  typedef int Py_ssize_t;
+ #define PY_SSIZE_T_MAX INT_MAX
+ #define PY_SSIZE_T_MIN INT_MIN
  #endif
 
 and then using Py_ssize_t in the rest of the code. For


More information about the Python-checkins mailing list