Issue 7623: PropertyType missing in Lib/types.py (original) (raw)

Issue7623

Created on 2010-01-03 17:29 by wplappert, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg97169 - (view) Author: Winfried Plappert (wplappert) Date: 2010-01-03 17:29
I wonder why there is not PropertyType defined in Lib/types.py. I found it out the hard way when I was xref'ing my Python files and the program died missing a key "<type 'property'>". It can easily be defined as PropertyType = type(property()). See also Issue1327971 where PropertyType gets defined locally and the matching diff file, http://bugs.python.org/file13036/test_pyclbr_property.diff.
msg97170 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-01-03 17:37
We are not adding new types to types.py. See #1605
History
Date User Action Args
2022-04-11 14:56:56 admin set github: 51872
2010-01-03 17:37:01 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: rejected
2010-01-03 17:29:16 wplappert create