0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
Commit Graph

1133 Commits

Author SHA1 Message Date
Guido van Rossum
5f59d6018e * mymalloc.h: always allocate one extra byte, since some malloc's
return NULL for malloc(0) or realloc(p, 0).  (This should be done
  differently than wasting one byte, but alas...)
* Moved "add'l libraries" option in Makefile to an earlier place.
* Remove argument compatibility hacks (b) and (c).
* Add grey2mono, dither2mono and mono2grey to imageop.
* Dup the fd in socket.fromfd().
* Added new modules mpz, md5 (by JH, requiring GNU MP 1.2).  Affects
  Makefile and config.c.
* socketmodule.c: added socket.fromfd(fd, family, type, [proto]),
  converted socket() to use of getargs().
1992-12-14 16:59:51 +00:00
Guido van Rossum
8de83e041c Actualized 1992-12-14 16:40:24 +00:00
Guido van Rossum
ffd7fa3634 Actualized.
Do import stdwingl
1992-12-14 16:38:06 +00:00
Guido van Rossum
2219afcdfa bit vector is now implemented 1992-12-14 15:52:05 +00:00
Guido van Rossum
411588c888 sv now raises sv.error, not RuntimeError 1992-12-14 15:51:53 +00:00
Guido van Rossum
8307443175 Initial revision 1992-12-14 15:06:32 +00:00
Guido van Rossum
2739c9cce8 Added cmpaf.py 1992-12-14 15:06:22 +00:00
Guido van Rossum
57fc52578f Get official parameter names 1992-12-14 15:06:05 +00:00
Guido van Rossum
a8413b2ef0 Choose a port that doesn't conmflict with real radio 1992-12-14 15:05:53 +00:00
Guido van Rossum
e266344faf New 'finally' syntax 1992-12-14 15:05:16 +00:00
Guido van Rossum
4128dedb8b Actualize 1992-12-14 14:53:08 +00:00
Guido van Rossum
6c5c52583a Explicitly close menus. Make '0' mean the last menu item. 1992-12-14 14:52:49 +00:00
Guido van Rossum
93a35f40a9 Actualized 1992-12-14 14:12:10 +00:00
Guido van Rossum
5ba6142723 Adapted to modern times 1992-12-14 14:11:15 +00:00
Guido van Rossum
63f4cdcdb8 Adapted to modern times. Cosmetic and comment changes. 1992-12-14 14:10:53 +00:00
Guido van Rossum
0e71dc1106 Adapted to modern times and fixed a bug (id --> my_id) 1992-12-14 14:10:36 +00:00
Sjoerd Mullender
8dd054d918 adapted to newest version of CL library. 1992-12-14 13:17:29 +00:00
Sjoerd Mullender
4fff13faca CL.py: adapted to newest version of CL library.
cdplayer.py: It is now also possible to give the CD's TOC as argument
to init().  The TOC is a string consisting of 2 digits giving the
number of tracks and then for each track the length of the track as
number of minutes and number of seconds (2 digits each).

cddb.py: Interface to the .cddb directory.  Usage is the same as for
cdplayer.py.
1992-12-14 13:16:55 +00:00
Guido van Rossum
23bafde01d /usr/local/bin/python 1992-12-14 13:03:10 +00:00
Guido van Rossum
ee2ba6c2b4 Add description of kunst.py 1992-12-14 13:01:30 +00:00
Guido van Rossum
2426331433 Unknown changes by Jack. 1992-12-14 13:01:06 +00:00
Guido van Rossum
05e46ddec4 Use tzparse to avoid embarrasment in other timezones or when DST changes.
Adapt to new, stricter, rules for argument passing.
1992-12-14 13:00:14 +00:00
Guido van Rossum
89a78697b8 * Got entirely rid of path.py.
* Many modules: fixes for new, stricter, argument passing rules
  (most changes were automatic ones -- not all of this is tested!).
