[RELEASE] Python 2.7.16

2019-03-03 Thread Benjamin Peterson
Hello all, I'm pleased to announce the immediate availability of Python 2.7.16 for download at https://www.python.org/downloads/release/python-2716/. The only change since the release candidate was a fix for the IDLE icon on macOS. See https://bugs.python.org/issue32129. Refer to the changelog f

Re: tkinter: get ttk.combobox choices from another class [RESOLVED]

2019-03-03 Thread Chris Angelico
On Mon, Mar 4, 2019 at 9:34 AM Rich Shepard wrote: > > On Mon, 4 Mar 2019, Chris Angelico wrote: > > > Specifically, from my reading of your example, you need a list of > > strings for the applicable values. > > Chris, > > Yep. And I was not sure just how I would get these unitl I read your > answ

Re: tkinter: get ttk.combobox choices from another class [RESOLVED]

2019-03-03 Thread Rich Shepard
On Mon, 4 Mar 2019, Chris Angelico wrote: Specifically, from my reading of your example, you need a list of strings for the applicable values. Chris, Yep. And I was not sure just how I would get these unitl I read your answer. So you need to get a list of strings from SQLAlchemy. It's been

Re: tkinter: get ttk.combobox choices from another class

2019-03-03 Thread Chris Angelico
On Mon, Mar 4, 2019 at 8:46 AM Rich Shepard wrote: > In the views module in his book the one form has a ttk.Combobox and lists > the available values in an input_args dictionary. To allow addition of new > choices for this column in my application they are in a separate class. Specifically, from

tkinter: get ttk.combobox choices from another class

2019-03-03 Thread Rich Shepard
I'm using Alan D. Moore's tkinter book as a template for my application. In the views module in his book the one form has a ttk.Combobox and lists the available values in an input_args dictionary. To allow addition of new choices for this column in my application they are in a separate class. Exa

Re: deque as default list behaviour

2019-03-03 Thread Chris Angelico
On Sun, Mar 3, 2019 at 10:12 PM Abdur-Rahmaan Janhangeer wrote: > > i can be wrong but i guess that inserting at the begining does not cause > troubles as insertion at index 0 is constant (time does not scale with number > of data) > In a deque? Correct. But the price of that is reduced efficie

Re: deque as default list behaviour

2019-03-03 Thread Abdur-Rahmaan Janhangeer
i can be wrong but i guess that inserting at the begining does not cause troubles as insertion at index 0 is constant (time does not scale with number of data) Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius -- https://mail.python.org/mailman/l

Re: Version numbers in Standard Library

2019-03-03 Thread Thomas Jollans
On 01/03/2019 16:35, Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] via Python-list wrote: > Dear Python List, > > A question. I help maintain a Python stack for users in my division here > at NASA and one user asked about updating the re module to 2.4. I > believe because he re