History log of /external/python/cpython2/Include/pyport.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b97001ef46e599642affde61e31abace71486703 15-Aug-2016 Ned Deily <nad@python.org> Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.
/external/python/cpython2/Include/pyport.h
98ba455b9afe3fa78751ecae2e9d29f1ba82e7f7 15-Aug-2016 Ned Deily <nad@python.org> Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.
/external/python/cpython2/Include/pyport.h
e2eacc02bcc9f8977f5f3cea6243f236c508b772 28-Jul-2016 Martin Panter <vadmium+py@gmail.com> Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
/external/python/cpython2/Include/pyport.h
17c50cdac2c35e4f37bc5fd68f24a00d1e7c67a6 02-Dec-2012 Mark Dickinson <dickinsm@gmail.com> Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
/external/python/cpython2/Include/pyport.h
e78f12f7c29d0ac48b5fee86b9afb38012a809e5 19-Nov-2012 Stefan Krah <skrah@bytereef.org> Backport 9dd4638de73b.
/external/python/cpython2/Include/pyport.h
9c0baf72020d8ab452101dd7c447ec61e16a96d6 15-Apr-2012 Mark Dickinson <mdickinson@enthought.com> Issue #13889: On MSVC builds, set FPU control word at runtime for all string <-> float conversions. Patch by Samuel Iseli and Stefan Krah.
/external/python/cpython2/Include/pyport.h
93db23ef2f128abae78101c556675d1f84c8f6e6 14-Sep-2010 Daniel Stutzbach <daniel@stutzbachenterprises.com> Merged revisions 84810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84810 | daniel.stutzbach | 2010-09-14 11:02:01 -0500 (Tue, 14 Sep 2010) | 1 line

Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs
........
/external/python/cpython2/Include/pyport.h
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Include/pyport.h
37805e5c1f082c753f9088e48dc945afdba29779 18-Apr-2010 Ronald Oussoren <ronaldoussoren@mac.com> Fix for issue #7072
/external/python/cpython2/Include/pyport.h
a55af9a9db334fb587f2c6b37ac28ac2463ebf04 17-Jan-2010 Ronald Oussoren <ronaldoussoren@mac.com> - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4

- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
MacOSX.

- Make configure look for util.h as well as libutil.h. The former
is the header file that on OSX contains the defition of openpty.

(Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
/external/python/cpython2/Include/pyport.h
31f0cfef0e2f409d90b67ec5836c217c29be4bb6 28-Nov-2009 Mark Dickinson <dickinsm@gmail.com> Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c. This should silence
compiler warnings about implicit declaration of the 'finite' function
on Solaris.
/external/python/cpython2/Include/pyport.h
845688d0c6e1f2062cadf2aad2b03f88263404d7 18-Nov-2009 Mark Dickinson <dickinsm@gmail.com> Enable short float repr!
/external/python/cpython2/Include/pyport.h
82864d1ab101d971e77b73cac9e994fd09cd796b 15-Nov-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
/external/python/cpython2/Include/pyport.h
f32540703815825d5d81051bd40d5b343ccee1e9 24-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7117: temporarily disable the short float repr while the
pieces are being assembled. To re-enable, define the preprocessor
symbol PY_SHORT_FLOAT_REPR
/external/python/cpython2/Include/pyport.h
1d6e2e1833864238b903325b37d05fef9b794393 24-Oct-2009 Mark Dickinson <dickinsm@gmail.com> Issue #7117 (backport py3k float repr) continued:
- add double endianness detection to configure script
- add configure-time check to see whether we can use inline
assembly to get and set x87 control word in configure script
- add functions to get and set x87 control word in Python/pymath.c
- add pyport.h logic to determine whether it's safe to use the
short float repr or not
/external/python/cpython2/Include/pyport.h
2f865b962cc26366ddd374233ee78ee759e62f68 30-Jun-2009 Mark Dickinson <dickinsm@gmail.com> Issue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
failure on HP-UX 11.00.
/external/python/cpython2/Include/pyport.h
f35f8044e4c2679d4d701fb464be7541a9f33e6d 21-Mar-2009 Mark Dickinson <dickinsm@gmail.com> Rewrite Py_ARITHMETIC_RIGHT_SHIFT so that it's valid for all signed
integer types T, not just those for which "unsigned T" is legal.
/external/python/cpython2/Include/pyport.h
efc82f7e8eff19d8e844a3dc268a88de7fbcb173 20-Mar-2009 Mark Dickinson <dickinsm@gmail.com> Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
/external/python/cpython2/Include/pyport.h
d89f5b20b2e00241eebd8ca592520c429d6f0d4c 09-Jan-2009 Jeffrey Yasskin <jyasskin@gmail.com> Fix issue 4884, preventing a crash in the socket code when python is compiled
with llvm-gcc and run with a glibc <2.10.
/external/python/cpython2/Include/pyport.h
9d53457e599623fbad90833c3448835b42d7e7f9 11-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> Merge in release25-maint r60793:

Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
/external/python/cpython2/Include/pyport.h
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Include/pyport.h
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Include/pyport.h
8c255e4173cfc86ff7015b8f75dccf0d41b24003 23-May-2008 Martin v. Löwis <martin@v.loewis.de> Patch #1722225: Support QNX 6.
/external/python/cpython2/Include/pyport.h
6f34109384f3a78d5f4f8bdd418a89caca19631e 19-Apr-2008 Christian Heimes <christian@cheimes.de> I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.

The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
/external/python/cpython2/Include/pyport.h
951cc0f474e4757e6954f0435952804211c5637c 01-Feb-2008 Christian Heimes <christian@cheimes.de> Fixed bug #1983: Return from fork() is pid_t, not int
/external/python/cpython2/Include/pyport.h
690c91220e06b6e3214c8a8efc214db276967b09 22-Jan-2008 Christian Heimes <christian@cheimes.de> Fixed a missing (X) in define
/external/python/cpython2/Include/pyport.h
487235109bba0cd0b05cb38569a44ea2296c29b0 20-Jan-2008 Christian Heimes <christian@cheimes.de> Fixed a wrong assumption in configure.in and Include/pyport.h. The is finite function is not called isfinite() but finite(). Sorry, my fault. :)
/external/python/cpython2/Include/pyport.h
0a83d79268e9d2b36decc78845cf71baced4ccc6 03-Jan-2008 Christian Heimes <christian@cheimes.de> Some build bots don't compile mathmodule. There is an issue with the long definition of pi and euler
/external/python/cpython2/Include/pyport.h
0a8143f6462b491d3f12bfb899efd6e044e350be 19-Dec-2007 Christian Heimes <christian@cheimes.de> Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).

