0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

968 Commits

Author SHA1 Message Date
Guido van Rossum
b2e822849b Added some new comments and files 1992-08-18 16:01:19 +00:00
Guido van Rossum
66beddb844 Hacked in audio support. 1992-08-18 16:01:07 +00:00
Guido van Rossum
74a3f8b6c0 Initial revision 1992-08-18 14:47:41 +00:00
Guido van Rossum
44b8e81c42 Change window title: prefix '* ' means playing. 1992-08-18 14:47:20 +00:00
Guido van Rossum
7ff90ef714 Adapt to new syntax and don't print garbage on self.close(). 1992-08-18 14:16:21 +00:00
Guido van Rossum
843d153f99 Initial revision 1992-08-18 14:16:12 +00:00
Guido van Rossum
f9f2e82fca New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway()
to avoid hanging in cleanup().
1992-08-17 08:59:08 +00:00
Guido van Rossum
0297512a08 struct: pack/unpack binary structs; fcntl: fcntl(), ioctl(). 1992-08-17 08:55:12 +00:00
Guido van Rossum
94390a4eaf use getargs() in more cases;
oct(0) should return '0', not '00'
1992-08-14 15:14:30 +00:00
Guido van Rossum
2c475427c2 oct(0) should return '0', not '00' 1992-08-14 15:13:07 +00:00
Guido van Rossum
96caaee836 check for embedded \0 in strings for z and s formats 1992-08-14 15:12:03 +00:00
Guido van Rossum
6d946f98bd * macmodule.c: include allobjects.h, not .c
* timemodule.c: the mac has no unistd.h
* classobject.c: fixed several cases of return NULL that should be
  return -1 !!!
1992-08-14 13:49:30 +00:00
Guido van Rossum
e6eefc2231 * classobject.[ch], {float,long,int}object.c, bltinmodule.c:
coercion is now completely generic.
* ceval.c: for instances, don't coerce for + and *; * reverses
  arguments if left one is non-instance numeric and right one sequence.
1992-08-14 12:06:52 +00:00
Guido van Rossum
70d7a310a9 * xxobject.c: added tp_as_number, tp_as_sequence, tp_as_mapping to
the type object.
1992-08-14 12:04:19 +00:00
Guido van Rossum
2670a16c2e Added chapter titles in comments 1992-08-14 09:20:21 +00:00
Guido van Rossum
084b0b2c16 Fixed botched lay-out in class example 1992-08-14 09:19:56 +00:00
Guido van Rossum
abff0fdab1 Moved chapters each to their own file.
Real changes:
(a) added section on special class methods.
(b) corrected typos spotted by Stoffel Erasmus.
1992-08-14 09:18:02 +00:00
Guido van Rossum
da43a4ab88 Initial revision 1992-08-14 09:17:29 +00:00
Guido van Rossum
46f3e00407 Initial revision 1992-08-14 09:11:01 +00:00
Guido van Rossum
39789030bd Fix bug introduced by Jack (duplicate def of qread) 1992-08-13 14:23:56 +00:00
Jack Jansen
743db36cd2 Modified to allow other threads to run in a multithreaded environment. 1992-08-13 14:13:11 +00:00
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