17971 Commits

Author SHA1 Message Date
Georg Brandl
5f55933b3a Close 2.1 branch. 2.1 2011-03-05 14:54:46 +01:00
Georg Brandl
a97ca4340c Fix tag references in 2.1 branch. 2011-03-05 14:54:34 +01:00
Barry Warsaw
3c7a3ab56a Backport this fix:
http://mail.python.org/pipermail/python-checkins/2003-April/035592.html

so that Python 2.1-maint can be built on RedHat 9
2003-08-15 18:18:04 +00:00
Martin v. Löwis
bde3873858 Backport 2.3 FreeBSD recursion_limit settings. Fixes #553736. 2003-06-14 15:05:13 +00:00
Guido van Rossum
22eb8bc48e Backport 1.60 -- because this is an annoyance that Zope folks run into
and Zope 2.6 (which requires Python 2.1.x) isn't dead yet.

Duh.  The do_EOF() implementation was bogus.  Make it more like
do_quit() -- but print a blank line first.
2003-02-13 21:13:17 +00:00
Guido van Rossum
0c71748e3b Change string version to "2.1.3+". 2003-01-09 06:37:25 +00:00
Guido van Rossum
caa765cc18 Complete list of news since 2.1.3 was release. Just in case I feel
like releasing 2.1.4 tomorrow. :-)
2003-01-09 06:12:47 +00:00
Guido van Rossum
cceafe2d0c Roll back the introduction of urlsplit() and urlunsplit() to
urlparse.py.  These were new features in 2.2, and shouldn't be added
to 2.1 this late in the game.  There was one use of urlsplit() in
httplib.py (the urlparse.py change was done as part of a backport of a
bugfix to httplib.py); this use is replaced with a call to urlparse()
without changing the effect (only the returned netloc is used).
2003-01-09 05:43:08 +00:00
Guido van Rossum
1caa072007 Backport (the relevant part of) rexec.py 1.41.
Address SF bug #577530: del __builtins__ breaks out of rexec

Using the suggestion there: add_module() forces __builtin__ back; this
fixes r_exec, r_eval, r_execfile.

This does not mean that rexec is now considered safe!  But for those
willing to take the risk, it's safer than before.  (Note that a safety
analysis of the code module would be wise if you plan to use the
interactive console for real -- I've only ever used it to play with
restricted mode.)
2002-09-15 06:18:29 +00:00
Guido van Rossum
b6e835c548 Backport:
Fix for SF bug 601077 by Zack Weinberg.

The new execvpe code would sometimes do the wrong thing when a
non-executable file existed earlier in the path and an executable file
of the same name existed later in the path.  This patch restores the
proper behavior (which is to execute the second file).  When only a
non-executable file exists, the correct error is still reported.
2002-09-04 11:41:51 +00:00
Jeremy Hylton
344f425034 Fix SF bug [ 599838 ] httplib.connect broken in 2.1 branch
Some IPv6-specific changes crept into the 2.1 branch when I backported
other bug fixes.
2002-08-29 20:12:26 +00:00
Fred Drake
4fa82fa410 Back-port the \ulink macro to the documentation package for Python 2.1.x
since a documentation patch included \ulink.  Adding this here makes
back-porting further documentation patches easier than having to remove
\ulink from the patches.
Closes SF bug #598996.
2002-08-27 19:50:42 +00:00
Fred Drake
8bb9fe89b8 Correct some return value information. 2002-08-27 18:41:26 +00:00
Fred Drake
cf8b1ea851 Add strong security warning about the rexec module.
Closes SF patch #600861.
2002-08-27 16:42:37 +00:00
Fred Drake
1c7f511d4a The errno module needs to be statically linked, since it is now needed during
the extension building phase.
2002-08-08 19:56:28 +00:00
Guido van Rossum
d31a8036fe Backport of SF patch 590294: os._execvpe security fix (Zack Weinberg).
1) Do not attempt to exec a file which does not exist
just to find out what error the operating system
returns. This is an exploitable race on all platforms
that support symbolic links.

2) Immediately re-raise the exception if we get an
error other than errno.ENOENT or errno.ENOTDIR. This
may need to be adapted for other platforms.
2002-08-08 19:46:52 +00:00
Guido van Rossum
a1a5a89b48 Add a dummy test_queue output file to make regrtest happy. 2002-08-08 19:46:10 +00:00
Jeremy Hylton
25fae7caab Update test output. 2002-07-12 16:04:27 +00:00
Jeremy Hylton
def3b5051e Backport changes.
Change _begin() back to begin().
Fix for SF bug 579107.
Fix for SF bug #432621: httplib: multiple Set-Cookie headers
Fix SF bug #575360
Handle HTTP/0.9 responses.
2002-07-12 15:22:09 +00:00
Jeremy Hylton
f395df091e Backport various bug fixes from trunk.
The 2.1 maintenance branch is now identical to the trunk through rev
1.54 of httplib.py.
2002-07-02 20:42:50 +00:00
Jeremy Hylton
13aa64bfae Backport variety of SSL fixes accumulated on the trunk. 2002-07-02 19:05:33 +00:00
Neal Norwitz
e8de1b6af4 SF # 572928 One word change for lib/libgettext.tex
Fix typo.
2002-06-24 02:30:29 +00:00
Fred Drake
babfc0d2fe Make the docs for string.capitalize() match those of str.capitalize()
(which makes it more clear).
Closes SF bug #571767.
2002-06-20 21:19:48 +00:00
Fred Drake
4b11f2b62f Typo: bites --> bytes 2002-06-18 20:39:14 +00:00
Fred Drake
3a2611ff69 Add description of the deadlock problem with child processes and pipes, and
hints about how to work around it.
Closes SF bug #530637.
2002-06-18 20:32:09 +00:00