a good programming text editor (not IDE)

josiah.carlson at gmail.com josiah.carlson at gmail.com
Fri Jun 16 12:02:58 EDT 2006


Walter Dörwald wrote:
> I tried it out and the first problem I noticed is that on Windows
> opening a file from a Samba drive doesn't seem to work, as PyPE converts
> the filename to lowercase.

...Samba is tricky, and I hadn't thought of it before.  Normal Windows
is case-insensitive but case-preserving, and PyPE uses Python's
os.path.normcase(os.path.normpath(os.path.realpath(...))) to do
path/file normalization mapping for open files (keeping the
non-case-normalized filename), so that you can't really make the
mistake of opening the same file twice.  This normally works on
platforms with consistant case handling, but if you are using Samba
running on any non-OSX *nix (whose filename case handling is not like
other *nixes) from Windows, there gets to be a bit of a problem as your
*nix case handling is different from Windows.

I have an idea of what needs to be done, and the fix for it will be in
PyPE 2.4.1, which I plan on releasing by June 30th.

 - Josiah




More information about the Python-list mailing list