]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
32 years ago* listobject.c (list_ass_slice): XDECREF instead of DECREF so
Guido van Rossum [Wed, 27 Oct 1993 14:56:44 +0000 (14:56 +0000)] 
* listobject.c (list_ass_slice): XDECREF instead of DECREF so
  setlistslice() can be used to cut the unused part out of a freshly made
  slice (as done by bagof()).  [needed by the next mod!]
* structural changes to bagof(), map() etc.

32 years ago* lib3.tex (module string): added rindex().
Guido van Rossum [Wed, 27 Oct 1993 13:49:20 +0000 (13:49 +0000)] 
* lib3.tex (module string): added rindex().
* lib1.tex (section{Built-in Functions}): added bagof(), lambda(), map()
  and reduce().  Repharased apply().  Removed or rephrased references to
  exec() (now the exec stmt).
* lib4.tex: posix.exec --> posix.execv
* ref4.tex, ref8.tex, tut.tex: builtin --> __builtin__
* lib3.tex (module string): added atof() and atol(), and ato[fl]_error.

32 years agoCommitting the correct graminit.c; also changed confusing comments in Grammar.
Guido van Rossum [Wed, 27 Oct 1993 13:25:30 +0000 (13:25 +0000)] 
Committing the correct graminit.c; also changed confusing comments in Grammar.

32 years ago*** empty log message ***
Guido van Rossum [Wed, 27 Oct 1993 09:29:01 +0000 (09:29 +0000)] 
*** empty log message ***

32 years agoAdd coercions
Guido van Rossum [Wed, 27 Oct 1993 09:28:23 +0000 (09:28 +0000)] 
Add coercions

32 years agoInitial revision
Guido van Rossum [Wed, 27 Oct 1993 09:27:13 +0000 (09:27 +0000)] 
Initial revision

32 years ago* compile.[ch]: support for lambda()
Guido van Rossum [Tue, 26 Oct 1993 17:58:25 +0000 (17:58 +0000)] 
* compile.[ch]: support for lambda()
* PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC.
* allobjects.h: added #include "rangeobject.h"
* Grammar: added lambda_input; relaxed syntax for exec.
* bltinmodule.c: added bagof, map, reduce, lambda, xrange.
* tupleobject.[ch]: added resizetuple().
* rangeobject.[ch]: new object type to speed up range operations (not
  convinced this is needed!!!)

32 years agoAdd some necessary casts; use double quotes to represent strings in
Guido van Rossum [Tue, 26 Oct 1993 15:25:16 +0000 (15:25 +0000)] 
Add some necessary casts; use double quotes to represent strings in
some cases.

32 years agoAdded rindex(). index() and rindex() interpret negative start index
Guido van Rossum [Tue, 26 Oct 1993 15:23:55 +0000 (15:23 +0000)] 
Added rindex().  index() and rindex() interpret negative start index
as normal indexing does.

32 years agoWork around a bug in the DEC alpha OSF/1 C preprocessor.
Guido van Rossum [Tue, 26 Oct 1993 15:22:37 +0000 (15:22 +0000)] 
Work around a bug in the DEC alpha OSF/1 C preprocessor.

32 years agoChanges to make range checks portable to 64-bit machines.
Guido van Rossum [Tue, 26 Oct 1993 15:21:51 +0000 (15:21 +0000)] 
Changes to make range checks portable to 64-bit machines.

32 years agoChanges to accept double-quoted strings on input.
Guido van Rossum [Tue, 26 Oct 1993 15:19:44 +0000 (15:19 +0000)] 
Changes to accept double-quoted strings on input.

32 years agoFix reference to undefined 'memsize' in calcnframes().
Guido van Rossum [Tue, 26 Oct 1993 10:23:14 +0000 (10:23 +0000)] 
Fix reference to undefined 'memsize' in calcnframes().

