summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed since Grammar has changedGuido van Rossum1995-01-071-31/+32
|
* add 5th arg to instancebinopGuido van Rossum1995-01-071-1/+2
|
* added func_docGuido van Rossum1995-01-071-0/+1
|
* added ml_doc and changed newmethodlist interfaceGuido van Rossum1995-01-071-4/+5
|
* new tp_str and tp_doc members in type objectGuido van Rossum1995-01-071-0/+10
|
* Added 1995 copyright.Guido van Rossum1995-01-0451-108/+112
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* Lots of small things, see ChangeLogGuido van Rossum1994-12-309-10/+14
|
* - Added ability to get at strings embedded in the structJack Jansen1994-12-141-0/+7
| | | | - For the mac, added ability to get at pascal-style strings
* Use \n as PYTHONPATH delimiter on Mac (less likely to occur inJack Jansen1994-12-141-1/+2
| | | | filenames than space).
* pl1.1.1; added newgetargs renamingGuido van Rossum1994-11-102-1/+2
|
* include stddef.hGuido van Rossum1994-10-201-0/+4
|
* Oops -- version number!Guido van Rossum1994-10-061-1/+1
|
* ceval.h: added Py_MakePendingCalls()Guido van Rossum1994-09-284-1/+4
| | | | | | classobject.h: added instancebinop() modsupport.h: added newgetargs() rename1.h: removed Py_FPROTO
* pythonrun.h: added run_pyc_fileGuido van Rossum1994-09-145-5/+14
| | | | | ceval.h: added Py_AddPendingCall rest: modules using the new naming scheme must now include Python.h
* pythgonrun.h: added Py_AtExit().Guido van Rossum1994-09-072-0/+3
| | | | rename1.h: add PyArg_GetInt.
* Define cl_{get,set,del}attr members in classobjectGuido van Rossum1994-09-061-6/+4
|
* Added PyArg_NoArgs(v)Guido van Rossum1994-08-291-0/+1
|
* For THINK C 6.0Guido van Rossum1994-08-291-6/+1
|
* Include/node.h: make some fields short to save space duringGuido van Rossum1994-08-231-3/+3
| | | | parsing
* No need to define THINK_C any moreGuido van Rossum1994-08-191-5/+1
|
* Changes for dynamic linking under NTGuido van Rossum1994-08-1821-59/+72
|
* Moved to Include and changed format to "<complete_version>"Guido van Rossum1994-08-171-1/+1
|
* * Objects/classobject.c, Include/classobject.h: added __getattr__Guido van Rossum1994-08-121-0/+12
| | | | | | | | and __setattr__ support to override getattr(x, name) and setattr(x, name, value) for class instances. This uses a special hack whereby the class is supposed to be static: the __getattr__ and __setattr__ methods are looked up only once and saved in the instance structure for speed
* * Include/rename1.h: added PyMethodDef and PyObjectGuido van Rossum1994-08-121-0/+2
|
* * Objects/{int,long,float}object.c, Include/object.h,Guido van Rossum1994-08-091-1/+2
| | | | | Python/bltinmodule.c: mods by Andrew Kuchling to implement pow(x,y,z) == pow(x,y)%z, but without incurring overflow
* Strange... levels 1 and 2 were never committed?Guido van Rossum1994-08-011-1/+1
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-0153-187/+262
|
* Added Makefile with clean and clobber targetsGuido van Rossum1994-01-041-0/+12
|
* all: 1994 copyrightGuido van Rossum1994-01-021-0/+1
| | | | | | moved config.c and most modules to ../Modules moved patchlevel.h here from ../Include changed version to 1.0.0 BETA, date to January 1994
* all: 1994 copyrightGuido van Rossum1994-01-021-0/+82
| | | | | | | | added config.h, config.h.in moved parser.h to ../Parser, patchlevel.h to ../Python allobjects.h: include config.h some: remove all refs to THINK_C_3_0 mymalloc.h: di HAVE_STDLIB differently, use size_t instead of MALLARG
* New filesGuido van Rossum1993-12-242-0/+91
|
* * rangeobject.[ch], bltinmodule.c: incorporate new version of rangeGuido van Rossum1993-12-211-1/+1
| | | | object (unchanged from source except "range" -> "xrange").
* almodule.c: added close method, equivalent to closeport.Sjoerd Mullender1993-12-202-36/+36
| | | | thread.h: use PROTO instead of _P for prototypes.
* * Grammar: corrected old typo (class instead of 'class')Guido van Rossum1993-12-201-3/+3
| | | | | | | * 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).
* * import.c (get_module): pass .py filename to parse_file, not .pyc filename!Guido van Rossum1993-11-302-46/+44
| | | | | | | | | | | * 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.
* * timemodule.c: Add hack for Solaris 2.Guido van Rossum1993-11-231-2/+0
| | | | | | | | | | | | | | | * 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.
* * mpzmodule.c: removed redundant mpz_print function.Guido van Rossum1993-11-051-0/+1
| | | | | | | | | | | | | | * 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!)
* Added getmappingsize(). (Needed by previous checkin of posixmodule.c)Guido van Rossum1993-11-051-0/+1
|
* * ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,Guido van Rossum1993-11-014-7/+0
| | | | | | pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
* * rangeobject.{c,h}, bltinmodule.c: removed non-essential ops from rangeGuido van Rossum1993-11-011-1/+1
| | | | object.
* Fixed bugs in resizetuple and extended the interface.Sjoerd Mullender1993-11-011-1/+1
| | | | | Added ifdefs in stringobject.c for shared strings of length 1. Renamed free_list in tupleobject.c to free_tuples.
* * compile.[ch]: support for lambda()Guido van Rossum1993-10-266-3/+58
| | | | | | | | | | * 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!!!)
* Several optimizations and speed improvements.Sjoerd Mullender1993-10-221-0/+3
| | | | cstubs: Use Matrix type instead of float[4][4].
* * bltinmodule.c: removed exec() built-in function.Guido van Rossum1993-10-183-26/+30
| | | | | | | * 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.
* * Extended X interface: pixmap objects, colormap objects visual objects,Sjoerd Mullender1993-10-111-0/+23
| | | | | | | | 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.
* * Added support for X11 modules.Guido van Rossum1993-07-2848-0/+871
| | | | | | | * 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++.
* * accessobject.c (ownercheck): allow a base class access to protectedGuido van Rossum1993-07-111-0/+1
| | | | | | 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.
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-174-24/+5
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* * classobject.c: in instance_getattr, don't make a method out of aGuido van Rossum1993-05-252-2/+2
| | | | | | | | | | function found as instance data. * socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite argument parsing in send/recv. * More changes related to access (terminology change: owner instead of class; allow any object as owner; local/global variables are owned by their dictionary, only class/instance data is owned by the class; "from...import *" now only imports objects with public access; etc.)
* * Lots of small changes related to access.Guido van Rossum1993-05-212-5/+8
| | | | | | | * Added "access *: ...", made access work for class methods. * Introduced subclass check: make sure that when calling ClassName.methodname(instance, ...), the instance is an instance of ClassName or of a subclass thereof (this might break some old code!)