Message86865
That is not a bug in Python. The import statement merely adds a
reference to the list into your module, so both variables point to the
very same list (my_module.some_list is other_module.some_list).
Therefore, any changes made to the list through my_module will also
affect the list as seen from other_module.
Closing the report as invalid. |
|
Date |
User |
Action |
Args |
2009-05-01 06:31:54 | loewis | set | recipients:
+ loewis, dstemmer |
2009-05-01 06:31:54 | loewis | set | messageid: <1241159514.69.0.855974786759.issue5892@psf.upfronthosting.co.za> |
2009-05-01 06:31:53 | loewis | link | issue5892 messages |
2009-05-01 06:31:52 | loewis | create | |
|