summaryrefslogtreecommitdiff
path: root/Include/moduleobject.h
AgeCommit message (Collapse)AuthorLines
2001-09-13SF bug [#460467] file objects should be subclassable.Tim Peters-0/+1
Preliminary support. What's here works, but needs fine-tuning.
2001-09-10PyModule_Check() now checks for subtype of module, as it should.Guido van Rossum-1/+1
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
This should match the situation in the 1.6b1 tree.
2000-07-09ANSI-fication and Py_PROTO extermination.Fred Drake-11/+11
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
1999-02-15Add PyModule_GetFilename().Guido van Rossum-0/+1
1998-12-04Add DL_IMPORT(returntype) for all officially exported functions.Guido van Rossum-4/+4
1998-02-19Add internal routine _PyModule_Clear(), which does approximately whatGuido van Rossum-0/+1
clear_carefully() used to do in import.c. Differences: leave only __builtins__ alone in the 2nd pass; and don't clear the dictionary (on the theory that as long as there are references left to the dictionary, those might be destructors that might expect __builtins__ to be alive when they run; and __builtins__ can't normally be part of a cycle).
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1995-02-27make the type a parameter of the DL_IMPORT macro, for Borland CGuido van Rossum-1/+1
1995-01-12The great renaming, phase two: all header files have been updated toGuido van Rossum-5/+5
use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
1995-01-04Added 1995 copyright.Guido van Rossum-2/+2
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.
1994-08-18Changes for dynamic linking under NTGuido van Rossum-1/+1
1994-08-01Merge alpha100 branch back to main trunkGuido van Rossum-1/+1
1993-07-28* Added support for X11 modules.Guido van Rossum-0/+11
* 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++.
1993-03-29* Changed all copyright messages to include 1993.Guido van Rossum-2/+2
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
1992-04-05Copyright for 1992 addedGuido van Rossum-1/+1
1991-02-19Added copyright notice.Guido van Rossum-0/+24
1990-12-20"Compiling" versionGuido van Rossum-1/+0
1990-10-26Added getmodulename() public interface.Guido van Rossum-0/+1
1990-10-14Initial revisionGuido van Rossum-0/+9