32 years ago* filemodule.c: added writelines() -- analogous to readlines()
Guido van Rossum [Mon, 25 Oct 1993 09:59:04 +0000 (09:59 +0000)] 
* filemodule.c: added writelines() -- analogous to readlines()
* import.c: fixed core dump when out-of-date .pyc file encountered (again!)

32 years agoimport.c: When something is wrong with the .pyc, properly open the .py
Sjoerd Mullender [Mon, 25 Oct 1993 08:40:52 +0000 (08:40 +0000)] 
import.c: When something is wrong with the .pyc, properly open the .py
file.
object.c: Write allocation statistics to stderr.

32 years ago* import.c (MAGIC): Changed magic word to avoid confusion about exec
Guido van Rossum [Fri, 22 Oct 1993 14:26:06 +0000 (14:26 +0000)] 
* import.c (MAGIC): Changed magic word to avoid confusion about exec
  function vs. exec statement
* bltinmodule.c: renamed the module to __builtin__.
* posixmodule.c (posix_execv): renamed exec --> execv since it is now a
  reserved word.

32 years agoadded builtin b/w compat module.
Guido van Rossum [Fri, 22 Oct 1993 14:24:22 +0000 (14:24 +0000)] 
added builtin b/w compat module.
changed testing of exec.

32 years agoAdded missing "import os" to pdb.help()
Guido van Rossum [Fri, 22 Oct 1993 13:57:38 +0000 (13:57 +0000)] 
Added missing "import os" to pdb.help()

32 years ago* profile.py, pdb.py: added help() function
Guido van Rossum [Fri, 22 Oct 1993 13:56:35 +0000 (13:56 +0000)] 
* profile.py, pdb.py: added help() function
* builtin.py: b/w compat for builtin -> __builtin__ name change
* string.py: added atof() and atol() and corresponding exceptions
* test_types.py: added test for list sort with  user comparison function

32 years agoSeveral optimizations and speed improvements.
Sjoerd Mullender [Fri, 22 Oct 1993 12:04:32 +0000 (12:04 +0000)] 
Several optimizations and speed improvements.
cstubs: Use Matrix type instead of float[4][4].

32 years ago"exec" is now a statement. execfile() is obsolete.
Guido van Rossum [Mon, 18 Oct 1993 17:59:42 +0000 (17:59 +0000)] 
"exec" is now a statement.  execfile() is obsolete.
(Also added a stub for "access".)

32 years ago* bltinmodule.c: removed exec() built-in function.
Guido van Rossum [Mon, 18 Oct 1993 17:06:59 +0000 (17:06 +0000)] 
* bltinmodule.c: removed exec() built-in function.
* Grammar: add exec statement; allow testlist in expr statement.
* ceval.c, compile.c, opcode.h: support exec statement;
  avoid optimizing locals when it is used
* fileobject.{c,h}: add getfilename() internal function.

32 years ago* stdwinmodule.c (stdwin_done): interface to shutdown stdwin (now this is
Guido van Rossum [Mon, 18 Oct 1993 11:44:47 +0000 (11:44 +0000)] 
* stdwinmodule.c (stdwin_done): interface to shutdown stdwin (now this is
  no longer done by config.c).
* stdwinmodule.c (initstdwin), config.c (initall): get command line
  arguments from sys.argv instead of special-casing stdwin in config.c
* import.c (get_module): fix core dump when foomodule.o does not define
  initfoo().
* ChangeLog: documented changes by Sjoerd.

32 years agointobject.c: Save references to small integers, so that they can be
Sjoerd Mullender [Fri, 15 Oct 1993 16:18:48 +0000 (16:18 +0000)] 
intobject.c: Save references to small integers, so that they can be
shared.  The default is to save references to the integers in
the range -1..99.  The lower limit can be set by defining
NSMALLNEGINTS (absolute value of smallest integer to be saved)
and NSMALLPOSINTS (1 more than the largest integer to be
saved).
tupleobject.c: Save a reference to the empty tuple to be returned
whenever a tuple of size 0 is requested.  Tuples of size 1
upto, but not including, MAXSAVESIZE (default 20) are put in
free lists when deallocated.  When MAXSAVESIZE equals 1, only
share references to the empty tuple, when MAXSAVESIZE equals
0, don't include the code at all and revert to the old
behavior.
object.c: Print some more statistics when COUNT_ALLOCS is defined.

32 years agoMakefile, import.c: Lance's alternative module search (allow .pyc file
Guido van Rossum [Fri, 15 Oct 1993 13:01:11 +0000 (13:01 +0000)] 
Makefile, import.c: Lance's alternative module search (allow .pyc file
without .py file); Bill's dynamic loading for SunOS using shared
libraries.