The patch unifies float("inf") and repr(float("inf")) on all platforms.
/external/python/cpython2/Include/pyport.h
2a71a47c95701c71bc28314fe005e23fe32ddafb 13-Jun-2007 Martin v. Löwis <martin@v.loewis.de> Provide PY_LLONG_MAX on all systems having long long.
Will backport to 2.5.
/external/python/cpython2/Include/pyport.h
9201e7f1a663abc76a4bcd57686c1e966240da64 09-Jun-2007 Martin v. Löwis <martin@v.loewis.de> Provide LLONG_MAX for S390.
/external/python/cpython2/Include/pyport.h
6371cd81775298dfd5dbbffbc172f3e5ddf6b5ea 09-Jun-2007 Martin v. Löwis <martin@v.loewis.de> Patch #1733960: Allow T_LONGLONG to accept ints.
Will backport to 2.5.
/external/python/cpython2/Include/pyport.h
aac1316222c7e4a073af1634f2eef0a872a3dafb 19-Oct-2006 Martin v. Löwis <martin@v.loewis.de> Add check for the PyArg_ParseTuple format, and declare
it if it is supported.
/external/python/cpython2/Include/pyport.h
40e9aed050e4fac881487fcfb125306fce0431d9 02-Oct-2006 Martin v. Löwis <martin@v.loewis.de> Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.
/external/python/cpython2/Include/pyport.h
02743ca0146c2cbedfeb0c05d7f3731fab281575 22-Sep-2006 Neal Norwitz <nnorwitz@gmail.com> Mostly revert this file to the same version as before. Only force setting
of PY_FORMAT_SIZE_T to "l" for Mac OSX. I don't know a better define
to use. This should get rid of the warnings on other platforms and Mac too.
/external/python/cpython2/Include/pyport.h
4a8fbdb1b2172e1954e652be7dda74d188a00fa5 22-Sep-2006 Neal Norwitz <nnorwitz@gmail.com> Fix %zd string formatting on Mac OS X so it prints negative numbers.

In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t. This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time. Need to verify the buildbot results.

