Commit Graph

1128 Commits

Author SHA1 Message Date
Guido van Rossum de126a6ff8 Replaced max=-1 by max = -1. 1992-08-06 16:53:58 +00:00
Guido van Rossum ff4949eeee * Makefile: cosmetics
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix
  broken recvfrom()
* socketmodule: get rid of getStrarg()
* ceval.h: move eval_code() to new file eval.h, so compile.h is no
  longer needed.
* ceval.c: move thread comments to ceval.h; always make save/restore
  thread functions available (for dynloaded modules)
* cdmodule.c, listobject.c: don't include compile.h
* flmodule.c: include ceval.h
* import.c: include eval.h instead of ceval.h
* cgen.py: add forground(); noport(); winopen(""); to initgl().
* bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c,
  selectmodule.c:
  adapt to threads (add BGN/END SAVE macros)
* stdwinmodule.c: adapt to threads and use a special stdwin lock.
* pythonmain.c: don't include getpythonpath().
* pythonrun.c: use BGN/END SAVE instead of direct calls; also more
  BGN/END SAVE calls etc.
* thread.c: bigger stack size for sun; change exit() to _exit()
* threadmodule.c: use BGN/END SAVE macros where possible
* timemodule.c: adapt better to threads; use BGN/END SAVE; add
  longsleep internal function if BSD_TIME; cosmetics
1992-08-05 19:58:53 +00:00
Guido van Rossum 25bec8c8dc Sometimes, recvfrom() returns an empty address; this is not an error.
Also, get rid of makepair() in favor of mkvalue().
1992-08-05 19:00:45 +00:00
Sjoerd Mullender 099d923344 new file for SGI Video 1992-08-04 13:47:11 +00:00
Guido van Rossum 1984f1e1c6 * Makefile adapted to changes below.
* split pythonmain.c in two: most stuff goes to pythonrun.c, in the library.
* new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}.
* new module from Sjoerd: mmmodule.c (dynamically loaded).
* new module from Sjoerd: sv (svgen.py, svmodule.c.proto).
* new files thread.{c,h} (from Sjoerd).
* new xxmodule.c (example only).
* myselect.h: bzero -> memset
* select.c: bzero -> memset; removed global variable
1992-08-04 12:41:02 +00:00
Guido van Rossum 4fbf798f86 * myselect.h: bzero -> memset
* select.c: bzero -> memset; removed global variable
1992-08-04 09:13:45 +00:00
Guido van Rossum f16eda5ff8 cdmodule.c: 2 minor changes by Sjoerd. 1992-08-03 19:06:59 +00:00
Guido van Rossum e10a19ea6d listobject.c: added optional cmp function to list.sort(). 1992-08-03 19:05:37 +00:00
Guido van Rossum 7b2c03f39b New rotor methods: setkey(), encryptmore() and decryptmore(). 1992-08-02 09:00:06 +00:00
Guido van Rossum e6e9fe18bb Changes to make it compile under SGI -- revamped new/dealloc a bit. 1992-07-31 15:11:01 +00:00
Guido van Rossum 500982062f New file rotormodule.c (by Lance Ellinghouse). 1992-07-31 15:10:13 +00:00
Guido van Rossum c10aa77cb9 fileobject.c: fix fatal bug in getline() (forgot to initialize fp now) 1992-07-31 12:42:38 +00:00
Guido van Rossum 741c81a51f New module to support decoding multipart messages (also see mimetools). 1992-07-13 14:40:45 +00:00
Guido van Rossum 01ca336ed1 New modules mimetools and rfc822.
Minor, minor changes to commands.py and sndhdr.py.
1992-07-13 14:28:59 +00:00
Guido van Rossum eb23155a8e Changed calendar.py to define lists of literals instead of tuples.
Got rid of old module 'localtime.py'.
1992-07-09 11:05:12 +00:00
Guido van Rossum ca7b213b46 Initial revision 1992-07-07 09:11:53 +00:00
Guido van Rossum 0b927e2e3e Added description of pp.py. 1992-07-07 09:11:44 +00:00
Guido van Rossum 5b34373b49 > * Makefile: always create .ps files; add qua to 'all' target;
>   added 'clobber' target
1992-07-07 09:06:34 +00:00
Guido van Rossum b64e63545f Added conversions to/from ADPCM(-4); renamed adpcm to adpcm3 (what it
really was).
1992-07-06 14:21:56 +00:00
Guido van Rossum d7297e61df Makefile: added instann rules and $(*DEST*) defines.
fileobject.c: report more moeaningful error for I/O on closed files;
user getargs() everywhere.
1992-07-06 14:19:26 +00:00
Guido van Rossum 3ee199e0cd added WE_KEY detail format to stdwinmodule.c. 1992-06-30 12:48:26 +00:00
Guido van Rossum dd9ed839d6 Added qgetfd() to cstubs for GL.
Added new module dbm (interface to ndbm).
1992-06-29 17:10:40 +00:00
Guido van Rossum 8e7a0f026e Added adpcm2lin and lin2adpcm. 1992-06-23 15:23:57 +00:00
Guido van Rossum 9d47992719 Use "myselect.h" as intended. 1992-06-23 15:23:28 +00:00
Guido van Rossum 1f4f7435c5 Remove bibtex log file. 1992-06-23 11:06:58 +00:00
Guido van Rossum ed233a5696 Changes for new UNIX-specific built-in module 'select' and new header for
interfaces to variants of select() system call, "myselect.h".  This includes
adding fileno() methods to files, sockets and stdwin.
1992-06-23 09:07:03 +00:00
Guido van Rossum 5dc8eb0914 sysmodule.c: calling sys.settrace() or sys.setprofile() without
arguments crashed in INCREF() calls which should be XINCREF() calls.

