[Python-checkins] r84340 - peps/trunk/pep-0384.txt

martin.v.loewis python-checkins at python.org
Sat Aug 28 17:43:34 CEST 2010


Author: martin.v.loewis
Date: Sat Aug 28 17:43:34 2010
New Revision: 84340

Log:
Fix various glitches.


Modified:
   peps/trunk/pep-0384.txt

Modified: peps/trunk/pep-0384.txt
==============================================================================
--- peps/trunk/pep-0384.txt	(original)
+++ peps/trunk/pep-0384.txt	Sat Aug 28 17:43:34 2010
@@ -129,7 +129,7 @@
     void *pfunc; /* function pointer */
   } PyType_Slot;
 
-  struct{
+  typedef struct{
     const char* name;
     const char* doc;
     int basicsize;
@@ -149,10 +149,10 @@
 hold the pointers in Python 3.1, with an added ``Py_`` prefix (i.e.
 Py_tp_dealloc instead of just tp_dealloc):
 
-- tp_dealloc, tp_print, tp_getattr, tp_setattr, tp_repr,
+- tp_dealloc, tp_getattr, tp_setattr, tp_repr,
   tp_hash, tp_call, tp_str, tp_getattro, tp_setattro,
   tp_doc, tp_traverse, tp_clear, tp_richcompare, tp_iter,
-  tp_iternext, tp_methods, tp_base, tp_descr_set, tp_descr_set,
+  tp_iternext, tp_methods, tp_base, tp_descr_get, tp_descr_set,
   tp_init, tp_alloc, tp_new, tp_is_gc, tp_bases, tp_del
 - nb_add nb_subtract nb_multiply nb_remainder nb_divmod nb_power
   nb_negative nb_positive nb_absolute nb_bool nb_invert nb_lshift
@@ -161,7 +161,7 @@
   nb_inplace_power nb_inplace_lshift nb_inplace_rshift nb_inplace_and
   nb_inplace_xor nb_inplace_or nb_floor_divide nb_true_divide
   nb_inplace_floor_divide nb_inplace_true_divide nb_index
-- sq_length sq_concat sq_repeat sq_item sq_ass_item was_sq_ass_slice
+- sq_length sq_concat sq_repeat sq_item sq_ass_item
   sq_contains sq_inplace_concat sq_inplace_repeat
 - mp_length mp_subscript mp_ass_subscript
 - bf_getbuffer bf_releasebuffer
@@ -169,7 +169,7 @@
 XXX Not supported yet: tp_weaklistoffset, tp_dictoffset
 
 The following fields cannot be set during type definition:
-- tp_dict tp_mro tp_cache tp_subclasses tp_weaklist
+- tp_dict tp_mro tp_cache tp_subclasses tp_weaklist tp_print
 
 Functions and function-like Macros
 ----------------------------------
@@ -212,6 +212,7 @@
 - pydebug.h
 - symtable.h
 - token.h
+- parsetok.h
 
 In addition, functions expecting ``FILE*`` are not part of
 the ABI, to avoid depending on a specific version of the


More information about the Python-checkins mailing list