Backport candidate (if everyone thinks this patch can't be improved).
/external/python/cpython2/Include/pyport.h
0e8bd7e1ccf7f47bc0bb920af899c77669016d3d 10-Jun-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
/external/python/cpython2/Include/pyport.h
80f8e80c15a784a84f77f4895318d13b831b017e 28-May-2006 Fredrik Lundh <fredrik@pythonware.com> needforspeed: added Py_MEMCPY macro (currently tuned for Visual C only),
and use it for string copy operations. this gives a 20% speedup on some
string benchmarks.
/external/python/cpython2/Include/pyport.h
7a83089c06744dcdd29eb692dbeb51449191ed3f 27-May-2006 Fredrik Lundh <fredrik@pythonware.com> needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-
lining killed performance on certain Intel boxes, and the "aggressive"
macro itself gives most of the benefits on others.
/external/python/cpython2/Include/pyport.h
57640f5c575ce284b041595c238f8ac615f1618d 26-May-2006 Fredrik Lundh <fredrik@pythonware.com> needforspeed: added PY_LOCAL_AGGRESSIVE macro to enable "aggressive"
LOCAL inlining; also added some missing whitespace
/external/python/cpython2/Include/pyport.h
95e2a916158860f76539d36b9fe9e1688cb85aac 26-May-2006 Fredrik Lundh <fredrik@pythonware.com> use Py_LOCAL also for string and unicode objects
/external/python/cpython2/Include/pyport.h
b8b3c8e276b7f0d2004bc5c7b7ca6d652c0b9327 26-May-2006 Fredrik Lundh <fredrik@pythonware.com> needforspeed: added Py_LOCAL macro, based on the LOCAL macro used
for SRE and others. applied Py_LOCAL to relevant portion of ceval,
which gives a 1-2% speedup on my machine. ymmv.
/external/python/cpython2/Include/pyport.h
44aa9f7139bb6e05756ca156a00ca2952761fe7e 25-May-2006 Kristján Valur Jónsson <kristjan@ccpgames.com> Fix incorrect documentation for the Py_IS_FINITE(X) macro.
/external/python/cpython2/Include/pyport.h
cc1ecf4d6d97431fe3e1060567afea9d1449b574 25-May-2006 Andrew M. Kuchling <amk@amk.ca> Fix another typo
/external/python/cpython2/Include/pyport.h
1d2576dbf07e50242cb8eb2362e2289691e80915 25-May-2006 Andrew M. Kuchling <amk@amk.ca> Fix comment typos
/external/python/cpython2/Include/pyport.h
f94323fbb4e83b756b1f328f06a1615d8c366c20 25-May-2006 Kristján Valur Jónsson <kristjan@ccpgames.com> Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms
/external/python/cpython2/Include/pyport.h
a43190bc789bebfef15fb2b82f94a19a6bc80000 22-May-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1492356: Port to Windows CE (patch set 1).
/external/python/cpython2/Include/pyport.h
3b1c01d4b696e2e4c94b6abccd603c617f9b095a 05-Apr-2006 Tim Peters <tim.peters@gmail.com> Fixed error in comment for new PY_SSIZE_T_MIN.
/external/python/cpython2/Include/pyport.h
c48c8db110fd5e3b1f8574e8e52f85d11d4c4fd4 05-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Add PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve.
/external/python/cpython2/Include/pyport.h
c7403ed183842503f24b36a82980d128db64d2d6 01-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> Add a clause to the PY_FORMAT_SIZE_T to stop warnings on 32 bit intel
linux with gcc 4.0.2, after talking to Tim.
<ymmit> But it won't break anything anywhere, so don't worry :-)
/external/python/cpython2/Include/pyport.h
f303261cf036b4e4d78281a9639e2441e0b644f1 22-Mar-2006 Hye-Shik Chang <hyeshik@gmail.com> Remove false information from the comment and reformat it like other
comments in the file. (SF #1455641)
/external/python/cpython2/Include/pyport.h
3dd8be414eb00700965428902e12c073ab97728f 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Get Py_DEPRECATED to work with gcc 4.x too
/external/python/cpython2/Include/pyport.h
ae1d0c978dbf8327f1193ab2f36323393efd5eb6 17-Mar-2006 Tim Peters <tim.peters@gmail.com> Introduced symbol PY_FORMAT_SIZE_T. See the new comments
in pyport.h. Changed PyString_FromFormatV() to use it
instead of inlining its own maze of #if'ery.
/external/python/cpython2/Include/pyport.h
2d65b5542bf788b0da29194f49c4458d9d9fdf24 18-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Fix intptr_t fallback for Py_ssize_t.
/external/python/cpython2/Include/pyport.h
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython2/Include/pyport.h
358d938aaa5320385d1a1f2e5a9d1fc82f8cf9c2 21-Oct-2005 Neal Norwitz <nnorwitz@gmail.com> Remove INT_MIN that came from the AST merge.
INT_MIN is used in Python/compile.c, but it was also used
in Objects/abstract.c Python/getargs.c. If we need it for compile.c,
we can get it from the same place as the other files.
/external/python/cpython2/Include/pyport.h
3e0055f8c65c407e74ce476b8e2b1fb889723514 20-Oct-2005 Jeremy Hylton <jeremy@alum.mit.edu> Merge ast-branch to head

This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
/external/python/cpython2/Include/pyport.h
539c662f10b41d15f658cabfa03cc02902862adc 14-Sep-2005 Guido van Rossum <guido@python.org> - Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
/external/python/cpython2/Include/pyport.h
862f0593d8e8c7cd510b598296c73b25168d0472 23-Sep-2004 Tim Peters <tim.peters@gmail.com> Introduced a Py_IS_NAN macro, which probably works on the major platforms
today. pyconfig.h can override it if not, and can also override
Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now
for Microsoft compilers, using efficient MS-specific spellings.
/external/python/cpython2/Include/pyport.h
b5047fd01948ab108edcc1b3c2c901d915814cfd 04-Aug-2004 Hye-Shik Chang <hyeshik@gmail.com> Add a workaround for a problem that UTF-8 strings can be corrupted
or broken by basic ctype functions in 4.4BSD descendants. This
will be fixed in their future development branches but they'll keep
the POSIX-incompatibility for their backward-compatiblities in near
future.
/external/python/cpython2/Include/pyport.h
9ba301e589b47af776294804240cc10e08e38498 15-Jul-2004 Nicholas Bastin <nick.bastin@gmail.com> Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.
/external/python/cpython2/Include/pyport.h
77d9a3effa21b8987ceac26d67ad676e1c5afb49 22-Mar-2004 Hye-Shik Chang <hyeshik@gmail.com> Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.
This fixes a problem that math.sqrt(-1) doesn't raise math.error.
/external/python/cpython2/Include/pyport.h
7befb9966e1435475a9d2e9d3cc3670564ce77aa 10-Feb-2004 Skip Montanaro <skip@pobox.com> remove support for missing ANSI C header files (limits.h, stddef.h, etc).
/external/python/cpython2/Include/pyport.h
ce59c04127cb82127e247f5e986b07cbb6c39c61 17-Jan-2004 Skip Montanaro <skip@pobox.com> Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
/external/python/cpython2/Include/pyport.h
83dd43fde1f84fd6acb8388979813eebdea1a05c 30-Sep-2003 Anthony Baxter <anthonybaxter@gmail.com> workaround for OpenBSD compiler bug w.r.t. handling of overflows.
/external/python/cpython2/Include/pyport.h
6bc06eca70f4c41f01bca5f39d54ff5f71a39092 04-Sep-2003 Jason Tishler <jason@tishler.net> Bug #794140: cygwin builds do not embed

The embed2.diff patch solves the user's problem by exporting the missing
symbols from the Python core so Python can be embedded in another Cygwin
application (well, at lest vim).
/external/python/cpython2/Include/pyport.h
3076559ea5d36d9795edc32e2fae7949b875d7ef 04-Sep-2003 Jason Tishler <jason@tishler.net> This patch enables the building of Cygwin Python with a static core
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e., 20030901-1) which can export symbols from
executables:

