summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #790356] unctrl() doesn't work for full printable charset. Fix by Dave ↵Andrew M. Kuchling2003-08-291-0/+2
| | | | Cinege.
* Add simple unit test for ascii.unctrl() functionAndrew M. Kuchling2003-08-291-0/+13
|
* [Bug #776542] open_https() generates a bad Authorization header because it ↵Andrew M. Kuchling2003-08-291-1/+1
| | | | calls .putheader() wrongly. Reported by Steffen Ries.
* [Bug #780231] One of the changes described in the 2.3 "What's New" documentAndrew M. Kuchling2003-08-292-27/+27
| | | | | | actually occurred in 2.2. Move the description to whatsnew22.tex. [Bugfix candidate -- I'll backport to 2.3 (another 2.2 bugfix seems unlikely)
* fix minor syntactic faux pasFred Drake2003-08-291-2/+2
|
* Make sure parentheses are escaped when used in the format string.Brett Cannon2003-08-292-1/+10
| | | | Closes bug #796149 . Will be backported.
* Support DBEnv.set_shm_key() to allow multi-threaded multi-processGregory P. Smith2003-08-282-0/+18
| | | | database environments to use shared memory on systems supporting it.
* Fix for SF bug [ 784075 ] Fatal Python error: unknown scopeJeremy Hylton2003-08-281-4/+12
| | | | | Make sure the inner function is not compiled when there is a syntax error in the default arguments.
* Fix SF bug [ 788011 ] compiler.compileFile fails on csv.pyJeremy Hylton2003-08-281-1/+6
| | | | Bug fix candidate.
* Fix typo in docstring: The switch is '-x', not '-s'.Thomas Heller2003-08-271-1/+1
| | | | Will backport to 2.3 myself.
* remove extra word occurance; reported to webmasterFred Drake2003-08-271-1/+1
|
* Remove a typo. (Or is this some markup I don't understand? ;-)Thomas Heller2003-08-271-1/+1
|
* SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger2003-08-274-0/+10
| | | | | | Adding missing support for '%F'. Will backport to 2.3.1.
* test_largefile can leave its temp file open if one of many tests fail. OnJason Tishler2003-08-261-73/+81
| | | | | | | | | | | | | | | | | | | | platforms (e.g., Cygwin) that are "particular" about open files, this will cause other regression tests that use the same temp file to fail: $ ./python.exe -E -tt Lib/test/regrtest.py -l test_largefile test_mmap test_mutants test_largefile test test_largefile failed -- got -1794967295L, but expected 2500000001L test_mmap test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' test_mutants test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' This patch solves the problem by adding missing "try/finally" blocks. Note that the "large" size of this patch is due to many white space changes -- otherwise, the patch is small. I tested this patch under Red Hat Linux 8.0 too.
* Make the derived tools amendable to cut and paste.Raymond Hettinger2003-08-251-54/+54
|
* Fix doubled word typos.Raymond Hettinger2003-08-251-1/+1
|
* Added doubled word warnings.Raymond Hettinger2003-08-253-1/+6
|
* Fix double word typos.Raymond Hettinger2003-08-2510-10/+10
|
* 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.