Python的浮点数 __str__ 方法的小问题
今天康神发现一个浮点数的问题,一个class里面有两个浮点(double)成x、y,然后return (self返回时,发现输出是(39.210279999999997, 116.34528)而不是希望的(116.345280, 39.210280)。
共28篇文章。
今天康神发现一个浮点数的问题,一个class里面有两个浮点(double)成x、y,然后return (self返回时,发现输出是(39.210279999999997, 116.34528)而不是希望的(116.345280, 39.210280)。
昨天房东说,Py-KQueue在Python 2.5.1上面烂掉了。
今天跑了一下他昨天的两行用例,果然……看代码似乎是因为用了Python 1.5的内存对象API,不知道是谁改的,过分!
如题。Dryice是一位来自山东
目前为止,居住在中国大陆的FreeBSD committer有(按id排序):
林东毅 (clive; ports)
Darren Reed (darrenr; src)
徐逸锋 (davidxu; src)
我 (delphij; src, ports, doc)
刘栋 (dryice; ports)
写了两个小程序,分别实现了RSA和Caesar(rot13)算法。感觉自己写命令行程序UI的能力下降了:(
今天终于尘埃落定了
As title. Eager to see final release.
I have submitted another patch for python-ldap. This time it’s error path.
So Python will release the bugfix release, 2.4.3. Now they have released the RC1 as a release candidate, with more than 50 bugfixes!