Commit Graph

624 Commits

Author SHA1 Message Date
Guido van Rossum 037b940cd7 Operators like __add__ 1996-07-30 16:55:54 +00:00
Guido van Rossum 63df09acfb Some NeXT changes (default certain symbols to others) 1996-07-30 16:55:34 +00:00
Guido van Rossum d3c1bd3931 Added operator.c. Moved errno.c.
Changes to PYTHONPATH so it includes VERSION
1996-07-30 16:54:03 +00:00
Guido van Rossum 704fef2268 Refinements to installation, now uses $(VERSION) etc. 1996-07-30 16:53:14 +00:00
Guido van Rossum 4daf6adfe1 Added version number to destination.
Forget about the trick to create directories through dependencies --
it's impossible to get it right in the light of parallellizing Make
implementations and the inability to specify dependencies between
directories (because creating the subdirectory modifies the parent).
1996-07-24 02:33:33 +00:00
Guido van Rossum 4dc6622057 Added Sam Rushing's errno module 1996-07-24 00:51:51 +00:00
Guido van Rossum dfe8ad969c Converted to new style names by Skip Montanaro 1996-07-24 00:51:20 +00:00
Guido van Rossum 9687a921c8 Different lines for bsddb module. 1996-07-24 00:42:42 +00:00
Guido van Rossum f1af3fe8eb Added simple-minded (i.e. leaking :-) putenv() interface, if os has it. 1996-07-23 19:18:10 +00:00
Guido van Rossum ed7253ca50 Added 3rd optional argument to translate(), a string of characters to delete.
Added maketrans(), a utility to create a translation table.
1996-07-23 18:12:39 +00:00
Guido van Rossum 450b9b33a2 Added Jim Fulton's "asharedmodule" target 1996-07-21 02:35:58 +00:00
Guido van Rossum be6da271a1 Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
Guido van Rossum 3d602e31b1 New submission by Fred Drake. 1996-07-21 02:33:56 +00:00
Guido van Rossum ac56b03f9a New style names for getprogramname and getargcargv 1996-07-21 02:33:38 +00:00
Guido van Rossum 3be7140d31 Rewritten keys() and has_key() to avoid memory leaks. 1996-07-21 02:32:44 +00:00
Guido van Rossum 9e720e390a complex -> Py_complex 1996-07-21 02:31:35 +00:00
Guido van Rossum 6f489d989d Slightly different Windows ifdefs 1996-06-28 20:15:15 +00:00
Guido van Rossum 919c576254 added comments about tcl/tk -l options 1996-06-28 20:13:08 +00:00
Guido van Rossum c012547142 Added plock() system call.
Changed test for Windows times() emulation.
1996-06-28 18:55:32 +00:00
Guido van Rossum 7d844a7c8a aix sharedlib helpers 1996-06-26 21:15:02 +00:00
Guido van Rossum 845547d54b Added CWI copyright.
Updated some comments.
Fixed bug in Merge() called with NULL args.
Get rid of TkDefaultAppName() -- it is not used anywhere.
Pass error message on when Appinit fails.
Create/Delete FileHandler assume fd is a socket on Windows.
1996-06-26 18:26:04 +00:00
Guido van Rossum 8d665e6b51 changed windows test symbols; removed debug printf from sockets 1996-06-26 18:22:49 +00:00
Guido van Rossum 8026febbd6 Made comment for getprogramname() more helpful. 1996-06-20 16:49:26 +00:00
Guido van Rossum be32c8921c More rational support for Windows (tested on Roj's NT 3.5 machine only).
Use PyArg_ParseTuple() where it makes sense.
1996-06-20 16:25:29 +00:00
Guido van Rossum fd03e2b4b1 Clear waitpid() status arg in case there's no process to report with
WNOHANG set.
1996-06-19 23:17:02 +00:00
Guido van Rossum 2bd37e6c9b Added more entries to create required target subdirectories for sharedinstall. 1996-06-17 17:33:11 +00:00
Guido van Rossum 529c963d36 Test for zero-length argument in capitalize(). 1996-06-17 16:59:33 +00:00
Guido van Rossum 26b310a3fd Added new.instance(class, dict). 1996-06-17 16:56:56 +00:00
Guido van Rossum 2745753b91 added capitalize() 1996-06-12 04:24:52 +00:00
Guido van Rossum 4f0fbf884b Yet another pass at fd2obj -- this time for Windows 1996-06-12 04:22:53 +00:00
Guido van Rossum c34c9a5001 provide access to $(exec_)prefix 1996-06-12 04:20:27 +00:00
Guido van Rossum 006bf91530 ntohs, ntohl, htons, htonl -- thanks to Lance 1996-06-12 04:04:55 +00:00
Guido van Rossum d639d4d6d6 more changes for Windows, sigh 1996-06-12 04:04:22 +00:00
Guido van Rossum 8bac546e11 Avoid core dump in resizestring() on read() with 0 bytes. 1996-06-11 18:38:48 +00:00
Guido van Rossum 65af28a0f4 Calculate length of AF_UNIX addr struct portably in getsockaddrarg(). 1996-06-11 18:36:33 +00:00
Guido van Rossum 53a9bf8164 Get rid of obsolete allowbroadcast().
Avoid core dumps in resizestring().
1996-06-11 18:35:24 +00:00
Guido van Rossum ab28c56fd3 Avoid core dump on symcomp(""). 1996-06-11 18:33:14 +00:00
Guido van Rossum 3c0b79ca0f A fcntl implementation for systems (like Solaris) without flock() call.
By Sjoerd.
1996-06-11 15:11:34 +00:00
Guido van Rossum 1835c4f1b4 Use correct field of sigaction struct 1996-05-29 14:15:19 +00:00
Guido van Rossum a0e71303d9 Changed NT -> MSC or WATCOM 1996-05-28 22:30:38 +00:00
Guido van Rossum 582646aecc grand renaming; added copyright to some files 1996-05-28 22:30:17 +00:00
Guido van Rossum ddcb36b5da Use ../install-sh to install files. 1996-05-24 21:14:44 +00:00
Guido van Rossum 9c8a0c4b1c Made all c_* symbols static. 1996-05-24 21:12:28 +00:00
Guido van Rossum 53d0de4b05 rename exported symbols with _Py_ prefix 1996-05-24 20:51:38 +00:00
Guido van Rossum 3d86cc0dbc make soundex_hash static 1996-05-24 20:50:57 +00:00
Guido van Rossum a4916fa54f Added mkfifo, ftruncate. Windows/PC changes. 1996-05-23 22:58:55 +00:00
Guido van Rossum dd96ca77da Be more careful about default args. 1996-05-23 22:57:54 +00:00
Guido van Rossum 2c26cfe776 Use struct _inittab def from import.h 1996-05-23 22:57:18 +00:00
Guido van Rossum 3539b1e919 Added flock(). 1996-05-23 22:56:38 +00:00
Guido van Rossum 7081cf54bf Microsoft C changes 1996-05-23 22:56:19 +00:00
Guido van Rossum 88661e8f41 Subtle Windows changes 1996-05-23 22:55:58 +00:00
Guido van Rossum fb0df944ca Use sigaction if possible 1996-05-23 22:55:35 +00:00
Guido van Rossum 5555854e85 Windows/PC changes 1996-05-23 22:54:50 +00:00
Guido van Rossum 5038412d0f Added __doc__ strings. Added get_soundex(). 1996-05-23 22:54:17 +00:00
Guido van Rossum bceeac8dc1 Watcom changes.
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().
1996-05-23 22:53:47 +00:00
Guido van Rossum 6878436366 Patch from the net for 4.1 file handler changes. 1996-05-16 17:17:31 +00:00
Guido van Rossum 54ac1891fb Add __sinit() call according to Jack. 1996-05-16 17:14:03 +00:00
Guido van Rossum dc1c64a148 remove unused variables 1996-02-27 15:21:19 +00:00
Guido van Rossum 1b66a4f01d default CLOCKS_PER_SEC to CLK_TCK if it exists 1996-02-25 04:50:33 +00:00
Guido van Rossum b0824db52c Made 2nd arg to mkdir optional 1996-02-25 04:50:32 +00:00
Guido van Rossum 1266a01e47 Include ncurses.h where needed 1996-02-25 04:50:31 +00:00
Guido van Rossum 468fc6af68 Include stdlib.h or declare getenv 1996-02-25 04:50:31 +00:00
Guido van Rossum 485f2da5a1 Add unsigned char cast 1996-02-25 04:50:30 +00:00
Guido van Rossum ec22c92e36 Changes needed to build with Tcl/Tk beta 2! 1996-02-25 04:50:29 +00:00
Guido van Rossum dfd428dd7e Changes to make it work with Tcl/Tk beta 1. 1996-02-25 04:46:40 +00:00
Jack Jansen 508537b9c9 Include GUSI.h if using gusi-sockets 1996-02-14 15:57:45 +00:00
Guido van Rossum 5416e20037 mark strftime as varargs 1996-02-13 00:14:09 +00:00
Guido van Rossum f4a5912d51 add remove==unlink; mark strftime as varargs 1996-02-13 00:12:56 +00:00
Guido van Rossum ad1f7eeb32 get rid of bogus name for init_tkinter() 1996-02-13 00:11:37 +00:00
Guido van Rossum 05a6d8f4c7 remove rcs history 1996-01-26 21:10:22 +00:00
Guido van Rossum e36e1fe516 support fast mode for gdmb 1996-01-26 21:08:01 +00:00
Jack Jansen 76c79e9ba8 Added 16-bit pixel support for some operations. 1996-01-22 14:55:15 +00:00
Jack Jansen ba1de3bafb Fixed off-by-one error in rle-decode, and allow whitespace in base64
ascii input (thanks to Donald Beaudry for pointing these out)
1996-01-22 10:47:15 +00:00
Guido van Rossum 00bd2e5853 adde cmath; added version numbers to tk/tcl libs 1996-01-12 01:40:19 +00:00
Guido van Rossum 3206268692 added default hypot() implementation 1996-01-12 01:39:11 +00:00
Guido van Rossum b123691384 64-bit patch 1996-01-12 01:38:49 +00:00
Guido van Rossum b28911cdef added new.classobj() 1996-01-12 01:38:22 +00:00
Guido van Rossum c0fd1c0b83 fix argcount bug for build_node_children 1996-01-12 01:37:02 +00:00
Guido van Rossum ca42b1673b clear addr buffer before calling getsockname 1996-01-12 01:36:05 +00:00
Guido van Rossum 71aa32f4af complex math 1996-01-12 01:34:57 +00:00
Jack Jansen 5d9579707f Allow '@' for ' ' in uuencoded files. 1995-11-14 10:35:19 +00:00
Jack Jansen 40b546d40e Initialize GUSI on the mac. 1995-11-14 10:34:45 +00:00
Jack Jansen 34cc5c31e8 Fix to load needed resources on a mac 1995-10-31 16:15:12 +00:00
Jack Jansen ba0311ecff Renamed module tkinter to _tkinter, moved source to _tkinter.c 1995-10-23 14:34:14 +00:00
Guido van Rossum b50667d229 rename binasciimodule.c -> binascii.c; disable parsermodule.c 1995-10-12 00:41:40 +00:00
Guido van Rossum d9e9f9c05d Fred Drake's new parser module 1995-10-11 17:35:38 +00:00
Guido van Rossum c1822a4dd1 changes by Steve Clift 1995-10-11 16:15:28 +00:00
Sjoerd Mullender 7d0590b544 Removed declaration of sginap because it conflicted with a header file. 1995-10-11 08:47:28 +00:00
Sjoerd Mullender 4237efc7f0 Propagate variable calls both to the linker and the compiler. 1995-10-11 08:45:15 +00:00
Guido van Rossum 903f487684 add BGN/END_SAVE macros around fcntl/ioctl calls 1995-10-07 19:18:22 +00:00
Jack Jansen 84bbc2e3e3 Added base64 support 1995-10-04 16:38:44 +00:00
Jack Jansen 8ccfc93c2f Removed unused variable 1995-10-03 14:39:44 +00:00
Guido van Rossum 275fbe21c9 Move some stuff around so customizations in Setup take precedence 1995-09-30 17:01:49 +00:00
Guido van Rossum 896fc7ed4a re-enable new.code(...) with new args 1995-09-30 17:01:02 +00:00
Guido van Rossum 64b24fb062 clear quitMainLoop when we fall through the main loop 1995-09-30 17:00:24 +00:00
Guido van Rossum 9722ad8883 Mac changes 1995-09-22 23:49:28 +00:00
Guido van Rossum 7c53b77733 plug some leaks 1995-09-13 18:39:47 +00:00
Guido van Rossum 1c20648ba2 added SITEPATH and DESTPATH variables 1995-09-13 18:39:04 +00:00
Guido van Rossum bbc3410fa8 added 5th return item, clock time, to posix.times() 1995-09-13 17:39:51 +00:00
Guido van Rossum a3127e8e11 added strop.translate(s, table) 1995-09-13 17:39:06 +00:00