gmpy 1.0 for python 2.4 alpha 2 Windows-packaged [英] gmpy 1.0 for python 2.4 alpha 2 Windows-packaged

查看:94
本文介绍了gmpy 1.0 for python 2.4 alpha 2 Windows-packaged的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢David Bolen,他做了这个版本,我已经能够为gthon 2.4 alpha 2上的gmpy 1.0提供了一个win32包装(应该

工作)在任何后来的Python 2.4上,但是我无法在

全部检查它。我现在无法联系sourceforge,所以我同时把exe文件放在



http://www.aleax.it/Python/gmpy-1.0.win32-py2.4。 exe


Windows上的gmpy和python 2.4的用户都被邀请下载和

安装这个,尝试一下,让我知道。有一些已知的

毛刺大卫告诉我关于

"""

似乎通过测试(除了扫描的那些)

除了一堆gmpy_test_rnd.rand,因为在2.4中更改了

的回溯输出。我还必须删除doctest.master

的使用,因为看起来它已经在2.4中被弃用了(它不再被导出

由模块'是__all__)。

"""


感谢David和任何可以帮助我的用户,因为我可以''我自己做这个版本的任何测试!

Alex

Thanks to David Bolen, who did the build, I have been able to make
available a win32 packaging for gmpy 1.0 on python 2.4 alpha 2 (should
work on any later Python 2.4 as well, but I have no way to check it at
all). I can''t reach sourceforge at the moment, so I have meanwhile put
the exe file up at:

http://www.aleax.it/Python/gmpy-1.0.win32-py2.4.exe

Users of both gmpy and python 2.4 on windows are invited to dowload and
install this, try it out, and let me know. There are a few known
glitches David tells me about:
"""
It seems to pass the tests (other than the scan ones noted)
with the exception of a bunch gmpy_test_rnd.rand due to changing
traceback output in 2.4. I also had to remove the use of doctest.master
since it looks like that''s deprecated in 2.4 (it''s no longer exported
by the module''s __all__).
"""

Thanks to David, and to any users who can help me out, since I can''t do
any testing on this build myself!
Alex

推荐答案

[Alex Martelli ]
[Alex Martelli]
...
大卫告诉我一些已知的故障
"""
似乎通过测试(除了扫描的扫描之外)
除了一堆gmpy_test_rnd.rand由于在2.4中更改了
回溯输出。我还必须删除
doctest.master的使用,因为它看起来像是在2.4中被弃用(它不会被模块的__all __更长时间导出)。
"""
...
There are a few known glitches David tells me about:
"""
It seems to pass the tests (other than the scan ones noted)
with the exception of a bunch gmpy_test_rnd.rand due to changing
traceback output in 2.4. I also had to remove the use of
doctest.master since it looks like that''s deprecated in 2.4 (it''s no
longer exported by the module''s __all__).
"""




Ya,Edward Loper,Jim Fulton和我已经对2.4美元的b $ b doctest进行了大量修改,重构它毫不留情。


doctest.master是一个记录不佳的尝试,开始构建一个用于管理多个测试的

框架,但据我所知,它是

完全未使用 - 我所知道的所有重度doctest用户使用

unittest框架,因此2.4已经增强了更强的工作方式

with而是单位测试的司机。它也变得更加理智了doctest

runner作为其中一部分的类,而不是旧的

doctest.master全局。根据一个充满希望的信念,无论如何都没有人使用

,当爱德华重构它的存在时,我并没有抱怨。这是我们第一次听说有人*使用

吧!


我想我们可以把一个回来,但我' 我宁愿自愿参加

重写gmpy测试,使用更强大的2.4噱头......



Ya, Edward Loper, Jim Fulton and I have made massive changes to
doctest for 2.4, refactoring it mercilessly.

doctest.master was a poorly documented attempt at starting to build a
framework for managing multiple tests, but as far as I knew it was
entirely unused -- all the heavy doctest users I knew about used
unittest frameworks, and so 2.4 has grown stronger ways of working
with unittest drivers instead. It''s also grown much saner "doctest
runner" kinds of classes as part of that, as opposed to the old
doctest.master global. Under a hopeful belief that nobody was using
that anyway, I didn''t gripe when Edward refactored it out of
existence. This is the first time we''ve heard that anyone *was* using
it!

I suppose we could hack one back in, but I''d rather volunteer to
rewrite the gmpy tests to use the stronger 2.4 gimmicks ...


Tim Peters< ti **** ****@gmail.com>写道:

...
Tim Peters <ti********@gmail.com> wrote:
...
2.4中的回溯输出。我还必须删除使用
doctest.master,因为它看起来像是在2.4中被弃用(它不是
traceback output in 2.4. I also had to remove the use of
doctest.master since it looks like that''s deprecated in 2.4 (it''s no


... doctest.master global。有抱负的信念,没有人使用
无论如何,当爱德华从存在中重构它时,我并不抱怨。这是我们第一次听说有人*正在使用
它!


我觉得gmpy只是不在你的雷达上......!如果你不需要它的

多精度和特殊功能支持,这并不奇怪。


我想我们可以破解一个,但我宁愿自愿重写gmpy测试来使用更强的2.4噱头...

... doctest.master global. Under a hopeful belief that nobody was using
that anyway, I didn''t gripe when Edward refactored it out of
existence. This is the first time we''ve heard that anyone *was* using
it!
I guess gmpy just wasn''t on your radar...! If you have no need for its
multi-precision and special-functions support, that''s unsurprising.

I suppose we could hack one back in, but I''d rather volunteer to
rewrite the gmpy tests to use the stronger 2.4 gimmicks ...




谢谢,您的报价是受欢迎的,并且很乐意接受 - 只要所有的

测试继续在2.3当然也是如此。很长一段时间会有2.3美元左右的很多时间 - 例如,Apple不打算将b $ b改为b $ b P他们在Panther中使用的ython版本是2.3,至少

,直到他们与Tiger一起出现,明年5月,并且从那时起,通常,他们是'b
'对于操作系统升级,将更改



Thanks, your offer is welcome and gladly accepted -- as long as all the
tests keep running under 2.3 just as well, of course. There will be a
lot of 2.3 around for a long time -- for example, Apple isn''t going to
change the Python version they use in Panther, which is 2.3, at least
until they come out with Tiger, say in May next year, and since, as
usual, they''ll change


150左右,很多人将继续运行Panther(因此也是Python 2.3)。等等。


我认为很容易保持几百个测试几乎不变,以避免单独维护它们两个版本,

和支持2.3和2.4,对测试运行的小点进行本地化更改......?

Alex
150 or so for the OS upgrade, many people will
just keep running Panther (and therefore Python 2.3). Etc, etc.

I do assume that it''s easy to keep the hundreds of tests almost
unchanged, to avoid having to maintain them separately in two versions,
and support 2.3 and 2.4 with localized changes to the small spots where
the tests are run...?
Alex


这篇关于gmpy 1.0 for python 2.4 alpha 2 Windows-packaged的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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