[Python-ideas] Extend module objects to support properties (original) (raw)
Steven D'Aprano steve at pearwood.info
Thu Jan 31 01:45:56 CET 2013
- Previous message: [Python-ideas] Extend module objects to support properties
- Next message: [Python-ideas] Extend module objects to support properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 31/01/13 03:42, Larry Hastings wrote:
Also, I'm not sure there are any existing globals that we'd want to convert into properties.
How about this?
math.pi = 3
which really should give an exception.
(I'm sure there are many others.)
-- Steven
- Previous message: [Python-ideas] Extend module objects to support properties
- Next message: [Python-ideas] Extend module objects to support properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]