| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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!!!)
|
|
|
|
| |
some cases.
|
|
|
|
| |
as normal indexing does.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* import.c: fixed core dump when out-of-date .pyc file encountered (again!)
|
|
|
|
|
| |
file.
object.c: Write allocation statistics to stderr.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
changed testing of exec.
|
| |
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
cstubs: Use Matrix type instead of float[4][4].
|
|
|
|
| |
(Also added a stub for "access".)
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* ref7.tex: added description of sys.exc_{type,value,traceback}.
* lib5.tex: rect.intersect is different now!
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
useable via VinFile).
- Vcopy: now allows decompression of 'compress' movies.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixed a typo.
|
|
|
|
|
|
| |
variables.
Added auxiliary routine tochash to convert a table-of-contents to a
hashed toc.
|
| |
|
| |
|
|
|
|
|
| |
profile.py: Some speed improvements (I hope).
rect.py: Bug fix in union().
|
|
|
|
|
| |
* frameobject.c (newframeobject): initialize ob_type if taking entry
from the free list, since it is zeroed out when DEBUG is defined.
|
| |
|
| |
|
|
|
|
|
| |
* string.py: change whitespace to include \r, \v and \f.
When importing strop succeeds, re-evaluate meaning of letters.
|
| |
|
|
|
|
|
|
|
| |
* 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++.
|
| |
|
|
|
|
|
| |
Vb, VbForm - Compression lib movie support
Save settings in ~/.Vb_init
|
|
|
|
| |
have been added.
|