gmpy 1.01 rc附近......任何人都想测试> [英] gmpy 1.01 rc near... anybody wanna test>

查看:63
本文介绍了gmpy 1.01 rc附近......任何人都想测试>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经修复了几乎所有优秀的bug报告和功能

请求gmpy:divm不再泄漏内存,truediv和

floordiv实现了所有类型等 - 在当前的CVS

版本中(我还必须注意的一件事是它的行为,当它的args

不是相互素数时)。它目前编译没有警告,并通过

所有1040+测试,当前版本的GMP(4.1.4),Python

(2.4。 2),MacOSX(10.4.3),XCode(2.1),gcc(4.0)。\\


能够从sourceforge的cvs下载和构建的gmpy用户是

鼓励测试当前的CVS版本。这是一个很好的时间来向我发送任何错误报告或(次要;-)功能请求,因为我希望

发布一个1.01发布候选人。尽快的。我目前无法建立任何Windows版本
- 这个任务的任何志愿者都是双倍的

欢迎;-)。

谢谢,


Alex

I have fixed almost all of the outstanding bugreports and feature
request for gmpy: divm doesn''t leak memory any more, truediv and
floordiv are implemented for all types, etc -- in the current CVS
version (one thing I must still look at is divm''s behavior when its args
are not mutually prime). It currently compiles w/o warnings, and passes
all of its 1040+ tests, w/the current release of GMP (4.1.4), Python
(2.4.2), MacOSX (10.4.3), XCode (2.1), gcc (4.0).\\

gmpy users able to download and build from sourceforge''s cvs are
encouraged to test the current CVS version. This is a great time to
send me any bug reports or (minor;-) feature requests, since I hope to
release a "1.01 release candidate" of gmpy ASAP. I''m currently unable
to build any Windows version -- any volunteer for THAT task is doubly
welcome;-).
Thanks,

Alex

推荐答案

我下载并试用了CVS版本。分区仍然没有工作,因为

预期。
I downloaded and tried the CVS version. Division still didn''t work as
expected.
import gmpy
gmpy.version()
''1.01''gmpy.mpz(9)// gmpy.mpz(4)
Traceback(最近一次调用最后一次):

文件"< stdin>",第1行,在?

TypeError:不支持的操作数类型//:''mpz''和''mpz''来自__future__ import division
gmpy.mpz(9)// gmpy.mpz(4)
Traceback(最近一次调用最后一次):

文件"< stdin>",第1行,in?

TypeError:不支持的操作数类型//:''mpz''和''mpz''gmpy.mpz(9)/gmpy.mpz(4)
回溯(最近一次调用最后一次):

文件"< stdin>",第1行,在?

TypeError:/不支持的操作数类型/ :''mpz''和''mpz''
import gmpy
gmpy.version() ''1.01'' gmpy.mpz(9)//gmpy.mpz(4) Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for //: ''mpz'' and ''mpz'' from __future__ import division
gmpy.mpz(9)//gmpy.mpz(4) Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for //: ''mpz'' and ''mpz'' gmpy.mpz(9)/gmpy.mpz(4) Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for /: ''mpz'' and ''mpz''




平台:Solaris 10 x86,SunStudio编译器,GM P 4.1.4,Python 2.4.2



Platform: Solaris 10 x86, SunStudio compiler, GMP 4.1.4, Python 2.4.2


Alex Martelli写道:
Alex Martelli wrote:
我修复了几乎所有优秀的bug报告和功能
请求gmpy:divm不再泄漏内存,truediv和
floordiv适用于所有类型等 - 在当前的CVS
版本中(有一点我必须当它的args
不是相互素数时,看看divm的行为。它目前编译没有警告,并通过所有1040+测试,当前版本的GMP(4.1.4),Python
(2.4.2),MacOSX(10.4.3) ),XCode(2.1),gcc(4.0)。\\

鼓励能够从sourceforge的cvs下载和构建的gmpy用户测试当前的CVS版本。这是向我发送任何错误报告或(次要;-)功能请求的好时机,因为我希望发布一个1.01发布候选版本。尽快的。我目前无法构建任何Windows版本 - 任何志愿者都可以接受这个任务; - )。
I have fixed almost all of the outstanding bugreports and feature
request for gmpy: divm doesn''t leak memory any more, truediv and
floordiv are implemented for all types, etc -- in the current CVS
version (one thing I must still look at is divm''s behavior when its args
are not mutually prime). It currently compiles w/o warnings, and passes
all of its 1040+ tests, w/the current release of GMP (4.1.4), Python
(2.4.2), MacOSX (10.4.3), XCode (2.1), gcc (4.0).\\

gmpy users able to download and build from sourceforge''s cvs are
encouraged to test the current CVS version. This is a great time to
send me any bug reports or (minor;-) feature requests, since I hope to
release a "1.01 release candidate" of gmpy ASAP. I''m currently unable
to build any Windows version -- any volunteer for THAT task is doubly
welcome;-).



我尝试用它编译它MS免费工具包但C编译

抱怨没有gmp.h。由于我在我的

Cygwin安装中看到了这样的标题,我认为它可能会出现完整的VC7

安装。


不幸的是修改构建以使用Cygwin包含目录

给出错误,我怀疑因为其他Cygwin标题也被错误地拾取了
(I刚刚将/ cygwin / usr / include添加到include_dirs。


使用来自Cygwin和

GNU gmp-static库的头文件编译完成但当然在这两种情况下我都是

错过了将其链接起来的gmp库。


所以我担心你可能需要有访问权限的人到VC来测试一下

Windows给你,对不起。


问候

Steve

-

Steve Holden +44 150 684 7255 +1 800 494 3119

Holden Web LLC www.h oldenweb.com

PyCon TX 2006 www.python .org / pycon /


I tried compiling it with the MS free toolkit but the C compile
complains about the absence of "gmp.h". Since I see such a header in my
Cygwin installation I presume it''s something that a full VC7
installation could expect to be present.

Unfortunately modifying the build to use the Cygwin include directory
gave errors, I suspect because other Cygwin headers were also being
picked up in error (I just added /cygwin/usr/include to include_dirs.

Compilation ran to completion with the header files from both Cygwin and
the GNU gmp-static library, but then of course in both cases I was
missing the gmp library to link it against.

So I''m afraid you might need someone with access to VC to test this on
Windows for you, sorry.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/


al ** *@mail.comcast.net (Alex Martelli)写道:
al***@mail.comcast.net (Alex Martelli) writes:
鼓励能够从sourceforge的cvs下载和构建的gmpy用户测试当前的CVS版本。
gmpy users able to download and build from sourceforge''s cvs are
encouraged to test the current CVS version.




很酷,我想知道是否还在继续进行任何维护。

我会看看我是否可以提供新的试试版。



Oh cool, I wondered whether any gmpy maintenance was still going on.
I''ll see if I can give the new version a try.


这篇关于gmpy 1.01 rc附近......任何人都想测试&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