Staging
v0.5.1
https://github.com/python/cpython
Revision 8284c4a7fb27efd55323513572e247a895a35ae1 authored by Raymond Hettinger on 06 February 2008, 20:47:09 UTC, committed by Raymond Hettinger on 06 February 2008, 20:47:09 UTC
In its previous form, it always returned instance of frozenset which makes this ABC
nearly useless as a mixin.  In its new form, it needs to be able to assume that the
constructor will take a frozenset input.  This will usually be true.  If it is not,
then only one method (this one) will need to be overriden by the subclass to let
it know about the unique constructor signature.  Will add info on this to the docs.
1 parent ebcee3f
History
Tip revision: 8284c4a7fb27efd55323513572e247a895a35ae1 authored by Raymond Hettinger on 06 February 2008, 20:47:09 UTC
Fix-up the _from_iterable() method to return instances of the subclass where it is used.
Tip revision: 8284c4a
File Mode Size
VC6
VS7.1
VS8.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 447 bytes
_msi.c -rw-r--r-- 27.2 KB
_subprocess.c -rw-r--r-- 13.9 KB
_winreg.c -rw-r--r-- 42.6 KB
config.c -rw-r--r-- 4.1 KB
dl_nt.c -rw-r--r-- 909 bytes
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 1.6 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.6 KB
generrmap.c -rw-r--r-- 452 bytes
getpathp.c -rw-r--r-- 18.3 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.4 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 8.5 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 19.4 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.1 KB
testpy.py -rw-r--r-- 836 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 7.2 KB

readme.txt

back to top