Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
8732d6a Fix lay-out of previous fix. 23 November 1993, 17:54:03 UTC
b376a4a * 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. 23 November 1993, 17:53:17 UTC
83eb962 * {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}. * lib2.tex: change bogus \\var to \var. 23 November 1993, 16:28:45 UTC
6f0132f * 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()) 19 November 1993, 13:13:22 UTC
c45611d * 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]. 17 November 1993, 22:58:56 UTC
71e57d0 Fix the fix :-( 11 November 1993, 15:03:51 UTC
6938a29 Three micro fixes to formatstring 11 November 1993, 14:51:57 UTC
b31c7f7 * 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 11 November 1993, 10:31:23 UTC
52f2c05 * 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. 10 November 1993, 12:53:24 UTC
a3d78fb * 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 10 November 1993, 09:23:53 UTC
b2e358d Use __init__ instead of init. Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py. 08 November 1993, 15:10:43 UTC
e65cce5 * 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() 08 November 1993, 15:05:21 UTC
db65a6c * 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. 05 November 1993, 17:11:16 UTC
7a2dba2 * 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(). 05 November 1993, 14:45:11 UTC
c600411 * 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!) 05 November 1993, 10:22:19 UTC
2e8f8a3 Added compare operations for functions and code objects. (Also hash, but it doesn't work yet.) 05 November 1993, 10:20:10 UTC
4199fac Added getmappingsize(). (Needed by previous checkin of posixmodule.c) 05 November 1993, 10:18:44 UTC
32be3a7 Fix stupib bug in concatenation 05 November 1993, 10:16:27 UTC
094885b Must initialize 'inspect' flag 05 November 1993, 10:16:09 UTC
c6dcc9f Added execve; change getstrarg into getargs with "s" format 05 November 1993, 10:15:19 UTC
572d2d9 Fix memory leaks in join & joinfields 05 November 1993, 10:14:49 UTC
e77a757 * 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(). 03 November 1993, 15:01:26 UTC
78ed420 Fixed a couple of bugs: getargs doesn't use % escapes, and seconds must be set after timeout is initialized. 02 November 1993, 15:34:23 UTC
b73cc04 * 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 01 November 1993, 16:28:59 UTC
c7a2270 * selectmodule.c (select_select): timeout argument may be None with same meaning as no 4th argument 01 November 1993, 16:27:16 UTC
82d410e * fileobject.c (softspace): fix bug if called with NULL file. 01 November 1993, 16:26:16 UTC
c70b61f Hacks for NEXTSTEP. 01 November 1993, 16:23:18 UTC
2586bf0 * rangeobject.{c,h}, bltinmodule.c: removed non-essential ops from range object. 01 November 1993, 16:21:44 UTC
0667626 Replace <<-13 by >>13. Leave old code in #ifdef BUGGY_CODE_BW_COMPAT. 01 November 1993, 16:20:18 UTC
13ecc7a 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. 01 November 1993, 16:19:05 UTC
74901d5 Restructured main loop. Etc. 01 November 1993, 14:50:59 UTC
e36f735 Major rewrite with new read_* interfaces 01 November 1993, 14:49:37 UTC
0b26a19 Fix bug in backup inside esc sequence. 01 November 1993, 14:49:04 UTC
b71f879 Changed redraw policy. 01 November 1993, 14:48:37 UTC
615194a 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. 01 November 1993, 13:46:50 UTC
0a2fa75 Added Dates.py and Rev.py 30 October 1993, 12:39:49 UTC
102abab Initial revision 30 October 1993, 12:38:16 UTC
becec31 Fix bug and use __init__ 30 October 1993, 12:38:16 UTC
74b3f8a Initial revision 28 October 1993, 09:53:13 UTC
dc4b93d * 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. 27 October 1993, 14:56:44 UTC
4bd023f * 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. 27 October 1993, 13:49:20 UTC
3b71604 Committing the correct graminit.c; also changed confusing comments in Grammar. 27 October 1993, 13:25:30 UTC
ed49c5e *** empty log message *** 27 October 1993, 09:29:01 UTC
f1bbf9c Add coercions 27 October 1993, 09:28:23 UTC
b6957e4 Initial revision 27 October 1993, 09:27:13 UTC
12d12c5 * 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!!!) 26 October 1993, 17:58:25 UTC
444fc7c Add some necessary casts; use double quotes to represent strings in some cases. 26 October 1993, 15:25:16 UTC
ee9012f Added rindex(). index() and rindex() interpret negative start index as normal indexing does. 26 October 1993, 15:23:55 UTC
0619153 Work around a bug in the DEC alpha OSF/1 C preprocessor. 26 October 1993, 15:22:37 UTC
72481a3 Changes to make range checks portable to 64-bit machines. 26 October 1993, 15:21:51 UTC
8054fad Changes to accept double-quoted strings on input. 26 October 1993, 15:19:44 UTC
5461850 Fix reference to undefined 'memsize' in calcnframes(). 26 October 1993, 10:23:14 UTC
5a2a683 * filemodule.c: added writelines() -- analogous to readlines() * import.c: fixed core dump when out-of-date .pyc file encountered (again!) 25 October 1993, 09:59:04 UTC
52c1f51 import.c: When something is wrong with the .pyc, properly open the .py file. object.c: Write allocation statistics to stderr. 25 October 1993, 08:40:52 UTC
89b3325 * 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. 22 October 1993, 14:26:06 UTC
b3b09c9 added builtin b/w compat module. changed testing of exec. 22 October 1993, 14:24:22 UTC
b37954f Added missing "import os" to pdb.help() 22 October 1993, 13:57:38 UTC
e61fa0a * 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 22 October 1993, 13:56:35 UTC
3bb8a05 Several optimizations and speed improvements. cstubs: Use Matrix type instead of float[4][4]. 22 October 1993, 12:04:32 UTC
a75d306 "exec" is now a statement. execfile() is obsolete. (Also added a stub for "access".) 18 October 1993, 17:59:42 UTC
db3165e * 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. 18 October 1993, 17:06:59 UTC
cacd957 * 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. 18 October 1993, 11:44:47 UTC
842d2cc 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. 15 October 1993, 16:18:48 UTC
21d335e 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. 15 October 1993, 13:01:11 UTC
cbaddb5 Added widget methods {Height,Width}{,MM}OfScreen. 12 October 1993, 14:10:58 UTC
f9b7201 * 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. 12 October 1993, 12:55:27 UTC
7f8765d * 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! 11 October 1993, 12:54:58 UTC
a9c3c22 * 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. 11 October 1993, 12:54:31 UTC
35fe6ec Not everyone has Guido's bin in his/her PATH... 11 October 1993, 12:39:15 UTC
be80e0e Instead of single clicks, use double clicks to get the instance window. 01 October 1993, 14:39:45 UTC
148644d 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. 01 October 1993, 14:29:45 UTC
72d7364 - VFile: moved decompression code to VideoParams (so it is also useable via VinFile). - Vcopy: now allows decompression of 'compress' movies. 28 September 1993, 16:46:15 UTC
dbf71b7 Added ability to edit compressed movies. 28 September 1993, 15:29:18 UTC
2641172 Sanity check for compress files. 28 September 1993, 15:28:44 UTC
bab2ca3 Added autoedit and cancel commands, removed debug output 28 September 1993, 15:28:10 UTC
f993d28 Don't import gl if not needed. Fixed a typo. 27 September 1993, 12:50:06 UTC
c9d73d1 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. 27 September 1993, 12:36:01 UTC
d96ec44 Bug fix: check whether call succeeded *after* the call. 14 September 1993, 08:37:39 UTC
4150ede Fixed dealing with faulty COMM chunks. 26 August 1993, 14:12:07 UTC
4fddf33 XEvent.py: Added support for ExposeEvent. profile.py: Some speed improvements (I hope). rect.py: Bug fix in union(). 25 August 1993, 14:09:01 UTC
f64992e * 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. 03 August 1993, 15:11:36 UTC
d29eb62 This commit was manufactured by cvs2svn to create tag 'release099'. 29 July 1993, 13:14:32 UTC
e906606 Final touch before release. 29 July 1993, 13:14:32 UTC
8e2ec56 * 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. 29 July 1993, 09:37:38 UTC
1fc238a Minor fixes / changes for Mac compatibility. 29 July 1993, 08:25:09 UTC
a330996 * 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++. 28 July 1993, 09:05:47 UTC
f6da4f6 forms_set_event_call_back: argument of None resets event callback to NULL. 26 July 1993, 15:24:57 UTC
78991fd VFile - Added support for creating compression lib movies Vb, VbForm - Compression lib movie support Save settings in ~/.Vb_init 23 July 1993, 11:59:25 UTC
f1cda91 This module can now be used asynchronously. Also, some commands have been added. 19 July 1993, 16:13:33 UTC
827cc19 Interface to vcr index files (as created by vcrindex program) 19 July 1993, 16:13:04 UTC
ed18fdc * 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. 11 July 1993, 19:55:34 UTC
697e7ab Use module aifc instead of module aiff. 10 July 1993, 12:11:56 UTC
e22e644 * 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. 09 July 1993, 10:51:31 UTC
d05eb8b stropmodule.c: use C isspace(c) to test for whitespace; add whitespace variable to module dict. 08 July 1993, 11:12:36 UTC
df56386 * 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 06 July 1993, 15:19:36 UTC
f1dc566 * 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. 05 July 1993, 10:31:29 UTC
9e90a67 * 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). 24 June 1993, 11:10:19 UTC
5ef74b8 pdb.py, bdb.py, cmd.py: use __init__() instead of init() 23 June 1993, 11:55:24 UTC
5cfa5df * 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' 23 June 1993, 09:30:50 UTC
9b3bc71 * 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! 20 June 1993, 21:02:22 UTC
back to top