Commit Graph

1564 Commits

Author SHA1 Message Date
Guido van Rossum dd8cb446e1 Some minute changes. 1993-12-29 15:33:08 +00:00
Guido van Rossum 424e4da9f3 Rot out all uses of time.milli*(). 1993-12-28 21:36:50 +00:00
Guido van Rossum 0efafb39da Rot out all uses of time.milli*().
Slightly improve debug output.
1993-12-28 21:36:18 +00:00
Guido van Rossum 605909dc9d Rot out all uses of time.milli*().
Also change command line options to use seconds for all times.
1993-12-28 21:28:31 +00:00
Guido van Rossum ca1c876d43 Use freeze_form instead of freeze_object 1993-12-28 21:27:23 +00:00
Guido van Rossum 810a92f95b Added depend target; cosmetic changes to other targets 1993-12-28 19:39:56 +00:00
Guido van Rossum 6d5ebe24ee Added (dummy) depend target 1993-12-28 19:39:13 +00:00
Guido van Rossum 6085e32a75 Alpha 1.0.0 1993-12-26 18:24:40 +00:00
Guido van Rossum 1dfec14f83 Py -> Include 1993-12-26 18:15:49 +00:00
Sjoerd Mullender 0d2d397bc5 Added function ttob. 1993-12-24 14:51:14 +00:00
Guido van Rossum 627b2d7cd7 New files 1993-12-24 10:39:16 +00:00
Guido van Rossum 6fa6343f0e None 1993-12-24 10:36:57 +00:00
Guido van Rossum 60a578aa4e New files 1993-12-24 10:32:48 +00:00
Guido van Rossum 8e454f3858 Misc changes. 1993-12-24 10:32:14 +00:00
Guido van Rossum be0e9420a1 New files. 1993-12-24 10:32:00 +00:00
Guido van Rossum 2e1d433e43 Added getmaxint() so sys can initialize sys.maxint.
Added Makefile.in.
1993-12-24 10:22:45 +00:00
Sjoerd Mullender 92fa23fd6d ANSIfied somewhat. 1993-12-24 10:05:51 +00:00
Sjoerd Mullender c6d846a5d5 And another init incompatibility bites the dust. 1993-12-22 12:40:20 +00:00
Sjoerd Mullender d6b9ce961e Fixed use of aifc module. 1993-12-22 11:44:49 +00:00
Guido van Rossum 7d6aa51b56 * rangeobject.[ch], bltinmodule.c: incorporate new version of range
object (unchanged from source except "range" -> "xrange").
1993-12-21 22:50:31 +00:00
Sjoerd Mullender c4f169cc5a rgbimgmodule.c, Makefile, config.c: new module to read RGB image files.
Does not need any SGI-specific libraries.
cgen.py, cstubs, Makefile: Generate glmodule.c differently so that it
	can be compiled using an ANSI compiler.
1993-12-21 17:06:12 +00:00
Sjoerd Mullender 7030b1ff2d almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.
1993-12-20 17:26:34 +00:00
Guido van Rossum 248a50c168 * Grammar: corrected old typo (class instead of 'class')
* dosmodule.c: MSDOS specific stuff from posixmodule.c.
* posixmodule.c: removed all MSDOS specific stuff.
* tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed
  parameters (MSC doesn't like this).
1993-12-20 12:53:10 +00:00
Guido van Rossum 455b87d457 New file 1993-12-20 11:43:21 +00:00
Guido van Rossum badac73dfc New file 1993-12-20 10:52:46 +00:00
Guido van Rossum b898bd29b0 New file 1993-12-20 10:43:53 +00:00
Sjoerd Mullender 2a45141741 aifc.py, sunau.py: Adapted comments; added access statements.
SUNAUDIODEV.py: Added some constants for Solaris.
1993-12-20 09:36:01 +00:00
Guido van Rossum 6ed9df2641 * aifc.py (Aifc_write): fix bogus reference to filename 1993-12-17 16:43:43 +00:00
Guido van Rossum 7bc817d5ba * Mass change: get rid of all init() methods, in favor of __init__()
constructors.  There is no backward compatibility.  Not everything has
  been tested.
* aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as
  comments)
