]> granicus.if.org Git - python/log
python
17 years agoRemove news about float repr() -- issue 1580 is still in limbo.
Guido van Rossum [Thu, 21 Feb 2008 17:46:16 +0000 (17:46 +0000)]
Remove news about float repr() -- issue 1580 is still in limbo.

17 years agoClose manifest file.
Andrew M. Kuchling [Thu, 21 Feb 2008 14:23:38 +0000 (14:23 +0000)]
Close manifest file.
This change doesn't make any difference to CPython, but is a necessary fix for Jython.

17 years agoNow that PyOS_ascii_formatd supports the 'n' format, simplify the float formatting...
Eric Smith [Wed, 20 Feb 2008 23:39:28 +0000 (23:39 +0000)]
Now that PyOS_ascii_formatd supports the 'n' format, simplify the float formatting code to just call it.

17 years agoTrim leading zeros from a floating point exponent, per C99. See issue 1600. As...
Eric Smith [Wed, 20 Feb 2008 23:34:22 +0000 (23:34 +0000)]
Trim leading zeros from a floating point exponent, per C99.  See issue 1600.  As far as I know, this only affects Windows.  Add float type 'n' to PyOS_ascii_formatd (see PEP 3101 for 'n' description).

17 years agoFixes contributed by Ori Avtalion.
Georg Brandl [Wed, 20 Feb 2008 19:12:36 +0000 (19:12 +0000)]
Fixes contributed by Ori Avtalion.

17 years agoAdded PEP 3101.
Eric Smith [Tue, 19 Feb 2008 13:21:56 +0000 (13:21 +0000)]
Added PEP 3101.

17 years agoAdded dependencies for stringobject.o. This should fix failing tests in test_unicode.py.
Eric Smith [Tue, 19 Feb 2008 12:27:59 +0000 (12:27 +0000)]
Added dependencies for stringobject.o.  This should fix failing tests in test_unicode.py.

17 years agoAdded code to correct combining str and unicode in ''.format(). Added test case.
Eric Smith [Mon, 18 Feb 2008 18:02:34 +0000 (18:02 +0000)]
Added code to correct combining str and unicode in ''.format().  Added test case.

17 years agoPerform correct handling of stack overflow for windows: Catch the correct exception...
Kristján Valur Jónsson [Mon, 18 Feb 2008 17:40:47 +0000 (17:40 +0000)]
Perform correct handling of stack overflow for windows: Catch the correct exception code and reset the overflow condition when handled.

17 years agoTemporarily removed float tests. See issue 1600.
Eric Smith [Mon, 18 Feb 2008 14:25:02 +0000 (14:25 +0000)]
Temporarily removed float tests.  See issue 1600.

17 years agoIssue 1224. Now we support again the double slash in the URL.
Facundo Batista [Mon, 18 Feb 2008 12:48:43 +0000 (12:48 +0000)]
Issue 1224. Now we support again the double slash in the URL.
Thanks Anthony Lenton.

17 years agoIssue #1916. Added isgenerator() and isgeneratorfunction() to
Facundo Batista [Mon, 18 Feb 2008 03:43:43 +0000 (03:43 +0000)]
Issue #1916. Added isgenerator() and isgeneratorfunction() to
inspect.py.  Thanks Javi Mansilla for patch review and
corrections.

17 years ago#2133: fix HTML color spec.
Georg Brandl [Sun, 17 Feb 2008 21:18:55 +0000 (21:18 +0000)]
#2133: fix HTML color spec.

17 years agoCompilation was broken on Windows since the introduction of Advanced String Formatting.
Amaury Forgeot d'Arc [Sun, 17 Feb 2008 20:56:31 +0000 (20:56 +0000)]
Compilation was broken on Windows since the introduction of Advanced String Formatting.

Only PCBuild (vs9) was really tested.
Changes for older compilers were done manually.

17 years agoBackport of PEP 3101, Advanced String Formatting, from py3k.
Eric Smith [Sun, 17 Feb 2008 19:46:49 +0000 (19:46 +0000)]
Backport of PEP 3101, Advanced String Formatting, from py3k.

Highlights:
 - Adding PyObject_Format.
 - Adding string.Format class.
 - Adding __format__ for str, unicode, int, long, float, datetime.
 - Adding builtin format.
 - Adding ''.format and u''.format.
 - str/unicode fixups for formatters.

The files in Objects/stringlib that implement PEP 3101 (stringdefs.h,
unicodedefs.h, formatter.h, string_format.h) are identical in trunk
and py3k.  Any changes from here on should be made to trunk, and
changes will propogate to py3k).

17 years agoIssue 2112. mmap does not raises EnvironmentError no more, but
Facundo Batista [Sun, 17 Feb 2008 18:59:29 +0000 (18:59 +0000)]
Issue 2112. mmap does not raises EnvironmentError no more, but
a subclass of it. Thanks John Lenton.

17 years agoNow we handle different the backup copy, because of security
Facundo Batista [Sun, 17 Feb 2008 16:21:13 +0000 (16:21 +0000)]
Now we handle different the backup copy, because of security
issues regarding user/group and permissions. Fixes 1050828.

17 years agoFix function name.
Georg Brandl [Sun, 17 Feb 2008 15:14:10 +0000 (15:14 +0000)]
Fix function name.

17 years ago#2131: note that codecs.open() always opens files in binary mode.
Georg Brandl [Sun, 17 Feb 2008 11:33:38 +0000 (11:33 +0000)]
#2131: note that codecs.open() always opens files in binary mode.

17 years agoMove test_logging over to doctest.
Brett Cannon [Sun, 17 Feb 2008 01:59:18 +0000 (01:59 +0000)]
Move test_logging over to doctest.

Thanks to Christopher White from GHOP.

17 years agoPrevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer
Amaury Forgeot d'Arc [Sat, 16 Feb 2008 20:55:24 +0000 (20:55 +0000)]
Prevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer
is still present in the containing structure.

17 years agoCrashers of the day: Py_CLEAR must be used when there is a chance that the
Amaury Forgeot d'Arc [Sat, 16 Feb 2008 14:34:57 +0000 (14:34 +0000)]
Crashers of the day: Py_CLEAR must be used when there is a chance that the
function can be called recursively.
This was discussed in issue1020188.

In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect,
except when they appear in tp_new or tp_dealloc functions, or when
the member cannot be of a user-defined class.
Note that tp_init is not safe.

I do have a (crashing) example for every changed line.
Is it worth adding them to the test suite?

Example:

class SpecialStr(str):
    def __del__(self):
        s.close()

import cStringIO
s = cStringIO.StringIO(SpecialStr("text"))
s.close() # Segfault

17 years ago#2120: broken links in advocacy document.
Georg Brandl [Sat, 16 Feb 2008 09:37:32 +0000 (09:37 +0000)]
#2120: broken links in advocacy document.

17 years agoAdd __all__ to logging module.
Raymond Hettinger [Sat, 16 Feb 2008 01:22:54 +0000 (01:22 +0000)]
Add __all__ to logging module.

17 years agommap.PROT_READ does not exists on win32;
Amaury Forgeot d'Arc [Sat, 16 Feb 2008 00:16:50 +0000 (00:16 +0000)]
mmap.PROT_READ does not exists on win32;
Skip this test created by r60830.

17 years agoRe-enable tests, they were failing since gc.collect() clears the various freelists.
Amaury Forgeot d'Arc [Fri, 15 Feb 2008 22:44:20 +0000 (22:44 +0000)]
Re-enable tests, they were failing since gc.collect() clears the various freelists.
They still remain fragile.

For example, a call to assertEqual currently does not make any allocation
(which surprised me at first).
But this can change when gc.collect also deletes the numerous "zombie frames"
attached to each function.

17 years agoConfigured selection highlighting colors were ignored; updating highlighting
Kurt B. Kaiser [Fri, 15 Feb 2008 22:25:09 +0000 (22:25 +0000)]
Configured selection highlighting colors were ignored; updating highlighting
in the config dialog would cause non-Python files to be colored as if they
were Python source; improve use of ColorDelagator.  Patch 1334. Tal Einat.

17 years agoScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat.
Kurt B. Kaiser [Fri, 15 Feb 2008 21:56:36 +0000 (21:56 +0000)]
ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat.

17 years agoTemporarily let these tests pass
Amaury Forgeot d'Arc [Fri, 15 Feb 2008 21:27:44 +0000 (21:27 +0000)]
Temporarily let these tests pass

