Dave Burton added the comment:
This is a patch for the os.path.realpath() bug under Windows,
http://bugs.python.org/issue9949 "os.path.realpath on Windows does not follow
symbolic links"
ntpath.diff fixes the realpath() function to resolve symbolic links to their
targets (te
Dave Burton added the comment:
It seems that the nt module is implemented in the posixmodule.c source file,
and the Python 3 version contains the posix__getfinalpathname entry point, but
the Python 2 version does not.
I presume that PyWin32 could also be used to work around this. Too bad it
Dave Burton added the comment:
Excellent!
The ntpath.py change is nearly identical in Python 2.7 to the change for Python
3.2. The only difference is that instead of:
+elif isinstance(path, bytes):
+path = os.getcwdb()
It is:
+elif isinstance(path, unicode
New submission from Dave Burton :
I noticed that pydoc doesn't work for pygame under python 3.2.1 or 3.2.2 for
Win32; it just reports:
NotImplementedError: scrap module not available (ImportError: No module
named scrap)
I made a small patch to inspect.py to solve the problem (I just ad
Dave Burton added the comment:
"expect?" Did I type that?? Should be "try/except," of course.
--
___
Python tracker
<http://bugs.python.org/issue14367>
___
Dave Burton added the comment:
Well, the exception is NotImplementedError. It's raised explicitly in
pygame\__init__.py
I uncommented my commented-out print statement in inspect.py, and added a
traceback print, and ran pydoc like this:
c:\python32\python.exe c:\python32\Lib\pydoc.