[issue31503] Enhance dir(module) to be informed by __all__ by updating module.__dir__

2017-09-17 Thread Cody Piersall
New submission from Cody Piersall: If a some_module defines __all__, dir(some_module) should only return what is in __all__. This is already a mechanism that Python provides to specify module-level APIs. Currently, dir(some_module) returns some_module.__dict__.keys(). The concern with this

[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall
New submission from Cody Piersall: Whenever I tried to run the embeddable zip file from https://www.python.org/downloads/windows/ for Python 3.5.0b3, the program crashes with the message > The program can't start because api-ms-win-crt-math-l1-1-0.dll is missing > from your co

[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall
Changes by Cody Piersall : -- components: +Windows nosy: +paul.moore, tim.golden, zach.ware type: -> crash ___ Python tracker <http://bugs.python.org/issu

[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall
Cody Piersall added the comment: Ah! That makes sense. I still think the embeddable Python could be useful, but I don't actually have a vested interest in it at the moment. Mostly I feel like it would be useful if Python is an implementation detail of an application, and you want to

[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall
Cody Piersall added the comment: Yeah, having "embeddable" in the name is a good hint, I think. It was almost enough for me to not even try downloading it. Is it possible / even worth the time to give a more helpful error message? I'm not sure that it's possible, base

[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall
Cody Piersall added the comment: Agreed. "An ounce of data is worth a pound of theory" as the saying goes. -- ___ Python tracker <http://bugs.python.o