Fred Drake
13130bc5b1
Use the abstract object interfaces when digging around in module objects
...
instead of directly manipulating the underlying dictionary.
2001-08-15 16:44:56 +00:00
Fred Drake
78bdb9bc46
Elaborate a comment.
2001-07-19 20:17:15 +00:00
Fred Drake
c2683ddb29
The syntax trees handled by this module are not "abstract," so take the
...
"A" out of the internal abbreviations. For published functions with
"ast" in their names, make alternate offerings using just "st".
2001-07-17 19:32:05 +00:00
Fred Drake
02126f20b6
Add support for yield statements.
...
(Should be merged with descr branch.)
2001-07-17 02:59:15 +00:00
Martin v. Löwis
b28f6e7c7b
Properly use &&. Closes bug #434989 .
2001-06-23 19:55:38 +00:00
Fred Drake
711370831a
Fix problems with validation of import statement parse trees.
...
This closes SF bug #127271 .
2001-01-07 05:59:59 +00:00
Fred Drake
b6429a2020
validate_varargslist(): Fix two bugs in this function, one that affected
...
it when *args and/or **kw are used, and one when
they are not.
This closes bug #125375 : "parser.tuple2ast() failure on valid parse tree".
2000-12-11 22:08:27 +00:00
Fred Drake
661ea26b3d
Ka-Ping Yee <ping@lfw.org>:
...
Changes to error messages to increase consistency & clarity.
This (mostly) closes SourceForge patch #101839 .
2000-10-24 19:57:45 +00:00
Fred Drake
0ac9b07963
Simplify some of the code. Use PyErr_Format() instead of sprintf(), etc.
...
Reduces lines of code and compiled object size.
2000-09-12 21:58:06 +00:00
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
...
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Barry Warsaw
9bfd2bf5ed
Do the absolute minimal amount of modifications to eradicate
...
Py_FatalError() from module initialization functions. The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.
Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:
almodule.c
cdmodule.c
mpzmodule.c
puremodule.c
timingmodule.c
2000-09-01 09:01:32 +00:00
Tim Peters
6d7c442e03
Try to supply a prototype for the module init function but avoid
...
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.
2000-08-26 07:38:06 +00:00
Fred Drake
28f739aad4
Update the parser module to support augmented assignment.
...
Add some test cases.
2000-08-25 22:42:40 +00:00
Fred Drake
85bf3bb44a
validate_listmaker(): Revise to match Skip's latest changes to the
...
Grammar file. This makes the test suite pass once again.
2000-08-23 15:35:26 +00:00
Tim Peters
72b93ec1c3
Nuked unused variable.
2000-08-22 01:44:16 +00:00
Fred Drake
cff283c7b3
Update to reflect recent grammar changes (list comprehensions, extended
...
print statement), and fix up the extended call syntax support.
Minor stylistic cleanups.
2000-08-21 22:24:43 +00:00
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