[問題] assert() in extensions for CPython
前陣子將手邊一個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