timemodule.c: fix for SEQUENT port (sys/select, struct timezone) by
Jaap Vermeulen

xxobject.c: include modsupport.h
1992-06-19 13:57:27 +00:00
Guido van Rossum 710e1df585 Some UNIX types want the exact size of the address structure 1992-06-12 10:39:36 +00:00
Guido van Rossum dfd6e46779 Fix for SEQUENT by Jaap Vermeulen 1992-06-12 10:39:22 +00:00
Guido van Rossum 047979e3d5 Fix regexp recognizing comments to cope with unterminated comments. 1992-06-05 15:13:53 +00:00
Guido van Rossum aad5344fc1 Fix bug in ulaw2lin for 4-byte values 1992-06-05 15:11:56 +00:00
Guido van Rossum 0e69587dc0 Added {get,set}sockopt(). allowbroadcast is now obsolete. 1992-06-05 15:11:30 +00:00
Guido van Rossum a3d50763a2 Change recipe to build qua. 1992-06-03 17:59:20 +00:00
Guido van Rossum 6a11eb4e17 Initial revision 1992-06-03 17:59:07 +00:00
Guido van Rossum 54e39908d8 Fixed comparison: i < k < j should be i <= k < j. 1992-06-03 17:58:43 +00:00
Guido van Rossum c7ff85d612 Documented new contents of lib5.tex 1992-06-03 17:56:44 +00:00
Guido van Rossum 138e6bf66e Removed confusing, incorrect comment. 1992-06-03 17:08:15 +00:00
Guido van Rossum 3dd8c9895e fixed bugs in generic_setattr (returned NULL instead of
-1 for errors)
1992-06-03 17:07:49 +00:00
Guido van Rossum 000239517d added BYTE, CHAR and unsigned variants 1992-06-03 17:07:40 +00:00
Guido van Rossum ab2490a6d5 Added new types to setattr() as well... 1992-06-03 17:07:23 +00:00
Guido van Rossum f0476350b8 Added 1992 to copyright notice 1992-06-03 17:07:06 +00:00
Guido van Rossum 2c4be64f20 added readscaled() function. 1992-06-03 17:06:36 +00:00
Guido van Rossum 9c52e0ff32 Initial revision 1992-06-03 17:06:14 +00:00
Guido van Rossum c888bf7cae append the default path to $PYTHONPATH; ignore empty $PYTHONPATH.
default DATE is now 3 Jun 1992
1992-06-03 17:05:13 +00:00
Guido van Rossum 73b715e259 Initial revision 1992-06-03 16:50:01 +00:00
Guido van Rossum b1ccc6afe0 Improvements by Sjoerd 1992-06-03 16:49:44 +00:00
Guido van Rossum 6c6b6094fc Improved functionality, by Sjoerd 1992-06-03 16:49:29 +00:00
Guido van Rossum 05b55e76f0 Fix pnm test for short files and add X bitmap as recognized type 1992-06-03 16:48:44 +00:00
Guido van Rossum d482e8ad4a Remove reference to obsolete module 'audio' 1992-06-03 16:47:49 +00:00
Guido van Rossum ada67ec3e1 Comment out debug prints (by Sjoerd) 1992-06-03 16:47:24 +00:00