http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html

Additionally, it finally lays to rest the following mailing list
subthread:

http://mail.python.org/pipermail/python-list/2002-May/102500.html

I tested the patch under Red Hat Linux 8.0 too
/external/python/cpython2/Include/pyport.h
a94568a7535de60f1144e4eea0d027b87017a4b4 10-May-2003 Martin v. Löwis <martin@v.loewis.de> Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
/external/python/cpython2/Include/pyport.h
b9a0f9121876cbc728cbef88f16bb32b92712d2d 29-Mar-2003 Martin v. Löwis <martin@v.loewis.de> Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
/external/python/cpython2/Include/pyport.h
f163d10fbe5d90aace7325400c3d597ed6c9e62a 10-Feb-2003 Michael W. Hudson <mwh@python.net> Make comments agree with code (I think).
/external/python/cpython2/Include/pyport.h
fb8595df4f9583ab9e83826cd782e0c18ba9cffa 06-Jan-2003 Jason Tishler <jason@tishler.net> Patch #661760: Cygwin auto-import module patch

The attached patch enables shared extension
modules to build cleanly under Cygwin without
moving the static initialization of certain function
pointers (i.e., ones exported from the Python
DLL core) to a module initialization function.

Additionally, this patch fixes the modules that
have been changed in the past to accommodate
Cygwin.
/external/python/cpython2/Include/pyport.h
4643bd9a9cf43332992d10982c52debf3f0d980c 28-Dec-2002 Tim Peters <tim.peters@gmail.com> Apparently FreeBSD enables some HW floating-point exceptions by default.
This can cause core dumps when Python runs. Python relies on the 754-
(and C99-) mandated default "non-stop" mode for FP exceptions. This
patch from Ben Laurie disables at least one FP exception on FreeBSD at
Python startup time.
/external/python/cpython2/Include/pyport.h
93344ab0365c4b55ef895c9fd3873dd06690ca00 19-Dec-2002 Neal Norwitz <nnorwitz@gmail.com> Update/correct comment
/external/python/cpython2/Include/pyport.h
802926482ca55342316c315ed3d20e9a2f7087b7 19-Dec-2002 Neal Norwitz <nnorwitz@gmail.com> Provide mechanism to deprecate functions, types, and struct members.
It would be nice to support other compilers besides gcc.
/external/python/cpython2/Include/pyport.h
96aa0acef021f77d6e5b861201ccd952aa6f6469 15-Sep-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC
might use __attribute__ in other ways (e.g. CodeWarrior).
/external/python/cpython2/Include/pyport.h
a2905273766bbbebb87274c87b62772cdfaeb180 29-Jul-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
also adds 'extern' to PyAPI_DATA rather than at each declaration, as
discussed with Tim and Guido.
/external/python/cpython2/Include/pyport.h
8235ea1c3a5c57c9279668b5bff3d5f021ceb2d5 19-Jul-2002 Mark Hammond <mhammond@skippinet.com.au> Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
/external/python/cpython2/Include/pyport.h
1de41bfbc0afadc0b1fa2f4076b54385fa5b33ba 03-Jul-2002 Tim Peters <tim.peters@gmail.com> Stop trying to cater to platforms with a broken HUGE_VAL definition. It
breaks other platforms (in this case, the hack for broken Cray systems in
turn caused failure on a Mac system broken in a different way).
/external/python/cpython2/Include/pyport.h
bc48826dc2fdcf53a837dbf6c35eff4ab69d08bf 04-Jun-2002 Jason Tishler <jason@tishler.net> Patch #555929: Cygwin AH_BOTTOM cleanup patch (*** version 2 ***)

