summaryrefslogtreecommitdiffstats
path: root/Modules/newmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Adding missing "static" declarations (found by "make smelly").Neil Schemenauer2001-10-211-1/+1
|
* Back out trying to use the C values for CO_xxx.Tim Peters2001-08-241-31/+2
| | | | | __future__.py reverted to 1.9. newmodule.c reverted to 2.32.
* Expose the CO_xxx flags via the "new" module (re-solving a problem "theTim Peters2001-08-181-2/+31
| | | | | | | | | | right way"). Fiddle __future__.py to use them. Jeremy's pyassem.py may also want to use them (by-hand duplication of magic numbers is brittle), but leaving that to his judgment. Beef up __future__'s test to verify the exported feature names appear correct.
* move extra arguments to the back of the new.code() arglistJeremy Hylton2001-02-011-7/+24
|
* new_instance(): Use PyInstance_NewRaw() instead of knowing too muchFred Drake2001-01-281-15/+17
| | | | | about the internal initialization of instance objects. Make the dict parameter optional, and allow None as equivalent to omission.
* PEP 227 implementationJeremy Hylton2001-01-251-3/+8
| | | | Track changes to PyFrame_New() and PyFuntion_New().
* Allow new.function() called with explicit 3rd arg of None, asGuido van Rossum2000-11-131-1/+6
| | | | | | documented, and as is reasonable (since it is optional, but there's another argument following it that may require you to specify a value). This solves SF bug 121887.
* Fix the docstring for new.function().Fred Drake2000-10-101-1/+1
| | | | | Based on a comment from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Use METH_VARARGS instead of numeric constant 1 in method def. tablesAndrew M. Kuchling2000-08-031-6/+12
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-18/+6
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* final patches from Neil Schemenauer for garbage collectionJeremy Hylton2000-06-301-0/+1
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-1/+1
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-6/+6
| | | | PyArg_ParseTuple() format string arguments as possible.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes to support other object types besides stringsGuido van Rossum1998-10-071-2/+15
| | | | | as the code string of code objects, as long as they support the (readonly) buffer interface. By Greg Stein.
* Marc-Andre Lemburg's patch to support instance methods with otherGuido van Rossum1998-07-081-3/+15
| | | | callable objects than regular Pythonm functions as their im_func.
* I think there was a tiny bug in new_function() -- the 'defaults'Guido van Rossum1998-05-221-1/+1
| | | | | argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None.
* Two more arguments to newcodeobject -- first lineno and lineno table.Guido van Rossum1997-01-241-4/+7
|
* Add stacksize argument to new.code().Guido van Rossum1997-01-171-5/+6
|
* Renamed.Barry Warsaw1996-12-101-81/+84
|
* Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code.Guido van Rossum1996-11-211-25/+8
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Added new.instance(class, dict).Guido van Rossum1996-06-171-0/+26
|
* added new.classobj()Guido van Rossum1996-01-121-0/+19
|
* re-enable new.code(...) with new argsGuido van Rossum1995-09-301-3/+18
|
* \temporary 'fix' for brokennessGuido van Rossum1995-07-281-0/+6
|
* Made some more things static, and other cleanup for new naming schemeGuido van Rossum1995-01-171-1/+0
|
* initmodule3 -> initmodule3Guido van Rossum1995-01-091-1/+2
|
* totally revampedGuido van Rossum1995-01-071-77/+112
|
* don't use backslashes for continuation linesGuido van Rossum1994-11-101-5/+5
|
* Added some new modulesGuido van Rossum1994-05-231-0/+111