* gwin.py: now uses mainloop.py for its main loop and window admin.
* mainloop.py: always call dispatch() with event as a tuple!
* Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
1992-12-14 12:57:56 +00:00
Guido van Rossum
a8993cfe16 Fix for new argument passing rules. 1992-12-14 12:43:19 +00:00
Guido van Rossum
9533ebe857 Band-aid to fix it for new argument passing rules. 1992-12-14 12:29:43 +00:00
Jack Jansen
3b25371ef1 Changes for supporting monochrome and greyscale video (not yet fully
functional)
1992-12-14 12:25:21 +00:00
Guido van Rossum
cf5dd9cbfd Fix bug when reporting error 1992-12-10 00:01:24 +00:00
Guido van Rossum
15f27fb6ea Adapt to modern times... 1992-12-10 00:00:58 +00:00
Guido van Rossum
1d9741742e Initial revision 1992-12-09 23:14:40 +00:00
Guido van Rossum
d3592486ce Friendlier response to interrupt. Use /usr/local/*bin*/python. 1992-12-09 23:12:59 +00:00
Guido van Rossum
ff3da0502f Microscopic changes, comments/messages changed.
Real important: turn off FIELDDROP in Vrec.
1992-12-09 22:16:35 +00:00
Guido van Rossum
8ed294150e Added new modules mpz, md5 (by JH, requiring GNU MP). 1992-12-08 16:10:18 +00:00
Guido van Rossum
95cd2ef162 Incorporated Jan-Hein's changes and texinfo conversion. 1992-12-08 14:37:55 +00:00
Guido van Rossum
2a7178efe1 socketmodule.c: added socket.fromfd(fd, family, type, [proto]);
converted socket() to use of getargs().
1992-12-08 13:38:24 +00:00
Guido van Rossum
6209b97df4 Added output from testall run, for autotest.py. 1992-11-27 22:54:49 +00:00
Guido van Rossum
85f1820ee1 Added some new tests and two new files for testing: test_types.py
(testing operations on built-in types) and autotest.py (automatic
regression testing).
1992-11-27 22:53:50 +00:00
Guido van Rossum
d014ea6b5e * classobject.c: in instance_lenth, test result of call_object
for exception before using it.  Fixed a few other places where the
  outcome of calling sq_length wasn't tested for exceptions
  (bltinmodule.c, ceval.c).
1992-11-26 10:30:26 +00:00
Guido van Rossum
18fc5696c8 * mainloop.py: added facility for calling select(). Also added
embryonic facility for pseudo-modal dialogs.
* stdwinevents.py: added modifier masks for key/mouse events
* renamed exceptions in nntplib.py
* Changed string.join() to call string.joinfields() to profit of
  strop.joinfields()
1992-11-26 09:17:19 +00:00
Guido van Rossum
c89705d697 * config.c: Added audioop to lists.
* Makefile: change default source directory
* socketmodule.c: added getsockname and getpeername
* bltinmodule.c: corrected typo in type() error message
* Added new built-in functions str() and repr(): repr(x) == `x`;
  str(x) == x if x is a string, otherwise str(x) == repr(x).
* Added joinfields to stropmodule.c (string.join calls joinfields now)
1992-11-26 08:54:07 +00:00
Guido van Rossum
df9320f8bc *** empty log message *** 1992-11-16 16:56:04 +00:00
Guido van Rossum
d3b0f38db5 Support default port. 1992-11-16 16:55:48 +00:00
Guido van Rossum
bfef4a0873 Added comments, use 'global' and change prompt to "ftp.py> " 1992-11-16 16:55:11 +00:00
Guido van Rossum
bd07b31d82 Restructured into several subroutines. 1992-11-16 16:54:45 +00:00
Guido van Rossum
21974798ce Added all_errors, list of all possible exceptions. 1992-11-06 13:34:17 +00:00
Guido van Rossum
c68a40183b Use getsockname() if it exists 1992-11-05 23:01:42 +00:00
Guido van Rossum
c567c60135 Added much functionality, changed some names (errors, login). 1992-11-05 22:22:37 +00:00
Guido van Rossum
c629d34c4f * change default line numbers for 'list' in pdb.py
* changed eval() into getattr() in cmd.py
* added dirname(), basename() and (dummy) normath() to macpath.py
* renamed nntp.py to nntplib.py
* Made string.index() compatible with strop.index()
* Make string.atoi('') raise string.atoi_error rather than ValueError
* Added dirname() and normpath() to posixpath.
1992-11-05 10:43:02 +00:00
Guido van Rossum
1115ab2a74 Initial revision 1992-11-04 15:51:30 +00:00
Guido van Rossum
0317a4719b Added imageopmodule.c, also added them to Makefile and config.c.
Fixed a bug in Addmodule.sh that caused a crash in Configure.py.
Fixed the crash in Configure.py...
1992-10-26 13:40:15 +00:00
Guido van Rossum
a1b51f374f Fixed comments 1992-10-25 19:20:47 +00:00