-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2.1b1 - pydoc shows nothing #34075
Comments
Platform: Windows 2000, Python 2.1b1 The pydoc script works fine in "serve documents to a However, when I have PAGER=less, I get no output at It looks like a bug in pydoc.pipepager(), which is the To demonstrate the os.popen() bug, see the attached C:\Data>python21
Python 2.1b1 (#11, Mar 2 2001, 11:23:29) [MSC 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license" for more
information.
>>> import os
>>> a = os.popen("more", "w")
>>> a.write("Hello")
>>> a.close() Run this, and note that the "More" program never |
Logged In: YES Assigned to Tim, because of that fine combination of |
Logged In: YES Assigned to MarkH for popen insight. "more" does start, but the output just vanishes under Nothing unique about "more" here: tried a number of .exe In any case, trying to implement a pager via popen like |
Logged In: YES Reassigned to Ping since wrestling w/ popen() on Windows is http://mail.python.org/pipermail/python-dev/2001- |
Logged In: YES Fixed by always using temp files in Windows. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: