]> granicus.if.org Git - python/log
python
21 years agotest_rfc2231_no_language_or_charset_in_filename(),
Barry Warsaw [Tue, 19 Aug 2003 03:54:24 +0000 (03:54 +0000)]
test_rfc2231_no_language_or_charset_in_filename(),
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.

21 years agoget_param(): Update the docstring to explain how CHARSET and LANGUAGE
Barry Warsaw [Tue, 19 Aug 2003 03:53:02 +0000 (03:53 +0000)]
get_param(): Update the docstring to explain how CHARSET and LANGUAGE
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.

21 years agodecode_rfc2231(): We need to urllib.unquote() the value even if the
Barry Warsaw [Tue, 19 Aug 2003 03:49:34 +0000 (03:49 +0000)]
decode_rfc2231(): We need to urllib.unquote() the value even if the
charset and language fields are not present, e.g. as in:

    title*0="This%20is%20encoded"

21 years agoThis started opening files in text mode by default in the 2.3 release,
Tim Peters [Mon, 18 Aug 2003 23:52:09 +0000 (23:52 +0000)]
This started opening files in text mode by default in the 2.3 release,
which is a disaster on Windows.  Restored the binary default of all
previous releases.  Also minor code cleanups.

Bugfix candidate!

21 years agoFix a crash: when sq_item failed the code continued blindly and used the
Walter Dörwald [Mon, 18 Aug 2003 18:28:45 +0000 (18:28 +0000)]
Fix a crash: when sq_item failed the code continued blindly and used the
NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz).

Fix refcounting leak in filtertuple().

21 years agoRemove a stray single quote.
Thomas Heller [Mon, 18 Aug 2003 17:53:33 +0000 (17:53 +0000)]
Remove a stray single quote.
Will backport to release23-maint.

21 years agoSF #784031: Byte-order bug in socket-module getaddrinfo.c
Raymond Hettinger [Sun, 17 Aug 2003 21:28:39 +0000 (21:28 +0000)]
SF #784031:  Byte-order bug in socket-module getaddrinfo.c

21 years agoImprovements to set.py:
Raymond Hettinger [Sun, 17 Aug 2003 08:34:09 +0000 (08:34 +0000)]
Improvements to set.py:

* 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.

21 years agoAdjust some horizontal indentation to be consistent with the style used
Fred Drake [Sat, 16 Aug 2003 06:30:47 +0000 (06:30 +0000)]
Adjust some horizontal indentation to be consistent with the style used
throughout the documentation.

21 years agoKeep doctests in sync with the docs.
Raymond Hettinger [Sat, 16 Aug 2003 00:59:59 +0000 (00:59 +0000)]
Keep doctests in sync with the docs.

21 years agoIncorporate documentation suggestions from feedback on comp.lang.python.
Raymond Hettinger [Sat, 16 Aug 2003 00:56:40 +0000 (00:56 +0000)]
Incorporate documentation suggestions from feedback on comp.lang.python.

* 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

21 years agoMake sets.py compatible with Py2.2
Raymond Hettinger [Fri, 15 Aug 2003 21:17:04 +0000 (21:17 +0000)]
Make sets.py compatible with Py2.2

21 years agoFix SF #789402, Memory leak on open()
Neal Norwitz [Fri, 15 Aug 2003 20:05:45 +0000 (20:05 +0000)]
Fix SF #789402, Memory leak on open()

If opening a directory, the exception would leak.

21 years agoMake a copy of L before appending, so the global L remains
Walter Dörwald [Fri, 15 Aug 2003 17:52:39 +0000 (17:52 +0000)]
Make a copy of L before appending, so the global L remains
unchanged (and sys.gettotalrefcount() remains constant).

Fix a few typos.

21 years agoFix refcounting leak in charmaptranslate_lookup()
Walter Dörwald [Fri, 15 Aug 2003 16:52:19 +0000 (16:52 +0000)]
Fix refcounting leak in charmaptranslate_lookup()

21 years agoFix another refcounting leak in PyUnicode_EncodeCharmap().
Walter Dörwald [Fri, 15 Aug 2003 16:26:34 +0000 (16:26 +0000)]
Fix another refcounting leak in PyUnicode_EncodeCharmap().

21 years agoFix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()).
Walter Dörwald [Fri, 15 Aug 2003 15:00:26 +0000 (15:00 +0000)]
Fix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()).

