]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
31 years agoAdded depend target; cosmetic changes to other targets
Guido van Rossum [Tue, 28 Dec 1993 19:39:56 +0000 (19:39 +0000)] 
Added depend target; cosmetic changes to other targets

31 years agoAdded (dummy) depend target
Guido van Rossum [Tue, 28 Dec 1993 19:39:13 +0000 (19:39 +0000)] 
Added (dummy) depend target

31 years agoAlpha 1.0.0
Guido van Rossum [Sun, 26 Dec 1993 18:24:40 +0000 (18:24 +0000)] 
Alpha 1.0.0

31 years agoPy -> Include
Guido van Rossum [Sun, 26 Dec 1993 18:15:49 +0000 (18:15 +0000)] 
Py -> Include

31 years agoAdded function ttob.
Sjoerd Mullender [Fri, 24 Dec 1993 14:51:14 +0000 (14:51 +0000)] 
Added function ttob.

31 years agoNew files
Guido van Rossum [Fri, 24 Dec 1993 10:39:16 +0000 (10:39 +0000)] 
New files

31 years agoNone
Guido van Rossum [Fri, 24 Dec 1993 10:36:57 +0000 (10:36 +0000)] 
None

31 years agoNew files
Guido van Rossum [Fri, 24 Dec 1993 10:32:48 +0000 (10:32 +0000)] 
New files

31 years agoMisc changes.
Guido van Rossum [Fri, 24 Dec 1993 10:32:14 +0000 (10:32 +0000)] 
Misc changes.

31 years agoNew files.
Guido van Rossum [Fri, 24 Dec 1993 10:32:00 +0000 (10:32 +0000)] 
New files.

31 years agoAdded getmaxint() so sys can initialize sys.maxint.
Guido van Rossum [Fri, 24 Dec 1993 10:22:45 +0000 (10:22 +0000)] 
Added getmaxint() so sys can initialize sys.maxint.
Added Makefile.in.

31 years agoANSIfied somewhat.
Sjoerd Mullender [Fri, 24 Dec 1993 10:05:51 +0000 (10:05 +0000)] 
ANSIfied somewhat.

31 years agoAnd another init incompatibility bites the dust.
Sjoerd Mullender [Wed, 22 Dec 1993 12:40:20 +0000 (12:40 +0000)] 
And another init incompatibility bites the dust.

31 years agoFixed use of aifc module.
Sjoerd Mullender [Wed, 22 Dec 1993 11:44:49 +0000 (11:44 +0000)] 
Fixed use of aifc module.

31 years ago* rangeobject.[ch], bltinmodule.c: incorporate new version of range
Guido van Rossum [Tue, 21 Dec 1993 22:50:31 +0000 (22:50 +0000)] 
* rangeobject.[ch], bltinmodule.c: incorporate new version of range
  object (unchanged from source except "range" -> "xrange").

31 years agorgbimgmodule.c, Makefile, config.c: new module to read RGB image files.
Sjoerd Mullender [Tue, 21 Dec 1993 17:06:12 +0000 (17:06 +0000)] 
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.

31 years agoalmodule.c: added close method, equivalent to closeport.
Sjoerd Mullender [Mon, 20 Dec 1993 17:26:34 +0000 (17:26 +0000)] 
almodule.c: added close method, equivalent to closeport.
thread.h: use PROTO instead of _P for prototypes.

31 years ago* Grammar: corrected old typo (class instead of 'class')
Guido van Rossum [Mon, 20 Dec 1993 12:53:10 +0000 (12:53 +0000)] 
* 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).

31 years agoNew file
Guido van Rossum [Mon, 20 Dec 1993 11:43:21 +0000 (11:43 +0000)] 
New file

31 years agoNew file
Guido van Rossum [Mon, 20 Dec 1993 10:52:46 +0000 (10:52 +0000)] 
New file

31 years agoNew file
Guido van Rossum [Mon, 20 Dec 1993 10:43:53 +0000 (10:43 +0000)] 
New file

31 years agoaifc.py, sunau.py: Adapted comments; added access statements.
Sjoerd Mullender [Mon, 20 Dec 1993 09:36:01 +0000 (09:36 +0000)] 
aifc.py, sunau.py: Adapted comments; added access statements.
SUNAUDIODEV.py: Added some constants for Solaris.

31 years ago* aifc.py (Aifc_write): fix bogus reference to filename
Guido van Rossum [Fri, 17 Dec 1993 16:43:43 +0000 (16:43 +0000)] 
* aifc.py (Aifc_write): fix bogus reference to filename

31 years ago* Mass change: get rid of all init() methods, in favor of __init__()
Guido van Rossum [Fri, 17 Dec 1993 15:25:27 +0000 (15:25 +0000)] 
* 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)

31 years agoInterface to audio hardware for SGI and Sun.
Sjoerd Mullender [Fri, 17 Dec 1993 15:18:37 +0000 (15:18 +0000)] 
Interface to audio hardware for SGI and Sun.

31 years agoUniformly replaced init() functions by __init__() constructors.
Guido van Rossum [Fri, 17 Dec 1993 15:11:41 +0000 (15:11 +0000)] 
Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...

