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.

classification
Title: PropertyType missing in Lib/types.py
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, wplappert
Priority: normal Keywords:

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:56adminsetgithub: 51872
2010-01-03 17:37:01benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg97170

resolution: rejected
2010-01-03 17:29:16wplappertcreate