Very Strange Problem

Terry Reedy tjreedy at udel.edu
Wed Jul 29 15:41:34 EDT 2009


Omer Khalid wrote:
> Hi,
> 
> I am having a very strange problem with modifying a variable in a list 
> in my program. Here is the code:

To me, this sentence clearly implies that the code that follows is the 
code that had the problem. Since the posted code cannot run, it clearly 
is not. People should test code to be posted before posting unless they 
clearly label it as 'untested'. Original posters, of course, should run 
the code first.

tjr




More information about the Python-list mailing list