pwdmodule.c (mkgrent): remove DECREF of uninitialized variable.

classobject.c (instance_getattr): Fix case when class lookup returns
unbound method instead of function.

32 years agoAdded widget methods {Height,Width}{,MM}OfScreen.
Sjoerd Mullender [Tue, 12 Oct 1993 14:10:58 +0000 (14:10 +0000)] 
Added widget methods {Height,Width}{,MM}OfScreen.

32 years ago* Added support for X window interface.
Sjoerd Mullender [Tue, 12 Oct 1993 12:55:27 +0000 (12:55 +0000)] 
* Added support for X window interface.
* Moviechannel now uses colormap mode on 8-bit XS Indigo's instead of
  converting the image to RGB32.
* Compression Library support is dependent on USE_CL compile-time flag.

32 years ago* ref3.tex: added cross-ref to try statement for exc handler.
Guido van Rossum [Mon, 11 Oct 1993 12:54:58 +0000 (12:54 +0000)] 
* ref3.tex: added cross-ref to try statement for exc handler.
* ref7.tex: added description of sys.exc_{type,value,traceback}.
* lib5.tex: rect.intersect is different now!

32 years ago* Extended X interface: pixmap objects, colormap objects visual objects,
Sjoerd Mullender [Mon, 11 Oct 1993 12:54:31 +0000 (12:54 +0000)] 
* Extended X interface: pixmap objects, colormap objects visual objects,
  image objects, and lots of new methods.
* Added counting of allocations and deallocations of builtin types if
  COUNT_ALLOCS is defined.  Had to move calls to NEWREF down in some
  files.
* Bug fix in sorting lists.

32 years agoNot everyone has Guido's bin in his/her PATH...
Sjoerd Mullender [Mon, 11 Oct 1993 12:39:15 +0000 (12:39 +0000)] 
Not everyone has Guido's bin in his/her PATH...

32 years agoInstead of single clicks, use double clicks to get the instance window.
Sjoerd Mullender [Fri, 1 Oct 1993 14:39:45 +0000 (14:39 +0000)] 
Instead of single clicks, use double clicks to get the instance window.

32 years agoWDB enhancement: Click once on a line with a class instance in the
Sjoerd Mullender [Fri, 1 Oct 1993 14:29:45 +0000 (14:29 +0000)] 
WDB enhancement:  Click once on a line with a class instance in the
local or global variables list and you get a window with the instance
variable of the class instance.  This list is of course automatically
kept up to date.