17 years agoIssue #2115: __slot__ attributes setting was 10x slower.
Amaury Forgeot d'Arc [Fri, 15 Feb 2008 21:22:45 +0000 (21:22 +0000)]
Issue #2115: __slot__ attributes setting was 10x slower.
Also correct a possible crash using ABCs.

This change is exactly the same as an optimisation
done 5 years ago, but on slot *access*:
http://svn.python.org/view?view=rev&rev=28297

17 years agoUpdate example to match the current syntax.
Raymond Hettinger [Fri, 15 Feb 2008 21:21:25 +0000 (21:21 +0000)]
Update example to match the current syntax.

17 years agoTwo new functions:
Skip Montanaro [Fri, 15 Feb 2008 19:03:59 +0000 (19:03 +0000)]
Two new functions:

  * place_summary_first copies the regrtest summary to the front of the file
    making it easier to scan quickly for problems.

  * count_failures gets the actual count of the number of failing tests, not
    just a 1 (some failures) or 0 (no failures).

17 years agoIn PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index...
Eric Smith [Fri, 15 Feb 2008 12:14:32 +0000 (12:14 +0000)]
In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long.  It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long.

17 years agoBug #2111: mmap segfaults when trying to write a block opened with PROT_READ
Christian Heimes [Fri, 15 Feb 2008 08:20:11 +0000 (08:20 +0000)]
Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ
Thanks to Thomas Herve for the fix.

17 years agoFixed repr() and str() of complex numbers. Complex suffered from the same problem...
Christian Heimes [Fri, 15 Feb 2008 06:57:08 +0000 (06:57 +0000)]
Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them.

17 years agoUse a static and interned string for __subclasscheck__ and __instancecheck__ as sugge...
Christian Heimes [Thu, 14 Feb 2008 22:40:11 +0000 (22:40 +0000)]
Use a static and interned string for __subclasscheck__ and __instancecheck__ as suggested by Thomas Heller in #2115

17 years agoTry to correct a markup error that does hide the following paragraph.
Thomas Heller [Thu, 14 Feb 2008 21:00:28 +0000 (21:00 +0000)]
Try to correct a markup error that does hide the following paragraph.

17 years agoNo need to register subclass of ABCs.
Raymond Hettinger [Thu, 14 Feb 2008 19:30:30 +0000 (19:30 +0000)]
No need to register subclass of ABCs.

17 years agoFix markup
Raymond Hettinger [Thu, 14 Feb 2008 19:02:39 +0000 (19:02 +0000)]
Fix markup

17 years agoSimplify moneyfmt() recipe.
Raymond Hettinger [Thu, 14 Feb 2008 12:49:37 +0000 (12:49 +0000)]
Simplify moneyfmt() recipe.

17 years agoImplemented Martin's suggestion to clear the free lists during the garbage collection...
Christian Heimes [Thu, 14 Feb 2008 12:47:33 +0000 (12:47 +0000)]
Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation.

17 years agoFix markup.
Raymond Hettinger [Thu, 14 Feb 2008 12:05:42 +0000 (12:05 +0000)]
Fix markup.

17 years agoShow how to remove exponents.
Raymond Hettinger [Thu, 14 Feb 2008 11:57:25 +0000 (11:57 +0000)]
Show how to remove exponents.

17 years agoImprove rst markup
Raymond Hettinger [Thu, 14 Feb 2008 11:01:10 +0000 (11:01 +0000)]
Improve rst markup

17 years agoAdd fixed-point examples to the decimal FAQ
Raymond Hettinger [Thu, 14 Feb 2008 10:46:57 +0000 (10:46 +0000)]
Add fixed-point examples to the decimal FAQ

17 years agoAdd diagnostic message to help figure-out why SocketServer tests occasionally crash
Raymond Hettinger [Thu, 14 Feb 2008 09:32:45 +0000 (09:32 +0000)]
Add diagnostic message to help figure-out why SocketServer tests occasionally crash
when trying to remove a pid that in not in the activechildren list.

17 years agoChange simple instances (in Fraction) of self.numerator and self.denominator to
Jeffrey Yasskin [Thu, 14 Feb 2008 07:49:25 +0000 (07:49 +0000)]
Change simple instances (in Fraction) of self.numerator and self.denominator to
self._numerator and self._denominator. This speeds abs() up from 12.2us to
10.8us and trunc() from 2.07us to 1.11us. This doesn't change _add and friends
because they're more complicated.

