

To take two important slides from the type hinting presentation: Why type hints? As a result they resort to trying to infer the type with (as mentioned in the presentation) around 50% success rate. This fact makes it hard for developers to understand what exactly is going on in code they haven't written and, most importantly, for type checking tools found in many IDEs (P圜harm and PyDev come to mind) that are limited due to the fact that they don't have any indicator of what type the objects are. You hint the type of the object(s) you're using.ĭue to the dynamic nature of Python, inferring or checking the type of an object being used is especially hard.

In a nutshell: Type hinting is literally what the words mean. Pushed for release in 2.7.10, 3.4.3, and 3.5.0.I would suggest reading PEP 483 and PEP 484 and watching this presentation by Guido on type hinting. New changeset af092c1d3747 by Ned Deily in branch 'default': New changeset 8c0e5b507794 by Ned Deily in branch '3.4': Issue #23180: Rename IDLE "Windows" menu item to "Window". New changeset 9a451aaa8ddb by Ned Deily in branch '2.7':

I cannot currently test or commit a patch.

Thanks for the heads up.Īlso, the IDLE help text file ( Lib/idlelib/help.txt) and the IDLE documentation in the Standard Library Reference ( Doc/library/idle.rst) refer to the "Windows" menu and would need to be updated.Īdded another patch for the documentation changes for the menu renaming. Will do, re marking IDLE issues for 2.7, 3.4, and 3.5 only. Please mark Idle issues for exactly 2.7, 3.4, and 3.5. Somewhat oddly, Notepad++ Window menu has a Windows entry. The logic of the singular is that the submenu lets a user select and jump to *a* window, just as the file menu allows one to select and open (if needed) *a* file. I guess the logic of the plural was that the submenu lists windows to select from. Note: Photoshop, Blender, Visual Studio, IntelliJ, WinMerge, HxD, and Notepad++ on Windows use the "Window" name in their menus. The singular "Window" is the standard menu name on all platforms, and "Windows" should never be used. FilesĬurrently IDLE's top-level menu item is "Windows" on Windows & Linux but is specifically changed to "Window" on OS X to match mac's look and feel. Rename IDLE's "Windows" menu item to "Window"Īl.Sweigart, ned.deily, python-dev, terry.reedyĬreated on 07:16 by Al.Sweigart, last changed 14:58 by admin.
