Guido van Rossum
3863abb921
Correct typo: return -1 for error, not NULL
1996-09-11 23:31:07 +00:00
Guido van Rossum
c35f933c44
Add text of argument to errors for atoi(), atol(), atof().
1996-09-11 23:30:42 +00:00
Guido van Rossum
6beb479b39
Force O_BINARY in flags if defined, for e.g. Microsoft platforms.
1996-09-11 23:22:25 +00:00
Guido van Rossum
622f577eac
Dynamically initialize ob_type field, for Windows DLL
1996-09-11 23:18:43 +00:00
Guido van Rossum
c864364395
Added lockf() call
1996-09-11 23:17:20 +00:00
Guido van Rossum
6fe01d4ba0
Added Setup.local feature; make shared libs readonly
1996-09-11 23:13:07 +00:00
Fred Drake
e1607a8d0e
(parsermodule.c): Fixed sloppy typo: '==' -> '='
1996-09-11 21:58:26 +00:00
Guido van Rossum
f62e5bf339
Update based on Python 1.4b3.
1996-09-10 18:09:44 +00:00
Guido van Rossum
87755a24c2
Use #ifdef MS_WIN32 instead of _MSC_VER > 850.
1996-09-07 00:59:43 +00:00
Guido van Rossum
b2fb36498d
Sleep() turns out to be win32 specific.
...
The timezone etc. overrides are win16 specific.
Hope I got this right now...
1996-09-07 00:47:35 +00:00
Guido van Rossum
cac6c72105
Some changes for better Windows portability.
1996-09-06 13:34:02 +00:00
Guido van Rossum
6eed906533
Typo (missing _) in _xdr line.
1996-08-30 20:41:30 +00:00
Guido van Rossum
6c0b234006
#include <netconfig.h> seems not needed and is harmful on NeXT, so drop it.
...
Add proper initialization of rtn = NULL in unpack_double.
1996-08-30 20:39:43 +00:00
Guido van Rossum
213a685cd8
Move backup definition for hypot() to Python/hypot.c.
1996-08-29 18:13:16 +00:00
Guido van Rossum
c9970eecc2
Call __initialize(), not __sinit() on Mac dynamic loading entry.
1996-08-26 14:37:15 +00:00
Guido van Rossum
497aedd2ff
Get rid of unused local variable.
1996-08-21 23:46:01 +00:00
Guido van Rossum
4f903463b8
Removed environment, objc, sybase modules
1996-08-21 22:15:03 +00:00
Guido van Rossum
f00eb71d90
Get rid of some obsolete modules:
...
- environment.c (we now have os.putenv)
- sybase (a better one is in contrib/Databases/Sybase.*)
- objc.c (incomplete and unsupportable by us)
1996-08-21 22:11:54 +00:00
Guido van Rossum
2a2884645d
Patches to make it compile with K&R C
1996-08-21 21:55:43 +00:00
Guido van Rossum
3bcf7d2f0b
Avoid complaint about inconsistent hypot() linkage on NT.
1996-08-21 20:36:52 +00:00
Guido van Rossum
171191efb2
Raise ValueError on empty string passed into atoi(), atol(), atof().
1996-08-21 20:02:25 +00:00
Guido van Rossum
360a934609
Support for old CPP
1996-08-21 19:04:10 +00:00
Guido van Rossum
ae92f01029
Hacks to support being a Windows DLL
1996-08-21 19:03:36 +00:00
Guido van Rossum
c9fb47ef08
Added delslice and delitem.
...
Renamed and, or to and_, or_.
Renamed all internal identifiers so as not to start with '__' (which is
a compiler privilege); remove AIX hack.
1996-08-21 17:40:51 +00:00
Guido van Rossum
4747887880
New batch from Fred
1996-08-21 14:32:37 +00:00
Guido van Rossum
bf0dc9fb14
Add #define MAC_TCL for Mac.
1996-08-20 20:49:56 +00:00
Guido van Rossum
613b943bf9
*noconfig* -> *shared*.
...
Add # -lm comment to modules that need it as sharedlib.
1996-08-20 19:50:17 +00:00
Guido van Rossum
4355454232
Support *shared* and *static* as aliases for *noconfig* and *config*.
1996-08-20 19:49:13 +00:00
Guido van Rossum
d62d8bced3
Test for xdrmem_create() failure.
...
Minor lay-out changes.
1996-08-20 19:47:44 +00:00
Guido van Rossum
cde317ae62
Install shared libs with executable mode -- needed for HPUX,
...
doesn't hurt elsewhere.
1996-08-20 19:46:35 +00:00
Guido van Rossum
272841c439
Changes by Rob Hooft for GMP 2.0.2
1996-08-19 23:06:45 +00:00
Guido van Rossum
73363b526e
Added _xdr module
1996-08-19 22:58:53 +00:00
Guido van Rossum
7cf1fcf347
Always include config.h
1996-08-19 22:12:39 +00:00
Guido van Rossum
8f3032da10
Declare initregex() as returning void, as it should be.
1996-08-19 22:03:12 +00:00
Guido van Rossum
860986812a
Remove some unused variables.
1996-08-19 22:02:43 +00:00
Guido van Rossum
2977e5d660
Declare a bunch of internal routines as returning void.
1996-08-19 22:02:19 +00:00
Guido van Rossum
1720230399
Made it palatable for K&R preprocessors. The spam macros don't have
...
to work as hard (but "stringizing" is still used, so we test the newly
introduced HAVE_OLD_CPP config define).
1996-08-19 22:01:39 +00:00
Guido van Rossum
a29756c1dd
Recognize *.sl and *.so as library (i.e. linker) arguments
1996-08-19 22:00:05 +00:00
Guido van Rossum
07b983da99
Incorporate LDFLAGS calculated by configure (for --with-readline)
1996-08-19 21:59:32 +00:00
Guido van Rossum
7ffa7617c7
Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc.
...
- Use ckalloc(), ckfree() everywhere.
- Default FREECAST to (char *).
- Added comment with Tcl/Tk version info.
1996-08-13 21:10:16 +00:00
Guido van Rossum
99d90c0d0e
Include "mymath.h" instead of manually declaring math functions.
1996-08-08 19:17:45 +00:00
Guido van Rossum
7999a5c525
Added lstrip() and rstrip().
...
Extended split() (and hence splitfields(), which is the same function)
to support an optional third parameter giving the maximum number of
delimiters to parse.
1996-08-08 19:16:15 +00:00
Guido van Rossum
339cfa39d8
Need config.h (for Win etc.)
1996-08-08 19:12:37 +00:00
Guido van Rossum
ec185bde77
Added hack to get it to compile on AIX.
1996-08-08 19:12:05 +00:00
Guido van Rossum
8a170cbed6
Rearrange include headers (needed on some platforms).
1996-08-08 19:11:41 +00:00
Guido van Rossum
6412b1de5d
Hack for Mac (where fabs is not usable as a function pointer).
1996-08-08 19:10:21 +00:00
Guido van Rossum
97867b2ce2
Add optional casts to free() calls. (Jack)
...
Set Tk variable argv0 to classname passed in to Tkapp_New. (Fred)
1996-08-08 19:09:53 +00:00
Guido van Rossum
82df03e35f
Rationalized instructions for _tkinter.c
1996-08-08 19:08:47 +00:00
Guido van Rossum
6554419e1b
Also remove *.sl (AIX shared libs) in make clean.
1996-08-08 19:07:46 +00:00
Guido van Rossum
1dc19ba2ee
Removed
1996-08-08 19:07:06 +00:00