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
Guido van Rossum
37da22b3f4
The C+ compiler is called $(CXX) these days, not CCC.
...
This fixes SF Bug #124478 .
2000-12-06 23:46:29 +00:00
Fred Drake
e63544f872
posix_getlogin(): Be more cautious about interpreting a NULL from
...
getlogin() -- it is not clear that a NULL is always
an error.
2000-12-06 21:45:33 +00:00
Fred Drake
a30680b240
posix_getlogin(): Handle the possibility that getlogin() can return
...
NULL without setting errno; observed on Linux
Mandrake 7.2 by an anonymous user.
This closes bug #124758 .
2000-12-06 21:24:28 +00:00
Guido van Rossum
e4dad905d4
Patch by Michael Hudson to clarify the error message from
...
getsockaddrarg when the address is not a tuple.
2000-12-01 13:13:11 +00:00
Andrew M. Kuchling
469d5bb0b4
Clarify two comments
2000-11-30 01:57:18 +00:00
Guido van Rossum
d7aa0f245f
Update dependencies per /F.
2000-11-28 12:09:18 +00:00
Andrew M. Kuchling
26cc66fe6a
Patch #102412 from mwh: Add support for the setupterm() function, to
...
initialize the terminal without necessarily calling initscr()
2000-11-18 17:45:59 +00:00
Guido van Rossum
1bff883ac0
Allow new.function() called with explicit 3rd arg of None, as
...
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.
2000-11-13 20:29:20 +00:00
Tim Peters
7c1cb46126
Fix for SF bug 117402, crashes on str(array) and repr(array). This was an
...
unfortunate consequence of somebody switching from PyArg_Parse to
PyArg_ParseTuple but without changing the argument from a NULL to a tuple.
2000-11-10 19:04:19 +00:00
Andrew M. Kuchling
f16e0ed76c
Patch #102278 : add tparm() function to _curses module
2000-11-07 03:35:24 +00:00
Fredrik Lundh
fad27aee11
Added 38,642 missing characters to the Unicode database (first-last
...
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add
a single byte to the resulting binaries (!)
Closes bug #117524
2000-11-03 20:24:15 +00:00
Thomas Wouters
2cffc7d420
Move our own getopt() implementation to _PyOS_GetOpt(), and use it
...
regardless of whether the system getopt() does what we want. This avoids the
hassle with prototypes and externs, and the check to see if the system
getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to
avoid name clashes. Add new include file to define the right symbols. Fix
Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on
Python to provide it.
2000-11-03 08:18:37 +00:00
Andrew M. Kuchling
e7d3616409
Patch from Randall Hopper to fix PR #116172 , "curses module fails to
...
build on SGI":
* Check for 'sgi' preprocessor symbol, not '__sgi__'
* Surround individual character macros with #ifdef's, instead of making them
all rely on STRICT_SYSV_CURSES
2000-11-01 19:59:12 +00:00
Fred Drake
4ba298c325
ParserCreate(): Added test that the namespace_separator value, if given,
...
has the required length.
initpyexpat(): Provide the type object for the ParserCreate() return
value as XMLParserType.
2000-10-29 04:57:53 +00:00
Fred Drake
5f739befe5
Do not echo the echo command with the message telling the user that Setup
...
may be out of date.
2000-10-29 04:28:48 +00:00
Martin v. Löwis
02956017f9
Do not release unallocated Tcl objects. Closes #117278 and #117167 .
2000-10-29 00:44:43 +00:00
Fredrik Lundh
ebc37b28fa
-- properly reset groups in findall (bug #117612 )
...
-- fixed negative lookbehind to work correctly at the beginning
of the target string (bug #117242 )
-- improved syntax check; you can no longer refer to a group
inside itself (bug #110866 )
2000-10-28 19:30:41 +00:00
Fred Drake
cf3bc8c5a5
Rename Setup.in to Setup.dist, and assume that configure will create
...
Setup (instead of creating it from the Makefile).
2000-10-26 17:07:40 +00:00
Fred Drake
35f8d46f94
Update a comment to be correct.
2000-10-26 14:57:29 +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
9c801abef3
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
...
This closes bug #117324 .
2000-10-20 20:02:37 +00:00
Fred Drake
8f176accde
Update the comments for the BSD DB module, including a new pointer to
...
the DB 3 module; thanks to Robin Dunn <robind@users.sourceforge.net >.
This closes SourceForge bug #116850 .
2000-10-14 04:14:09 +00:00
Tim Peters
2bf405ad55
Repaired a comment and asserted a precondition.
2000-10-12 19:42:00 +00:00
Guido van Rossum
ada6d87c0c
Fix for Bug #116453 .
...
Direct use of interp->result is deprecated; changing this to
Tcl_GetStringResult(interp) everywhere fixed the problem of losing the
error message with TclError exceptions, on Windows.
2000-10-12 17:14:46 +00:00