I don't have an AMD CPU.  But I do have a bit of an odd-ball CPU from
VIA.  Not sure if that even was the affected machine, though.

$ grep -E "name|flags" /proc/cpuinfo
model name      : VIA Samuel
flags           : fpu de tsc msr mce cx8 mtrr pge mmx 3dnow up

I was unable to reproduce this today on the VIA-machine running hardy as
well as a trusty more conventional laptop.  Output was identical in both
cases, not showing NaN.

$ python
Python 2.6.5 (r265:79063, Feb 27 2014, 19:44:14) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycurl
>>> def geturl(url):
...   curl=pycurl.Curl()
...   curl.setopt(pycurl.URL,url)
...   curl.perform()
...   print
...   print "before:", 1.0/2, 1.0/2
...   curl.close()
...   print "after:", 1.0/2, 1.0/2
... 
>>> geturl("https://launchpad.net/api/";)
Object: <lp.services.webapp.servers.WebServiceClientRequest instance 
URL=https://launchpad.net>, name: ''
before: 0.5 0.5
after: 0.5 0.5

Feel free to close as fixed, if you ask me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1063350

Title:
  curl corrupts floating point context

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/1063350/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to