pull function scope features into file scope
See original GitHub issueadd another scope
program
to encompass file and function (and lower) scopes
Should we prioritize this feature? We have various instances from Ana’s work where this would be helpful. According to @mwilliams31
schannel
is also likely implemented across multiple functions.
works for me. shall we have @Ana06 tackle it? will require getting familiar with the matching logic, which is a good lesson (and maybe torture???).
sounds good 😄 if it becomes too much torture, let us know, @Ana06
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Python Scope & the LEGB Rule: Resolving Names in Your Code
The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within...
Read more >Scope - Python Like You Mean It
The scope of a variable refers to the context in which that variable is visible/accessible to the Python interpreter. Until our work with...
Read more >How to call a private (file scope) function from a class define in ...
In one file I define a class and a private function. I want to call this function within a method. What is the...
Read more >Python Variable Scope with Local & Non-local Examples
Learn about Python variable scopes and the 'LEGB' rule. Follow our step-by-step tutorial and see how global and nonlocal keywords are used today!...
Read more >An introduction to scope in JavaScript - freeCodeCamp
Function scope means that parameters and variables defined in a function are visible everywhere within the function, but are not visible ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks Ana for investigating!
suggesting to implement
test_match_across_scopes_file_function
was exactly what i had in mind. seems like we already have this feature 🤦.i suggest we close out this issue.