Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c39553ad
Kaydet (Commit)
c39553ad
authored
Eyl 25, 2001
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Note a few tasks that are done now.
üst
808eea70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
PLAN.txt
PLAN.txt
+14
-10
No files found.
PLAN.txt
Dosyayı görüntüle @
c39553ad
...
...
@@ -4,11 +4,6 @@ Project: core implementation
Still to do
-----------
Fix comparisons. There's some nasty stuff here: when two types are
not the same, and they're not instances, the fallback code doesn't
account for the possibility that they might be subtypes of a common
base type that defines a comparison.
Check for conflicts between base classes. I fear that the rules used
to decide whether multiple bases have conflicting instance variables
aren't strict enough. I think that sometimes two different classes
...
...
@@ -21,7 +16,7 @@ order should the base classes X and Y be searched? This is an order
conflict, and should be disallowed; currently the test for this is not
implemented.
Allow
__class__ assignment (and __bases__ and __dict__?).
Allow
assignment to __bases__ and __dict__?
Make __dynamic__ the default.
...
...
@@ -29,16 +24,25 @@ Add __del__ handlers.
Add __coerce__?
Support pickling (via __reduce__
?
)
Support pickling (via __reduce__)
Support mixed multiple inheritance from classic and new-style classes?
Change __getattr__ to be more like classic __getattr__, and introduce
a new name for new-style __getattr__?
Done (mostly)
-------------
Fix comparisons. There's some nasty stuff here: when two types are
not the same, and they're not instances, the fallback code doesn't
account for the possibility that they might be subtypes of a common
base type that defines a comparison. *** I believe this is now done,
but it's a bit of a mess. ***
Allow __class__ assignment. *** done ***
Change __getattr__ to be more like classic __getattr__, and introduce
a new name for new-style __getattr__. *** Done. The new-style method
is called __getattribute__. ***
Make inspect and pydoc do the right thing for new-style classes. ***
done ***
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment