]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
19 years agoThis commit was manufactured by cvs2svn to create tag 'r242c1'. v2.4.2c1
cvs2svn [Tue, 20 Sep 2005 20:53:24 +0000 (20:53 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r242c1'.

19 years ago(backport) test and fix for buggy handling of exceptions raised by C
Armin Rigo [Tue, 20 Sep 2005 20:53:24 +0000 (20:53 +0000)] 
(backport) test and fix for buggy handling of exceptions raised by C
functions, causing the profiler to crash on an AssertionError if the same
Python function catches multiple exceptions from C functions.

19 years ago(backport) tracing of C functions: don't call the trace func
Armin Rigo [Tue, 20 Sep 2005 20:53:11 +0000 (20:53 +0000)] 
(backport) tracing of C functions: don't call the trace func
with an exception currently set!

19 years agoC89 compliance.
Armin Rigo [Tue, 20 Sep 2005 19:04:42 +0000 (19:04 +0000)] 
C89 compliance.

19 years agoUpdate 64-bit AIX and HP-UX build instructions.
Guido van Rossum [Tue, 20 Sep 2005 19:04:34 +0000 (19:04 +0000)] 
Update 64-bit AIX and HP-UX build instructions.

19 years ago- On 64-bit platforms, when __len__() returns a value that cannot be
Guido van Rossum [Tue, 20 Sep 2005 16:36:07 +0000 (16:36 +0000)] 
- On 64-bit platforms, when __len__() returns a value that cannot be
  represented as a C int, raise OverflowError.
(Will forward-port.)

19 years agobackport:
Anthony Baxter [Tue, 20 Sep 2005 15:17:16 +0000 (15:17 +0000)] 
backport:
test_default_encoding_issues():  Fully restore sys.setdefaultencoding.

test_site often failed under "regrtest.py -r", because this xmlrpc test
left sys with a setdefaultencoding attribute, but loading site.py removes
that attribute and test_site.py verifies the attribute is gone.  Changed
this test to get rid of sys.setdefaultencoding if it didn't exist when
this test started.

19 years agoadd 2.4.2 to the LaTeX version of the release history
Fred Drake [Tue, 20 Sep 2005 13:57:33 +0000 (13:57 +0000)] 
add 2.4.2 to the LaTeX version of the release history

19 years agopre-release machinations
Anthony Baxter [Tue, 20 Sep 2005 13:12:48 +0000 (13:12 +0000)] 
pre-release machinations

19 years ago- Patch #1166948: locale.py: Prefer LC_ALL, LC_CTYPE and LANG over LANGUAGE
Matthias Klose [Tue, 20 Sep 2005 07:03:21 +0000 (07:03 +0000)] 
- Patch #1166948: locale.py: Prefer LC_ALL, LC_CTYPE and LANG over LANGUAGE
  to get the correct encoding.

- Patch #1166938: locale.py: Parse LANGUAGE as a colon separated list of
  languages.

19 years agoNote fix of memory leak.
Neal Norwitz [Mon, 19 Sep 2005 06:48:05 +0000 (06:48 +0000)] 
Note fix of memory leak.

19 years agoFix problems reported by valgrind:
Neal Norwitz [Mon, 19 Sep 2005 06:42:30 +0000 (06:42 +0000)] 
Fix problems reported by valgrind:
 * Fix memory leak in posix.access()
 * Fix use of uninitialized value in forkpty()
   - from the manpage it isn't clear if there are conditions where master_fd
     are uninitialized, but it's safer to initialize

19 years agoBug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than
Georg Brandl [Sun, 18 Sep 2005 13:03:16 +0000 (13:03 +0000)] 
Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than
considering it exactly like a '*'.

Backport from 2.5 branch.

19 years agoPatch #1268314: Cache lines in StreamReader.readlines for performance.
Martin v. Löwis [Sun, 18 Sep 2005 08:45:35 +0000 (08:45 +0000)] 
Patch #1268314: Cache lines in StreamReader.readlines for performance.

19 years agoPatch #1213831: Fix typo in unicodedata._getcode.
Martin v. Löwis [Sun, 18 Sep 2005 08:18:51 +0000 (08:18 +0000)] 
Patch #1213831: Fix typo in unicodedata._getcode.

19 years agoTest case for latest complexobject fix.
Georg Brandl [Sat, 17 Sep 2005 07:51:08 +0000 (07:51 +0000)] 
Test case for latest complexobject fix.

19 years agoMisc. backported changes
Vinay Sajip [Fri, 16 Sep 2005 10:55:57 +0000 (10:55 +0000)] 
Misc. backported changes

19 years agoMisc. backported changes
Vinay Sajip [Fri, 16 Sep 2005 10:45:46 +0000 (10:45 +0000)] 
Misc. backported changes

19 years agobackport patch [ 1118729 ] Error in representation of complex numbers(again)
Georg Brandl [Fri, 16 Sep 2005 06:42:32 +0000 (06:42 +0000)] 
backport patch [ 1118729 ] Error in representation of complex numbers(again)

19 years agoSync-up with head except for 1.72 which is Py2.5 specific.
Raymond Hettinger [Thu, 15 Sep 2005 18:07:11 +0000 (18:07 +0000)] 
Sync-up with head except for 1.72 which is Py2.5 specific.

19 years agoSync-up with minor changes to the head.
Raymond Hettinger [Thu, 15 Sep 2005 17:40:28 +0000 (17:40 +0000)] 
Sync-up with minor changes to the head.

19 years agoRemoved assignment to an unused variable.
Raymond Hettinger [Thu, 15 Sep 2005 17:21:59 +0000 (17:21 +0000)] 
Removed assignment to an unused variable.

19 years agobackport patch [ 1277677 ] tkinter hello world example bug
Georg Brandl [Thu, 15 Sep 2005 16:02:09 +0000 (16:02 +0000)] 
backport patch [ 1277677 ] tkinter hello world example bug

19 years agobackport patch [ 1119423 ] python -c readlink()s and stat()s '-c'
Georg Brandl [Thu, 15 Sep 2005 13:00:25 +0000 (13:00 +0000)] 
backport patch [ 1119423 ] python -c readlink()s and stat()s '-c'

19 years agofix typo
Georg Brandl [Thu, 15 Sep 2005 11:16:23 +0000 (11:16 +0000)] 
fix typo

19 years agobackport bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.
Georg Brandl [Thu, 15 Sep 2005 10:46:18 +0000 (10:46 +0000)] 
backport bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.

19 years agoFix bug #687747 and patch #1077979 in webbrowser.py.
Georg Brandl [Thu, 15 Sep 2005 07:29:38 +0000 (07:29 +0000)] 
Fix bug #687747 and patch #1077979 in webbrowser.py.

19 years agoSync-up with patches to the head.
Raymond Hettinger [Thu, 15 Sep 2005 05:28:25 +0000 (05:28 +0000)] 
Sync-up with patches to the head.
Includes SF 1016880: urllib.urlretrieve silently truncates downloads
and the performance fix-ups.

19 years agoBackport SF #1209527.
Raymond Hettinger [Thu, 15 Sep 2005 05:09:30 +0000 (05:09 +0000)] 
Backport SF #1209527.

19 years agoClear the regex cache when the locale changes.
Brett Cannon [Thu, 15 Sep 2005 02:42:05 +0000 (02:42 +0000)] 
Clear the regex cache when the locale changes.

Backport of fix for bug #1290505.

19 years ago*** empty log message ***
Georg Brandl [Wed, 14 Sep 2005 20:53:38 +0000 (20:53 +0000)] 
*** empty log message ***

19 years agobug [ 1007046 ] os.startfile() doesn't accept Unicode filenames
Georg Brandl [Wed, 14 Sep 2005 20:51:40 +0000 (20:51 +0000)] 
bug [ 1007046 ] os.startfile() doesn't accept Unicode filenames

19 years agobackport bug [ 1274828 ] splitunc not documented
Georg Brandl [Wed, 14 Sep 2005 20:42:04 +0000 (20:42 +0000)] 
backport bug [ 1274828 ] splitunc not documented

19 years agoComplete format code support in getargs.c::skipitem(), which is called when
Georg Brandl [Wed, 14 Sep 2005 19:38:34 +0000 (19:38 +0000)] 
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Python/getargs.c
CVS: ----------------------------------------------------------------------

19 years agoComplete format code support in getargs.c::skipitem(), which is called when
Georg Brandl [Wed, 14 Sep 2005 19:30:11 +0000 (19:30 +0000)] 
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Python/getargs.c
CVS: ----------------------------------------------------------------------

19 years ago- Changes donated by Elemental Security to make it work on AIX 5.3
Guido van Rossum [Wed, 14 Sep 2005 18:15:03 +0000 (18:15 +0000)] 
- Changes donated by Elemental Security to make it work on AIX 5.3
  with IBM's 64-bit compiler (SF patch #1284289).  This also closes SF
  bug #105470: test_pwd fails on 64bit system (Opteron).

19 years ago(backport from HEAD)
Guido van Rossum [Wed, 14 Sep 2005 17:54:39 +0000 (17:54 +0000)] 
(backport from HEAD)
- Changes donated by Elemental Security to make it work on HP-UX 11 on
  Itanium2 with HP's 64-bit compiler (SF patch #1225212).

19 years agocomma nit
Georg Brandl [Wed, 14 Sep 2005 17:24:41 +0000 (17:24 +0000)] 
comma nit

19 years agobackport notes about basicConfig() changes to 2.4 branch
Skip Montanaro [Wed, 14 Sep 2005 16:52:35 +0000 (16:52 +0000)] 
backport notes about basicConfig() changes to 2.4 branch

19 years agoBackport of patch #1290454: Fix reload() error message when parent is not
Georg Brandl [Wed, 14 Sep 2005 06:56:51 +0000 (06:56 +0000)] 
Backport of patch #1290454: Fix reload() error message when parent is not
in sys.modules.

19 years agoBetter wording for integer ref entry (from HEAD 1.131).
Georg Brandl [Mon, 12 Sep 2005 12:56:47 +0000 (12:56 +0000)] 
Better wording for integer ref entry (from HEAD 1.131).

19 years agoAdd FAQ entry regarding non-expoential representation.
Raymond Hettinger [Sun, 11 Sep 2005 18:29:46 +0000 (18:29 +0000)] 
Add FAQ entry regarding non-expoential representation.

19 years agonote that the return and yield statements cannot be used at the top level in
Fred Drake [Wed, 7 Sep 2005 05:18:06 +0000 (05:18 +0000)] 
note that the return and yield statements cannot be used at the top level in
exec statements; people coming from certain other languages seem to be
confused by this on a regular basis
(backported from trunk revision 1.77)

19 years ago- fix typo report by email, only 1.5 years late
Fred Drake [Wed, 7 Sep 2005 04:59:57 +0000 (04:59 +0000)] 
- fix typo report by email, only 1.5 years late
- fix several consistency nits relating to \method{...()}
(backport of trunk revision 1.130)

19 years agoClarify what is meant with "whole numbers".
Georg Brandl [Sun, 4 Sep 2005 18:30:44 +0000 (18:30 +0000)] 
Clarify what is meant with "whole numbers".

19 years agouse a test for PDF support that is more portable across teTeX major versions
Matthias Klose [Sun, 4 Sep 2005 16:20:30 +0000 (16:20 +0000)] 
use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #1238210)

19 years agobug [ 1274069 ] bz2module.c compiler warning
Georg Brandl [Sat, 3 Sep 2005 07:49:48 +0000 (07:49 +0000)] 
bug [ 1274069 ] bz2module.c compiler warning

19 years ago- Correct PyBool_FromLong's return type and its description.
Georg Brandl [Sat, 3 Sep 2005 07:27:37 +0000 (07:27 +0000)] 
- Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Doc/api/concrete.tex
CVS: ----------------------------------------------------------------------

19 years agoBackport checkin:
Walter Dörwald [Thu, 1 Sep 2005 12:03:14 +0000 (12:03 +0000)] 
Backport checkin:
SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.

19 years agoReverting previous checkin. This breaks too much of HTMLParser to be applied
Georg Brandl [Thu, 1 Sep 2005 06:26:03 +0000 (06:26 +0000)] 
Reverting previous checkin. This breaks too much of HTMLParser to be applied
without thought. Anyway, such malformed HTML is better handled by something
like BeautifulSoup.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Lib/HTMLParser.py
CVS: ----------------------------------------------------------------------

19 years agopatch [ 1242454 ] shutil.copytree() quits too soon after an error.
Georg Brandl [Wed, 31 Aug 2005 22:48:48 +0000 (22:48 +0000)] 
patch [ 1242454 ] shutil.copytree() quits too soon after an error.

19 years agobackport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
Georg Brandl [Wed, 31 Aug 2005 22:09:02 +0000 (22:09 +0000)] 
backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output

19 years agoBackport checkin:
Walter Dörwald [Wed, 31 Aug 2005 11:05:01 +0000 (11:05 +0000)] 
Backport checkin:
SF bug #1277016: Turn sentence fragment into a complete sentence.

19 years agoMake testing a bit easier
Anthony Baxter [Tue, 30 Aug 2005 12:26:43 +0000 (12:26 +0000)] 
Make testing a bit easier

19 years agoBackport checkin:
Walter Dörwald [Tue, 30 Aug 2005 10:46:06 +0000 (10:46 +0000)] 
Backport checkin:
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the patch by Nik Haldimann that detects truncated data)

19 years agoSF #1275796, fix distutils typo "sortcut" -> "shortcut"
Neal Norwitz [Tue, 30 Aug 2005 03:35:19 +0000 (03:35 +0000)] 
SF #1275796, fix distutils typo "sortcut" -> "shortcut"

19 years agoFix logic error introduced in last commit.
Brett Cannon [Mon, 29 Aug 2005 18:26:48 +0000 (18:26 +0000)] 
Fix logic error introduced in last commit.

19 years agoFix bug where __contains__ should have been used over str.find()
Brett Cannon [Sat, 27 Aug 2005 19:29:21 +0000 (19:29 +0000)] 
Fix bug where __contains__ should have been used over str.find()

19 years agopatch [ 1274550 ] libtarfile.tex: external URL changed
Georg Brandl [Sat, 27 Aug 2005 17:10:38 +0000 (17:10 +0000)] 
patch [ 1274550 ] libtarfile.tex: external URL changed

19 years agopatch [ 1274630 ] documentation fixes
Georg Brandl [Sat, 27 Aug 2005 17:04:58 +0000 (17:04 +0000)] 
patch [ 1274630 ] documentation fixes

19 years agoPatch #1168594: set sizes of non-regular files to zero. Fixes #1167128.
Martin v. Löwis [Sat, 27 Aug 2005 10:08:21 +0000 (10:08 +0000)] 
Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128.

19 years agoAdd list() around xreadlines()
Georg Brandl [Fri, 26 Aug 2005 13:24:09 +0000 (13:24 +0000)] 
Add list() around xreadlines()

19 years ago__new__ is a static method
Georg Brandl [Fri, 26 Aug 2005 12:56:17 +0000 (12:56 +0000)] 
__new__ is a static method

19 years agoImportant typo
Georg Brandl [Fri, 26 Aug 2005 12:50:37 +0000 (12:50 +0000)] 
Important typo

19 years agobackport patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve
Georg Brandl [Fri, 26 Aug 2005 08:51:39 +0000 (08:51 +0000)] 
backport patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve

19 years agoSF bug #1072182: bad arg type to isspace in struct module
Raymond Hettinger [Fri, 26 Aug 2005 08:42:13 +0000 (08:42 +0000)] 
SF bug #1072182: bad arg type to isspace in struct module

19 years agobackport patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows
Georg Brandl [Fri, 26 Aug 2005 08:33:28 +0000 (08:33 +0000)] 
backport patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows

19 years agoDisallow keyword arguments for type constructors that don't use them
Georg Brandl [Fri, 26 Aug 2005 06:43:16 +0000 (06:43 +0000)] 
Disallow keyword arguments for type constructors that don't use them
(fixes #1119418).

19 years agobackport bug [ 1248199 ] shelve .sync operation not documented
Georg Brandl [Thu, 25 Aug 2005 22:40:21 +0000 (22:40 +0000)] 
backport bug [ 1248199 ] shelve .sync operation not documented

19 years agobackport bug [ 1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 22:14:21 +0000 (22:14 +0000)] 
backport bug [ 1262320 ] minidom.py alternate newl support is broken

19 years agobackport bug [ 1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 22:02:49 +0000 (22:02 +0000)] 
backport bug [ 1262320 ] minidom.py alternate newl support is broken

19 years agobackport bug [ 1261229 ] __new__ is class method
Georg Brandl [Thu, 25 Aug 2005 21:56:49 +0000 (21:56 +0000)] 
backport bug [ 1261229 ] __new__ is class method

19 years agoBackport fixes for bugs #1191043 and #1215928.
Georg Brandl [Thu, 25 Aug 2005 13:10:58 +0000 (13:10 +0000)] 
Backport fixes for bugs #1191043 and #1215928.

19 years agoMake IDNA return an empty string when the input is empty. Fixes #1163178.
Martin v. Löwis [Thu, 25 Aug 2005 11:04:04 +0000 (11:04 +0000)] 
Make IDNA return an empty string when the input is empty. Fixes #1163178.

19 years agoPatch #1160164: Use ReleaseItanium for zlib build.
Martin v. Löwis [Thu, 25 Aug 2005 07:17:37 +0000 (07:17 +0000)] 
Patch #1160164: Use ReleaseItanium for zlib build.

19 years agoBackport bug #735248: fix urllib2.parse_http_list().
Georg Brandl [Wed, 24 Aug 2005 22:20:46 +0000 (22:20 +0000)] 
Backport bug #735248: fix urllib2.parse_http_list().

19 years agoBackport bug #1016563: Bug in urllib2 proxy auth
Georg Brandl [Wed, 24 Aug 2005 20:30:35 +0000 (20:30 +0000)] 
Backport bug #1016563: Bug in urllib2 proxy auth

19 years agoPatch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.
Martin v. Löwis [Wed, 24 Aug 2005 14:55:42 +0000 (14:55 +0000)] 
Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.

19 years agoForward UnicodeDecodeError into SyntaxError for source encoding errors.
Martin v. Löwis [Wed, 24 Aug 2005 08:39:46 +0000 (08:39 +0000)] 
Forward UnicodeDecodeError into SyntaxError for source encoding errors.

19 years agoReturn complete lines from codec stream readers
Martin v. Löwis [Wed, 24 Aug 2005 07:38:36 +0000 (07:38 +0000)] 
Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.

19 years agobackport bug [ 1192315 ] 'clear -1' in pdb
Georg Brandl [Wed, 24 Aug 2005 07:36:21 +0000 (07:36 +0000)] 
backport bug [ 1192315 ] 'clear -1' in pdb

19 years agobackport bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows
Georg Brandl [Wed, 24 Aug 2005 07:31:29 +0000 (07:31 +0000)] 
backport bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows

19 years agobackport bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME
Georg Brandl [Wed, 24 Aug 2005 07:27:00 +0000 (07:27 +0000)] 
backport bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME

19 years agobackport bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix
Georg Brandl [Wed, 24 Aug 2005 07:17:35 +0000 (07:17 +0000)] 
backport bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix

19 years agoSF bug #1100368: Wrong "type()" syntax in docs
Raymond Hettinger [Wed, 24 Aug 2005 07:07:44 +0000 (07:07 +0000)] 
SF bug #1100368:  Wrong "type()" syntax in docs

Docs were missing the name/bases/dict form of type().

(Much of the wording contributed by Steven Bethard.)

19 years agoRevert previous checkin.
Martin v. Löwis [Wed, 24 Aug 2005 06:44:56 +0000 (06:44 +0000)] 
Revert previous checkin.

19 years agoPatch #1262036: Make tarfile name absolute. Fixes #1257255.
Martin v. Löwis [Wed, 24 Aug 2005 06:07:17 +0000 (06:07 +0000)] 
Patch #1262036: Make tarfile name absolute. Fixes #1257255.

19 years agoBackport 1.74
Raymond Hettinger [Wed, 24 Aug 2005 04:47:05 +0000 (04:47 +0000)] 
Backport 1.74

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations
Raymond Hettinger [Tue, 23 Aug 2005 18:03:33 +0000 (18:03 +0000)] 
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)

19 years ago- Mac line endings were incorrect when pasting code from some browsers
Kurt B. Kaiser [Tue, 23 Aug 2005 17:38:56 +0000 (17:38 +0000)] 
- Mac line endings were incorrect when pasting code from some browsers
  when using X11 and the Fink distribution.  Python Bug 1263656.
Modified Files:
   Tag: release24-maint
  NEWS.txt ScriptBinding.py

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations
Raymond Hettinger [Tue, 23 Aug 2005 15:01:43 +0000 (15:01 +0000)] 
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)