21 years agoFix for
Michael W. Hudson [Fri, 15 Aug 2003 13:07:47 +0000 (13:07 +0000)]
Fix for

[ 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.

21 years agoFix silly leak in test used in test_exceptions.
Michael W. Hudson [Fri, 15 Aug 2003 13:03:30 +0000 (13:03 +0000)]
Fix silly leak in test used in test_exceptions.

21 years agoMy last fix left n used unitialized in tha a==b case.
Michael W. Hudson [Fri, 15 Aug 2003 12:06:41 +0000 (12:06 +0000)]
My last fix left n used unitialized in tha a==b case.
Fix, by not using n at all in that case.

Needs to be applied to release23-maint, too.

21 years agocomplex_new(): This could leak when the argument was neither string nor
Tim Peters [Fri, 15 Aug 2003 01:16:37 +0000 (01:16 +0000)]
complex_new():  This could leak when the argument was neither string nor
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>).

21 years agoDon't introduce map(None, ...) in the tutorial. In practice, zip() is
Neil Schemenauer [Thu, 14 Aug 2003 22:57:46 +0000 (22:57 +0000)]
Don't introduce map(None, ...) in the tutorial.  In practice, zip() is
usually preferred.

21 years agoFix refcount leak in the UnicodeError constructor:
Walter Dörwald [Thu, 14 Aug 2003 20:59:07 +0000 (20:59 +0000)]
Fix refcount leak in the UnicodeError constructor:
When parsing the constructor arguments failed, a
reference to the argument tuple was leaked.

21 years agoMake filter(bool, ...) as fast as filter(None, ...).
Neil Schemenauer [Thu, 14 Aug 2003 20:37:34 +0000 (20:37 +0000)]
Make filter(bool, ...) as fast as filter(None, ...).

21 years agoFix refcount leak in PyUnicode_EncodeCharmap(). The bug surfaces
Walter Dörwald [Thu, 14 Aug 2003 20:25:29 +0000 (20:25 +0000)]
Fix refcount leak in PyUnicode_EncodeCharmap(). The bug surfaces
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().

21 years agoSF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)
Raymond Hettinger [Thu, 14 Aug 2003 19:58:35 +0000 (19:58 +0000)]
SF patch #787929:  reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)

21 years agoFix reference leak noted in test_types:
Michael W. Hudson [Thu, 14 Aug 2003 17:04:28 +0000 (17:04 +0000)]
Fix reference leak noted in test_types:
Check for a[:] = a _before_ calling PySequence_Fast on a.
release23-maint candidate
Reference leak doesn't happen with head of release22-maint.

21 years agoWhen piping output into a pager like "less", quiting the pager before
Fred Drake [Thu, 14 Aug 2003 15:52:33 +0000 (15:52 +0000)]
When piping output into a pager like "less", quiting the pager before
the output was consumed would cause and exception to be raise in
logmerge; suppress this specific error, because it's not helpful.

21 years agoIDLE didn't start correctly when Python was installed in "Program Files"
Kurt B. Kaiser [Thu, 14 Aug 2003 14:54:28 +0000 (14:54 +0000)]
IDLE didn't start correctly when Python was installed in "Program Files"
on W2K and XP.  Python Bugs 780451, 784183

Backported to 2.2-maint

21 years agofix markup
Fred Drake [Thu, 14 Aug 2003 04:51:24 +0000 (04:51 +0000)]
fix markup

