A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-March/125024.html below:

[Python-Dev] Idle, site.py, and the release candidates

[Python-Dev] Idle, site.py, and the release candidatesTerry Jan Reedy tjreedy at udel.edu
Sun Mar 31 17:23:53 CEST 2013
On 3/31/2013 3:52 AM, Terry Reedy wrote:
> For an rc patch, the safest temporary patch would be to start
> .__call__ with
>
> if sys.stdin.__name__ == 'PseudoInputFile': sys.stdin.close()
>
> I would have to check that the name is correct as seen in the user
> process (cannot at moment).

In addition, idlelib.PyShell.PseudoInputFile needs a .close method

+    def close(self):
+        self.shell.close()
+
http://bugs.python.org/issue17585

--
Terry Jan Reedy


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4