Author rvijayak
Recipients rvijayak, yselivanov
Date 2018-06-27.22:45:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Per PEP 567 and the contextvars documentation, I expected that a ContextVar would have a "name" read-only attribute. However I get an AttributeError when accessing with 3.7.0rc1:

> python
Python 3.7.0rc1 (v3.7.0rc1:dfad352267, Jun 12 2018, 01:00:10) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from contextvars import ContextVar
>>> var = ContextVar('var')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'ContextVar' object has no attribute 'name'
Date User Action Args
2018-06-27 22:45:59rvijayaksetrecipients: + rvijayak, yselivanov
2018-06-27 22:45:59rvijayaksetmessageid: <>
2018-06-27 22:45:59rvijayaklinkissue33985 messages
2018-06-27 22:45:59rvijayakcreate