Search code examples
Python UnboundLocalError when updating a variable from an outer function (closure)...


pythonpython-3.xglobal-variableslocal-variables

Read More
How to resolve global variables in Rundeck?...


global-variablesrundeck

Read More
Script attempted to create global variable...


variablesluaredisglobal-variables

Read More
Unexposed private member variables vs. global variables in the source file...


c++global-variablesprivate-members

Read More
Passing global variables between Thread Groups...


jmeterglobal-variables

Read More
Why is it not possible to replace part of a global vector in this example?...


rglobal-variablesslice

Read More
How can I set up a global container (C++03)?...


c++global-variablescontainersc++03

Read More
How to declare global variables in Android?...


androidsingletonglobal-variablesstate

Read More
Why do developers occasionally add "SharedArrayBuffer" & "Atomics", to the &...


javascriptglobal-variableseslinteslintrcsharedarraybuffer

Read More
How can I use a global variable in a function?...


pythonglobal-variablesscope

Read More
Printing all global variables/local variables?...


cvariablesgdbglobal-variables

Read More
Create a global element in p5js...


variablesglobal-variablesp5.js

Read More
Python Global Variables - Not Defined?...


pythondebuggingglobal-variables

Read More
lua variables scope...


variablesscopeluaglobal-variables

Read More
I got warning as: "Name 'x' can be undefined" and "Global variable 'x&#39...


pythonglobal-variableswarnings

Read More
How can I declare a global variable in PHP?...


phpglobal-variablesglobal

Read More
I am trying to call a function in thonny and then printing the variable changed by the function. Why...


pythonfunctionglobal-variablesthonny

Read More
When does code in a service worker outside of an event handler run?...


javascriptevent-handlingglobal-variablesservice-worker

Read More
Confusing UnboundLocalError in Python 3.8...


python-3.xglobal-variableslocal-variables

Read More
Sharing constants between CPU and GPU in CUDA...


c++cudac++17global-variablesconstexpr

Read More
Where should you put global constants in a C++ program?...


c++global-variables

Read More
How to initialize a global object or variable and reuse it in every FastAPI endpoint?...


pythonglobal-variablesfastapibackground-taskstarlette

Read More
How to use global variables while avoiding permission errors?...


javascriptgoogle-sheetsgoogle-apps-scriptglobal-variableslazy-loading

Read More
Why are global variables evil?...


pythonglobal-variablesside-effects

Read More
How do I prevent my 'unused' global variables being compiled out of my static library?...


c++global-variables

Read More
Do I need to to mark a global variable used in a kernel as __device__?...


memorycudaglobal-variables

Read More
Are global device-side variables in CUDA bad practice?...


cudaglobal-variablesidioms

Read More
Global variables in Google Script (spreadsheet)...


javascriptvariablesgoogle-apps-scriptglobal-variables

Read More
Python global variable changes depending on how script is run...


pythonglobal-variables

Read More
Does file_obj.close() nicely close file objects in other modules that have been set equal to file_ob...


pythonmoduleglobal-variablestext-files

Read More
BackNext