17 years agoPerformance optimizations on Fraction's constructor.
Jeffrey Yasskin [Thu, 14 Feb 2008 06:12:24 +0000 (06:12 +0000)]
Performance optimizations on Fraction's constructor.

  ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3)`
31.7 usec/loop -> 9.2 usec/loop

  ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'`
27.7 usec/loop -> 9.32 usec/loop

  ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'Fraction(f)'
31.9 usec/loop -> 14.3 usec/loop

17 years agoFix decimal repr which should have used single quotes like other reprs.
Raymond Hettinger [Thu, 14 Feb 2008 02:41:22 +0000 (02:41 +0000)]
Fix decimal repr which should have used single quotes like other reprs.

17 years agoUpdate notes on Decimal.
Raymond Hettinger [Thu, 14 Feb 2008 01:08:02 +0000 (01:08 +0000)]
Update notes on Decimal.

17 years agoBring NEWS.txt up to date from check-in msgs.
Kurt B. Kaiser [Thu, 14 Feb 2008 00:08:55 +0000 (00:08 +0000)]
Bring NEWS.txt up to date from check-in msgs.

17 years agoMake the test somewhat clearer (I hope).
Thomas Heller [Wed, 13 Feb 2008 20:36:51 +0000 (20:36 +0000)]
Make the test somewhat clearer (I hope).

17 years agoAdd pickle support to ctypes types.
Thomas Heller [Wed, 13 Feb 2008 20:21:53 +0000 (20:21 +0000)]
Add pickle support to ctypes types.

17 years agoFix --enable-universalsdk and its comment line so that zsh's flag completion
Brett Cannon [Wed, 13 Feb 2008 19:15:44 +0000 (19:15 +0000)]
Fix --enable-universalsdk and its comment line so that zsh's flag completion
works.

Thanks to Jeroen Ruigrok van der Werven for the fix.

17 years agoWorking on issue #1762: Brought
Jeffrey Yasskin [Wed, 13 Feb 2008 17:58:04 +0000 (17:58 +0000)]
Working on issue #1762: Brought
  ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'isinstance(3, Fraction); isinstance(f, Fraction)'
from 12.3 usec/loop to 3.44 usec/loop and
  ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'
from 48.8 usec to 23.6 usec by avoiding genexps and sets in __instancecheck__
and inlining the common case from __subclasscheck__.

17 years ago#2063: correct order of utime and stime in os.times()
Georg Brandl [Wed, 13 Feb 2008 07:20:22 +0000 (07:20 +0000)]
#2063: correct order of utime and stime in os.times()
result on Windows.

17 years agoReplace R=fractions.Fraction with F=fractions.Fraction in
Mark Dickinson [Tue, 12 Feb 2008 21:46:54 +0000 (21:46 +0000)]
Replace R=fractions.Fraction with F=fractions.Fraction in
test_fractions.py.  This should have been part of the name
change from Rational to Fraction.

17 years agoRevert change in r60712: turn alternate constructors back into
Mark Dickinson [Tue, 12 Feb 2008 21:40:53 +0000 (21:40 +0000)]
Revert change in r60712:  turn alternate constructors back into
classmethods instead of staticmethods.

17 years agoImplementation of Fraction.limit_denominator.
Mark Dickinson [Tue, 12 Feb 2008 21:31:59 +0000 (21:31 +0000)]
Implementation of Fraction.limit_denominator.

Remove Fraction.to_continued_fraction and
Fraction.from_continued_fraction

17 years agodict.copy() rises from the ashes. Revert r60687.
Raymond Hettinger [Tue, 12 Feb 2008 19:05:36 +0000 (19:05 +0000)]
dict.copy() rises from the ashes.  Revert r60687.

17 years agoPatch #1966: Break infinite loop in httplib when the servers
Martin v. Löwis [Tue, 12 Feb 2008 18:47:34 +0000 (18:47 +0000)]
Patch #1966: Break infinite loop in httplib when the servers
implements the chunked encoding incorrectly.
Will backport to 2.5.

17 years agowhat??! Correct r60225.
Kurt B. Kaiser [Tue, 12 Feb 2008 15:45:50 +0000 (15:45 +0000)]
what??! Correct r60225.