19 years agoord() documentation update; this is what remains applicable from
Fred Drake [Tue, 23 Aug 2005 04:35:22 +0000 (04:35 +0000)] 
ord() documentation update; this is what remains applicable from
SF patch #1057588; other changes make the rest of the patch out of date
or otherwise unnecessary
(backported from trunk revision 1.188)

19 years agoadd note about "markupbase" not being intended for direct use
Fred Drake [Tue, 23 Aug 2005 04:08:12 +0000 (04:08 +0000)] 
add note about "markupbase" not being intended for direct use
(closes SF bug #736659, patch #901369; backport of Lib/markupbase.py 1.11)

19 years agobackport bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
Georg Brandl [Mon, 22 Aug 2005 19:35:24 +0000 (19:35 +0000)] 
backport bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation

19 years agobackport bug #1266283: add lexists to os.path.__all__
Georg Brandl [Mon, 22 Aug 2005 18:07:04 +0000 (18:07 +0000)] 
backport bug #1266283: add lexists to os.path.__all__

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations
Raymond Hettinger [Sun, 21 Aug 2005 12:36:21 +0000 (12:36 +0000)] 
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)

19 years agoEmpty sets and frozensets are also false.
Georg Brandl [Sun, 21 Aug 2005 12:23:06 +0000 (12:23 +0000)] 
Empty sets and frozensets are also false.

19 years agoSF bug #1121416: zip incorrectly and incompletely documented
Raymond Hettinger [Sun, 21 Aug 2005 11:59:04 +0000 (11:59 +0000)] 
SF bug #1121416:  zip incorrectly and incompletely documented

sequences ==> iterables

19 years agoSF bug #1249837: container methods raise KeyError not IndexError
Raymond Hettinger [Sun, 21 Aug 2005 11:27:35 +0000 (11:27 +0000)] 
SF bug #1249837:  container methods raise KeyError not IndexError

Minor clarification.

19 years agoSF bug #1242657: list(obj) can swallow KeyboardInterrupt
Raymond Hettinger [Sun, 21 Aug 2005 11:09:58 +0000 (11:09 +0000)] 
SF bug #1242657:   list(obj) can swallow KeyboardInterrupt

Fix over-aggressive PyErr_Clear().  The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().