summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove MacOS 9 refAndrew M. Kuchling2004-08-071-4/+1
|
* Remove MacOS 9 refsAndrew M. Kuchling2004-08-071-25/+1
|
* [Patch #862531] Update version numbers.Andrew M. Kuchling2004-08-071-13/+13
|
* Let's not use string exceptions any more.Armin Rigo2004-08-071-1/+2
|
* FixMichael W. Hudson2004-08-071-2/+2
| | | | | | [ 777659 ] Uninitialized variable used in Tools/faqwiz/faqwiz.py with help from jlgijsbers on #python-dev IRC.
* This was quite a dark bug in my recent in-place string concatenationArmin Rigo2004-08-072-2/+3
| | | | | | hack: it would resize *interned* strings in-place! This occurred because their reference counts do not have their expected value -- stringobject.c hacks them. Mea culpa.
* Removing tests that fail because of changes in PyString_InternInPlace(),Armin Rigo2004-08-071-16/+0
| | | | | as discussed on IRC. The equivalent tests for the new behavior are in test_builtin.py.
* [Patch #999280 ] Update kwargs in pickle docs to match implementationsAndrew M. Kuchling2004-08-071-9/+9
|
* [Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex:Andrew M. Kuchling2004-08-071-10/+5
| | | | | | | PyObject* o -> PyObject *o to be consistent with the rest of the file - Correct markup for Py_True - Remove duplicate description of PyBool_Check
* Use LaTeX markupAndrew M. Kuchling2004-08-071-1/+1
|
* [Bug #914375] Crude modulefinder docs, but the module's code is very hard to ↵Andrew M. Kuchling2004-08-071-0/+49
| | | | read and it's not clear which bits are public and which aren't. The module's author should really be doing this (and using docstrings in the code, too)
* eval_frame now has a PyAPI-style nameMichael W. Hudson2004-08-071-1/+1
|
* Fixed some compiler warnings.Armin Rigo2004-08-071-2/+2
|
* Add a trivial test for the compiler package, guarded by compiler resource.Jeremy Hylton2004-08-072-1/+39
| | | | | | This test is insanely slow, so it requires a resource. On my machine, it also appears to dump core. I think the problem is a stack overflow, but haven't been able to confirm.
* Remove various modules that have been documentedAndrew M. Kuchling2004-08-071-16/+2
|
* SF patch 836879.Jeremy Hylton2004-08-071-21/+19
| | | | Don't generate code for asserts in -O mode.
* Subclasses of string can no longer be interned. The semantics ofJeremy Hylton2004-08-074-22/+40
| | | | | | | | | | | interning were not clear here -- a subclass could be mutable, for example -- and had bugs. Explicitly interning a subclass of string via intern() will raise a TypeError. Internal operations that attempt to intern a string subclass will have no effect. Added a few tests to test_builtin that includes the old buggy code and verifies that calls like PyObject_SetAttr() don't fail. Perhaps these tests should have gone in test_string.
* [Bug #827209] Add footnote from Alex M. about listcomps leaking their index ↵Andrew M. Kuchling2004-08-071-1/+5
| | | | variables
* SF bug 1003471: Python 1.5.2 security vulnerabilityTim Peters2004-08-071-1/+11
| | | | | | | | | | | | | This was probably fixed in rev 1.32 of getpath.c, but there are so many paths thru the code that invoke joinpath() it's not at all obvious that it *is* fixed. It doesn't help confidence that a crucial precondition for calling joinpath() was neither documented nor verified. It is now, and joinpath() will barf with a fatal error now rather than overrun the buffer, if the precondition isn't met. Note that this patch only changes the Windows flavor. I attached another patch to the bug report for the POSIX flavor (which I can't test conveniently).
* Various minor editsAndrew M. Kuchling2004-08-071-14/+15
|
* [Bug #866222] Update docs to match the moduleAndrew M. Kuchling2004-08-071-7/+15
|
* [Bug #866222] Update docstrings.Andrew M. Kuchling2004-08-071-4/+3
|
* FixMichael W. Hudson2004-08-071-9/+7
| | | | | | | | | [ 991812 ] PyArg_ParseTuple can miss errors with warnings as exceptions as suggested in the report. This is definitely a 2.3 candidate (as are most of the checkins I've made in the last month...)
* [Bug #991883] Document calling conditionAndrew M. Kuchling2004-08-071-1/+2
|
* [Bug #990792] Mention that repl can be a callableAndrew M. Kuchling2004-08-071-2/+6
|
* Fix urllib2.urlopen() handling of chunked content encoding.Jeremy Hylton2004-08-073-2/+108
| | | | | | | | | | | | | | | | | The change to use the newer httplib interface admitted the possibility that we'd get an HTTP/1.1 chunked response, but the code didn't handle it correctly. The raw socket object can't be pass to addinfourl(), because it would read the undecoded response. Instead, addinfourl() must call HTTPResponse.read(), which will handle the decoding. One extra wrinkle is that the HTTPReponse object can't be passed to addinfourl() either, because it doesn't implement readline() or readlines(). As a quick hack, use socket._fileobject(), which implements those methods on top of a read buffer. (suggested by mwh) Finally, add some tests based on test_urllibnet. Thanks to Andrew Sawyers for originally reporting the chunked problem.
* FixMichael W. Hudson2004-08-071-3/+3
| | | | | | [ 1000841 ] "make pdf" failure w/ 2.4 docs in the suggested way, by uglifying a URL.
* [Bug #998066] Mention result mismatchAndrew M. Kuchling2004-08-071-0/+2
|
* [Bug #923315] Produce correct result on AIXAndrew M. Kuchling2004-08-071-1/+5
|
* Patch:Michael W. Hudson2004-08-071-1/+1
| | | | [ 1003863 ] adds an index entry for __all__ to the tutorial
* [Bug #873146] Document pickletools module (haven't tested the LaTeX yet)Andrew M. Kuchling2004-08-072-0/+33
|
* Add argument to docstringAndrew M. Kuchling2004-08-071-1/+1
|
* Point out that the setdefault defaults the value to None. Inspired byMichael W. Hudson2004-08-071-1/+1
| | | | | Michael Chermside's thinking about patch #748126 (the chief upshot of which thinking was "reject it!").
* Resolution of bug #997368, "strftime() backward compatibility".Barry Warsaw2004-08-074-5/+5
| | | | | | | | | Specifically, time.strftime() no longer accepts a 0 in the yday position of a time tuple, since that can crash some platform strftime() implementations. parsedate_tz(): Change the return value to return 1 in the yday position. Update tests in test_rfc822.py and test_email.py
* SF bug 874842 and patch 997626: httplib bugsJeremy Hylton2004-08-072-11/+64
| | | | | | Hack httplib to work with broken Akamai proxies. Make sure that httplib doesn't add extract Accept-Encoding or Content-Length headers if the client has already set them.
* Make 'bin' argument trigger DeprecationWarningAndrew M. Kuchling2004-08-071-1/+1
|
* [Bug #984952] Include more material from PEP 307.Andrew M. Kuchling2004-08-071-30/+35
| | | | | | I haven't tried to include all the material on old-style classes using protocols 0,1. The details are lengthy; someone who knows more about the pickle module should decide if they're important enough to be in the docs or not.
* Resolution of SF bug #1002475 and patch #1003693; Header lines that end inBarry Warsaw2004-08-072-3/+33
| | | | | | | | | | \r\n only get the \n stripped, not the \r (unless it's the last header which does get the \r stripped). Patch by Tony Meyer. test_whitespace_continuation_last_header(), test_strip_line_feed_and_carriage_return_in_headers(): New tests. _parse_headers(): Be sure to strip \r\n from the right side of header lines.
* [Bug #984952] Include some material from PEP 307Andrew M. Kuchling2004-08-071-4/+35
|
* This is more-or-less:Michael W. Hudson2004-08-071-3/+4
| | | | | | | [ 1005123 ] test_curses fails on MacOS X 10.3 Be a bit more guarded about what we expect a terminal to be capable of.
* Somehow (no idea how!) I missed half of patch #1005008. Sorry about that.Michael W. Hudson2004-08-071-1/+1
|
* This is patchMichael W. Hudson2004-08-071-17/+4
| | | | | | | [ 1005008 ] curses.wrapper should also forward keyword args Plus my rewrite to use finally as opposed to painfully doing the equivalent by hand.
* [Bug #998307] Use open() instead of file() in docsAndrew M. Kuchling2004-08-071-3/+3
|
* fix two typos in markupFred Drake2004-08-071-2/+2
|
* Add nameAndrew M. Kuchling2004-08-071-0/+1
|
* Create section for 2.4a3; remove empty sections in 2.4a2Andrew M. Kuchling2004-08-071-16/+39
|
* Another typoAndrew M. Kuchling2004-08-071-1/+1
|
* Typo fixAndrew M. Kuchling2004-08-071-1/+1
|
* Add recent itemsAndrew M. Kuchling2004-08-071-0/+14
|
* Simplify languageAndrew M. Kuchling2004-08-071-11/+9
|