This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.
/external/python/cpython2/Include/pyport.h
1e1fcef756dbec60c9062462b46777ffc2a0594e 15-May-2002 Martin v. Löwis <martin@v.loewis.de> Back out #555929
/external/python/cpython2/Include/pyport.h
eadb6bb3c5203ff8024b37cddf2787defd02df4c 15-May-2002 Jason Tishler <jason@tishler.net> Patch #555929: Cygwin AH_BOTTOM cleanup patch

This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.
/external/python/cpython2/Include/pyport.h
af3e8de580ba756e820171253a5b580318914b79 12-Apr-2002 Tim Peters <tim.peters@gmail.com> First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with
PyMem_{Del, DEL} doesn't work yet (compilation problems).

pyport.h: _PyMem_EXTRA is gone.

pmem.h: Repaired comments. PyMem_{Malloc, MALLOC} and
PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when
asking for 0 bytes, and when passing a NULL pointer to the latter.

object.c: PyMem_{Malloc, Realloc} just call their macro versions
now, since the latter take care of the x-platform 0 and NULL stuff
by themselves now.

pypcre.c, grow_stack(): So sue me. On two lines, this called
PyMem_RESIZE to grow a "const" area. It's not legit to realloc a
const area, so the compiler warned given the new expansion of
PyMem_RESIZE. It would have gotten the same warning before if it
had used PyMem_Resize() instead; the older macro version, but not the
function version, silently cast away the constness. IMO that was a wrong
thing to do, and the docs say the macro versions of PyMem_xyz are
deprecated anyway. If somebody else is resizing const areas with the
macro spelling, they'll get a warning when they recompile now too.
/external/python/cpython2/Include/pyport.h
8ab04b4d65586829887822a78d038a33ee7a69fd 11-Apr-2002 Jack Jansen <jack.jansen@cwi.nl> Got rid of ifdefs for long-obsolete GUSI versions.
/external/python/cpython2/Include/pyport.h
dc5a508761d7260bc863a2f3068723c298336382 09-Mar-2002 Tim Peters <tim.peters@gmail.com> SF bug 525705: [2.2] underflow raise OverflowException.
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.
/external/python/cpython2/Include/pyport.h
a5d78cc208c24be62b50b6d1540e03be6612d3f2 02-Mar-2002 Tim Peters <tim.peters@gmail.com> Whether platform malloc(0) returns NULL has nothing to do with whether
platform realloc(p, 0) returns NULL, so MALLOC_ZERO_RETURNS_NULL can
be correctly undefined yet realloc(p, 0) can return NULL anyway.

Prevent realloc(p, 0) doing free(p) and returning NULL via a different
hack. Would probably be better to get rid of MALLOC_ZERO_RETURNS_NULL
entirely.

