summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Close 2.1 branch.2.1Georg Brandl2011-03-050-0/+0
|
* Fix tag references in 2.1 branch.Georg Brandl2011-03-051-49/+49
|
* Backport this fix:Barry Warsaw2003-08-151-2/+6
| | | | | | http://mail.python.org/pipermail/python-checkins/2003-April/035592.html so that Python 2.1-maint can be built on RedHat 9
* Backport 2.3 FreeBSD recursion_limit settings. Fixes #553736.Martin v. Löwis2003-06-141-0/+14
|
* Backport 1.60 -- because this is an annoyance that Zope folks run intoGuido van Rossum2003-02-131-1/+3
| | | | | | | 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.
* Change string version to "2.1.3+".Guido van Rossum2003-01-091-2/+2
|
* Complete list of news since 2.1.3 was release. Just in case I feelGuido van Rossum2003-01-091-4/+54
| | | | like releasing 2.1.4 tomorrow. :-)
* Roll back the introduction of urlsplit() and urlunsplit() toGuido van Rossum2003-01-092-51/+37
| | | | | | | | 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).
* Backport (the relevant part of) rexec.py 1.41.Guido van Rossum2002-09-151-3/+3
| | | | | | | | | | | | | 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.)
* Backport:Guido van Rossum2002-09-041-5/+12
| | | | | | | | | | 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.
* Fix SF bug [ 599838 ] httplib.connect broken in 2.1 branchJeremy Hylton2002-08-291-19/+4
| | | | | Some IPv6-specific changes crept into the 2.1 branch when I backported other bug fixes.
* Back-port the \ulink macro to the documentation package for Python 2.1.xFred Drake2002-08-272-0/+22
| | | | | | | 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.
* Correct some return value information.Fred Drake2002-08-271-2/+2
|
* Add strong security warning about the rexec module.Fred Drake2002-08-271-1/+10
| | | | Closes SF patch #600861.
* The errno module needs to be statically linked, since it is now needed duringFred Drake2002-08-082-3/+1
| | | | the extension building phase.
* Backport of SF patch 590294: os._execvpe security fix (Zack Weinberg).Guido van Rossum2002-08-081-21/+6
| | | | | | | | | | | 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.
* Add a dummy test_queue output file to make regrtest happy.Guido van Rossum2002-08-081-0/+1
|
* Update test output.Jeremy Hylton2002-07-121-0/+5
|
* Backport changes.Jeremy Hylton2002-07-122-69/+388
| | | | | | | | 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.
* Backport various bug fixes from trunk.Jeremy Hylton2002-07-023-117/+246
| | | | | The 2.1 maintenance branch is now identical to the trunk through rev 1.54 of httplib.py.
* Backport variety of SSL fixes accumulated on the trunk.Jeremy Hylton2002-07-021-142/+348
|
* SF # 572928 One word change for lib/libgettext.texNeal Norwitz2002-06-241-1/+1
| | | | Fix typo.
* Make the docs for string.capitalize() match those of str.capitalize()Fred Drake2002-06-201-1/+1
| | | | | (which makes it more clear). Closes SF bug #571767.
* Typo: bites --> bytesFred Drake2002-06-181-1/+1
|
* Add description of the deadlock problem with child processes and pipes, andFred Drake2002-06-182-0/+67
| | | | | hints about how to work around it. Closes SF bug #530637.
* Add a note about "as" not being a keyword, though it has special meaningFred Drake2002-06-181-0/+7
| | | | | | | | when used as part of the import statement. Note that both "as" and "None" becoming keywords in the future. Closes SF bug #553262.
* Note the limitation that mime_decode_header() only works for Latin-1.Fred Drake2002-06-181-0/+1
| | | | Closes SF bug #551912.
* Add a special case code to deal with unexpected large files.Jeremy Hylton2002-06-181-1/+21
| | | | | | | | | | # On a Linux with large file support (LFS) using a Python without LFS, # stat() will raise EOVERFLOW. This unambiguously indicates that the # file exists because it only occurs when the size of the file can't # find into the stat struct. This change is only needed for Python 2.1, because LFS is automatically configured starting with Python 2.2.
* Corect speling and add \n\ to line ends in new docstring for access().Guido van Rossum2002-06-181-5/+5
|
* Clarified documentation for os.access().Fred Drake2002-06-182-6/+12
| | | | | Based on patch contributed by Sean Reifschneider. Closes SF patch #570618.
* Clarified description of error handling for shutil.rmtree().Fred Drake2002-06-181-2/+3
| | | | This closes SF patch #569832.
* PyModule_AddObject(): Added missing exceptions.Fred Drake2002-06-171-7/+14
| | | | Closes SF bug #523473.
* Do not claim that getlocale() returns a tulpe; that is not always true.Fred Drake2002-06-131-3/+3
| | | | Closes SF bug #568577.
* Add documentation for PyObject_RichCompare() and PyObject_RichCompareBool(),Fred Drake2002-06-131-0/+42
| | | | | constributed by David Abrahams. This closes SF patch #568081.
* Add version annotations for some older changes to the calendar module.Fred Drake2002-06-131-2/+10
| | | | | | | Closes SF patch #567867. Added a couple of minor clarifications present in the 2.2.x and 2.3 version of the documentation which also apply to 2.1.x.
* Completely revise markup for the list of list methods; the new markup matchesFred Drake2002-06-111-26/+35
| | | | | | | the semantics and presentation used in the library reference. Added an explanation of the use of [...] to denote optional arguments, since this is the only use of this in a signature line. Closes SF bug #567127.
* Fix SF #561858 Assertion with very long listsNeal Norwitz2002-06-011-0/+15
| | | | | | | | | | | | | | if co_stacksize was > 32767 (the maximum value which can be stored in 16 bits (signed)), the PyCodeObject would be written wrong. So on the second import (reading the .pyc) would cause a crash. Since we can't change the PYC magic, we go on (silently), but don't write the file. This means everything will work, but a .pyc will not be written and the file will need to be parsed on each import.
* Backport to 2.1.x:Guido van Rossum2002-05-312-1/+23
| | | | | | | | | | SF bug 533625 (Armin Rigo). rexec: potential security hole If a rexec instance allows writing in the current directory (a common thing to do), there's a way to execute bogus bytecode. Fix this by not allowing imports from .pyc files (in a way that allows a site to configure things so that .pyc files *are* allowed, if writing is not allowed).
* Backport fix by tismer for #210682Neal Norwitz2002-05-291-11/+5
| | | | | | | | | | | | | | | fixed an old buglet that caused bdb to be unable to continue in the botframe, after a breakpoint was set. the key idea is not to set botframe to the bottom level frame, but its f_back, which actually might be None. Additional changes: migrated old exception trick to use sys._getframe(), which exists both in 2.1 and 2.2 . Note: I believe Mark Hammond needs to look over his code now. F5 correctly starts up in the debugger, but later on doesn't stop at a given breakpoint any longer. kind regards - chris
* Add availability information for a couple of the types.Fred Drake2002-05-211-2/+4
|
* Fix typo: ptread --> pthreadFred Drake2002-05-111-1/+1
| | | | Closes SF bug #554644.
* Add a note explaining the interaction between unbuffered input andFred Drake2002-05-061-1/+4
| | | | | xreadlines.xreadlines(). This closes SF patch #552804.
* Backport patch for revision 1.58 to the Py2.1.x maintenance branch.Barry Warsaw2002-05-032-105/+129
| | | | | | This fixes parseaddr() for the following RFC 2822 valid field: To: User J. Person <person@dom.ain>
* Update a SourceForge issue number; IDs less than 200000 are no longer valid.Fred Drake2002-05-021-1/+1
| | | | (The issues were re-numbered, not lost.)
* Added regression tests for xrange object attributes.Fred Drake2002-05-021-0/+21
| | | | See SF bug #551285.
* Add information on support for repietition & concatenation for bufferFred Drake2002-05-021-7/+15
| | | | | | and xrange objects, and generally present these in the same way that more recent documentation releases present them (for ease of maintenance). This closes SF bug #550555.
* Backport buffer() tests from trunk to avoid regression failures.Fred Drake2002-05-022-0/+30
|
* Revise version/date information since we're not about to hit a release.Fred Drake2002-05-022-3/+3
|
* Explain what os.read() returns at end of file.Fred Drake2002-05-011-1/+3
| | | | This closes SF bug #550409.
* Add missing right-parenthesis.Fred Drake2002-05-011-1/+1
|