This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: future in tkinter
Type: Stage: resolved
Components: Tkinter Versions: Python 2.7
process
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 2022-04-11 14:58 by admin. 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:
python2.7/dist-packages/tkinter/__init__.py

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.
History
Date User Action Args
2022-04-11 14:58:38adminsetgithub: 72683
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