Bugfix candidate.
/external/python/cpython2/Include/pyport.h
5e090fc98525308d2a86eaf5c535c3c2ba1a644c 26-Feb-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port changes (Include part of patch #450267):
Include/
osdefs.h // EMX promotes Un*x path separators
pyport.h
/external/python/cpython2/Include/pyport.h
4892f2406f8cc3527bf0620c4a78f11d909afe8a 01-Feb-2002 Jack Jansen <jack.jansen@cwi.nl> Got rid of a few more NeXT ifdefs. The last, I think.
/external/python/cpython2/Include/pyport.h
10a3bb53a868a5f5b08338fc7c3487d955220488 25-Dec-2001 Tim Peters <tim.peters@gmail.com> SF bug #495548: troublesome #define in pyport.h
Removed the ancient "#define ANY void".

Bugfix candidate? Hard call. The bug report claims the existence of
this #define creates conflicts with other packages, which is easy to
believe. OTOH, some extension authors may still be relying on its
presence. I'm afraid you can't win on this one.
/external/python/cpython2/Include/pyport.h
bd67d6f32c813eb3c17a07d305db7004c2dcee0a 27-Oct-2001 Guido van Rossum <guido@python.org> SF patch #475657 (Dietmar Schwertberger)

RISCOS/Makefile:
include structseq and weakrefobject;
changes to keep command line length below 2048

RISCOS/Modules/riscosmodule.c:
typos from the stat structseq patch

Include/pyport.h:
don't re-#define __attribute__(__x) on RISC OS as it is already defined in c library
/external/python/cpython2/Include/pyport.h
e2ae77b8b8a62e648bb1864a9b36ef3280984404 24-Oct-2001 Guido van Rossum <guido@python.org> SF patch #474590 -- RISC OS support
/external/python/cpython2/Include/pyport.h
156910851e31d4e7f8d1441a3b05a44b31349adf 23-Oct-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Hide GCC attributes fom compilers that don't support them.
/external/python/cpython2/Include/pyport.h
092a7a80fd95b6f347b53779066af3319d3669f8 01-Oct-2001 Tim Peters <tim.peters@gmail.com> SF patch [#466353] Py_HUGE_VAL on BeOS for Intel.
The patch repaired internal gcc compiler errors on BeOS.
This checkin repairs them in a simpler way, by explicitly casting the
platform INFINITY to double.
/external/python/cpython2/Include/pyport.h
a40c793d06ee2b42a5013015352616b4ca6b288b 06-Sep-2001 Tim Peters <tim.peters@gmail.com> Rework the way we try to check for libm overflow, given that C99 no longer
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.
/external/python/cpython2/Include/pyport.h
d893fd68bd8a7be8e0ceb17e3b9ea810de5820e0 05-Sep-2001 Tim Peters <tim.peters@gmail.com> Repair indentation.
/external/python/cpython2/Include/pyport.h
57f282a2a06c01417abec74926e770fb12f95610 05-Sep-2001 Tim Peters <tim.peters@gmail.com> Try to recover from that glibc's ldexp apparently doesn't set errno on
overflow. Needs testing on Linux (test_long.py and test_long_future.py
especially).
/external/python/cpython2/Include/pyport.h
79248aa1e4a8f6510b1f0ef95dc9592d51e16d6c 29-Aug-2001 Tim Peters <tim.peters@gmail.com> SF bug [#456252] Python should never stomp on [u]intptr_t.
pyport.h: typedef a new Py_intptr_t type.
DELICATE ASSUMPTION: That HAVE_UINTPTR_T implies intptr_t is
available as well as uintptr_t. If that turns out not to be
true, things must get uglier (C99 wants both, so I think it's
an assumption we're *likely* to get away with).
thread_nt.h, PyThread_start_new_thread: MS _beginthread is documented
as returning unsigned long; no idea why uintptr_t was being used.
Others: Always use Py_[u]intptr_t, never [u]intptr_t directly.
/external/python/cpython2/Include/pyport.h
8a267b62cca321b4166ff8dab8338a51ce6f001a 08-Aug-2001 Tim Peters <tim.peters@gmail.com> Remove 6-year old hack to worm around a bug in "NextSpec/Sparc 3.3
pre-release limits.h".
/external/python/cpython2/Include/pyport.h
f9836ba4fea66d74fc2afddc434a147265a9caa7 08-Aug-2001 Martin v. Löwis <martin@v.loewis.de> Put conditional S_ISDIR definition(s) into pyport.h.
/external/python/cpython2/Include/pyport.h
f249addeed730cd669fc9dde579e8f63e44e9c5d 07-Aug-2001 Jack Jansen <jack.jansen@cwi.nl> Got rid of (hopefully) the last 68k-mac related ifdefs.
/external/python/cpython2/Include/pyport.h
76f373d081a38ed49d56540298123bd1e0bcd0cd 26-Jul-2001 Tim Peters <tim.peters@gmail.com> Repair more now-obsolete references to config.h.
/external/python/cpython2/Include/pyport.h
4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f 26-Jul-2001 Martin v. Löwis <martin@v.loewis.de> Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
/external/python/cpython2/Include/pyport.h
58e0a8c13015627b5cd4abff6563bef02532596c 15-May-2001 Tim Peters <tim.peters@gmail.com> SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
/external/python/cpython2/Include/pyport.h
76b642d28a82847b583c683d17954754c225bc5f 22-Jan-2001 Thomas Wouters <thomas@python.org> Remove include-file-dependant half-prototype of clnt_create().
/external/python/cpython2/Include/pyport.h
e75e6d06d2e94551ceb0c2bf8219bce9621f46d0 22-Jan-2001 Thomas Wouters <thomas@python.org> Move declaration of 'clnt_create()' NIS function to pyport.h, as it's
supposed to be declared in system include files (with a proper prototype.)
Should be moved to a platform-specific block if anyone finds out which
broken platforms need it :-)
/external/python/cpython2/Include/pyport.h
60f42b50d894d3c9798c50e063ae758a1a5987a2 18-Jan-2001 Tim Peters <tim.peters@gmail.com> Move distributed and duplicated config for stat() and fstat() into pyport.h.
/external/python/cpython2/Include/pyport.h
234fb632a376622ddf8b7c3fd600b9b434e21b14 12-Jan-2001 Andrew M. Kuchling <amk@amk.ca> Change LONG_BIT error warning to mention glibc, too, since this is really
a glibc, not a gcc, problem.
/external/python/cpython2/Include/pyport.h
77317ca7dc4d4267c2c23b3825ba95c3978c9cdd 05-Oct-2000 Marc-André Lemburg <mal@egenix.com> Added Py_FPROTO macro which was available in Python 1.5.x and below.
This should not be used for new code, but will probably make porting
old extensions to 2.0 a lot easier.

Also see Bug #116011.
/external/python/cpython2/Include/pyport.h
d57731f74bdaaf6bb5ce190b5ccebadad218ed2b 05-Oct-2000 Tim Peters <tim.peters@gmail.com> Move LONG_BIT from intobject.c to pyport.h. #error if it's already been
#define'd to an unreasonable value (several recent gcc systems have
misdefined it, causing bogus overflows in integer multiplication). Nuke
CHAR_BIT entirely.
/external/python/cpython2/Include/pyport.h
d5fadf75e4d18df61db41205ace0cda28d98eeaa 26-Sep-2000 Fred Drake <fdrake@acm.org> Rationalize use of limits.h, moving the inclusion to Python.h.
Add definitions of INT_MAX and LONG_MAX to pyport.h.
Remove includes of limits.h and conditional definitions of INT_MAX
and LONG_MAX elsewhere.

This closes SourceForge patch #101659 and bug #115323.
/external/python/cpython2/Include/pyport.h
4826a894c5afa6f8b61d2b94c5a8b07588cb692a 10-Sep-2000 Tim Peters <tim.peters@gmail.com> Close SF bug 110826: a complaint about the way Python #define'd NULL.
It's hard to sort out what the bug was, exactly. So, Big Hammer:

1. Python shouldn't be in the business of #define'ing NULL, period.
2. Users of the Python C API shouldn't be in the business of not including
Python.h, period.

Hence:

1. Removed all #define's of NULL in Python source code (pyport.h and
object.h).
2. Since we're *relying* on stdio.h defining NULL, put an #error in
Python.h after its #include of stdio.h if NULL isn't defined then.
/external/python/cpython2/Include/pyport.h
1a2eefdc4f92cfd4ddb50ac36bf8d0779e330123 08-Sep-2000 Tim Peters <tim.peters@gmail.com> A #define didn't start in column 1. Closes SF bug 113888.
/external/python/cpython2/Include/pyport.h
e2bf7e63d6ae8855eef6858551356046169ddfcd 08-Sep-2000 Vladimir Marangozov <vladimir.marangozov@t-online.de> Add missing Py_PROTO macro for backward compatibility with old extensions
(sources) which may still use it and now fail to compile.
Reported by M-A Lemburg. Closes [ Bug #113576 ].
/external/python/cpython2/Include/pyport.h
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Include/pyport.h
fd847b23e64180d117af44e51eeb03b61e2f04d2 18-Aug-2000 Barry Warsaw <barry@python.org> Moved LONG_LONG #define from longobject.h to here, since it's needed
by the following.

typedef in a portable way the Python name for the C9X uintptr_t type.
This latter is the most portable way to spell an integral type to
which a void* can be cast to and back again without losing
information. Parallel checkin hacks configure to check if the
platform/compiler supports the C9X name.
/external/python/cpython2/Include/pyport.h
39dce29365d287dc6b353b2a527dc11fe58dcfa6 15-Aug-2000 Tim Peters <tim.peters@gmail.com> Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470.
This was a misleading bug -- the true "bug" was that hash(x) gave an error
return when x is an infinity. Fixed that. Added new Py_IS_INFINITY macro to
pyport.h. Rearranged code to reduce growing duplication in hashing of float and
complex numbers, pushing Trent's earlier stab at that to a logical conclusion.
Fixed exceedingly rare bug where hashing of floats could return -1 even if there
wasn't an error (didn't waste time trying to construct a test case, it was simply
obvious from the code that it *could* happen). Improved complex hash so that
hash(complex(x, y)) doesn't systematically equal hash(complex(y, x)) anymore.
/external/python/cpython2/Include/pyport.h
2c57e076fe7653e38fb0a52679bb3ac219793143 11-Aug-2000 Vladimir Marangozov <vladimir.marangozov@t-online.de> #include reordering so that extern "C" does not interfere with
standard C++ specific includes.

Closes patch 101061.
/external/python/cpython2/Include/pyport.h
10e1bf2f64b77f3a71157c72de19265870cdeb5f 10-Aug-2000 Peter Schneider-Kamp <nowonder@nowonder.de> remove all occurence of math.rint() from the sources

(and yes, "Currintly" also counts <0.5 wink>)
/external/python/cpython2/Include/pyport.h
367e46a9432c2dd0c11e74526fd26b10ef57dad7 01-Aug-2000 Guido van Rossum <guido@python.org> Of course, you meant "#if 0" and not "#ifdef 0". :)
/external/python/cpython2/Include/pyport.h
1c2b178cebfe45bb832a33a8a87c9899365d0b4f 01-Aug-2000 Peter Schneider-Kamp <nowonder@nowonder.de> Guido said this is food for the beta-testers<wink>
/external/python/cpython2/Include/pyport.h
25f68944c20a3a37da6776277057c2d19a80211f 01-Aug-2000 Peter Schneider-Kamp <nowonder@nowonder.de> patch from Vladimir (move Py_Mem* interface to Include/pymem.h)
/external/python/cpython2/Include/pyport.h
7e018909862a3fe6c571bbb7143f4ffb18ae834c 31-Jul-2000 Peter Schneider-Kamp <nowonder@nowonder.de> merge Include/my*.h into Include/pyport.h

