summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #793702: Section 13.1 HTMLParser documentation errorRaymond Hettinger2003-08-251-1/+1
| | | | The -- is special to TeX and was printing as just -.
* Fix typo.Raymond Hettinger2003-08-231-1/+1
| | | | Thou shalt not count to two unless proceeding to the number three.
* Fix typo.Raymond Hettinger2003-08-231-1/+1
|
* Fix a loooong-standing brainfart: I got the site-packages path forGreg Ward2003-08-231-1/+1
| | | | Python 1.5.2 wrong in the section on config files.
* Build the bzip2.lib as a custom pre-link step in MSVC.Thomas Heller2003-08-202-13/+16
|
* Opening the WISE script changes a few items:Thomas Heller2003-08-201-2/+11
| | | | | I have a different WISE version, and it's installed in a different directory. My sytem directory is somewhere else.
* Update get_param() description to reflect changes to the docstring.Barry Warsaw2003-08-191-5/+8
|
* Bump the version number for the standalone mimelib package.Barry Warsaw2003-08-191-1/+1
|
* Describe the fix to the email package.Barry Warsaw2003-08-191-0/+3
|
* test_rfc2231_no_language_or_charset_in_filename(),Barry Warsaw2003-08-191-0/+37
| | | | | | | | | test_rfc2231_no_language_or_charset_in_boundary(), test_rfc2231_no_language_or_charset_in_charset(): New tests for proper decoding of some RFC 2231 headers. Backport candidate (as was the Utils.py 1.25 change) to both Python 2.3.1 and 2.2.4 -- will do momentarily.
* get_param(): Update the docstring to explain how CHARSET and LANGUAGEBarry Warsaw2003-08-191-7/+12
| | | | | | | | | | can be None, and what to do in that situation. get_filename(), get_boundary(), get_content_charset(): Make sure these handle RFC 2231 headers without a CHARSET field. Backport candidate (as was the Utils.py 1.25 change) to both Python 2.3.1 and 2.2.4 -- will do momentarily.
* decode_rfc2231(): We need to urllib.unquote() the value even if theBarry Warsaw2003-08-191-1/+1
| | | | | | charset and language fields are not present, e.g. as in: title*0="This%20is%20encoded"
* This started opening files in text mode by default in the 2.3 release,Tim Peters2003-08-182-10/+17
| | | | | | | which is a disaster on Windows. Restored the binary default of all previous releases. Also minor code cleanups. Bugfix candidate!
* Fix a crash: when sq_item failed the code continued blindly and used theWalter Dörwald2003-08-181-3/+10
| | | | | | NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz). Fix refcounting leak in filtertuple().
* Remove a stray single quote.Thomas Heller2003-08-181-1/+1
| | | | Will backport to release23-maint.
* SF #784031: Byte-order bug in socket-module getaddrinfo.cRaymond Hettinger2003-08-171-0/+1
|
* Improvements to set.py:Raymond Hettinger2003-08-174-53/+213
| | | | | | | | | | | | | | | | | | | * Relaxed the argument restrictions for non-operator methods. They now allow any iterable instead of requiring a set. This makes the module a little easier to use and paves the way for an efficient C implementation which can take better advantage of iterable arguments while screening out immutables. * Deprecated Set.update() because it now duplicates Set.union_update() * Adapted the tests and docs to include the above changes. * Added more test coverage including testing identities and checking to make sure non-restartable generators work as arguments. Will backport to Py2.3.1 so that the interface remains consistent across versions. The deprecation of update() will be changed to a FutureWarning.
* Adjust some horizontal indentation to be consistent with the style usedFred Drake2003-08-161-4/+4
| | | | throughout the documentation.
* Keep doctests in sync with the docs.Raymond Hettinger2003-08-161-5/+5
|
* Incorporate documentation suggestions from feedback on comp.lang.python.Raymond Hettinger2003-08-161-55/+42
| | | | | | | | | | | | | | | * Positive wording for the description of why < and > and = can all be False. * Move to a three column table format that puts long method names side-by-side with their operator equivalents * Mention that KeyError can be raised by Set.pop() and Set.remove(). * Minor tweaks to the examples. Will backport as soon as Fred rebuilds the docs so I can confirm the tables formatted properly
* Make sets.py compatible with Py2.2Raymond Hettinger2003-08-152-1/+21
|
* Fix SF #789402, Memory leak on open()Neal Norwitz2003-08-151-0/+1
| | | | If opening a directory, the exception would leak.
* Make a copy of L before appending, so the global L remainsWalter Dörwald2003-08-151-4/+4
| | | | | | unchanged (and sys.gettotalrefcount() remains constant). Fix a few typos.
* Fix refcounting leak in charmaptranslate_lookup()Walter Dörwald2003-08-151-0/+1
|
* Fix another refcounting leak in PyUnicode_EncodeCharmap().Walter Dörwald2003-08-151-1/+3
|
* Fix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()).Walter Dörwald2003-08-151-0/+2
|
* Fix forMichael W. Hudson2003-08-153-5/+48
| | | | | | | | | [ 784825 ] fix obscure crash in descriptor handling Should be applied to release23-maint and in all likelyhood release22-maint, too. Certainly doesn't apply to release21-maint.
* Fix silly leak in test used in test_exceptions.Michael W. Hudson2003-08-151-0/+1
|
* My last fix left n used unitialized in tha a==b case.Michael W. Hudson2003-08-151-1/+1
| | | | | | Fix, by not using n at all in that case. Needs to be applied to release23-maint, too.
* complex_new(): This could leak when the argument was neither string norTim Peters2003-08-152-0/+6
| | | | | | number. This accounts for the 2 refcount leaks per test_complex run Michael Hudson discovered (I figured only I would have the stomach to look for leaks in floating-point code <wink>).
* Don't introduce map(None, ...) in the tutorial. In practice, zip() isNeil Schemenauer2003-08-141-9/+4
| | | | usually preferred.
* Fix refcount leak in the UnicodeError constructor:Walter Dörwald2003-08-141-1/+1
| | | | | When parsing the constructor arguments failed, a reference to the argument tuple was leaked.
* Make filter(bool, ...) as fast as filter(None, ...).Neil Schemenauer2003-08-141-1/+1
|
* Fix refcount leak in PyUnicode_EncodeCharmap(). The bug surfacesWalter Dörwald2003-08-141-3/+3
| | | | | | | | | | when an encoding error occurs and the callback name is unknown, i.e. when the callback has to be called. The problem was that the fact that the callback has already been looked up was only recorded in a local variable in charmap_encoding_error(), because charmap_encoding_error() got it's own copy of the errorHandler pointer instead of a pointer to the pointer in PyUnicode_EncodeCharmap().
* SF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)Raymond Hettinger2003-08-141-4/+4
| | | | (Contributed by George Yoshida.)
* Fix reference leak noted in test_types:Michael W. Hudson2003-08-141-9/+9
| | | | | | Check for a[:] = a _before_ calling PySequence_Fast on a. release23-maint candidate Reference leak doesn't happen with head of release22-maint.
* When piping output into a pager like "less", quiting the pager beforeFred Drake2003-08-141-2/+6
| | | | | the output was consumed would cause and exception to be raise in logmerge; suppress this specific error, because it's not helpful.
* IDLE didn't start correctly when Python was installed in "Program Files"Kurt B. Kaiser2003-08-142-2/+19
| | | | | | on W2K and XP. Python Bugs 780451, 784183 Backported to 2.2-maint
* fix markupFred Drake2003-08-141-1/+1
|
* [Patch #739124] Add use_default_colors() to curses moduleAndrew M. Kuchling2003-08-136-3/+44
|
* Add a unicode prefix to the characters in the UnicodeEncodeError andWalter Dörwald2003-08-122-15/+15
| | | | UnicodeTranslateError message.
* Enhance message for UnicodeEncodeError and UnicodeTranslateError.Walter Dörwald2003-08-122-8/+56
| | | | | If there is only one bad character it will now be printed in a form that is a valid Python string.
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-123-3/+3
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-1211-13/+13
|
* Fix bug in test_bad_timezone where test was assuming locale knew of PDT.Brett Cannon2003-08-111-2/+3
|
* Add a couple of decrefs to error paths.Michael W. Hudson2003-08-111-2/+4
| | | | | | | Now test_descr only appears to leak two references & I think this are in fact illusory (it's to do with things getting resurrected in __del__ methods & it's easy to be believe confusion occurs when that happens <wink>). Woohoo!
* Comment typo fixesAndrew M. Kuchling2003-08-112-2/+2
|
* mention pymemcompat.h in Misc/READMEMichael W. Hudson2003-08-111-0/+1
|
* Fix silly typo in comment.Michael W. Hudson2003-08-111-1/+1
|
* add a statement identifying StringI and StringO objects.Skip Montanaro2003-08-111-1/+2
|