作者dozer (Eric)
看板Python
标题[问题] assert() in extensions for CPython
时间Fri Mar 12 22:59:50 2010
前阵子将手边一个C code的project改写成Python C module,
但改用distutils来做build之後不知为啥原本C code里面的assert()
全部失效,distutils.core.Extension里面user可以设的compiler flag
也跟原本都一样。
请问有人也有遇过类似的状况吗?assert()失效真的是很~~~恐怖的事情.......><
--
Real World, The (n.):
1. In programming, those institutions at which programming may
be used in the same sentence as FORTRAN, COBOL, RPG, IBM, etc. 2. To
programmers, the location of non-programmers and activities not related
to programming. 3. A universe in which the standard dress is shirt and
tie and in which a person's working hours are defined as 9 to 5.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.114.94.118