| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
malloc() returning NULL
|
| |
|
|
|
|
|
| |
2.1.3) finally agree on when the epoch is, so the code to convert
epochs has been disabled.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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".
|
|
|
|
| |
This fixes SF Bug #124478.
|
|
|
|
|
| |
getlogin() -- it is not clear that a NULL is always
an error.
|
|
|
|
|
|
|
| |
NULL without setting errno; observed on Linux
Mandrake 7.2 by an anonymous user.
This closes bug #124758.
|
|
|
|
| |
getsockaddrarg when the address is not a tuple.
|
| |
|
| |
|
|
|
|
| |
initialize the terminal without necessarily calling initscr()
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
unfortunate consequence of somebody switching from PyArg_Parse to
PyArg_ParseTuple but without changing the argument from a NULL to a tuple.
|
| |
|
|
|
|
|
|
|
| |
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add
a single byte to the resulting binaries (!)
Closes bug #117524
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
has the required length.
initpyexpat(): Provide the type object for the ParserCreate() return
value as XMLParserType.
|
|
|
|
| |
may be out of date.
|
| |
|
|
|
|
|
|
|
|
| |
-- 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)
|
|
|
|
| |
Setup (instead of creating it from the Makefile).
|
| |
|
|
|
|
|
|
| |
Changes to error messages to increase consistency & clarity.
This (mostly) closes SourceForge patch #101839.
|
|
|
|
| |
This closes bug #117324.
|
|
|
|
|
|
| |
the DB 3 module; thanks to Robin Dunn <robind@users.sourceforge.net>.
This closes SourceForge bug #116850.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
libm result is 0). Cautiously add a few libm exception test cases:
1. That exp(-huge) returns 0 without exception.
2. That exp(+huge) triggers OverflowError.
3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked
with -lieee, it was raising OverflowError due to an accident of the way
mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).
|
|
|
|
|
| |
MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed
without being initialized.
|
| |
|
|
|
|
|
| |
Based on a comment from Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.
|
|
|
|
|
|
| |
Updated to work better with BeOS.
This closes SourceForge patch #101777.
|
|
|
|
|
|
| |
a Z_BUF_ERROR while decompressing. If it is, assume that this means
the data being decompressed is bad and raise an exception, instead of
just assuming that Z_BUF_ERROR always means that more space is required.
|
|
|
|
|
|
| |
"audio".
Also add AFMT_S16_NE ("native-endian"). (Somehow there's no AFMT_U16_NE.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read the header from the .au file and do a sanity check
pass only the data to the audio device
call flush() so that program does not exit until playback is complete
call all the other methods to verify that they work minimally
call setparameters with a bunch of bugs arguments
linuxaudiodev.c:
use explicit O_WRONLY and O_RDONLY instead of 1 and 0
add a string name to each of the entries in audio_types[]
add AFMT_A_LAW to the list of known formats
add x_mode attribute to lad object, stores imode from open call
test ioctl return value as == -1, not < 0
in read() method, resize string before return
add getptr() method, that calls does ioctl on GETIPTR or GETOPTR
depending on x_mode
in setparameters() method, do better error checking and raise
ValueErrors; also use ioctl calls recommended by Open Sound
System Programmer's Guido (www.opensound.com)
use PyModule_AddXXX to define names in module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
operations are defined. This will, hopefully clarify
some of the logic.
Added close test to raise proper error when operations
are performed on closed StringIOs.
Added a position argument to the truncate method.
Added a size argument to readline.
Added PyArg_Parse calls for methods that don't take arguments to
make sure they don't take arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://sourceforge.net/bugs/?func=detailbug&bug_id=113803&group_id=5470
Add Unicode support and error handling to AsString(). Both AsString()
and Merge() now return NULL and set a proper Python exception
condition when an error happens; Merge() and other callers of
AsString() check for errors from AsString(). Also fixed cleanup in
Merge() and Tkapp_Call() return cleanup code; the fv array was not
necessarily completely initialized, causing calls to ckfree() with
garbage arguments!
(Also reindented some lines that were longer than 80 chars and
reformatted some code that used an alien coding standard.)
|
|
|
|
|
|
| |
tcp.h is not available on CygWin, so do not try to include it there.
This closes SourceForge patch #101802.
|
|
|
|
| |
Tkinter work under Cygwin. Accepted on faith & reasonableness.
|
| |
|
| |
|
| |
|
|
|
|
| |
methods. Closes buglet #115845.
|
|
|
|
| |
terminals, not the master end (though it does, on most systems.)
|
| |
|
|
|
|
|
|
|
| |
changed so that this is no longer needed on the only platform this is
known to have been needed on.
Fixed on indentation-related consistency nit.
|