32 years ago- VFile: moved decompression code to VideoParams (so it is also
Jack Jansen [Tue, 28 Sep 1993 16:46:15 +0000 (16:46 +0000)] 
- VFile: moved decompression code to VideoParams (so it is also
  useable via VinFile).
- Vcopy: now allows decompression of 'compress' movies.

32 years agoAdded ability to edit compressed movies.
Jack Jansen [Tue, 28 Sep 1993 15:29:18 +0000 (15:29 +0000)] 
Added ability to edit compressed movies.

32 years agoSanity check for compress files.
Jack Jansen [Tue, 28 Sep 1993 15:28:44 +0000 (15:28 +0000)] 
Sanity check for compress files.

32 years agoAdded autoedit and cancel commands, removed debug output
Jack Jansen [Tue, 28 Sep 1993 15:28:10 +0000 (15:28 +0000)] 
Added autoedit and cancel commands, removed debug output

32 years agoDon't import gl if not needed.
Sjoerd Mullender [Mon, 27 Sep 1993 12:50:06 +0000 (12:50 +0000)] 
Don't import gl if not needed.
Fixed a typo.

32 years agoImplemented support for CDDB_PATH and CDDB_WRITE_DIR environment
Sjoerd Mullender [Mon, 27 Sep 1993 12:36:01 +0000 (12:36 +0000)] 
Implemented support for CDDB_PATH and CDDB_WRITE_DIR environment
variables.
Added auxiliary routine tochash to convert a table-of-contents to a
hashed toc.

32 years agoBug fix: check whether call succeeded *after* the call.
Sjoerd Mullender [Tue, 14 Sep 1993 08:37:39 +0000 (08:37 +0000)] 
Bug fix: check whether call succeeded *after* the call.

32 years agoFixed dealing with faulty COMM chunks.
Sjoerd Mullender [Thu, 26 Aug 1993 14:12:07 +0000 (14:12 +0000)] 
Fixed dealing with faulty COMM chunks.

32 years agoXEvent.py: Added support for ExposeEvent.
Sjoerd Mullender [Wed, 25 Aug 1993 14:09:01 +0000 (14:09 +0000)] 
XEvent.py: Added support for ExposeEvent.
profile.py: Some speed improvements (I hope).
rect.py: Bug fix in union().

32 years ago* clmodule.c (doParams): free PVbuffer in error condition.
Sjoerd Mullender [Tue, 3 Aug 1993 15:11:36 +0000 (15:11 +0000)] 
* clmodule.c (doParams): free PVbuffer in error condition.
* frameobject.c (newframeobject): initialize ob_type if taking entry
  from the free list, since it is zeroed out when DEBUG is defined.

32 years agoThis commit was manufactured by cvs2svn to create tag 'release099'. v0.9.9
cvs2svn [Thu, 29 Jul 1993 13:14:32 +0000 (13:14 +0000)] 
This commit was manufactured by cvs2svn to create tag 'release099'.

32 years agoFinal touch before release.
Guido van Rossum [Thu, 29 Jul 1993 13:14:32 +0000 (13:14 +0000)] 
Final touch before release.

32 years ago* pdb.py: set 'privileged' property when evaluating expressions
Guido van Rossum [Thu, 29 Jul 1993 09:37:38 +0000 (09:37 +0000)] 
* pdb.py: set 'privileged' property when evaluating expressions
* string.py: change whitespace to include \r, \v and \f.
  When importing strop succeeds, re-evaluate meaning of letters.

32 years agoMinor fixes / changes for Mac compatibility.
Guido van Rossum [Thu, 29 Jul 1993 08:25:09 +0000 (08:25 +0000)] 
Minor fixes / changes for Mac compatibility.

32 years ago* Added support for X11 modules.
Guido van Rossum [Wed, 28 Jul 1993 09:05:47 +0000 (09:05 +0000)] 
* Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
  to support inclusion from C++.

32 years agoforms_set_event_call_back: argument of None resets event callback to NULL.
Guido van Rossum [Mon, 26 Jul 1993 15:24:57 +0000 (15:24 +0000)] 
forms_set_event_call_back: argument of None resets event callback to NULL.

32 years agoVFile - Added support for creating compression lib movies
Jack Jansen [Fri, 23 Jul 1993 11:59:25 +0000 (11:59 +0000)] 
VFile - Added support for creating compression lib movies
Vb, VbForm - Compression lib movie support
     Save settings in ~/.Vb_init

32 years agoThis module can now be used asynchronously. Also, some commands
Jack Jansen [Mon, 19 Jul 1993 16:13:33 +0000 (16:13 +0000)] 
This module can now be used asynchronously. Also, some commands
have been added.

32 years agoInterface to vcr index files (as created by vcrindex program)
Jack Jansen [Mon, 19 Jul 1993 16:13:04 +0000 (16:13 +0000)] 
Interface to vcr index files (as created by vcrindex program)

32 years ago* accessobject.c (ownercheck): allow a base class access to protected
Guido van Rossum [Sun, 11 Jul 1993 19:55:34 +0000 (19:55 +0000)] 
* accessobject.c (ownercheck): allow a base class access to protected
  objects of its derived classes; allow anything that has an attribute
  named "__privileged__" access to anything.
* object.[ch]: added hasattr() -- test whether getattr() will succeed.

32 years agoUse module aifc instead of module aiff.
Guido van Rossum [Sat, 10 Jul 1993 12:11:56 +0000 (12:11 +0000)] 
Use module aifc instead of module aiff.

32 years ago* config.c: different default PYTHONPATH for MS-DOS
Guido van Rossum [Fri, 9 Jul 1993 10:51:31 +0000 (10:51 +0000)] 
* config.c: different default PYTHONPATH for MS-DOS
* timemodule.c: change #ifdef TURBO_C into #ifdef MSDOS
* posixmodule.c: MSDOS changes by Marcel van der Peijl (Digicash)
* stropmodule.c: use C isspace(c) to test for whitespace; add
  whitespace, lowercase and uppercase variables to the module.

32 years agostropmodule.c: use C isspace(c) to test for whitespace; add
Guido van Rossum [Thu, 8 Jul 1993 11:12:36 +0000 (11:12 +0000)] 
stropmodule.c: use C isspace(c) to test for whitespace; add
whitespace variable to module dict.

32 years ago* posixpath.py: Fix border cases in normpath ('/foo/..' should return '/')
Guido van Rossum [Tue, 6 Jul 1993 15:19:36 +0000 (15:19 +0000)] 
* posixpath.py: Fix border cases in normpath ('/foo/..' should return '/')
* ftplib.py: made cwd() use 'CDUP' when dirname is '..'
* FL.py: added new constant FL_PLACE_FULLSCREEN

32 years ago* Makefile: added all: and default: targets.
Guido van Rossum [Mon, 5 Jul 1993 10:31:29 +0000 (10:31 +0000)] 
* Makefile: added all: and default: targets.
* many files: made some functions static; removed "extern int errno;".
* frozenmain.c: fixed bugs introduced on 24 June...
* flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a
  (and some old functions that were omitted).
* timemodule.c: added MSDOS floatsleep version .
* pgenmain.c: changed exit() to goaway() and added defn of goaway().
* intrcheck.c: add hack (to UNIX only) so interrupting 3 times
  will exit from a hanging program.  The second interrupt prints
  a message explaining this to the user.

32 years ago* pythonmain.c: -k option, usage message, more environment flags.
Guido van Rossum [Thu, 24 Jun 1993 11:10:19 +0000 (11:10 +0000)] 
* pythonmain.c: -k option, usage message, more environment flags.
  (the latter also in frozenmain.c)
* ceval.c: global 'killprint' flag raises exception when printing an
  expression statement's value (useful for finding stray output)
* timemodule.c: add asctime() and ctime().  Change julian date to
  1-based origin (as intended and documented).
* Removed unused DO_TIMES stuff from timemodule.c.  Added 'epoch' and
  'day0' globals (year where time.time() == 0 and day of the week the
  epoch started).

32 years agopdb.py, bdb.py, cmd.py: use __init__() instead of init()
Guido van Rossum [Wed, 23 Jun 1993 11:55:24 +0000 (11:55 +0000)] 
pdb.py, bdb.py, cmd.py: use __init__() instead of init()

32 years ago* calendar.py: all libC functionality now moved to built-in time module
Guido van Rossum [Wed, 23 Jun 1993 09:30:50 +0000 (09:30 +0000)] 
* calendar.py: all libC functionality now moved to built-in time module
* imghdr.py: added jpeg recognition
* torgb.py: added jpeg conversion
* tzparse.py: use functions from time instead of calendar
* whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'

32 years ago* aifc.py: don't die on invalid MARK chunk
Guido van Rossum [Sun, 20 Jun 1993 21:02:22 +0000 (21:02 +0000)] 
* aifc.py: don't die on invalid MARK chunk
* calendar.py: remove stuff now built in time; some cleanup and
  generalization in the calendar printing
* cmd.py: use __init__.
* tzparse.py: This module is no longer necessary -- use builtin time instead!

32 years ago* calendar.py: minor cleanups
Guido van Rossum [Thu, 17 Jun 1993 12:38:10 +0000 (12:38 +0000)] 
* calendar.py: minor cleanups
* ftplib.py: support __init__ with optional host, port args
* aifc.py: ensure header is written on close even when no data is written

32 years ago* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Guido van Rossum [Thu, 17 Jun 1993 12:35:49 +0000 (12:35 +0000)] 
* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
  Added $(SYSDEF) to its build rule in Makefile.
* cgensupport.[ch], modsupport.[ch]: removed some old stuff.  Also
  changed files that still used it...  And made several things static
  that weren't but should have been...  And other minor cleanups...
* listobject.[ch]: add external interfaces {set,get}listslice
* socketmodule.c: fix bugs in new send() argument parsing.
* sunaudiodevmodule.c: added flush() and close().

32 years agoAdded fixps, fixcid.
Guido van Rossum [Mon, 14 Jun 1993 08:47:54 +0000 (08:47 +0000)] 
Added fixps, fixcid.

32 years agoMostly cosmetics, e.g. change window titles so icon titles are better,
Guido van Rossum [Fri, 11 Jun 1993 15:48:39 +0000 (15:48 +0000)] 
Mostly cosmetics, e.g. change window titles so icon titles are better,
size window back to last size when going from 24bits to 8bits mode, etc.

32 years agoKeep top left corner of window where it was when resizing.
Guido van Rossum [Fri, 11 Jun 1993 14:13:13 +0000 (14:13 +0000)] 
Keep top left corner of window where it was when resizing.
Keep aspect and max size of window at all times.
Remove (now unnecessary) sleep(0.1) in vcr capture code.
Add messages when initializing VCR.
Remove old comments.

32 years agoInitial revision
Guido van Rossum [Thu, 10 Jun 1993 14:43:53 +0000 (14:43 +0000)] 
Initial revision

32 years agoFixed another place where set_rgbmode() should be called.
Guido van Rossum [Thu, 10 Jun 1993 14:42:03 +0000 (14:42 +0000)] 
Fixed another place where set_rgbmode() should be called.
Separated out colormap installation (for override by Glx widget).

32 years agoImpor VCR at the top. Change the way audio is recorded subtly.
Guido van Rossum [Thu, 10 Jun 1993 13:40:51 +0000 (13:40 +0000)] 
Impor VCR at the top.  Change the way audio is recorded subtly.

32 years agoVCR.py: Use unix files instead of stdio files for tty communication,
Guido van Rossum [Thu, 10 Jun 1993 13:32:32 +0000 (13:32 +0000)] 
VCR.py: Use unix files instead of stdio files for tty communication,
        because of buffering.  Also added several new commands (Jack).
VFile.py: Made setting of RGB or colormap mode separate methods,
so they can be overridden (e.g. when using the Glx.draw widget
the way to change the mode is totally different).

32 years agoAdded 24 bit RGB capture
Jack Jansen [Tue, 8 Jun 1993 12:52:41 +0000 (12:52 +0000)] 
Added 24 bit RGB capture
Added JPEG capture
Added multiple-speed VCR sync and single-step VCR sync
VCR sync recorded movies get correct timestamps
Added (still non-functional) 24-bit picture scaling

32 years agoGrab a 24-bit image off the StarterVideo
Jack Jansen [Tue, 8 Jun 1993 12:48:44 +0000 (12:48 +0000)] 
Grab a 24-bit image off the StarterVideo

32 years agoAdded jpeg grabber
Jack Jansen [Tue, 8 Jun 1993 12:47:20 +0000 (12:47 +0000)] 
Added jpeg grabber

32 years agoNewss class style
Jack Jansen [Tue, 8 Jun 1993 12:47:06 +0000 (12:47 +0000)] 
Newss class style

32 years agoSmall imporvements, added mpz and md5 to list of modules,
Guido van Rossum [Sat, 5 Jun 1993 18:03:53 +0000 (18:03 +0000)] 
Small imporvements, added mpz and md5 to list of modules,
changed library list somewhat.  CLOSE FILE "tmpconfig.c" AFTER WRITING!

32 years agoIgnore ,v files too
Guido van Rossum [Sat, 5 Jun 1993 18:03:30 +0000 (18:03 +0000)] 
Ignore ,v files too

32 years agoInitial revision
Guido van Rossum [Sat, 5 Jun 1993 18:02:52 +0000 (18:02 +0000)] 
Initial revision

32 years agoInitial revision
Guido van Rossum [Thu, 3 Jun 1993 14:39:09 +0000 (14:39 +0000)] 
Initial revision

32 years ago* toaiff.py: import whatsound instead of sndhdr
Guido van Rossum [Tue, 1 Jun 1993 13:21:04 +0000 (13:21 +0000)] 
* toaiff.py: import whatsound instead of sndhdr
* sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC
* ftplib.py: added close() (closes without sending QUIT command)
* aifc.py: documented close()

32 years agoChanged setpf so it understands old-style packfactors
Jack Jansen [Tue, 1 Jun 1993 12:04:08 +0000 (12:04 +0000)] 
Changed setpf so it understands old-style packfactors

32 years ago* socketmodule.c: fix long-standing bug in recvfrom() -- addrlen
Guido van Rossum [Tue, 25 May 1993 12:16:29 +0000 (12:16 +0000)] 
* socketmodule.c: fix long-standing bug in recvfrom() -- addrlen
  wasn't initialized.

32 years agoNew class syntax
Jack Jansen [Tue, 25 May 1993 10:40:23 +0000 (10:40 +0000)] 
New class syntax

32 years ago* classobject.c: in instance_getattr, don't make a method out of a
Guido van Rossum [Tue, 25 May 1993 09:38:27 +0000 (09:38 +0000)] 
* classobject.c: in instance_getattr, don't make a method out of a
  function found as instance data.
* socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite
  argument parsing in send/recv.
* More changes related to access (terminology change: owner instead of
  class; allow any object as owner; local/global variables are owned
  by their dictionary, only class/instance data is owned by the class;
  "from...import *" now only imports objects with public access; etc.)

32 years ago* lib1.tex: documented dict.items() and dict.values()
Guido van Rossum [Mon, 24 May 1993 14:19:37 +0000 (14:19 +0000)] 
* lib1.tex: documented dict.items() and dict.values()
* ref3.tex: documented new __init__ and __del__ special methods of
  class instances.

32 years ago* ftplib.py: added abort() command (sends oob data).
Guido van Rossum [Mon, 24 May 1993 14:16:22 +0000 (14:16 +0000)] 
* ftplib.py: added abort() command (sends oob data).
* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found

32 years ago* Lots of small changes related to access.
Guido van Rossum [Fri, 21 May 1993 19:56:10 +0000 (19:56 +0000)] 
* Lots of small changes related to access.
* Added "access *: ...", made access work for class methods.
* Introduced subclass check: make sure that when calling
  ClassName.methodname(instance, ...), the instance is an instance of
  ClassName or of a subclass thereof (this might break some old code!)

32 years agoAccess checks now work, at least for instance data (not for methods
Guido van Rossum [Thu, 20 May 1993 14:24:46 +0000 (14:24 +0000)] 
Access checks now work, at least for instance data (not for methods
yet).  The class is now passed to eval_code and stored in the current
frame.  It is also stored in instance method objects.  An "unbound"
instance method is now returned when a function is retrieved through
"classname.funcname", which when called passes the class to eval_code.

32 years agoSeveral changes in one:
Guido van Rossum [Wed, 19 May 1993 14:50:45 +0000 (14:50 +0000)] 
Several changes in one:

(1) dictionaries/mappings now have attributes values() and items() as
well as keys(); at the C level, use the new function mappinggetnext()
to iterate over a dictionary.

(2) "class C(): ..." is now illegal; you must write "class C: ...".

(3) Class objects now know their own name (finally!); and minor
improvements to the way how classes, functions and methods are
represented as strings.

(4) Added an "access" statement and semantics.  (This is still
experimental -- as long as you don't use the keyword 'access' nothing
should be changed.)

32 years agoNew posix functions open, close, dup, dup2, lseek, read, write, fstat, pipe.
Guido van Rossum [Mon, 17 May 1993 08:34:16 +0000 (08:34 +0000)] 
New posix functions open, close, dup, dup2, lseek, read, write, fstat, pipe.
Improved some comments and defaults in the Makefile.

32 years agoAdded cwd()
Guido van Rossum [Mon, 17 May 1993 08:00:02 +0000 (08:00 +0000)] 
Added cwd()

32 years agoJack's VCR control module
Guido van Rossum [Wed, 12 May 1993 12:35:44 +0000 (12:35 +0000)] 
Jack's VCR control module

32 years ago* selectmodule.c: fix (another!) two memory leaks -- this time in list2set
Guido van Rossum [Wed, 12 May 1993 11:35:44 +0000 (11:35 +0000)] 
* selectmodule.c: fix (another!) two memory leaks -- this time in list2set
* tokenizer.[ch]: allow continuation without \ inside () [] {}.

32 years agoLots of small changes collected over months...
Guido van Rossum [Wed, 12 May 1993 08:53:36 +0000 (08:53 +0000)] 
Lots of small changes collected over months...

32 years ago* pythonrun.c: Print exception type+arg *after* stack trace instead of
Guido van Rossum [Wed, 12 May 1993 08:24:20 +0000 (08:24 +0000)] 
* pythonrun.c: Print exception type+arg *after* stack trace instead of
  before it.
* ceval.c, object.c: moved testbool() to object.c (now extern visible)
* stringobject.c: fix bugs in and rationalize string resize in formatstring()
* tokenizer.[ch]: fix non-working code for lines longer than BUFSIZ

32 years agoImplemented VCR capture using forward slow instead of stepping.
Guido van Rossum [Tue, 11 May 1993 18:36:54 +0000 (18:36 +0000)] 
Implemented VCR capture using forward slow instead of stepping.
Also added a 'rate' field to specify the capture rate in this case.

32 years agoDisconnect from VCR when switching modes.
Guido van Rossum [Mon, 10 May 1993 15:45:49 +0000 (15:45 +0000)] 
Disconnect from VCR when switching modes.
Wait for VCR ready and set VCR mode to DNR when initializing VCR.
Fix type error in getfloat().

32 years agoAdded single frame capturing.
Guido van Rossum [Mon, 10 May 1993 15:07:20 +0000 (15:07 +0000)] 
Added single frame capturing.
Added VCR synchronized capturing.
Added audio capturing (for continuous mode only).
Lots of internal and external improvements.

32 years agoRevived the old aplay tool which can play synchronous audio and video...
Guido van Rossum [Mon, 10 May 1993 14:56:32 +0000 (14:56 +0000)] 
Revived the old aplay tool which can play synchronous audio and video...

32 years agoMoved stop button again; default form position next to video window.
Guido van Rossum [Fri, 7 May 1993 11:20:07 +0000 (11:20 +0000)] 
Moved stop button again; default form position next to video window.

32 years agoAll combinations of video format and capture mode (cont/burst) now
Guido van Rossum [Fri, 7 May 1993 09:37:42 +0000 (09:37 +0000)] 
All combinations of video format and capture mode (cont/burst) now
work.  Reorganized a lot of the code, still not satisfied...