Message108579
| Author |
mark.dickinson |
| Recipients |
drkirkby, mark.dickinson |
| Date |
2010年06月25日.07:11:50 |
| SpamBayes Score |
0.00011653928 |
| Marked as misclassified |
No |
| Message-id |
<1277449914.33.0.0468219677556.issue9069@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Did you have a chance to try a debug build of Python and see if the problem persists there?
I'm failing to reproduce this in OpenSolaris 2009.06, running in Parallels on a MacBook Pro (non-debug 32-bit build of Python):
dickinsm@eratosthenes:~/release26-maint$ uname -a
SunOS eratosthenes 5.11 snv_111b i86pc i386 i86pc Solaris
dickinsm@eratosthenes:~/release26-maint$ cat /etc/release
OpenSolaris 2009.06 snv_111b X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 May 2009
dickinsm@eratosthenes:~/release26-maint$ ./python
Python 2.6.5+ (release26-maint:82213, Jun 25 2010, 00:52:22)
[GCC 3.4.3 (csl-sol210-3_4-20050802)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> float.hex(-0.0)
'-0x0.0p+0'
>>> import sys; sys.maxsize
2147483647
The most noticeable difference from the machines you describe here is the compiler. (Did you build gcc 4.4.4 by hand on these machines, or is there a package I can download and install somewhere?)
I'd still like to understand *how* the -c99 compiler option affects copysign; it might help inform a workaround. The library function itself can't know how you compiled Python, surely? Can you work out what's going on from the relevant header files? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月25日 07:11:54 | mark.dickinson | set | recipients:
+ mark.dickinson, drkirkby |
| 2010年06月25日 07:11:54 | mark.dickinson | set | messageid: <1277449914.33.0.0468219677556.issue9069@psf.upfronthosting.co.za> |
| 2010年06月25日 07:11:52 | mark.dickinson | link | issue9069 messages |
| 2010年06月25日 07:11:50 | mark.dickinson | create |
|