Ronan Pigott added the comment:
Any reason a change like this could not be added to a 3.8.x release?
Like I pointed out in the PR, pydoc's use of MANPAGER is undocumented and, as
far as I'm concerned, incorrect.
A lot of software references idiosyncratic _PAGER vars, but pyd
Ronan Pigott added the comment:
Actually my previous comment is incorrect, the value of the PAGER is split with
the shell as a result of shell=True. There _is_ still an incompatibility with
man.
I have a value for MANPAGER set like 'env LESS_TERMCAP_mb=^[[01;31m ... less'
whi
New submission from Ronan Pigott :
pydoc references the value of both MANPAGER and PAGER variables when selecting
a command to present the user with documentation. Those values are passed
directly to subprocess.Popen. However, MANPAGER may contain arguments that need
splitting, and is