31 years ago*** empty log message ***
Guido van Rossum [Fri, 17 Dec 1993 14:57:24 +0000 (14:57 +0000)] 
*** empty log message ***

31 years agoInitial revision
Guido van Rossum [Fri, 17 Dec 1993 14:45:06 +0000 (14:45 +0000)] 
Initial revision

31 years ago*** empty log message ***
Guido van Rossum [Fri, 17 Dec 1993 14:45:06 +0000 (14:45 +0000)] 
*** empty log message ***

31 years ago*** empty log message ***
Guido van Rossum [Fri, 17 Dec 1993 14:39:12 +0000 (14:39 +0000)] 
*** empty log message ***

31 years ago*** empty log message ***
Guido van Rossum [Fri, 17 Dec 1993 14:32:26 +0000 (14:32 +0000)] 
*** empty log message ***

31 years ago*** empty log message ***
Guido van Rossum [Fri, 17 Dec 1993 14:23:52 +0000 (14:23 +0000)] 
*** empty log message ***

31 years ago* lib2.tex (sys): updated sys.std{in,out,err} docs. Added
Guido van Rossum [Fri, 17 Dec 1993 12:13:53 +0000 (12:13 +0000)] 
* 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.

31 years ago* mpzmodule.c: cast some methods to the proper type.
Guido van Rossum [Fri, 17 Dec 1993 12:09:14 +0000 (12:09 +0000)] 
* 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().

31 years agoDon't close the file explicitly.
Sjoerd Mullender [Thu, 16 Dec 1993 14:02:44 +0000 (14:02 +0000)] 
Don't close the file explicitly.

31 years agoDon't close the file.
Sjoerd Mullender [Thu, 16 Dec 1993 13:56:34 +0000 (13:56 +0000)] 
Don't close the file.

31 years ago* wdbframewin.py (re_eval): set __privileged__ in globals so private
Guido van Rossum [Tue, 14 Dec 1993 15:54:01 +0000 (15:54 +0000)] 
* 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

31 years agoInitial revision
Guido van Rossum [Tue, 14 Dec 1993 10:08:02 +0000 (10:08 +0000)] 
Initial revision

31 years agoAdded minmax function:
Sjoerd Mullender [Mon, 13 Dec 1993 12:06:27 +0000 (12:06 +0000)] 
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.

31 years agoaifc.py: added missing tell() method in AIFC write class;
Sjoerd Mullender [Mon, 13 Dec 1993 11:42:39 +0000 (11:42 +0000)] 
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

31 years agoPort to Solaris 2.3.
Sjoerd Mullender [Fri, 3 Dec 1993 16:54:45 +0000 (16:54 +0000)] 
Port to Solaris 2.3.

31 years agochange syntactical position of lambdef (was an atom, now is a test)
Guido van Rossum [Tue, 30 Nov 1993 14:57:42 +0000 (14:57 +0000)] 
change syntactical position of lambdef (was an atom, now is a test)

31 years ago* test_*.py: new lambda syntax (also affects tests for filter, map,
Guido van Rossum [Tue, 30 Nov 1993 13:43:54 +0000 (13:43 +0000)] 
* 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().

31 years ago* import.c (get_module): pass .py filename to parse_file, not .pyc filename!
Guido van Rossum [Tue, 30 Nov 1993 13:40:46 +0000 (13:40 +0000)] 
* 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.

31 years agoFix lay-out of previous fix.
Guido van Rossum [Tue, 23 Nov 1993 17:54:03 +0000 (17:54 +0000)] 
Fix lay-out of previous fix.

31 years ago* timemodule.c: Add hack for Solaris 2.
Guido van Rossum [Tue, 23 Nov 1993 17:53:17 +0000 (17:53 +0000)] 
* timemodule.c: Add hack for Solaris 2.
* posixmodule.c: don't prototype getcwd() -- it's not portable...
* mappingobject.c: double-check validity of last_name_char in
  dict{lookup,insert,remove}.
* arraymodule.c: need memmove only for non-STDC Suns.
* Makefile: comment out HTML_LIBS and XT_USE by default
* pythonmain.c: don't prototype getopt() -- it's not standardized
* socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
  recvfrom() to (ANY*).
* pythonrun.c (initsigs): fix prototype, make it static
* intobject.c (LONG_BIT): only #define it if not already defined
* classobject.[ch]: remove all references to unused instance_convert()
* mappingobject.c (getmappingsize): Don't return NULL in int function.

31 years ago* {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}.
Guido van Rossum [Tue, 23 Nov 1993 16:28:45 +0000 (16:28 +0000)] 
* {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}.
* lib2.tex: change bogus \\var to \var.

32 years ago* text2latex.py: call main() instead of always processing ext.tex.
Guido van Rossum [Fri, 19 Nov 1993 13:13:22 +0000 (13:13 +0000)] 
* text2latex.py: call main() instead of always processing ext.tex.
* Makefile: added 'ext' to 'all' target
* ext.tex: more changes towards a readable text
* lib4.tex (posix): added set{uid,gid}
* lib2.tex (array): restored doc for typecode and itemsize (which were
  there but not visible for dir())

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.