1993-12-17 15:25:27 +00:00
Sjoerd Mullender aa14837bd0 Interface to audio hardware for SGI and Sun. 1993-12-17 15:18:37 +00:00
Guido van Rossum 21a3ff9d5d Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...
1993-12-17 15:11:41 +00:00
Guido van Rossum 96b608cf6d *** empty log message *** 1993-12-17 14:57:24 +00:00
Guido van Rossum 1b789f9fe0 Initial revision 1993-12-17 14:45:06 +00:00
Guido van Rossum f82fef0f59 *** empty log message *** 1993-12-17 14:45:06 +00:00
Guido van Rossum d55f4d1a76 *** empty log message *** 1993-12-17 14:39:12 +00:00
Guido van Rossum 9e80d6f125 *** empty log message *** 1993-12-17 14:32:26 +00:00
Guido van Rossum 7565b93414 *** empty log message *** 1993-12-17 14:23:52 +00:00
Guido van Rossum 3cbc16d904 * lib2.tex (sys): updated sys.std{in,out,err} docs. Added
sys.tracebacklimit.
* tut.tex (Exceptions): change text printed by traceback.
* lib5.tex (audioop): added minmax.
* lib5.tex (audioop.getsample): move wandered paragraph back
* lib3.tex, partparse.py: undo mucking with \nopagebreak (didn't work).
* partparse.py: ignore \nopagebreak command
* ref5.tex: added description of lambda forms.
* ref7.tex: added reference to lambda forms to section on function
  definition.
* lib1.tex: removed lambda as built-in function (it is now a special
  form).  Also removed feature of filter, map, reduce to turn a string
  argument into an anonymous function.
1993-12-17 12:13:53 +00:00
Guido van Rossum 67a5fdbcc2 * mpzmodule.c: cast some methods to the proper type.
* traceback.c (tb_print): use sys.tracebacklimit as a maximum number of
  traceback entries to print (default 1000).
* ceval.c (printtraceback): Don't print stack trace header -- this is now
  done by tb_print().
1993-12-17 12:09:14 +00:00
Sjoerd Mullender ad7324c71f Don't close the file explicitly. 1993-12-16 14:02:44 +00:00
Sjoerd Mullender feaa7d296f Don't close the file. 1993-12-16 13:56:34 +00:00
Guido van Rossum 79c85f1778 * wdbframewin.py (re_eval): set __privileged__ in globals so private
variables can still be seen by the debugger
* ftplib.py (retrlines): args should be *args.
* ChangeLog: entries for Sjoerd's addition sunau.py and changes to aiff.py
* test_md5.py: test program for built-in md5 module
1993-12-14 15:54:01 +00:00
Guido van Rossum 6930b3d18d Initial revision 1993-12-14 10:08:02 +00:00
Sjoerd Mullender c4801ed513 Added minmax function:
-- function of module audioop: minmax (FRAGMENT, WIDTH)
    Minmax returns a tuple consisting of the minimum and maximum
    values of all samples in the sound fragment.
1993-12-13 12:06:27 +00:00
Sjoerd Mullender 43bf0bc857 aifc.py: added missing tell() method in AIFC write class;
use audioop module as backup for cl module when reading or
	 writing u-law compressed files.
sunau.py: interface with the same methods as aifc for Sun and NeXT
	  audio files
1993-12-13 11:42:39 +00:00
Sjoerd Mullender 66bca326cb Port to Solaris 2.3. 1993-12-03 16:54:45 +00:00
Guido van Rossum 57531fea90 change syntactical position of lambdef (was an atom, now is a test) 1993-11-30 14:57:42 +00:00
Guido van Rossum ae3b3a33d8 * test_*.py: new lambda syntax (also affects tests for filter, map,
reduce)
* ftplib.py: added default callback for retrlines; added dir() method
* ftplib.py: don't return self in self.connect(); added hack so that if
  'CDUP' is not understood, 'CWD ..' is tried.
* ftplib.py: second method called init() should have been called
  connect(); if __init__ sees more than one argument, it will also try to
  login().
1993-11-30 13:43:54 +00:00
Guido van Rossum 590baa4a7a * import.c (get_module): pass .py filename to parse_file, not .pyc filename!
* funcobject.c (func_repr): don't call getstringvalue(None) for anonymous
  functions.
* bltinmodule.c: removed lambda (which is now a built-in function);
  removed implied lambda for string arg to filter/map/reduce.
* Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in
  function by lambda as grammar entity: instead of "lambda('x: x+1')" you
  write "lambda x: x+1".
* Xtmodule.c (checkargdict): return 0, not NULL, for error.
1993-11-30 13:40:46 +00:00
Guido van Rossum 8732d6aeea Fix lay-out of previous fix. 1993-11-23 17:54:03 +00:00