[Patches] [Patch #101162] a Python/C API testing framework (simple simple)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 16 Aug 2000 12:05:06 -0700


Patch #101162 has been updated. 

Project: 
Category: Build
Status: Open
Summary: a Python/C API testing framework (simple simple)

Follow-Ups:

Date: 2000-Aug-11 13:37
By: tmick

Comment:
Here is a proposed patch for a Python/C API testing framework. Simple simple.

Basic Overview:

- add a _test C extension module that exports test functions beginning with
  'test_'; NULL and a TestError exception indicates a test failure and
  Py_None indicate a test pass
- add a test_capi.py test module that calls each of the 'test_' exported
  functions in the '_test' module
- changes to the build system files for Win32 and Unix are includes to build
  _testmodule.c as a shared extension
- new files: Lib/test/test_capi.py, Lib/test/output/test_capi,
  Modules/_testmodule.c, and PCbuild/_test.dsp


-------------------------------------------------------

Date: 2000-Aug-11 13:48
By: tmick

Comment:
don't use C++ style comments
-------------------------------------------------------

Date: 2000-Aug-12 13:46
By: tmick

Comment:
Skip,
You seemed to have some interest in this the couple of times it came up on python-dev. I wonder if you might want to review this. No rush, I don't expect this to go in anytime soon. Unless, of course, people just *have* to have it. <wink>

-------------------------------------------------------

Date: 2000-Aug-15 15:23
By: tim_one

Comment:
Sorry, but there is a rush!  Since Python 2.0 is scheduled to have only 1 beta cycle, if this doesn't make it into the beta (< 2 weeks, according to the schedule), it's for 2.1 at best.  It would be very good to have a start at this (no matter how simple) in place for 2.0.
-------------------------------------------------------

Date: 2000-Aug-16 12:05
By: tmick

Comment:
re: delaying to 2.1:
doesn't bother me much
Should it now be "postponed", Tim?
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101162&group_id=5470