| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread
state swaps in readline).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
revision 1.180 of ACKS
date: 2002/06/10 20:00:52; author: gvanrossum; state: Exp; lines: +1 -0
SF patch 564549 (Erik Andersén).
The WeakKeyDictionary constructor didn't work when a dict arg was
given. Fixed by moving a line. Also adding a unit test.
Bugfix candidate.
|
| |
|
|
|
|
| |
These were reported and fixed by Inyeol Lee in SF bug 595350. The
endswith() bug is already fixed in 2.3; I'll fix the others in
2.3 next.
|
| |
|
|
|
|
|
|
| |
SF patch 588728 (Nathan Srebro).
The __delete__ method wrapper for descriptors was not supported
(I added a test, too.)
|
| | |
|
| | |
|
| |
|
|
| |
revision 1.163 of ACKS
|
| |
|
|
|
|
|
|
|
|
| |
revision 1.162 of ACKS
SF patch 517245 by Marc Recht.
Support GMP version >= 2.
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.161 of ACKS
SF patch 518765 (Derek Harland): Bug in copy.py when used through
rexec.
When using a restricted environment, imports of copy will fail with an
AttributeError when trying to access types.CodeType.
Bugfix candidate (all the way back to 1.5.3, but at least 2.1.3 and
2.2.1).
|
| |
|
|
|
|
| |
revision 1.159 of ACKS
Edward K. Ream.
|
| |
|
|
|
|
| |
Backport loewis' checkin of revision 2.7 (of dynload_hpux.c):
Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.
|
| | |
|
| | |
|
| |
|
|
| |
reported by Dan Parisien.
|
| |
|
|
|
|
|
|
| |
binascii_b2a_base64(): We didn't allocate enough buffer space for very
short inputs (e.g., a 1-byte input can produce a 5-byte output, but we
only allocated 2 bytes). I expect that malloc overheads absorbed the
overrun in practice, but computing a correct upper bound is a very simple
change.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Anthony Roach.
Release the global interpreter lock around platform spawn calls.
Bugfix candidate? Hard to say; I favor "yes, bugfix".
These clearly *should* have been releasing the GIL all along, if for no
other reason than compatibility with the similar os.system(). But it's
possible some program out there is (a) multithreaded, (b) calling a spawn
function with P_WAIT, and (c) relying on the spawn call to block all their
threads until the spawned program completes. I think it's very unlikely
anyone is doing that on purpose, but someone may be doing so by accident.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Bugfix candidate.
tb_displayline(): the sprintf format was choking off the file name, but
used plain %s for the function name (which can be arbitrarily long).
Limit both to 500 chars max.
|
| | |
|
| | |
|
| |
|
|
| |
Muller.
|
| |
|
|
|
|
| |
Removed "#undef HAVE_HYPOT" line from Borland config, as suggested.
Whether this will break some other Borland usage is a good question I
can't answer.
|
| | |
|
| |
|
|
|
| |
second noted after a second's thought about what the next line should
do. :-(
|
| |
|
|
|
|
|
|
| |
Replace some tortuous code that was trying to be clever but forgot to
DECREF the key and value, by more longwinded but obviously correct
code.
(Inspired by but not copying the fix from SF patch #475033.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C-code in fileobject.readinto(buffer) which parses
the arguments assumes that size_t is interchangeable
with int:
size_t ntodo, ndone, nnow;
if (f->f_fp == NULL)
return err_closed();
if (!PyArg_Parse(args, "w#", &ptr, &ntodo))
return NULL;
This causes a problem on Alpha / Tru64 / OSF1 v5.1
where size_t is a long and sizeof(long) != sizeof(int).
The patch I'm proposing declares ntodo as an int. An
alternative might be to redefine w# to expect size_t.
[We can't change w# because there are probably third party modules
relying on it. GvR]
|
| |
|
|
|
|
|
|
|
|
| |
1. configure doesn't handle HP-UX release numbers
(e.g., B.11.00), resulting in MACHDEP = "hpuxB".
2. After checking for wchar.h, configure doesn't
include it when checking the size of wchar_t.
(Python 2.2b1 on HP-UX 11.00)
|
| | |
|
| |
|
|
|
| |
Solved with a helper method that calls finish_request() and then
close_request(). The code is by Max Neunhöffer.
|
| |
|
|
|
| |
The fix is a band-aid: type_call() now makes the same exception for a
single-argument call to type() as type_new() was already making.
|
| |
|
|
|
|
| |
- replace some log_error() calls with log_message()
- flush self.rfile before forking too (hope this works on Windows)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
RFC 2049 recommends never outputting a line consisting of a single
dot.
|
| |
|
|
| |
Pass binary mode to makefile().
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Give Fred his Jr.
|
| |
|
|
| |
Patch from Steve Scott to add SIGBREAK support (unique to Windows).
|
| | |
|