Serhiy Storchaka
994f04dbf5
Issue #28998 : More APIs now support longs as well as ints.
2016-12-27 15:09:36 +02:00
Martin Panter
ca56dd4767
Issue #28139 : Fix messed up indentation
...
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 07:54:55 +00:00
Antoine Pitrou
c83ea137d7
Untabify C files. Will watch buildbots.
2010-05-09 14:46:46 +00:00
Thomas Heller
880f529c04
Issue #3313 : Contrary to the man page, a failed dlopen() call does not
...
always set a dlerror() message.
2008-07-15 19:39:38 +00:00
Gregory P. Smith
dd96db63f6
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.
2008-06-09 04:58:54 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Brett Cannon
7595c1a36b
Flesh out the 3.0 deprecation to suggest using the ctypes module.
2008-05-11 01:09:32 +00:00
Brett Cannon
7f874fce63
Deprecate the dl module for removal in 3.0.
2008-05-10 21:20:19 +00:00
Christian Heimes
e93237dfcc
#1629 : Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
2007-12-19 02:37:44 +00:00
Martin v. Löwis
6819210b9e
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
...
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
2007-07-21 06:55:02 +00:00
Neal Norwitz
2a30cd0ef0
Patch #1516912 : improve Modules support for OpenVMS.
2006-07-10 01:18:57 +00:00
Neal Norwitz
047f3c7ffa
Fix some Py_ssize_t issues
2006-06-12 02:06:42 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Mark Hammond
fe51c6d66e
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
...
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
2002-08-02 02:27:13 +00:00
Jeremy Hylton
938ace69a0
staticforward bites the dust.
...
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.
2002-07-17 16:30:39 +00:00
Neal Norwitz
b82d34f91e
Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple
...
Please review for correctness.
2002-03-31 15:43:28 +00:00
Martin v. Löwis
43b936d08c
Patch #477750 : Use METH_ constants in Modules.
2002-01-17 23:15:58 +00:00
Martin v. Löwis
93227275dc
Patch #497126 : Always compile dl.
2002-01-01 20:18:30 +00:00
Guido van Rossum
146483964e
Patch supplied by Burton Radons for his own SF bug #487390 : Modifying
...
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Andrew M. Kuchling
6efc6e7832
Patch #404680 : disables the nis module and enables the dl module when
...
building under Cygwin. Makes some fixes to the dlmodule in order to
compile with Cygwin.
2001-02-27 20:54:23 +00:00
Andrew M. Kuchling
a1a690fa9c
Patch #103926 : fix two warnings from Tru64's compiler
2001-02-22 15:52:55 +00:00
Fred Drake
4747a18ef9
Remove one more gcc -Wall warning.
2000-10-11 21:44:02 +00:00
Martin v. Löwis
df23f33f9b
Add several dl.RTLD_ constants. Closes bug 110842.
2000-09-13 16:26:10 +00:00
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
...
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Thomas Wouters
334fb8985b
Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
...
Leave the actual #define in for API compatibility.
2000-07-25 12:56:38 +00:00