[issue36872] passing negative values through modules

2019-05-10 Thread David Collins
David Collins added the comment: Sorry for being so abrupt you are correct . The code I was working from was a university professors and not my own, I understood better thanks steve. I wasn’t passing a return value yet and the professors work was overwriting the list. I do apologise

[issue36872] passing negative values through modules

2019-05-10 Thread David Collins
David Collins added the comment: So what your saying is that python is unable to pass a negative number between modules and you don’t think that this is an issue . Sent from Mail for Windows 10 From: Terry J. Reedy Sent: Friday, 10 May 2019 7:21 PM To: coldy...@gmail.com Subject

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: This is an issue with python On Fri, 10 May 2019 at 3:52 pm, SilentGhost wrote: > > Change by SilentGhost : > > > -- > components: -IDLE > > ___ > Python tracker > <h

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: Not the coding On Fri, 10 May 2019 at 3:53 pm, David Collins wrote: > This is an issue with python > > On Fri, 10 May 2019 at 3:52 pm, SilentGhost > wrote: > >> >> Change by SilentGhost : >> >&

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: I have tested this in the Mac and PC versions of IDLE as well as in Spyder using Ipython. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
New submission from David Collins : program_data.py file contains a list import list_function str_list4 = ['i', 't'] str_list4 = list_function.insert_value(str_list4, 's', -1) print(str_list4) list_function.py file def insert_value(my_list, value, ins