Commit Graph

44830 Commits

Author SHA1 Message Date
Guido van Rossum 732282fa11 Module getattr doesn't exist any more, it's now called newdir. 1992-08-19 16:49:37 +00:00
Guido van Rossum 1e28e5e596 * renamed malloc.h mymalloc.h, and added MALLARG as the type of the
argument to malloc() (size_t or unsigned int)

* listobject.c: check for overflow of the size of the object,
  so things like range(0x7fffffff) will raise MemoryError instead
  of calling malloc() with -4 (and then crashing -- malloc's fault)
1992-08-19 16:46:30 +00:00
Guido van Rossum b001f7adb1 rearranged modules alphabetically 1992-08-19 16:44:41 +00:00
Guido van Rossum 90ddb7b5cb unpack() now returns a tuple, not a list 1992-08-19 16:44:15 +00:00
Guido van Rossum 3af03d8f3e don't call gl.foreground and create a new window after all (seems to
break window positions in .Xdefaults)
1992-08-19 16:42:53 +00:00
Guido van Rossum f9a2d33f01 fix *serious* (new) bug in testbool: by default objects should test
true, not false!!!
1992-08-19 16:41:45 +00:00
Guido van Rossum 448f4bf45a added getname, getdefault and getminmax functions 1992-08-19 16:41:15 +00:00
Guido van Rossum 2b81dc9c00 fix *serious* (new) bug in evalfile: forgot to initialize s!!! 1992-08-19 16:40:53 +00:00
Guido van Rossum 7268c93c55 Minor improvements, comments; fix Vinfo -d. 1992-08-18 21:11:18 +00:00
Guido van Rossum 8b9c734e12 Add comments 1992-08-18 17:01:13 +00:00
Guido van Rossum 82534fd828 Add comments and options 1992-08-18 17:01:02 +00:00
Guido van Rossum bc0eb9967d Add close() method to VinFile 1992-08-18 17:00:51 +00:00
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