This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, docs@python, mdk
Date 2018-09-28.09:36:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538127387.06.0.545547206417.issue34830@psf.upfronthosting.co.za>
In-reply-to
Content
```

In [1]: import weakref                                                                                                    

In [2]: class A: 
   ...:     __slots__ = ()                                                                                                

In [3]: weakref.ref(A())                                                                                                  
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-3-60f73a442704> in <module>
----> 1 weakref.ref(A())

TypeError: cannot create weak reference to 'A' object

```
History
Date User Action Args
2018-09-28 09:36:27asvetlovsetrecipients: + asvetlov, docs@python, mdk
2018-09-28 09:36:27asvetlovsetmessageid: <1538127387.06.0.545547206417.issue34830@psf.upfronthosting.co.za>
2018-09-28 09:36:27asvetlovlinkissue34830 messages
2018-09-28 09:36:26asvetlovcreate