Commit Graph

1147 Commits

Author SHA1 Message Date
Guido van Rossum 1738388c59 Dumped \cbstart, \cbend 1992-08-13 14:10:17 +00:00
Guido van Rossum e876949f2b Initial revision 1992-08-13 12:14:11 +00:00
Guido van Rossum 04691fc1c1 Changes so that user-defined classes can implement operations invoked
by special syntax: you can now define your own numbers, sequences and
mappings.
1992-08-12 15:35:34 +00:00
Guido van Rossum 423d6c6bca DO_TIMES must now be defined in the Makefile 1992-08-12 15:34:02 +00:00
Guido van Rossum 38fbf52b8e Made module regex optional; added optional module nis. 1992-08-12 15:28:52 +00:00
Guido van Rossum df72a655b9 To ignore a call, cast it to (void), not to (void *)... 1992-08-12 15:27:32 +00:00
Guido van Rossum 3562d52e93 Added error handling and free resources. 1992-08-12 15:26:16 +00:00
Guido van Rossum 9de7a01e0e NIS interface by Fred Gansevles <Fred.Gansevles@cs.utwente.nl>. 1992-08-12 14:57:12 +00:00
Guido van Rossum a1ed37cb59 Last-minute changes for release. 1992-08-10 14:55:00 +00:00
Guido van Rossum 260cc1a857 Initial revision 1992-08-10 10:48:14 +00:00
Guido van Rossum 814d7cd492 added broadcast.py, ftp.py, radio.py 1992-08-10 10:46:25 +00:00
Guido van Rossum c2b2a0401b *** empty log message *** 1992-08-10 10:43:07 +00:00
Guido van Rossum ff535a1b44 Almost totally rewritten. 1992-08-10 10:42:36 +00:00
Guido van Rossum da8c3fd979 Fixed descr of try/finally 1992-08-09 13:55:25 +00:00
Guido van Rossum 4732ccf642 Added emacs.py (for misc/py-connect.el).
posixpath.py: added undocumented expanndvars() (expands $VAR in string).
1992-08-09 13:54:50 +00:00
Guido van Rossum 21803b8a6f Makefile, Configure.py: ##ask --> ##[el]if[yes|no]
posixmodule.c: waitpid() is separate
1992-08-09 12:55:27 +00:00
Guido van Rossum b7fc4afe1b Warn that _ must be in tt font. 1992-08-07 16:06:42 +00:00
Guido van Rossum 5e0759d351 Add chapter on classes (mostly from ../misc/CLASSES). 1992-08-07 16:06:24 +00:00
Guido van Rossum 2d4aa4f5d4 Removed *.libs (now in ./sgi);
added gettext() method to TextEdit.py;
fixed string.atoi() to ignore leading zeros.
1992-08-06 22:33:41 +00:00
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