| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
more severe ones.
|
|
|
|
| |
Marc-Andre Lemburg.
|
| |
|
|
|
|
|
| |
put into the module dict, but is never DECREF'd in this function, so
it and all its contents leak.
|
| |
|
|
|
|
| |
the SunPro C compiler to choke. Removed this redundant line.
|
| |
|
|
|
|
|
| |
I've reformatted it, added a few comments, a test for tabsize <= 0,
and used the AS_STRING macro.
|
|
|
|
| |
in that case. Tamito Kajiyama.
|
| |
|
|
|
|
|
|
| |
/usr/local/include comes before /usr/X11R1/include. On some Linux
distributions the latter apparently contains (standard!) a bad tcl.h
or tk.h.
|
|
|
|
| |
Also define F_OK etc. when not already defined, when doing access().
|
|
|
|
| |
header file (yet :-).
|
|
|
|
| |
Break it up.
|
|
|
|
|
| |
anywhere (or, more likely, the declaration requires a magical
combination of _POSIX defines).
|
|
|
|
| |
HAVE_* macros set by configure script.
|
|
|
|
| |
comes first, the format second! Scott Cotton discovered this.
|
|
|
|
| |
patch from Grzegorz Makarewicz & Rafal Smotrzyk.
|
|
|
|
| |
Patch (again) by Sean Reifschneider.
|
| |
|
|
|
|
| |
He also fixes thread-related evil that caused core dumps.
|
|
|
|
| |
Also added access() and ttyname() by Sean Reifschneider.
|
|
|
|
| |
w.scroll(). (It then calls wscrl(win, nlines) instead of scoll(win).)
|
|
|
|
|
| |
conflict, and it should be declared in time.h anyway.
(Too bad if gcc -Wall won't be happy if it isn't declared...)
|
| |
|
|
|
|
|
| |
names in the source code (they already had those for the linker,
through some smart macros; but the source still had the old, un-Py names).
|
|
|
|
| |
(AMK: you should probably copy this into your patch set for pcre.)
|
|
|
|
| |
successfully)
|
|
|
|
| |
checkin)
|
|
|
|
|
|
|
|
| |
NOTE: There is still a bug of some sort in the behavior of zlib. In
at least one case, inflate returns Z_OK (which is typically
interpreted to mean that more output space is needed) when it has
finished inflating a buffer. This has been reported as a bug to the
zlib maintainers; we may need to change the Python interface.
|
|
|
|
|
| |
string we wanted to resize is set to NULL. Don't Py_DECREF() those
variables! (5 places)
|
|
|
|
|
| |
This fixes a bug that can cause core dumps when doing seeks in input
StringIO objects. This has a number of other clean-ups.
|
|
|
|
|
|
|
| |
> mpz.mpz('\xff') should return mpz(255). Instead it returns
> mpz(4294967295L). Looks like the constructor doesn't work with strings
> containing characters above chr(128).
Caused by using just 'char' where 'unsigned char' should have been used.
|
|
|
|
| |
in early dealloc. Patch by Andrew Dalke.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
But IMHO, this problem really reveals an annoyance in Python's
makesetup. makesetup puts the global include directories "$(INCLUDEPY)
$(EXECINCLUDEPY)" in front of the directories defined by the module in
Setup. Therefore global (potentially older) header files are preferred
over the ones set by the module, which makes it hard to compile new
versions of modules when the old versions are installed. AFAIK, the
other way around is common practice for most other software.
This patch to makesetup would be an potential fix for this problem,
though I don't know if it breaks anything else.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
on BeOS or Windows.
|
| |
|
|
|
|
| |
argument string (bad function!), so we make a temporary copy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New copyright. (Open source)
- Added new protocol for binary string pickles that
takes out unneeded puts:
p=Pickler()
p.dump(x)
p.dump(y)
thePickle=p.getvalue()
This has little or no impact on pickling time, but
often reduces unpickling time and pickle size, sometimes
significantly.
- Changed unpickler to use internal data structure instead
of list to reduce unpickling times by about a third.
- Many cleanups to get rid of obfuscated error handling
involving 'goto finally' and status variables.
- Extensive reGuidofication. (formatting :)
- Fixed binary floating-point pickling bug. 0.0 was not
pickled correctly.
- Now use binary floating point format when saving
floats in binary mode.
- Fixed some error message spelling error.
|
|
|
|
|
|
|
| |
- New copyright. (Open source)
- Fixed problem in seek method. The seek method should (and now does)
fill with nulls when seeking past the end of the "file".
|
| |
|
|
|
|
|
| |
running in a non-threaded environment. He added some #ifdefs that fix
this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device and control pseudo-device:
- first look for the device filename in the environment variable
AUDIODEV.
- if not found, use /dev/audio
- calculate the control device by tacking "ctl" onto the base device
name.
We now do this. Also, if the open fails, we call
PyErr_SetFromErrnoWithFilename() to give a more informative error
message.
Added a fileno() method to the audio object returned from open().
This returns the file descriptor which can be used by applications to
set up SIGPOLL notification, as per the manpage.
|
|
|
|
|
| |
(The GLHACK variable isn't really needed since the change to
glmodule.c, but I'm too busy to remove it. It's harmless.)
|