is_integral_domain crappy output

已查看 0 次
跳至第一个未读帖子

Robert Miller

未读,
2007年12月3日 15:49:522007/12/3
收件人 sage-devel
In sage/rings/quotient_ring.py, we have the following (line 220 in
2.8.14):
try:
return self.defining_ideal().is_prime()
except NotImplementedError:
return False

Why the heck don't we just propagate the NotImplementedError!?!

William Stein

未读,
2007年12月3日 15:58:572007/12/3
收件人 sage-...@googlegroups.com

Good point. Change it and submit a patch. And make sure to doctest
everything, and include doctests illustrating your patch.

-- William

回复全部
回复作者
转发
0 个新帖子