Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11867, comment 5


Ignore:
Timestamp:
Dec 9, 2014, 8:04:36 AM (9 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11867, comment 5

    initial v1  
    11Do you have a particular use-case in mind where `self.env = self` causes a problem that is not seen with the property definition? There are similar references in [browser:/tags/trac-1.0.2/trac/config.py@:573#L555]. That's a class attribute that contains a dictionary, but otherwise looks like a similar pattern.
    22
     3At least for this simple case, the property `x` and instance attribute `y` appear to behave the same.
    34{{{#!pycon
    45>>> class A(object):