Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | There's no need for typechecks on the second and third argument of | Guido van Rossum | 2002-01-15 | 1 | -9/+2 |
| | | | | | | | | | | new.instancemethod() -- the instancemethod object is now a perfectly general container. This fixes SF bug ##503091 (Pedro Rodriquez): new.instancemethod fails for new classes This is a 2.2.1 candidate. | ||||
* | new_code(): The last patch to this left behind an unreferenced local; | Tim Peters | 2001-11-13 | 1 | -1/+0 |
| | | | | deleted its declaration. | ||||
* | Use PyObject_CheckReadBuffer(). | Jeremy Hylton | 2001-11-09 | 1 | -6/+1 |
| | |||||
* | Adding missing "static" declarations (found by "make smelly"). | Neil Schemenauer | 2001-10-21 | 1 | -1/+1 |
| | |||||
* | Back out trying to use the C values for CO_xxx. | Tim Peters | 2001-08-24 | 1 | -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 "the | Tim Peters | 2001-08-18 | 1 | -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() arglist | Jeremy Hylton | 2001-02-01 | 1 | -7/+24 |
| | |||||
* | new_instance(): Use PyInstance_NewRaw() instead of knowing too much | Fred Drake | 2001-01-28 | 1 | -15/+17 |
| | | | | | about the internal initialization of instance objects. Make the dict parameter optional, and allow None as equivalent to omission. | ||||
* | PEP 227 implementation | Jeremy Hylton | 2001-01-25 | 1 | -3/+8 |
| | | | | Track changes to PyFrame_New() and PyFuntion_New(). | ||||
* | Allow new.function() called with explicit 3rd arg of None, as | Guido van Rossum | 2000-11-13 | 1 | -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 Drake | 2000-10-10 | 1 | -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 Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Use METH_VARARGS instead of numeric constant 1 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -6/+12 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -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-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -18/+6 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | final patches from Neil Schemenauer for garbage collection | Jeremy Hylton | 2000-06-30 | 1 | -0/+1 |
| | |||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -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 many | Guido van Rossum | 2000-02-29 | 1 | -6/+6 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Changes to support other object types besides strings | Guido van Rossum | 1998-10-07 | 1 | -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 other | Guido van Rossum | 1998-07-08 | 1 | -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 Rossum | 1998-05-22 | 1 | -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 Rossum | 1997-01-24 | 1 | -4/+7 |
| | |||||
* | Add stacksize argument to new.code(). | Guido van Rossum | 1997-01-17 | 1 | -5/+6 |
| | |||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -81/+84 |
| | |||||
* | Upgraded new.function() contributed by Tommy. Also got rid of #if 0'ed code. | Guido van Rossum | 1996-11-21 | 1 | -25/+8 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Added new.instance(class, dict). | Guido van Rossum | 1996-06-17 | 1 | -0/+26 |
| | |||||
* | added new.classobj() | Guido van Rossum | 1996-01-12 | 1 | -0/+19 |
| | |||||
* | re-enable new.code(...) with new args | Guido van Rossum | 1995-09-30 | 1 | -3/+18 |
| | |||||
* | \temporary 'fix' for brokenness | Guido van Rossum | 1995-07-28 | 1 | -0/+6 |
| | |||||
* | Made some more things static, and other cleanup for new naming scheme | Guido van Rossum | 1995-01-17 | 1 | -1/+0 |
| | |||||
* | initmodule3 -> initmodule3 | Guido van Rossum | 1995-01-09 | 1 | -1/+2 |
| | |||||
* | totally revamped | Guido van Rossum | 1995-01-07 | 1 | -77/+112 |
| | |||||
* | don't use backslashes for continuation lines | Guido van Rossum | 1994-11-10 | 1 | -5/+5 |
| | |||||
* | Added some new modules | Guido van Rossum | 1994-05-23 | 1 | -0/+111 |