Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93155 > unrolled thread

Re: windows and file names > 256 bytes

Started byrandom832@fastmail.us
First post2015-06-25 13:53 -0400
Last post2015-06-25 13:53 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: windows and file names > 256 bytes random832@fastmail.us - 2015-06-25 13:53 -0400

#93155 — Re: windows and file names > 256 bytes

Fromrandom832@fastmail.us
Date2015-06-25 13:53 -0400
SubjectRe: windows and file names > 256 bytes
Message-ID<mailman.74.1435254833.3674.python-list@python.org>
On Thu, Jun 25, 2015, at 09:35, Michael Torrie wrote:
> The OP mentions that even when he manually supplies extended paths,
> os.mkdir, os.getsize, and shutil.rmtree return errors for him in Python
> 2.7.  So there's more to this problem.

The byte versions of the underlying OS APIs use a 256-character buffer
to do conversion - he needs to also be passing unicode strings.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web