PythonCharmers/python-future

standard_library.install_aliases() doesn't publish tkinter.simpledialog.askstring in 2.7

Open

#435 aberto em 2 de fev. de 2019

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Python (327 forks)batch import
0.19bughelp wantedmoves

Métricas do repositório

Stars
 (1.172 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

$ python Python 2.7.15 (default, Oct 1 2018, 15:59:56) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from future import standard_library >>> standard_library.install_aliases() >>> from tkinter.simpledialog import askstring Traceback (most recent call last): File "", line 1, in ImportError: cannot import name askstring

This reproduces with both future 0.16.0 and 0.17.1.

Guia do colaborador