Georg Brandl <[EMAIL PROTECTED]> added the comment: This is a proof of concept how to add methods to a structseq type.
Of course PyStructSequence_InitType could also get a companion PyStructSequence_InitTypeEx that takes a PyMethodDef* array. ---------- keywords: +patch nosy: +georg.brandl Added file: http://bugs.python.org/file10608/posix.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com