Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39619 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2013-02-22 17:10 -0500 |
| Last post | 2013-02-22 17:10 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: subclassable types Terry Reedy <tjreedy@udel.edu> - 2013-02-22 17:10 -0500
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-02-22 17:10 -0500 |
| Subject | Re: subclassable types |
| Message-ID | <mailman.2307.1361571054.2939.python-list@python.org> |
On 2/22/2013 4:35 AM, Wolfgang Maier wrote: > Dear all, > I am wondering what the rules are that determine whether a built-in type is > subclassable or not. > As examples, why can you base your classes on int or set, > but not on bool or range? > Also: can you use introspection to find out whether a type is valid as a > base type? You are not the first to ask about this. I opened a doc issue. http://bugs.python.org/issue17279 -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web