17 years agoPatch #1736: Fix file name handling of _msi.FCICreate.
Martin v. Löwis [Tue, 12 Feb 2008 13:47:26 +0000 (13:47 +0000)]
Patch #1736: Fix file name handling of _msi.FCICreate.

17 years agoBring decimal a bit closer to the spec for Reals.
Raymond Hettinger [Tue, 12 Feb 2008 01:18:03 +0000 (01:18 +0000)]
Bring decimal a bit closer to the spec for Reals.

17 years agoFix typo in comments
Raymond Hettinger [Tue, 12 Feb 2008 00:48:20 +0000 (00:48 +0000)]
Fix typo in comments

17 years agoRestore fractions.rst to the document tree.
Raymond Hettinger [Tue, 12 Feb 2008 00:15:32 +0000 (00:15 +0000)]
Restore fractions.rst to the document tree.

17 years agoBackport ABC docs
Raymond Hettinger [Mon, 11 Feb 2008 23:38:00 +0000 (23:38 +0000)]
Backport ABC docs

17 years agoFix markup
Raymond Hettinger [Mon, 11 Feb 2008 23:34:56 +0000 (23:34 +0000)]
Fix markup

17 years agoAdd notes on how decimal fits into the model.
Raymond Hettinger [Mon, 11 Feb 2008 22:53:01 +0000 (22:53 +0000)]
Add notes on how decimal fits into the model.

17 years agoAdd tests for pickletools.optimize().
Raymond Hettinger [Mon, 11 Feb 2008 20:05:53 +0000 (20:05 +0000)]
Add tests for pickletools.optimize().

17 years agoMake sure that xstar headers are read correctly.
Lars Gustäbel [Mon, 11 Feb 2008 19:17:10 +0000 (19:17 +0000)]
Make sure that xstar headers are read correctly.

17 years agoNo need to register classes that already inherit from ABCs.
Raymond Hettinger [Mon, 11 Feb 2008 18:51:08 +0000 (18:51 +0000)]
No need to register classes that already inherit from ABCs.

17 years agoPut an extra space into the repr of a Fraction:
Mark Dickinson [Mon, 11 Feb 2008 03:11:55 +0000 (03:11 +0000)]
Put an extra space into the repr of a Fraction:
Fraction(1, 2) instead of Fraction(1,2).

17 years agoThe test requires the network resource
Christian Heimes [Mon, 11 Feb 2008 02:26:22 +0000 (02:26 +0000)]
The test requires the network resource

17 years agoRename rational.Rational to fractions.Fraction, to avoid name clash
Mark Dickinson [Sun, 10 Feb 2008 21:29:51 +0000 (21:29 +0000)]
Rename rational.Rational to fractions.Fraction, to avoid name clash
with numbers.Rational.  See issue #1682 for related discussion.

17 years agoComplete an open todo on pickletools -- add a pickle optimizer.
Raymond Hettinger [Sun, 10 Feb 2008 20:35:16 +0000 (20:35 +0000)]
Complete an open todo on pickletools -- add a pickle optimizer.

17 years agoRemove reference to Rational
Mark Dickinson [Sun, 10 Feb 2008 19:23:36 +0000 (19:23 +0000)]
Remove reference to Rational

17 years agowhoops - revert
Skip Montanaro [Sun, 10 Feb 2008 15:32:16 +0000 (15:32 +0000)]
whoops - revert

17 years agoGet the saying right. ;-)
Skip Montanaro [Sun, 10 Feb 2008 15:31:54 +0000 (15:31 +0000)]
Get the saying right. ;-)

17 years agoTypos in decimal comment and documentation
Mark Dickinson [Sun, 10 Feb 2008 15:19:58 +0000 (15:19 +0000)]
Typos in decimal comment and documentation

17 years agoForgot to modify header file in r60707.
Eric Smith [Sun, 10 Feb 2008 15:07:44 +0000 (15:07 +0000)]
Forgot to modify header file in r60707.

17 years agoTurn classmethods into staticmethods, and avoid calling the constructor
Mark Dickinson [Sun, 10 Feb 2008 14:58:38 +0000 (14:58 +0000)]
Turn classmethods into staticmethods, and avoid calling the constructor
of subclasses of Rational.  (See discussion in issue #1682.)

17 years agoAdd missing NEWS entry for r60695
Nick Coghlan [Sun, 10 Feb 2008 07:32:52 +0000 (07:32 +0000)]
Add missing NEWS entry for r60695

17 years agoClarify that decimal also supports fixed-point arithmetic.
Raymond Hettinger [Sun, 10 Feb 2008 07:21:09 +0000 (07:21 +0000)]
Clarify that decimal also supports fixed-point arithmetic.

17 years agoAdded PyNumber_ToBase and supporting routines _PyInt_Format and
Eric Smith [Sun, 10 Feb 2008 01:36:53 +0000 (01:36 +0000)]
Added PyNumber_ToBase and supporting routines _PyInt_Format and
_PyLong_Format.  In longobject.c, changed long_format to
_PyLong_Format.  In intobject.c, changed uses of PyOS_snprintf to
_PyInt_Format instead.

_PyLong_Format is similar to py3k's routine of the same name, except
it has 2 additional parameters: addL and newstyle.  addL was existing
in long_format, and controls adding the trailing "L".  This is
unneeded in py3k.  newstyle is used to control whether octal prepends
"0" (the pre-2.6 style), or "0o" (the 3.0 sytle).

PyNumber_ToBase is needed for PEP 3127 (Integer Literal Support and
Syntax) and PEP 3101 (Advanced String Formatting).

This changeset does not need merging into py3k.

17 years agoFix for newest doctools.
Georg Brandl [Sat, 9 Feb 2008 23:09:25 +0000 (23:09 +0000)]
Fix for newest doctools.

17 years agoFix link.
Georg Brandl [Sat, 9 Feb 2008 22:00:00 +0000 (22:00 +0000)]
Fix link.

17 years agoDocs are rst now.
Georg Brandl [Sat, 9 Feb 2008 21:38:54 +0000 (21:38 +0000)]
Docs are rst now.

17 years agoNeeds only 2.4 now.
Georg Brandl [Sat, 9 Feb 2008 21:36:15 +0000 (21:36 +0000)]
Needs only 2.4 now.

17 years agoIssue #1706: Require Windows 2000+
Christian Heimes [Sat, 9 Feb 2008 19:55:22 +0000 (19:55 +0000)]
Issue #1706: Require Windows 2000+
Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too
Added -d option to build.bat (same as -c Debug) and fixed warning about /build option
Updated Windows related readme.txt files

17 years agoIssue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as context...
Nick Coghlan [Sat, 9 Feb 2008 15:28:09 +0000 (15:28 +0000)]
Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5)

17 years agoTemporarily disable this test. It's been broken for a week.
Raymond Hettinger [Sat, 9 Feb 2008 10:06:20 +0000 (10:06 +0000)]
Temporarily disable this test. It's been broken for a week.

17 years agoMetaclass declaration is inherited
Raymond Hettinger [Sat, 9 Feb 2008 10:04:19 +0000 (10:04 +0000)]
Metaclass declaration is inherited

17 years agoAdd -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go away...
Raymond Hettinger [Sat, 9 Feb 2008 04:37:49 +0000 (04:37 +0000)]
Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go away in Py3.x

17 years agoMerge with r60683.
Raymond Hettinger [Sat, 9 Feb 2008 03:34:52 +0000 (03:34 +0000)]
Merge with r60683.

17 years agoMake ABC containers inherit as documented.
Raymond Hettinger [Sat, 9 Feb 2008 01:18:42 +0000 (01:18 +0000)]
Make ABC containers inherit as documented.

17 years agoAdd advice on choosing between DictMixin and MutableMapping
Raymond Hettinger [Fri, 8 Feb 2008 23:57:06 +0000 (23:57 +0000)]
Add advice on choosing between DictMixin and MutableMapping

17 years agoFill-in missing Set comparisons
Raymond Hettinger [Fri, 8 Feb 2008 23:34:21 +0000 (23:34 +0000)]
Fill-in missing Set comparisons

17 years agoSpeed-up __iter__() mixin method.
Raymond Hettinger [Fri, 8 Feb 2008 23:02:27 +0000 (23:02 +0000)]
Speed-up __iter__() mixin method.

17 years agoRemove unnecessary modulo division.
Raymond Hettinger [Fri, 8 Feb 2008 22:30:04 +0000 (22:30 +0000)]
Remove unnecessary modulo division.
The preceding test guarantees that 0 <= i < len.