summaryrefslogtreecommitdiff
path: root/Objects/moduleobject.c
AgeCommit message (Expand)AuthorLines
2018-09-10[2.7] Fix misleading mentions of tp_size in comments (GH-9138)Benjamin Peterson-1/+1
2014-02-12Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.Serhiy Storchaka-2/+4
2010-10-12Merged revisions 85392 via svnmerge fromBenjamin Peterson-4/+1
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-184/+184
2009-10-15only clear a module's __dict__ if the module is the only one with a reference...Benjamin Peterson-1/+4
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-11/+11
2008-05-26Renamed PyString to PyBytesChristian Heimes-11/+11
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-1/+1
2007-12-03Implement PEP 366Nick Coghlan-0/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-3/+2
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-2/+1
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+1
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-4/+4
2004-09-14Make the word "module" appear in the error string for calling theMichael W. Hudson-1/+1
2003-07-16Remove code that tried to warn about shadowing builtin names after aNeil Schemenauer-66/+1
2003-06-09Warn about creating global variables by __setattr__ that shadow builtinNeil Schemenauer-1/+66
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-06-04Add a docstring to the module type.Guido van Rossum-1/+7
2002-06-04Surprising fix for SF bug 563060: module can be used as base class.Guido van Rossum-3/+16
2002-04-12PyObject_GC_Del can now be used as a function designator.Neil Schemenauer-1/+1
2002-03-12Fix for SF bug #529050 - ModuleType.__new__ crash.Guido van Rossum-7/+19
2001-10-21Add missing "static" declarations (found by "make smelly").Neil Schemenauer-1/+1
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-1/+2
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-1/+1
2001-08-29Use new GC API.Neil Schemenauer-6/+6
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-17/+2
2001-08-16module_repr(): Instead of fixing the maximum buf size to 400,Barry Warsaw-6/+18
2001-08-02Merge of descr-branch back into trunk.Tim Peters-61/+40
2001-05-12Repair "module has no attribute xxx" error msg; bug introduced whenTim Peters-1/+1
2001-05-11Variant of patch #423262: Change module attribute get & setTim Peters-34/+35
2001-01-02Add garbage collection for module objects. Closes patch #102939 andNeil Schemenauer-2/+27
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-5/+22
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-07-09ANSI-fication of the sources.Fred Drake-21/+9
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-05-03Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum-1/+1
1999-02-15Patch by Chris Petrilli to display the origin of a module in itsGuido van Rossum-3/+30
1998-10-12Replace fprintf(stderr, ...) with PySys_WriteStderr(...).Guido van Rossum-2/+2
1998-02-19Add internal routine _PyModule_Clear(), which does approximately whatGuido van Rossum-1/+50
1997-05-09removed last #ifdef SUPPORT_OBSOLETE_ACCESS bits.Guido van Rossum-16/+2
1997-05-02Quickly renamed the last directory.Guido van Rossum-63/+64
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1996-08-12Disable support for access statementGuido van Rossum-0/+6
1995-01-26apply dictclear to dict of deleted modulesGuido van Rossum-1/+3
1995-01-07initialize __doc__ to NoneGuido van Rossum-0/+2
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
1994-08-30Merge back to main trunkGuido van Rossum-5/+5
1993-11-17* import.c (get_module): total rewrite, to ensure proper search order: forGuido van Rossum-21/+30