Thomas Wouters
5c669860e6
ANSIfy a bit more.
2000-07-24 15:49:08 +00:00
Thomas Wouters
bd4bc4e9e9
Even more ANSIfication: fix as many function pointers and declarations as
...
possible.
2000-07-22 23:57:55 +00:00
Thomas Wouters
7e47402264
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
...
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 ;)
2000-07-16 12:04:32 +00:00
Jeremy Hylton
03657cfdb0
replace PyXXX_Length calls with PyXXX_Size calls
2000-07-12 13:05:33 +00:00
Peter Schneider-Kamp
286da3b46a
ANSI-fying
...
added excplicit node * parameter to termvalid argument in
validate_two_chain_ops of parsermodule.c (as proposed by fred)
2000-07-10 12:43:58 +00:00
Fred Drake
3cd2ee4037
Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors.
2000-07-09 14:36:13 +00:00
Fred Drake
7797d3692b
Remove warning about local variable possibly being using uninitialized;
...
noted by Marc-Andre Lemburg <mal@lemburg.com >.
2000-07-04 18:48:46 +00:00
Fred Drake
22269b5976
Andrew Kuchling <akuchlin@mems-exchange.org>:
...
Typo in string literal: execpt --> except
2000-07-03 18:07:43 +00:00
Guido van Rossum
ffcc3813d8
Change copyright notice - 2nd try.
2000-06-30 23:58:06 +00:00
Guido van Rossum
fd71b9e9d4
Change copyright notice.
2000-06-30 23:50:40 +00:00
Guido van Rossum
b18618dab7
Vladimir Marangozov's long-awaited malloc restructuring.
...
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.)
2000-05-03 23:44:39 +00:00
Fred Drake
e7ab64e070
validate_arglist(): Re-written to reflect extended call syntax.
...
validate_numnodes(): Added comment to explain the sometimes idiomatic
usage pattern.
2000-04-25 04:14:46 +00:00
Fred Drake
ff9ea480eb
ANSI-fy & de-tabify the source.
...
(4-space indents already used.)
2000-04-19 13:54:15 +00:00
Fred Drake
0dd7507e51
What used to be tp_xxx4 is now tp_flags; set it to Py_TPFLAGS_DEFAULT.
2000-02-21 18:19:06 +00:00
Fred Drake
2a6875e172
parser__pickler(): Don't drop the third argument to
...
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.
1999-09-20 22:32:18 +00:00
Fred Drake
7a15ba595a
Added keyword parameter support to all public interfaces; keyword
...
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.
1999-09-09 14:21:52 +00:00
Fred Drake
1a566ff2e8
When the parameter to PyInt_AsLong() has already been checked with
...
PyInt_Check(), use PyInt_AS_LONG() instead (two places).
1999-02-17 17:35:53 +00:00
Guido van Rossum
3886bb6997
Add DL_EXPORT() to all modules that could possibly be used
...
on BeOS or Windows.
1998-12-04 18:50:17 +00:00
Fred Drake
7f875ef749
parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.
1998-08-04 15:58:10 +00:00
Guido van Rossum
3c8c5981b1
Sorry, the initializer for ob_type must really be NULL,
...
else the damn thing won't compile on Windows :-(
1998-05-29 02:58:20 +00:00
Fred Drake
ed3da23e44
parser_compare_nodes(): Corrected a minor type error; eliminate one GCC
...
warning (at least under Linux).
1998-05-11 03:31:16 +00:00
Fred Drake
268397f513
Made lint a bit happier.
...
Fixed a memory leak in an error handler.
1998-04-29 14:16:32 +00:00
Guido van Rossum
19efc5fb80
Add a declaration for strdup() for the Mac.
...
(Jack)
1998-04-28 16:10:19 +00:00
Fred Drake
301b5bea3f
In method & function tables, added a cast for the function pointers to keep
...
compilers happy.
initparser(): Remove unused variable.
gcc -Wall is now happy.
1998-04-21 22:31:45 +00:00
Fred Drake
503d8d66cc
The documentation threatened it would happen -- the functions that should
...
have been methods now are! Still available as functions for compatibility.
1998-04-13 18:45:18 +00:00