summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * listobject.c (list_ass_slice): XDECREF instead of DECREF soGuido van Rossum1993-10-272-187/+128
| | | | | | 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.
* * lib3.tex (module string): added rindex().Guido van Rossum1993-10-276-42/+42
| | | | | | | | | * 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.
* Committing the correct graminit.c; also changed confusing comments in Grammar.Guido van Rossum1993-10-272-719/+701
|
* *** empty log message ***Guido van Rossum1993-10-272-5/+31
|
* Add coercionsGuido van Rossum1993-10-271-2/+12
|
* Initial revisionGuido van Rossum1993-10-271-0/+341
|
* * compile.[ch]: support for lambda()Guido van Rossum1993-10-2612-708/+1641
| | | | | | | | | | * 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!!!)
* Add some necessary casts; use double quotes to represent strings inGuido van Rossum1993-10-261-14/+27
| | | | some cases.
* Added rindex(). index() and rindex() interpret negative start indexGuido van Rossum1993-10-261-5/+41
| | | | as normal indexing does.
* Work around a bug in the DEC alpha OSF/1 C preprocessor.Guido van Rossum1993-10-261-0/+3
|
* Changes to make range checks portable to 64-bit machines.Guido van Rossum1993-10-261-3/+21
|
* Changes to accept double-quoted strings on input.Guido van Rossum1993-10-262-3/+31
|
* Fix reference to undefined 'memsize' in calcnframes().Guido van Rossum1993-10-261-2/+2
|
* * filemodule.c: added writelines() -- analogous to readlines()Guido van Rossum1993-10-252-1/+44
| | | | * import.c: fixed core dump when out-of-date .pyc file encountered (again!)
* import.c: When something is wrong with the .pyc, properly open the .pySjoerd Mullender1993-10-252-34/+40
| | | | | file. object.c: Write allocation statistics to stderr.
* * import.c (MAGIC): Changed magic word to avoid confusion about execGuido van Rossum1993-10-223-5/+5
| | | | | | | 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.
* added builtin b/w compat module.Guido van Rossum1993-10-224-11/+25
| | | | changed testing of exec.
* Added missing "import os" to pdb.help()Guido van Rossum1993-10-221-0/+1
|
* * profile.py, pdb.py: added help() functionGuido van Rossum1993-10-225-2/+93
| | | | | | * 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
* Several optimizations and speed improvements.Sjoerd Mullender1993-10-2210-63/+216
| | | | cstubs: Use Matrix type instead of float[4][4].
* "exec" is now a statement. execfile() is obsolete.Guido van Rossum1993-10-182-0/+78
| | | | (Also added a stub for "access".)
* * bltinmodule.c: removed exec() built-in function.Guido van Rossum1993-10-189-436/+585
| | | | | | | * 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.
* * stdwinmodule.c (stdwin_done): interface to shutdown stdwin (now this isGuido van Rossum1993-10-183-24/+98
| | | | | | | | | 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.
* intobject.c: Save references to small integers, so that they can beSjoerd Mullender1993-10-153-7/+95
| | | | | | | | | | | | | | | | 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.
* Makefile, import.c: Lance's alternative module search (allow .pyc fileGuido van Rossum1993-10-153-104/+130
| | | | | | | | | | 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.
* Added widget methods {Height,Width}{,MM}OfScreen.Sjoerd Mullender1993-10-121-1/+1
|
* * Added support for X window interface.Sjoerd Mullender1993-10-121-0/+1
| | | | | | * 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.
* * ref3.tex: added cross-ref to try statement for exc handler.Guido van Rossum1993-10-114-6/+34
| | | | | * ref7.tex: added description of sys.exc_{type,value,traceback}. * lib5.tex: rect.intersect is different now!
* * Extended X interface: pixmap objects, colormap objects visual objects,Sjoerd Mullender1993-10-1112-18/+150
| | | | | | | | 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.
* Not everyone has Guido's bin in his/her PATH...Sjoerd Mullender1993-10-112-6/+6
|
* Instead of single clicks, use double clicks to get the instance window.Sjoerd Mullender1993-10-012-0/+4
|
* WDB enhancement: Click once on a line with a class instance in theSjoerd Mullender1993-10-012-0/+48
| | | | | | 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.
* - VFile: moved decompression code to VideoParams (so it is alsoJack Jansen1993-09-282-14/+44
| | | | | useable via VinFile). - Vcopy: now allows decompression of 'compress' movies.
* Added ability to edit compressed movies.Jack Jansen1993-09-281-0/+3
|
* Sanity check for compress files.Jack Jansen1993-09-281-1/+1
|
* Added autoedit and cancel commands, removed debug outputJack Jansen1993-09-281-4/+9
|
* Don't import gl if not needed.Sjoerd Mullender1993-09-271-3/+10
| | | | Fixed a typo.
* Implemented support for CDDB_PATH and CDDB_WRITE_DIR environmentSjoerd Mullender1993-09-272-20/+104
| | | | | | variables. Added auxiliary routine tochash to convert a table-of-contents to a hashed toc.
* Bug fix: check whether call succeeded *after* the call.Sjoerd Mullender1993-09-141-1/+1
|
* Fixed dealing with faulty COMM chunks.Sjoerd Mullender1993-08-261-3/+3
|
* XEvent.py: Added support for ExposeEvent.Sjoerd Mullender1993-08-253-18/+35
| | | | | profile.py: Some speed improvements (I hope). rect.py: Bug fix in union().
* * clmodule.c (doParams): free PVbuffer in error condition.Sjoerd Mullender1993-08-032-1/+4
| | | | | * frameobject.c (newframeobject): initialize ob_type if taking entry from the free list, since it is zeroed out when DEBUG is defined.
* This commit was manufactured by cvs2svn to create tag 'release099'.v0.9.9cvs2svn1993-07-291-0/+1
|
* Final touch before release.Guido van Rossum1993-07-292-4/+19
|
* * pdb.py: set 'privileged' property when evaluating expressionsGuido van Rossum1993-07-293-2/+11
| | | | | * string.py: change whitespace to include \r, \v and \f. When importing strop succeeds, re-evaluate meaning of letters.
* Minor fixes / changes for Mac compatibility.Guido van Rossum1993-07-294-7/+7
|
* * Added support for X11 modules.Guido van Rossum1993-07-2857-3/+986
| | | | | | | * 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++.
* forms_set_event_call_back: argument of None resets event callback to NULL.Guido van Rossum1993-07-261-0/+2
|
* VFile - Added support for creating compression lib moviesJack Jansen1993-07-233-54/+242
| | | | | Vb, VbForm - Compression lib movie support Save settings in ~/.Vb_init
* This module can now be used asynchronously. Also, some commandsJack Jansen1993-07-191-25/+127
| | | | have been added.