21 years ago[Patch #739124] Add use_default_colors() to curses module
Andrew M. Kuchling [Wed, 13 Aug 2003 23:11:04 +0000 (23:11 +0000)]
[Patch #739124] Add use_default_colors() to curses module

21 years agoAdd a unicode prefix to the characters in the UnicodeEncodeError and
Walter Dörwald [Tue, 12 Aug 2003 17:34:49 +0000 (17:34 +0000)]
Add a unicode prefix to the characters in the UnicodeEncodeError and
UnicodeTranslateError message.

21 years agoEnhance message for UnicodeEncodeError and UnicodeTranslateError.
Walter Dörwald [Tue, 12 Aug 2003 17:32:43 +0000 (17:32 +0000)]
Enhance message for UnicodeEncodeError and UnicodeTranslateError.
If there is only one bad character it will now be printed in a
form that is a valid Python string.

21 years agoSF patch#786531 'the the' typo. Contributed by George Yoshida
Raymond Hettinger [Tue, 12 Aug 2003 00:01:17 +0000 (00:01 +0000)]
SF patch#786531 'the the' typo.  Contributed by George Yoshida

21 years agoSF patch#786531 'the the' typo. Contributed by George Yoshida
Raymond Hettinger [Tue, 12 Aug 2003 00:01:16 +0000 (00:01 +0000)]
SF patch#786531 'the the' typo.  Contributed by George Yoshida

21 years agoFix bug in test_bad_timezone where test was assuming locale knew of PDT.
Brett Cannon [Mon, 11 Aug 2003 19:06:13 +0000 (19:06 +0000)]
Fix bug in test_bad_timezone where test was assuming locale knew of PDT.

21 years agoAdd a couple of decrefs to error paths.
Michael W. Hudson [Mon, 11 Aug 2003 17:32:02 +0000 (17:32 +0000)]
Add a couple of decrefs to error paths.

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!

21 years agoComment typo fixes
Andrew M. Kuchling [Mon, 11 Aug 2003 16:20:39 +0000 (16:20 +0000)]
Comment typo fixes

21 years agomention pymemcompat.h in Misc/README
Michael W. Hudson [Mon, 11 Aug 2003 16:18:43 +0000 (16:18 +0000)]
mention pymemcompat.h in Misc/README

21 years agoFix silly typo in comment.
Michael W. Hudson [Mon, 11 Aug 2003 16:14:06 +0000 (16:14 +0000)]
Fix silly typo in comment.

21 years agoadd a statement identifying StringI and StringO objects.
Skip Montanaro [Mon, 11 Aug 2003 15:06:07 +0000 (15:06 +0000)]
add a statement identifying StringI and StringO objects.

21 years agoreverting to 2.41 version (distinct tp_names) - will add verbiage to the
Skip Montanaro [Mon, 11 Aug 2003 14:51:15 +0000 (14:51 +0000)]
reverting to 2.41 version (distinct tp_names) - will add verbiage to the
docs

21 years agoshit - just change the visible name, not the comments - strictly speaking,
Skip Montanaro [Mon, 11 Aug 2003 13:15:11 +0000 (13:15 +0000)]
shit - just change the visible name, not the comments - strictly speaking,
the tp_name is not correct, but what's exposed to users is known visibly as
"StringIO", not "StringI" or "StringO".

21 years agotypos
Skip Montanaro [Mon, 11 Aug 2003 13:09:12 +0000 (13:09 +0000)]
typos

21 years agoFix refcounting and cut & paste error (?) in last checkin.
Michael W. Hudson [Mon, 11 Aug 2003 12:20:24 +0000 (12:20 +0000)]
Fix refcounting and cut & paste error (?) in last checkin.

This should go onto release23-maint, too.

21 years agoUnconditionally opening the temp file in text mode causes this test to fail
Jason Tishler [Mon, 11 Aug 2003 12:13:14 +0000 (12:13 +0000)]
Unconditionally opening the temp file in text mode causes this test to fail
under Cygwin. The attached patch corrects this problem.

I tested this patch under Red Hat Linux 8.0 too.

21 years agoBug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX,
Jack Jansen [Mon, 11 Aug 2003 11:08:49 +0000 (11:08 +0000)]
Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX,
but attempting to get it resulted in a crash. Fixed. Backport candidate.

21 years agoFix handling of bad locale setup where time.tzname[0] == time.tzname[1] and
Brett Cannon [Mon, 11 Aug 2003 07:24:05 +0000 (07:24 +0000)]
Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and
time.daylight is true.  Add an explicit test for this situation.

Fixed some wording in docstrings.

21 years agoSF bug #778964: bad seed in python 2.3 random
Raymond Hettinger [Sat, 9 Aug 2003 18:30:57 +0000 (18:30 +0000)]
SF bug #778964:  bad seed in python 2.3 random

The default seed is time.time().
Multiplied by 256 before truncating so that fractional seconds are used.
This way, two successive calls to random.seed() are much more likely
to produce different sequences.

21 years agoAdd HIDDEN. Fixes #777664.
Martin v. Löwis [Sat, 9 Aug 2003 09:53:51 +0000 (09:53 +0000)]
Add HIDDEN. Fixes #777664.

21 years agoMove initialization of sys.std{in,out}.encoding to Py_Initialize.
Martin v. Löwis [Sat, 9 Aug 2003 09:47:11 +0000 (09:47 +0000)]
Move initialization of sys.std{in,out}.encoding to Py_Initialize.
Verify that the encoding actually exists. Fixes #775985.
Will backport to 2.3.

21 years agoPatch #771998: Put braces around variables. Will backport to 2.3.
Martin v. Löwis [Sat, 9 Aug 2003 09:06:52 +0000 (09:06 +0000)]
Patch #771998: Put braces around variables. Will backport to 2.3.

21 years agoSF patch #747364: BaseHTTPServer doesn't need StringIO intermediary
Raymond Hettinger [Sat, 9 Aug 2003 05:01:41 +0000 (05:01 +0000)]
SF patch #747364:  BaseHTTPServer doesn't need StringIO intermediary
(Contributed by Andrew Dalke.)

21 years agoSF patch #783807: Clarify PySequence_Setitem ref counting
Raymond Hettinger [Sat, 9 Aug 2003 04:37:14 +0000 (04:37 +0000)]
SF patch #783807:  Clarify PySequence_Setitem ref counting
(Contributed by Jay T Miller.)

21 years agoIDLEfork Bug 782759
Kurt B. Kaiser [Sat, 9 Aug 2003 01:51:28 +0000 (01:51 +0000)]
IDLEfork Bug 782759
backported to 23-maint

21 years agoExplain argument unpacking
Raymond Hettinger [Fri, 8 Aug 2003 23:32:46 +0000 (23:32 +0000)]
Explain argument unpacking

21 years ago/* XXX From here until type is allocated, "return NULL" leaks bases! */
Michael W. Hudson [Fri, 8 Aug 2003 13:57:22 +0000 (13:57 +0000)]
/* XXX From here until type is allocated, "return NULL" leaks bases! */

Sure looks like it to me! <wink>

When I run the leak2.py script I posted to python-dev, I only see
three reference leaks in all of test_descr.  When I run
test_descr.test_main, I still see 46 leaks.  This clearly demands
posting a yelp to python-dev :-)

This certainly should be applied to release23-maint, and in all
likelyhood release22-maint as well.

21 years agoSF bug #770485: cStringIO does not set closed attr
Raymond Hettinger [Fri, 8 Aug 2003 12:20:03 +0000 (12:20 +0000)]
SF bug #770485: cStringIO does not set closed attr

21 years agoSF bug #775836: change 0,1 to False,True in dict.has_key doc
Raymond Hettinger [Fri, 8 Aug 2003 11:07:59 +0000 (11:07 +0000)]
SF bug #775836: change 0,1 to False,True in dict.has_key doc

21 years agoModified itertools.izip() to match the behavior of __builtin__.zip()
Raymond Hettinger [Fri, 8 Aug 2003 05:10:41 +0000 (05:10 +0000)]
Modified itertools.izip() to match the behavior of __builtin__.zip()
which can now take zero arguments.

21 years agoRe-sync doc tests with the doc updates.
Raymond Hettinger [Fri, 8 Aug 2003 04:33:19 +0000 (04:33 +0000)]
Re-sync doc tests with the doc updates.

21 years agoImprove docs:
Raymond Hettinger [Fri, 8 Aug 2003 02:40:28 +0000 (02:40 +0000)]
Improve docs:
* Simplify the pure python examples
* Add a quantify() example

21 years agoFix docstring in LocaleTime.
Brett Cannon [Fri, 8 Aug 2003 01:53:05 +0000 (01:53 +0000)]
Fix docstring in LocaleTime.

21 years agoRepair refcounting on error return from type_set_bases.
Michael W. Hudson [Thu, 7 Aug 2003 14:58:10 +0000 (14:58 +0000)]
Repair refcounting on error return from type_set_bases.

Include a test case that failed for one of my efforts to repair this.

21 years agoFix hyperlinks and one class reference.
Fred Drake [Thu, 7 Aug 2003 14:31:08 +0000 (14:31 +0000)]
Fix hyperlinks and one class reference.
Backporting to Python 2.3 branch.

21 years agoRelease host name memory. Fixes #783312. Will backport to 2.3.
Martin v. Löwis [Thu, 7 Aug 2003 11:55:15 +0000 (11:55 +0000)]
Release host name memory. Fixes #783312. Will backport to 2.3.

21 years agoDemonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
Mark Hammond [Wed, 6 Aug 2003 02:46:58 +0000 (02:46 +0000)]
Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.

Will also check in on the 2.3 branch.

21 years agoRemove useless import.
Walter Dörwald [Tue, 5 Aug 2003 15:55:38 +0000 (15:55 +0000)]
Remove useless import.

21 years agoCheck both __div__ and __truediv__ in division tests.
Walter Dörwald [Tue, 5 Aug 2003 15:34:34 +0000 (15:34 +0000)]
Check both __div__ and __truediv__ in division tests.
(From SF patch #543867)

21 years agoRemoved deprecated functions
Raymond Hettinger [Tue, 5 Aug 2003 12:32:41 +0000 (12:32 +0000)]
Removed deprecated functions

21 years agoRemoved deprecated functions
Raymond Hettinger [Tue, 5 Aug 2003 12:23:19 +0000 (12:23 +0000)]
Removed deprecated functions

21 years agoSF patch #782810: typo in libfuture.tex
Raymond Hettinger [Tue, 5 Aug 2003 11:40:21 +0000 (11:40 +0000)]
SF patch #782810:  typo in libfuture.tex
(Contributed by George Yoshida)

21 years agoSF bug #782369: Massive memory leak in array module
Raymond Hettinger [Tue, 5 Aug 2003 11:23:59 +0000 (11:23 +0000)]
SF bug #782369:  Massive memory leak in array module

Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".

Will backport to 2.3.

21 years agoforgot to commit this - note about the signal module SIGRT(MIN,MAX)
Anthony Baxter [Tue, 5 Aug 2003 06:33:56 +0000 (06:33 +0000)]
forgot to commit this - note about the signal module SIGRT(MIN,MAX)

21 years agoMention caching and better thread-safety for Lib/_strptime.py
Brett Cannon [Tue, 5 Aug 2003 06:27:04 +0000 (06:27 +0000)]
Mention caching and better thread-safety for Lib/_strptime.py

21 years agoPatch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 06:25:06 +0000 (06:25 +0000)]
Patch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3.

21 years agoSupport trailing dots in DNS names. Fixes #782510. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 06:19:47 +0000 (06:19 +0000)]
Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.

21 years agoCorrect URL of normalization file. Fixes #781065. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 05:59:13 +0000 (05:59 +0000)]
Correct URL of normalization file. Fixes #781065. Will backport to 2.3.

21 years agoPatch #781126: Fix markup for add_fallback. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 05:54:15 +0000 (05:54 +0000)]
Patch #781126: Fix markup for add_fallback. Will backport to 2.3.

21 years agoMake sure eol_convention is an ASCII string. Fixes #774680.
Martin v. Löwis [Tue, 5 Aug 2003 05:51:20 +0000 (05:51 +0000)]
Make sure eol_convention is an ASCII string. Fixes #774680.
Will backport to 2.3.

21 years agoinit_myformat(): None of the "mark" values can be empty strings, or
Fred Drake [Tue, 5 Aug 2003 05:00:23 +0000 (05:00 +0000)]
init_myformat():  None of the "mark" values can be empty strings, or
    LaTeX2HTML feels free to remove a surrounding element that
    contains no other content.  Since such an element is typically a
    named anchor used for hyperlinking, they should not be removed.
    Unfortunatley, making sure these marks are non-empty is the most
    direct way of avoiding this behavior.

Thanks to Dave Kuhlman for tracking this down; this was some excellent
detective work!

21 years agoRe-introduce caching of TimeRE and compiled regexes with added thread-safety.
Brett Cannon [Tue, 5 Aug 2003 04:02:49 +0000 (04:02 +0000)]
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
Also remove now unnecessary property attributes for thread safety
(no longer have lazy attributes) and code simplicity reasons.

Timezone storage has been reworked to be simpler and more flexible.  All values
in LocaleTime instances are lower-cased.  This is all done to simplify the
module.

The module now assumes nothing beyond the strptime function will be exposed for
general use beyond providing functionality for strptime.

21 years agoTouch-up to docstrings.
Brett Cannon [Tue, 5 Aug 2003 03:52:04 +0000 (03:52 +0000)]
Touch-up to docstrings.

21 years agoAdd note about fileno not being usable as a normal file descriptor in Windows.
Brett Cannon [Tue, 5 Aug 2003 03:51:24 +0000 (03:51 +0000)]
Add note about fileno not being usable as a normal file descriptor in Windows.

21 years agobetter support for well-formed XHTML
Fred Drake [Tue, 5 Aug 2003 03:48:29 +0000 (03:48 +0000)]
better support for well-formed XHTML

21 years agomake the portions of the generated HTML produced by these styles better
Fred Drake [Tue, 5 Aug 2003 03:45:37 +0000 (03:45 +0000)]
make the portions of the generated HTML produced by these styles better
conform to XHTML rules.

21 years agoClarified that TypeErrors can be raised by any
Raymond Hettinger [Mon, 4 Aug 2003 08:33:50 +0000 (08:33 +0000)]
Clarified that TypeErrors can be raised by any
function (not just builtins).

The issue arose in a thread on comp.lang.python.

21 years agoprotect against test problems with Jython
Skip Montanaro [Sun, 3 Aug 2003 23:30:40 +0000 (23:30 +0000)]
protect against test problems with Jython

21 years agoadded test for bug 782369
Skip Montanaro [Sun, 3 Aug 2003 23:02:10 +0000 (23:02 +0000)]
added test for bug 782369

21 years agomore extension marshal tests and conversion to unittest - was surprised to
Skip Montanaro [Sat, 2 Aug 2003 15:02:33 +0000 (15:02 +0000)]
more extension marshal tests and conversion to unittest - was surprised to
see how much of the file was not covered by the build process

21 years agoAs discussed on python-dev, changed builtin.zip() to handle zero arguments
Raymond Hettinger [Sat, 2 Aug 2003 07:42:57 +0000 (07:42 +0000)]
As discussed on python-dev, changed builtin.zip() to handle zero arguments
by returning an empty list instead of raising a TypeError.

21 years agoTo be a good citizen, it should really delete its socket when done.
Skip Montanaro [Fri, 1 Aug 2003 14:20:02 +0000 (14:20 +0000)]
To be a good citizen, it should really delete its socket when done.

21 years agoadd skeletal "what's new" for 2.4a1 and mention a couple python-mode tweaks.
Skip Montanaro [Fri, 1 Aug 2003 05:01:54 +0000 (05:01 +0000)]
add skeletal "what's new" for 2.4a1 and mention a couple python-mode tweaks.

21 years agodelete the f1 key binding. py-help-at-point is still available @ C-c C-h.
Skip Montanaro [Fri, 1 Aug 2003 04:27:34 +0000 (04:27 +0000)]
delete the f1 key binding.  py-help-at-point is still available @ C-c C-h.

21 years agomake pending-delete/delete-selection mode work with py-electric-colon
Skip Montanaro [Fri, 1 Aug 2003 04:00:32 +0000 (04:00 +0000)]
make pending-delete/delete-selection mode work with py-electric-colon

21 years agoPatch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c
Anthony Baxter [Thu, 31 Jul 2003 10:35:29 +0000 (10:35 +0000)]
Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c

Trivial patch, and the alternative is to guess at the right values
based on platform...

21 years agotweak to py-fill-paragraph - problem noted by John Lee and correction
Skip Montanaro [Thu, 31 Jul 2003 04:59:48 +0000 (04:59 +0000)]
tweak to py-fill-paragraph - problem noted by John Lee and correction
submitted by Bernard Herzog.  Closes patch 779830.

21 years agoComplete move of windows builds to 2.4alpha
Mark Hammond [Thu, 31 Jul 2003 02:06:22 +0000 (02:06 +0000)]
Complete move of windows builds to 2.4alpha

21 years agoEveryone knows what Fred meant, but I thought I'd make it official... ;-)
Skip Montanaro [Thu, 31 Jul 2003 01:17:22 +0000 (01:17 +0000)]
Everyone knows what Fred meant, but I thought I'd make it official... ;-)

21 years agoGeneralize the template for the "What's New" document so it's easier
Fred Drake [Wed, 30 Jul 2003 23:52:16 +0000 (23:52 +0000)]
Generalize the template for the "What's New" document so it's easier
to extract next time without having to remember where in CVS to dig it
out.