| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
because it references the global dirs_in_sys_path which is deleted.
The fix avoids deleting that global.
(My email through python.org or digicool.com is non-functional at the
moment; use gvanrossum@home.com to reach me.)
|
| |
|
|
|
|
|
| |
fix missed conversion in ESR's string conversion
This should be the *last* checkin in this branch, barring brown-bags,
showstoppers and release cruft.
|
| | |
|
| |
|
|
|
| |
in a long time), added a carbon target and added 2 missing
routines in Carbon.
|
| | |
|
| |
|
|
| |
procedure on some platforms. Better safe than sorry!
|
| | |
|
| |
|
|
|
| |
Made distutils understand the MacPython Carbon runtime model. Distutils will
build for the runtime model you are currently using for the interpreter.
|
| |
|
|
|
| |
[Bug #441527] Fixes for preprocessor support, contributed by Tarn
Weisner Burton
|
| |
|
|
|
| |
Should raise TestSkipped, not ImportError, when deciding to skip the
test.
|
| |
|
|
| |
File handlers don't work on the mac, so don't pretend they do.
|
| |
|
|
| |
bug #442627.
|
| | |
|
| |
|
|
|
|
| |
Reorganize so the initialization sequences does not bite us in the foot.
(There is no good reason to discard classes that clients may want to
subclass.)
|
| |
|
|
| |
sync with the head branch.
|
| |
|
|
| |
worth mentioning.
|
| | |
|
| |
|
|
| |
passes the selftest with these.
|
| |
|
|
| |
return "ascii", not "macroman".
|
| |
|
|
| |
'release21-maint'.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
sample startup script provided by Itamar Shtull-Trauring.
This closes SF patch #410890.
Add some logical markup where it was missing.
|
| |
|
|
|
|
| |
configure (1.220):
[Bug #438050] Check for sys/poll.h in configure script
|
| |
|
|
|
|
|
| |
[Bug #438050]
Include sys/poll.h if it was found by the configure script. The OpenGroup
spec says poll.h is the correct header file to use, so that file is
preferred.
|
| |
|
|
|
| |
Fix bug #437487: "2.1 build on Solaris fails if CC is set"
by adding the contents of CCSHARED to the compiler specified by CC
|
| |
|
|
|
|
| |
Check for slice/item deletion, which calls slice/item assignment with a NULL
value, and raise a TypeError instead of coredumping. Bugreport and suggested
fix by Alex Martelli.
|
| |
|
|
|
|
| |
Windows version of the function as well as the Unix flavor.
This fixes SF bug #441357.
|
| | |
|
| |
|
|
|
|
| |
special character bite us again. ;-(
This fixes SF bug #440911.
|
| |
|
|
| |
That should be 2.0.
|
| | |
|
| |
|
|
|
| |
correctly. Note that 'faulty' should actually be spelled 'fawlty', but I
don't want those bugreports assigned to me ;)
|
| | |
|
| |
|
|
| |
matched; reported by Paul Moore.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- SF but #417587: compiler warnings compiling 2.1.
Repaired *some* of the SGI compiler warnings Sjoerd Mullender
reported.
- Minor fiddling related to
SF patch 416251 2.1c1 mmapmodule: unused vrbl cleanup
- Fix the .find() method for memory maps.
1) it didn't obey the "start" parameter (and when it does, we must
validate the value)
2) the return value needs to be an absolute index, rather than
relative to some arbitrary point in the file
(checking CVS, it appears this method never worked; these changes
bring it into line with typical .find() behavior)
- Fix new compiler warnings. Also boost "start" from (C) int to long and
return a (C) long: PyArg_ParseTuple and Py_BuildValue may not let
us get at the size_t we really want, but C int is clearly too small
for a 64-bit box, and both the start parameter and the return value
should work for large mapped files even on 32-bit boxes. The code
really needs to be rethought from scratch (not by me, though ...).
|
| |
|
|
|
| |
SF bug 418615: regular expression bug in pipes.py.
Obviously bad regexps, spotted by Jeffery Collins.
|
| |
|
|
|
|
| |
SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN.
I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT,
always been wrong.
|
| |
|
|
|
|
|
| |
Also note that it isn't just Linux nice() that is broken: at least FreeBSD
and BSDI also have this problem. os.nice() should probably just be emulated
using getpriority()/setpriority(), if they are available, but that isn't
worth putting in 2.1.1.
|
| |
|
|
|
|
|
|
|
| |
concrete sequence objects, since their API is simpler.
This is in response to a comment in SF bug #440037.
(Does this really belong in the bugfix release? Yes: this is a readability
bug, and those are important in the documentation.)
|
| |
|
|
|
|
| |
polling objects. This closes SF bug #439823.
Fixed a minor markup bug.
|
| |
|
|
|
|
|
| |
Work around Linux's nonstandard nice() systemcall, which does not return the
new priority.
This closes SF bug #439990.
|
| |
|
|
|
|
|
|
|
|
|
| |
readline.c (2.36), and re-generated config.h.in and configure:
SF Patch #432457 by Jason Tishler: support for readline 4.2.
This patch allows the readline module to build cleanly with GNU
readline 4.2 without breaking the build for earlier GNU readline
versions. The configure script checks for the presence of
rl_completion_matches in libreadline.
|
| |
|
|
|
|
|
|
|
|
| |
necessary in the 2.1 branch.) Guido's original checkin message:
A test suite for SocketServer.py that exposes the various bugs just
fixed. Regrettably, this must be run manually -- somehow the I/O
redirection of the regression test breaks the test. When run under
the regression test, this raises ImportError with a warning to that
effect.
|
| |
|
|
| |
'release21-maint'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix various serious problems:
- The ThreadingTCPServer class and its derived classes were completely
broken because the main thread would close the request before the
handler thread had time to look at it. This was introduced by
Ping's close_request() patch. The fix moves the close_request()
calls to after the handler has run to completion in the BaseServer
class and the ForkingMixIn class; when using the ThreadingMixIn,
closing the request is the handler's responsibility.
- The ForkingUDPServer class has always been been broken because the
socket was closed in the child before calling the handler. I fixed
this by simply not calling server_close() in the child at all.
- I cannot get the UnixDatagramServer class to work at all. The
recvfrom() call doesn't return a meaningful client address. I added
a comment to this effect. Maybe it works on other Unix versions.
- The __all__ variable was missing ThreadingMixIn and ForkingMixIn.
- Bumped __version__ to "0.4".
- Added a note about the test suite (to be checked in shortly).
|