summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix stupib bug in concatenationGuido van Rossum1993-11-051-1/+1
|
* Must initialize 'inspect' flagGuido van Rossum1993-11-051-1/+2
|
* Added execve; change getstrarg into getargs with "s" formatGuido van Rossum1993-11-051-10/+99
|
* Fix memory leaks in join & joinfieldsGuido van Rossum1993-11-051-11/+25
|
* * nismodule.c: database keys and values can contain null bytes. be moreGuido van Rossum1993-11-035-36/+101
| | | | | | | | | | 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().
* Fixed a couple of bugs: getargs doesn't use % escapes, and secondsSjoerd Mullender1993-11-021-2/+2
| | | | must be set after timeout is initialized.
* * ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum1993-11-0110-10/+14
| | | | | | pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
* * selectmodule.c (select_select): timeout argument may be None with sameGuido van Rossum1993-11-011-6/+12
| | | | meaning as no 4th argument
* * fileobject.c (softspace): fix bug if called with NULL file.Guido van Rossum1993-11-011-1/+1
|
* Hacks for NEXTSTEP.Guido van Rossum1993-11-011-0/+5
|
* * rangeobject.{c,h}, bltinmodule.c: removed non-essential ops from rangeGuido van Rossum1993-11-013-121/+42
| | | | object.
* Replace <<-13 by >>13. Leave old code in #ifdef BUGGY_CODE_BW_COMPAT.Guido van Rossum1993-11-011-0/+15
|
* Simplify life for md5: include (slightly modified) md5.h and md5c.cGuido van Rossum1993-11-013-5/+414
| | | | | from RFC 1321 here, and point to that RFC instead of a non-existant incompatible file on rsa.com.
* Restructured main loop. Etc.Guido van Rossum1993-11-011-174/+161
|
* Major rewrite with new read_* interfacesGuido van Rossum1993-11-011-155/+295
|
* Fix bug in backup inside esc sequence.Guido van Rossum1993-11-011-1/+3
|
* Changed redraw policy.Guido van Rossum1993-11-011-14/+24
|
* Fixed bugs in resizetuple and extended the interface.Sjoerd Mullender1993-11-014-18/+59
| | | | | Added ifdefs in stringobject.c for shared strings of length 1. Renamed free_list in tupleobject.c to free_tuples.
* Added Dates.py and Rev.pyGuido van Rossum1993-10-301-0/+2
|
* Initial revisionGuido van Rossum1993-10-302-0/+322
|
* Fix bug and use __init__Guido van Rossum1993-10-301-9/+4
|
* Initial revisionGuido van Rossum1993-10-285-0/+971
|
* * 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!