Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Try to supply a prototype for the module init function but avoid | Tim Peters | 2000-08-26 | 1 | -1/+1 | |
| | | | | | | Windows "inconsistent linkage" warnings at the same time. I agree with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system needs an overhaul; this is just an expedient hack until then. | |||||
* | Update the parser module to support augmented assignment. | Fred Drake | 2000-08-25 | 1 | -6/+30 | |
| | | | | Add some test cases. | |||||
* | validate_listmaker(): Revise to match Skip's latest changes to the | Fred Drake | 2000-08-23 | 1 | -6/+12 | |
| | | | | Grammar file. This makes the test suite pass once again. | |||||
* | Nuked unused variable. | Tim Peters | 2000-08-22 | 1 | -1/+0 | |
| | ||||||
* | Update to reflect recent grammar changes (list comprehensions, extended | Fred Drake | 2000-08-21 | 1 | -178/+363 | |
| | | | | | | print statement), and fix up the extended call syntax support. Minor stylistic cleanups. | |||||
* | ANSIfy a bit more. | Thomas Wouters | 2000-07-24 | 1 | -1/+1 | |
| | ||||||
* | Even more ANSIfication: fix as many function pointers and declarations as | Thomas Wouters | 2000-07-22 | 1 | -1/+1 | |
| | | | | possible. | |||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -3/+3 | |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | |||||
* | replace PyXXX_Length calls with PyXXX_Size calls | Jeremy Hylton | 2000-07-12 | 1 | -5/+5 | |
| | ||||||
* | ANSI-fying | Peter Schneider-Kamp | 2000-07-10 | 1 | -12/+4 | |
| | | | | | added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred) | |||||
* | Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors. | Fred Drake | 2000-07-09 | 1 | -4/+0 | |
| | ||||||
* | Remove warning about local variable possibly being using uninitialized; | Fred Drake | 2000-07-04 | 1 | -1/+1 | |
| | | | | noted by Marc-Andre Lemburg <mal@lemburg.com>. | |||||
* | Andrew Kuchling <akuchlin@mems-exchange.org>: | Fred Drake | 2000-07-03 | 1 | -1/+1 | |
| | | | | Typo in string literal: execpt --> except | |||||
* | 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 | |
| | ||||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -4/+4 | |
| | | | | | | | | | | 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.) | |||||
* | validate_arglist(): Re-written to reflect extended call syntax. | Fred Drake | 2000-04-25 | 1 | -3/+80 | |
| | | | | | validate_numnodes(): Added comment to explain the sometimes idiomatic usage pattern. | |||||
* | ANSI-fy & de-tabify the source. | Fred Drake | 2000-04-19 | 1 | -1505/+1317 | |
| | | | | (4-space indents already used.) | |||||
* | What used to be tp_xxx4 is now tp_flags; set it to Py_TPFLAGS_DEFAULT. | Fred Drake | 2000-02-21 | 1 | -2/+1 | |
| | ||||||
* | parser__pickler(): Don't drop the third argument to | Fred Drake | 1999-09-20 | 1 | -5/+11 | |
| | | | | | | | parser_ast2tuple(). Create an temporary empty dictionary to use. Bug reported by Mark Favas <m.favas@per.dem.csiro.au>. Fix a couple of comments. | |||||
* | Added keyword parameter support to all public interfaces; keyword | Fred Drake | 1999-09-09 | 1 | -62/+76 | |
| | | | | | | | | | names match the documentation. Removed broken code that supports the __methods__ attribute on ast objects; the right magic was added to Py_FindMethod() since this was originally written. <ast-object>.__methods__ now works, so dir() and rlcompleter are happy. | |||||
* | When the parameter to PyInt_AsLong() has already been checked with | Fred Drake | 1999-02-17 | 1 | -2/+2 | |
| | | | | PyInt_Check(), use PyInt_AS_LONG() instead (two places). | |||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 | |
| | | | | on BeOS or Windows. | |||||
* | parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL. | Fred Drake | 1998-08-04 | 1 | -1/+1 | |
| | ||||||
* | Sorry, the initializer for ob_type must really be NULL, | Guido van Rossum | 1998-05-29 | 1 | -1/+1 | |
| | | | | else the damn thing won't compile on Windows :-( | |||||
* | parser_compare_nodes(): Corrected a minor type error; eliminate one GCC | Fred Drake | 1998-05-11 | 1 | -1/+1 | |
| | | | | warning (at least under Linux). | |||||
* | Made lint a bit happier. | Fred Drake | 1998-04-29 | 1 | -54/+80 | |
| | | | | Fixed a memory leak in an error handler. | |||||
* | Add a declaration for strdup() for the Mac. | Guido van Rossum | 1998-04-28 | 1 | -0/+3 | |
| | | | | (Jack) | |||||
* | In method & function tables, added a cast for the function pointers to keep | Fred Drake | 1998-04-21 | 1 | -16/+21 | |
| | | | | | | | | compilers happy. initparser(): Remove unused variable. gcc -Wall is now happy. | |||||
* | The documentation threatened it would happen -- the functions that should | Fred Drake | 1998-04-13 | 1 | -35/+97 | |
| | | | | have been methods now are! Still available as functions for compatibility. | |||||
* | Added support for pickling ast objects. | Fred Drake | 1998-04-13 | 1 | -14/+65 | |
| | ||||||
* | Make new gcc -Wall happy | Guido van Rossum | 1998-04-10 | 1 | -2/+4 | |
| | ||||||
* | Support raise with no parameters. | Fred Drake | 1998-04-10 | 1 | -3/+4 | |
| | ||||||
* | Remove requirement for strdup() since it causes so many troubles for too many | Fred Drake | 1997-10-09 | 1 | -4/+4 | |
| | | | | platforms. Argh! | |||||
* | Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS. | Guido van Rossum | 1997-10-08 | 1 | -0/+3 | |
| | | | | | This should make everybody happy, especially since we don't say what the argument type is (there is disagreement on that, too :-( ). | |||||
* | initparser(): Use PyErr_NewException() to create the exception. | Fred Drake | 1997-10-07 | 1 | -1/+1 | |
| | ||||||
* | Removed extern declaration of strdup(). Doesn't appear to be important and | Fred Drake | 1997-09-30 | 1 | -10/+0 | |
| | | | | causes ugly noises under Windows. | |||||
* | Add doc string to type object. | Fred Drake | 1997-05-23 | 1 | -1/+12 | |
| | ||||||
* | Support assert stmt. | Guido van Rossum | 1997-04-02 | 1 | -1/+32 | |
| | ||||||
* | Initialize the ob_type field of PyAST_Type dynamically (in | Guido van Rossum | 1997-01-23 | 1 | -3/+7 | |
| | | | | | | | | | initparser()) instead of statically (in the initializer). The static initialization, using the address of an object in a different DLL, is too much for the Microsoft VC++ compiler, and we want to be able to build this module as a separate DLL (it's nice to have but we don't want to increase the core DLL's size by 25K). This same trick has been applied to a number of modules, e.g. NumPy and _tkinter. | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -2/+2 | |
| | ||||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -10/+17 | |
| | ||||||
* | (parsermodule.c): Fixed sloppy typo: '==' -> '=' | Fred Drake | 1996-09-11 | 1 | -2/+2 | |
| | ||||||
* | Patches to make it compile with K&R C | Guido van Rossum | 1996-08-21 | 1 | -25/+25 | |
| | ||||||
* | Support for old CPP | Guido van Rossum | 1996-08-21 | 1 | -0/+4 | |
| | ||||||
* | New batch from Fred | Guido van Rossum | 1996-08-21 | 1 | -316/+428 | |
| | ||||||
* | New submission by Fred Drake. | Guido van Rossum | 1996-07-21 | 1 | -775/+1102 | |
| | ||||||
* | fix argcount bug for build_node_children | Guido van Rossum | 1996-01-12 | 1 | -1/+1 | |
| | ||||||
* | Fred Drake's new parser module | Guido van Rossum | 1995-10-11 | 1 | -51/+2120 | |
| | ||||||
* | Made some more things static, and other cleanup for new naming scheme | Guido van Rossum | 1995-01-17 | 1 | -1/+1 | |
| |