[issue41287] __doc__ attribute is not set in property-derived classes

2020-11-09 Thread Sergei Izmailov
Change by Sergei Izmailov : -- keywords: +patch pull_requests: +22103 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23205 ___ Python tracker ___

[issue41287] __doc__ attribute is not set in property-derived classes

2020-07-14 Thread Sergei Izmailov
Sergei Izmailov added the comment: class Property(property): 'custom docstring' print(Property(None, None, None, "hello").__doc__) This snippet is expected to print "hello" as well (at least it's what comment in cpython implementation suggests)

[issue41287] __doc__ attribute is not set in property-derived classes

2020-07-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: What would you expect this to print? class Property(property): 'custom docstring' print(Property(None, None, None, "hello").__doc__) -- nosy: +rhettinger ___ Python tracker

[issue41287] __doc__ attribute is not set in property-derived classes

2020-07-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41287] __doc__ attribute is not set in property-derived classes

2020-07-12 Thread Sergei Izmailov
New submission from Sergei Izmailov : MRE: class Property(property): pass print(Property(None, None, None, "hello").__doc__) Expected: hello Actual: None -- messages: 373571 nosy: Sergei Izmailov priority: normal severity: normal status: open title: __doc__ attribute is not