marked my*.h as obsolete
/external/python/cpython2/Include/pyport.h
0765fe3a053a67f52fedbe8e9adb8410cb931957 26-Jul-2000 Sjoerd Mullender <sjoerd@acm.org> Make mode_t available for the declaration of _getpty().
/external/python/cpython2/Include/pyport.h
1e0c2f4bee43728930bd5f4dc77283f09c4ba004 24-Jul-2000 Thomas Wouters <thomas@python.org> Create a new section of pyport.h to hold all external function declarations
for systems that are missing those declarations from system include files.
Start by moving a pointy-haired ones from their previous locations to the
new section.

(The gethostname() one, for instance, breaks on several systems, because
some define it as (char *, size_t) and some as (char *, int).)

I purposely decided not to include the summary of used #defines like Tim did
in the first section of pyport.h. In my opinion, the number of #defines
likedly to be used by this section would make such an overview unwieldy. I
would suggest documenting the non-obvious ones, though.
/external/python/cpython2/Include/pyport.h
4f1b2081e9dde910048ef679f5afe252023a4031 23-Jul-2000 Tim Peters <tim.peters@gmail.com> Removed all instances of RETSIGTYPE from the source code: signal
handlers "return void", according to ANSI C.
Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro.
Left RETSIGTYPE in the config stuff, because it's not clear to
me that others aren't relying on it (e.g., extension modules).
/external/python/cpython2/Include/pyport.h
8315ea579046727bb234dc4692ca28c8514eacbe 23-Jul-2000 Tim Peters <tim.peters@gmail.com> Included assert.h in Python.h -- it's absurd that this basic tool of
good C practice hasn't been available to everything all along.
Added Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) macro to pyport.h; this
just casts VALUE from type WIDE to type NARROW, but assert-fails if
Py_DEBUG is defined and info is lost due to casting.
Replaced a line in Fredrik's fix to marshal.c to use the new macro.
/external/python/cpython2/Include/pyport.h
1be46844d9c858a21021e2c3ad0ef9bbee64d9e0 23-Jul-2000 Tim Peters <tim.peters@gmail.com> Recent ANSIfication introduced a couple instances of
#if RETSIGTYPE != void
That isn't C, and MSVC properly refuses to compile it.
Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h
to expand to the correct thing based on RETSIGTYPE. However,
only void is ANSI! Do we still have platforms that return int?
The Unix config mess appears to #define RETSIGTYPE by magic
without being asked to, so I assume it's "a problem" across
Unices still.
/external/python/cpython2/Include/pyport.h
14a4d88a2eb576f66573bbae3db46065e26bccd2 10-Jul-2000 Vladimir Marangozov <vladimir.marangozov@t-online.de> Remove the "1" that Tim sticked to the preprocessor symbol for unknown reasons
(cf. the rest of the headers in the distribution)
/external/python/cpython2/Include/pyport.h
7d3a511a40a8c90eac66d3d59edbbe3c3d4559b1 08-Jul-2000 Tim Peters <tim.peters@gmail.com> Cray J90 fixes for long ints.
This was a convenient excuse to create the pyport.h file recently
discussed!
Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a
signed int and you *need* sign-extension. This is #define'd in
pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS.
If you're running on a platform that needs that symbol #define'd,
the std tests never would have worked for you (in particular,
at least test_long would have failed).
The autoconfig stuff got added to Python after my Unix days, so
I don't know how that works. Would someone please look into doing
& testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS
symbol? It needs to be defined if & only if, e.g., (-1) >> 3 is
not -1.
/external/python/cpython2/Include/pyport.h