[ python-Feature Requests-847778 ] Keyword similar to "global" for nested scopes wanted

SourceForge.net noreply at sourceforge.net
Sat Dec 13 11:34:52 EST 2003


Feature Requests item #847778, was opened at 2003-11-23 19:51
Message generated for change (Comment added) made by dubnerm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=847778&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jozef Behran (jojoworks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Keyword similar to "global" for nested scopes wanted

Initial Comment:
I suggest you adding a keyword, say "nested" to
explicitly bound the name to the upper level of nested
scope. This keyword would be similar to "global", which
bounds the name to the top level.

See the attachment for the idea.

----------------------------------------------------------------------

Comment By: Michael Dubner (dubnerm)
Date: 2003-12-04 07:01

Message:
Logged In: YES 
user_id=39274

Hm-m. What about outer scope for outer scope?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=847778&group_id=5470



More information about the Python-bugs-list mailing list