<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/cmathmodule.c, branch 2.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cmathmodule.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cmathmodule.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-08-02T02:27:13Z</updated>
<entry>
<title>Excise DL_EXPORT/DL_IMPORT from Modules/*.  Required adding a prototype</title>
<updated>2002-08-02T02:27:13Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-02T02:27:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc'/>
<id>urn:sha1:fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc</id>
<content type='text'>
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
</content>
</entry>
<entry>
<title>staticforward bites the dust.</title>
<updated>2002-07-17T16:30:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-17T16:30:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=938ace69a0e112424a2f426a4881d1fd1fc922d2'/>
<id>urn:sha1:938ace69a0e112424a2f426a4881d1fd1fc922d2</id>
<content type='text'>
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the PyModule_*() API instead of manipulating the module dictionary</title>
<updated>2002-04-01T03:45:06Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-04-01T03:45:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4e3484692096260e0ea030f4f3490204fb966c6'/>
<id>urn:sha1:f4e3484692096260e0ea030f4f3490204fb966c6</id>
<content type='text'>
directly.
</content>
</entry>
<entry>
<title>SF bug 525705:  [2.2] underflow raise OverflowException.</title>
<updated>2002-03-09T04:58:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-03-09T04:58:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dc5a508761d7260bc863a2f3068723c298336382'/>
<id>urn:sha1:dc5a508761d7260bc863a2f3068723c298336382</id>
<content type='text'>
Another year in the quest to out-guess random C behavior.

Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y).  The latter
is useful for functions with complex results.  Two corrections to errno-
after-libm-call are attempted:

1. If the platform set errno to ERANGE due to underflow, clear errno.
   Some unknown subset of libm versions and link options do this.  It's
   allowed by C89, but I never figured anyone would do it.

2. If the platform did not set errno but overflow occurred, force
   errno to ERANGE.  C89 required setting errno to ERANGE, but C99
   doesn't.  Some unknown subset of libm versions and link options do
   it the C99 way now.

Bugfix candidate, but hold off until some Linux people actually try it,
with and without -lieee.  I'll send a help plea to Python-Dev.
</content>
</entry>
<entry>
<title>Revert parts of patch #453627, documenting the resulting test failures</title>
<updated>2001-09-06T08:16:17Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-09-06T08:16:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=387c547fd38d321e42bf202c166e9403e7ee9b61'/>
<id>urn:sha1:387c547fd38d321e42bf202c166e9403e7ee9b61</id>
<content type='text'>
instead.
</content>
</entry>
<entry>
<title>Rework the way we try to check for libm overflow, given that C99 no longer</title>
<updated>2001-09-05T22:36:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-05T22:36:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a40c793d06ee2b42a5013015352616b4ca6b288b'/>
<id>urn:sha1:a40c793d06ee2b42a5013015352616b4ca6b288b</id>
<content type='text'>
requires that errno ever get set, and it looks like glibc is already
playing that game.  New rules:

+ Never use HUGE_VAL.  Use the new Py_HUGE_VAL instead.

+ Never believe errno.  If overflow is the only thing you're interested in,
  use the new Py_OVERFLOWED(x) macro.  If you're interested in any libm
  errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts
  to set errno the way C89 said it worked.

Unfortunately, none of these are reliable, but they work on Windows and I
*expect* under glibc too.
</content>
</entry>
<entry>
<title>Patch #453627: Define the following macros when compiling on a UnixWare 7.x system:</title>
<updated>2001-09-05T14:45:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-09-05T14:45:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=655c9557f6e0da64527cb6f97da65d4b59232c29'/>
<id>urn:sha1:655c9557f6e0da64527cb6f97da65d4b59232c29</id>
<content type='text'>
SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES.
Work aroudn a bug in the SCO UnixWare atan2() implementation.
</content>
</entry>
<entry>
<title>asin micro-optimization suggested in email.</title>
<updated>2001-02-22T19:51:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-22T19:51:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c8e1f0654f26765c89753bede75be9f3132e11e'/>
<id>urn:sha1:1c8e1f0654f26765c89753bede75be9f3132e11e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug #133297:  cmath.asin is the same as cmath.asinh.</title>
<updated>2001-02-21T03:22:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-21T03:22:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=edf2210221f2803dfea62493ebff5eafd5cbc851'/>
<id>urn:sha1:edf2210221f2803dfea62493ebff5eafd5cbc851</id>
<content type='text'>
The bug report title isn't correct, but was on the right track.
Rev 2.13 applied a patch intended to improve asinh and acosh, but the
author mistakenly replaced the body of asin with their new code for asinh.
See bug report for all the gory details.
This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh
function; and, (b) repairs asin via what Abramowitz &amp; Stegun say it should
be (which is probably the same as what 2.12 did for asin, although I got
tired of matching parentheses before being 100% sure of that -- and I don't
care!  The source of the old code is a mystery, and I *know* why I picked
the new code.).
</content>
</entry>
</feed>
