]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
32 years ago* import.c (get_module): total rewrite, to ensure proper search order: for
Guido van Rossum [Wed, 17 Nov 1993 22:58:56 +0000 (22:58 +0000)] 
* import.c (get_module): total rewrite, to ensure proper search order: for
  each dir in sys.path, try each possible extension.  (Note: C extensions
  are loaded before Python modules in the same directory, to allow having
  a C version used when dynamic loading is supported and a Python version
  as a back-up.)
* import.c (reload_module): test for error from getmodulename()
* moduleobject.c: implement module name as dict entry '__name__' instead
  of special-casing it in module_getattr(); this way a module (or
  function!) can access its own module name, and programs that know what
  they are doing can rename modules.
* stdwinmodule.c (initstdwin): strip ".py" suffix of argv[0].

32 years agoFix the fix :-(
Guido van Rossum [Thu, 11 Nov 1993 15:03:51 +0000 (15:03 +0000)] 
Fix the fix :-(

32 years agoThree micro fixes to formatstring
Guido van Rossum [Thu, 11 Nov 1993 14:51:57 +0000 (14:51 +0000)] 
Three micro fixes to formatstring

32 years ago* test_select.py: (some) tests for built-in select module
Guido van Rossum [Thu, 11 Nov 1993 10:31:23 +0000 (10:31 +0000)] 
* test_select.py: (some) tests for built-in select module
* test_grammar.py, testall.out: added test for funny things in string literals
* token.py, symbol.py: definitions used with built-in parser module.
* tokenize.py: added double-quote recognition

32 years ago* parsermodule.c, Makefile, config.c: rudimentary interface to the Python
Guido van Rossum [Wed, 10 Nov 1993 12:53:24 +0000 (12:53 +0000)] 
* parsermodule.c, Makefile, config.c: rudimentary interface to the Python
  parser.
* mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in
  the code.

32 years ago* posixmodule.c: added set{uid,gid}.
Guido van Rossum [Wed, 10 Nov 1993 09:23:53 +0000 (09:23 +0000)] 
* posixmodule.c: added set{uid,gid}.
* {tuple,list,mapping,array}object.c: call printobject with 0 for flags
* compile.c (parsestr): use quote instead of '\'' at one crucial point
* arraymodule.c (array_getattr): Added __members__ attribute

32 years agoUse __init__ instead of init.
Sjoerd Mullender [Mon, 8 Nov 1993 15:10:43 +0000 (15:10 +0000)] 
Use __init__ instead of init.
Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py.

32 years ago* string.py: added rindex(), rfind(); changed index() to interpret
Guido van Rossum [Mon, 8 Nov 1993 15:05:21 +0000 (15:05 +0000)] 
* string.py: added rindex(), rfind(); changed index() to interpret
  negative start indices starting from the right.
* ftplib.py: debug() -> set_debuglevel(); change demo to use __init__().
* os.py: added execl, execlp, and execvp.
* lambda.py: removed (now that we have built-in map, reduce, bagof, lambda)
* test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce
* commands.py: use os, not posix
* test_grammar.py: make it easy to disable non-portable int overflow tests
* dis.py: don't abuse range()

32 years ago* ext.tex: did most of the tedious changes from plain ASCII text to LaTeX.
Guido van Rossum [Fri, 5 Nov 1993 17:11:16 +0000 (17:11 +0000)] 
* ext.tex: did most of the tedious changes from plain ASCII text to LaTeX.
* text2latex.py: automatically put function names in \code{}.
* lib.tex, ref.tex, ext.tex, qua.tex, tut.tex: use new P.O.Box number in
  address.

32 years ago* ext.tex: documentation for extending, reference counts, and embedding
Guido van Rossum [Fri, 5 Nov 1993 14:45:11 +0000 (14:45 +0000)] 
* ext.tex: documentation for extending, reference counts, and embedding
  (formerly ../misc/{EXTENDING,REFCNT,EMBEDDING}).  Also affects Makefile.
* text2latex.py: script to do part of the conversion from an plain ASCI
  text file (in my particular style) to LaTeX.
  (Chapter/section/subsection headers, and verbatim sections.)
* partparse.py, texipre.dat, fix.el, Makefile: Minor cleanup of latex ->
  info conversion process (at least it works again, and with less
  debugging output).  Removed fix.sh.
* lib1.tex (section{Built-in Functions}): adapt description of str() and
  repr() to new situation.
* lib3.tex (Module os): added exec*() variants.
* lib3.tex (Module posix): added execve().
* lib2.tex (Module array): documented reality; remove typecode and
itemsize, add byteswap, rename read/write to fromfile/tofile, and
re-alphabetized.
* lib1.tex (Built-in Functions): renamed bagof() to filter().

32 years ago* mpzmodule.c: removed redundant mpz_print function.
Guido van Rossum [Fri, 5 Nov 1993 10:22:19 +0000 (10:22 +0000)] 
* mpzmodule.c: removed redundant mpz_print function.
* object.[ch], bltinmodule.c, fileobject.c: changed str() to call
  strobject() which calls an object's __str__ method if it has one.
  strobject() is also called by writeobject() when PRINT_RAW is passed.
* ceval.c: rationalize code for PRINT_ITEM (no change in function!)
* funcobject.c, codeobject.c: added compare and hash functionality.
  Functions with identical code objects and the same global dictionary are
  equal.  Code objects are equal when their code, constants list and names
  list are identical (i.e. the filename and code name don't count).
  (hash doesn't work yet since the constants are in a list and lists can't
  be hashed -- suppose this should really be done with a tuple now we have
  resizetuple!)

32 years agoAdded compare operations for functions and code objects.
Guido van Rossum [Fri, 5 Nov 1993 10:20:10 +0000 (10:20 +0000)] 
Added compare operations for functions and code objects.
(Also hash, but it doesn't work yet.)

32 years agoAdded getmappingsize(). (Needed by previous checkin of posixmodule.c)
Guido van Rossum [Fri, 5 Nov 1993 10:18:44 +0000 (10:18 +0000)] 
Added getmappingsize().  (Needed by previous checkin of posixmodule.c)

32 years agoFix stupib bug in concatenation
Guido van Rossum [Fri, 5 Nov 1993 10:16:27 +0000 (10:16 +0000)] 
Fix stupib bug in concatenation

32 years agoMust initialize 'inspect' flag
Guido van Rossum [Fri, 5 Nov 1993 10:16:09 +0000 (10:16 +0000)] 
Must initialize 'inspect' flag

32 years agoAdded execve; change getstrarg into getargs with "s" format
Guido van Rossum [Fri, 5 Nov 1993 10:15:19 +0000 (10:15 +0000)] 
Added execve; change getstrarg into getargs with "s" format

32 years agoFix memory leaks in join & joinfields
Guido van Rossum [Fri, 5 Nov 1993 10:14:49 +0000 (10:14 +0000)] 
Fix memory leaks in join & joinfields

32 years ago* nismodule.c: database keys and values can contain null bytes. be more
Guido van Rossum [Wed, 3 Nov 1993 15:01:26 +0000 (15:01 +0000)] 
* nismodule.c: database keys and values can contain null bytes.  be more
  careful about these.
* arraymodule.c: added 8 byte swap; added 'i' format character; added
  reverse() method; rename read/write to fromfile/tofile.
* config.c: Set version to 0.9.9++.
* rotormodule.c (r_rand): declare k1..k5 as unsigned longs so the shifts
  will have a well-defined effect independent of word size.
* bltinmodule.c: renamed bagof() to filter().

32 years agoFixed a couple of bugs: getargs doesn't use % escapes, and seconds
Sjoerd Mullender [Tue, 2 Nov 1993 15:34:23 +0000 (15:34 +0000)] 
Fixed a couple of bugs: getargs doesn't use % escapes, and seconds
must be set after timeout is initialized.

32 years ago* ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,
Guido van Rossum [Mon, 1 Nov 1993 16:28:59 +0000 (16:28 +0000)] 
* ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,
  pythonrun.c: added static forward declarations
* pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of
  static routines

32 years ago* selectmodule.c (select_select): timeout argument may be None with same
Guido van Rossum [Mon, 1 Nov 1993 16:27:16 +0000 (16:27 +0000)] 
* selectmodule.c (select_select): timeout argument may be None with same
  meaning as no 4th argument

32 years ago* fileobject.c (softspace): fix bug if called with NULL file.
Guido van Rossum [Mon, 1 Nov 1993 16:26:16 +0000 (16:26 +0000)] 
* fileobject.c (softspace): fix bug if called with NULL file.

32 years agoHacks for NEXTSTEP.
Guido van Rossum [Mon, 1 Nov 1993 16:23:18 +0000 (16:23 +0000)] 
Hacks for NEXTSTEP.

32 years ago* rangeobject.{c,h}, bltinmodule.c: removed non-essential ops from range
Guido van Rossum [Mon, 1 Nov 1993 16:21:44 +0000 (16:21 +0000)] 
* rangeobject.{c,h}, bltinmodule.c: removed non-essential ops from range
  object.

32 years agoReplace <<-13 by >>13. Leave old code in #ifdef BUGGY_CODE_BW_COMPAT.
Guido van Rossum [Mon, 1 Nov 1993 16:20:18 +0000 (16:20 +0000)] 
Replace <<-13 by >>13.  Leave old code in #ifdef BUGGY_CODE_BW_COMPAT.

32 years agoSimplify life for md5: include (slightly modified) md5.h and md5c.c
Guido van Rossum [Mon, 1 Nov 1993 16:19:05 +0000 (16:19 +0000)] 
Simplify life for md5: include (slightly modified) md5.h and md5c.c
from RFC 1321 here, and point to that RFC instead of a non-existant
incompatible file on rsa.com.

32 years agoRestructured main loop. Etc.
Guido van Rossum [Mon, 1 Nov 1993 14:50:59 +0000 (14:50 +0000)] 
Restructured main loop.  Etc.

32 years agoMajor rewrite with new read_* interfaces
Guido van Rossum [Mon, 1 Nov 1993 14:49:37 +0000 (14:49 +0000)] 
Major rewrite with new read_* interfaces

32 years agoFix bug in backup inside esc sequence.
Guido van Rossum [Mon, 1 Nov 1993 14:49:04 +0000 (14:49 +0000)] 
Fix bug in backup inside esc sequence.

32 years agoChanged redraw policy.
Guido van Rossum [Mon, 1 Nov 1993 14:48:37 +0000 (14:48 +0000)] 
Changed redraw policy.

32 years agoFixed bugs in resizetuple and extended the interface.
Sjoerd Mullender [Mon, 1 Nov 1993 13:46:50 +0000 (13:46 +0000)] 
Fixed bugs in resizetuple and extended the interface.
Added ifdefs in stringobject.c for shared strings of length 1.
Renamed free_list in tupleobject.c to free_tuples.

32 years agoAdded Dates.py and Rev.py
Guido van Rossum [Sat, 30 Oct 1993 12:39:49 +0000 (12:39 +0000)] 
Added Dates.py and Rev.py

32 years agoInitial revision
Guido van Rossum [Sat, 30 Oct 1993 12:38:16 +0000 (12:38 +0000)] 
Initial revision

32 years agoFix bug and use __init__
Guido van Rossum [Sat, 30 Oct 1993 12:38:16 +0000 (12:38 +0000)] 
Fix bug and use __init__

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

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.