Guido van Rossum
2e19bd7cc7
Add Greg Stein's buffer object API.
1998-10-07 14:36:10 +00:00
Guido van Rossum
b7c61318d8
Up version to 1.5a2 -- we're close enough (even though I'm still
...
expecting some contributions).
1998-10-02 03:17:29 +00:00
Guido van Rossum
6e5b301b02
Renamed thread.h to pythread.h.
1998-10-01 20:59:37 +00:00
Guido van Rossum
2c69336507
On second though, NEXITFUNCS should be defined in pythonrun.c and not
...
here; pystate.h doesn't use it (I thought I wanted to move the array
there but that won't work).
1998-10-01 16:02:31 +00:00
Guido van Rossum
03dc5384d7
Move the #include of <sys/select> to *after* mytime.h (or <time.h>),
...
as this is the logical order of dependencies. Suggested by Jeff Rush.
1998-09-28 22:05:22 +00:00
Guido van Rossum
78694d970f
Patches from Greg Stein to support 'P' format in struct module's
...
native format, as void* (translated to Python int or long).
Also adds PyLong_FromVoidPtr and PyLong_AsVoidPtr to longobject.c.
1998-09-18 14:14:13 +00:00
Guido van Rossum
1d2e9d19fe
Duplicate the decls for PySys_WriteStd{out,err} here so the VC++
...
compiler doesn't grumble. Greg Stein's suggestion.
1998-09-17 14:00:22 +00:00
Guido van Rossum
3293b07df5
Patch by Mark Hammond to support 64-bit ints on MS platforms.
...
The MS compiler doesn't call it 'long long', it uses __int64,
so a new #define, LONG_LONG, has been added and all occurrences
of 'long long' are replaced with it.
1998-08-25 16:07:15 +00:00
Guido van Rossum
f1536db2e7
Move an indented #define to column 1.
1998-08-23 22:06:59 +00:00
Guido van Rossum
3d109a0e6d
Add missing prototypes for PyEval_CallFunction() and PyEval_CallMethod().
1998-08-08 20:53:36 +00:00
Guido van Rossum
b2395ebd51
Upgrade patchlevel to 1.5.2a1.
1998-08-05 21:16:18 +00:00
Guido van Rossum
1a8791e0b8
Changes for BeOS, QNX and long long, by Chris Herborth.
1998-08-04 22:46:29 +00:00
Barry Warsaw
62a21a2ebe
New global variables: PyExc_EnvironmentError and PyExc_OSError
...
New function: PyErr_SetFromErrnoWithFilename(PyObject* char*)
1998-07-23 15:57:34 +00:00
Guido van Rossum
ba0d0611e7
Add macros for direct access to the members of CFunction objects.
1998-07-10 15:47:08 +00:00
Guido van Rossum
d4ba73c75b
Move the definition of PyMethodObject to classobject.h, so it can define
...
macros for more efficient access to the fields.
1998-07-10 15:46:33 +00:00
Guido van Rossum
9223351617
Marc-Andre Lemburg's patch to move the typedef for PyCFunctionObject
...
to the .h file and add macros there for inlined access to the fields.
1998-07-10 15:21:55 +00:00
Guido van Rossum
9d865e1a30
Get rid of some obsolete opcodes.
1998-07-07 14:58:39 +00:00
Guido van Rossum
16926bd75e
Add PyImport_AppendInittab() an PyImport_ExtendInittab().
1998-06-29 20:34:46 +00:00
Guido van Rossum
a70d160095
Define new macro Py_InitModule3(name, methods, doc) which calls
...
Py_InitModule4() with appropriate arguments.
1998-06-27 18:21:59 +00:00
Guido van Rossum
90ce848848
On SGI, we need to define _SGI_MP_SOURCE before including errno.h when
...
we are threading, otherwise accessing errno doesn't work right.
1998-05-26 18:38:07 +00:00
Guido van Rossum
44e4d5a6fd
Renamed PySequence_In() to PySequence_Contains().
1998-05-22 00:47:25 +00:00
Guido van Rossum
bf6a9b165a
Add
...
PySys_WriteStdout(format, ...)
PySys_WriteStderr(format, ...)
1998-05-12 14:58:52 +00:00
Guido van Rossum
50cc04ee03
Mac CodeWarrior has faulty declaration for hypot, which we hide with a
...
#define.
(Jack)
1998-04-28 16:02:29 +00:00
Guido van Rossum
a937d14898
Fred's right -- we need PyList_SET_ITEM().
1998-04-24 18:22:02 +00:00
Guido van Rossum
a9c2d7a87c
Add new spares to the end of the type object struct.
1998-04-23 19:16:44 +00:00