Title: future in tkinter
Type: Stage: resolved
Components: Tkinter Versions: Python 2.7
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: serhiy.storchaka, tkinter
Priority: normal Keywords:

Created on 2016-10-21 16:38 by tkinter, last changed 2016-10-21 21:18 by serhiy.storchaka. This issue is now closed.

Messages (2)
msg279139 - (view) Author: Miguel (tkinter) Date: 2016-10-21 16:38
I load the future package.
In the new package installed here:

it's not possible to import _default_root.

One possible solution is to create a method in tkinter module that returns the _default_root object.
def default_root():
  return _default_root
msg279156 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-10-21 21:18
This is not Python issue, this is an issue of the future module.

_default_root is dynamic attribute, it shouldn't be imported. And it is is private undocumented implementation detail, be careful with its using.
Date User Action Args
2016-10-21 21:18:35serhiy.storchakasetstatus: open -> closed

nosy: + serhiy.storchaka
messages: + msg279156

resolution: third party
stage: resolved
2016-10-21 16:38:11tkintercreate