Hi there
Working with python 3.11, and, issue that confused me for a little
while, trying to figure out what was occurring - unless am completely
confused, or missing something - was that, for example, when having
pre-defined a variable, and then included it in the global statement
inside a
Jacob,
Please reduce the problem to a small code-set which reproduces the
problem. If we can reproduce same, then that tells us something. At the
very least, we can experiment without having to expend amounts of time
in a (likely faulty) bid to reproduce the same environment.
Also, code is t
On 05Mar2024 20:13, Jacob Kruger wrote:
Now, what almost seems to be occurring, is that while just manipulating
the contents of a referenced variable is fine in this context, the
moment I try to reassign it, that's where the issue is occurring .
Because there are no variable definitions in Py
On 2024-03-05, Cameron Simpson via Python-list wrote:
> Because there are no variable definitions in Python, when you write
> a function Python does a static analysis of it to decide which
> variables are local and which are not. If there's an assignment to a
> variable, it is a local variable.
[image: image.png]
--
https://mail.python.org/mailman/listinfo/python-list
On 3/5/24 16:06, Chano Fucks via Python-list wrote:
[image: image.png]
The image is of MS-Windows with the python installation window of "Repair Successful". Hopefully somebody better at
explaining that problem can take it from here...
--
~Ethan~
--
https://mail.python.org/mailman/listinfo
On 2024-03-06 00:06, Chano Fucks via Python-list wrote:
[image: image.png]
This list removes all images.
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
On 3/5/24 16:06, Chano Fucks via Python-list wrote:
[image: image.png]
The image is of MS-Windows with the python installation window of "Repair
Successful". Hopefully somebody better at
explaining that problem can take it from here..
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the python installation window of "Repair
Successful". Hopefully somebody
On 3/5/24 18:44, Ethan Furman via Python-list wrote:
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the python inst
On 2024-03-06 01:44, Ethan Furman via Python-list wrote:
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the p
11 matches
Mail list logo