| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.)
|
|
|
|
|
|
| |
solves the conflict with curses over the 'clear' entry point much
nicer. (Jack had checked in the changes to cstubs eons ago, but I
never regenrated glmodule.c :-( )
|
|
|
|
|
|
| |
the compilation flags for the gl, fl and fm modules. This avoids a
name conflict with the curses module (both gl and curses have an entry
point called 'clear').
|
| |
|
|
|
|
| |
Also added MD5Type object.
|
|
|
|
| |
caller (in import.c) will test for errors and take appropriate action.
|
| |
|
| |
|
|
|
|
|
| |
broken; it asked for the current thread state when there was none.
Fixed by using the saved event_tstate.
|
|
|
|
|
|
| |
thread state of the thread calling mainloop() (or another event
handling function) rather than the thread state of the function that
created the client data structure.
|
|
|
|
| |
something in the latest win342 build).
|
| |
|
| |
|
|
|
|
|
| |
as the code string of code objects, as long as they support
the (readonly) buffer interface. By Greg Stein.
|
| |
|
|
|
|
| |
Remove unused decls of getloclock() and is_lockobject().
|
|
|
|
|
| |
(1) add dummy decl for strptime();
(2) move the code to set accept2dyear to the front of inittime().
|