Stefan Behnel sco...@users.sourceforge.net added the comment:
Any comments on the last patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13429
___
Lars Gustäbel l...@gustaebel.de added the comment:
I think we should wrap this up as soon as possible, because it has already
absorbed too much of our time. The issue we discuss here is a tiny glitch
triggered by a corner-case. My original idea was to fix it in a minimal sort of
way that is
Jason R. Coombs jar...@jaraco.com added the comment:
I also feel (1) or (3) is best for this issue. If there is a _better_
implementation, it should be reserved for a separate improvement to Python
3.2+.
I lean slightly toward (3) because it would support filenames with Unicode
characters
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
FWIW, I concur with Antoine on this one.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6028
___
Tigger Level-5 a.wild.tig...@gmail.com added the comment:
Hi Éric,
Apologies for the late response, attached is the patch. Let me know if
I need any changes or anything else.
Best,
Tigger
On Sat, Nov 5, 2011 at 11:01 AM, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo
Changes by Jason R. Coombs jar...@jaraco.com:
--
keywords: +patch
Added file: http://bugs.python.org/file24092/774933cf7775.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
New submission from wang zev...@gmail.com:
when I use os.list the return value is like this:
['some.xml', '\ufeff9158.xml']
but the file name have not the '\ufeff'.
because this problem the script can't runing.
--
messages: 150252
nosy: guxianminer
priority: normal
severity: normal
Jason R. Coombs jar...@jaraco.com added the comment:
Thanks to Lars for suggesting the fix, replacing 'w|gz' with 'w:gz'. I
attempted this change in the latest revision of my fork (774933cf7775.diff).
While this change does address the issue if a unicode string is passed which
can be encoded
wang zev...@gmail.com added the comment:
only I double click the script file generate this problem.
in IDE not this problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13662
___
wang zev...@gmail.com added the comment:
I mean in IDLE can run ok.
the '\ufeff' is still have.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13662
___
wang zev...@gmail.com added the comment:
I mean in IDLE can run ok.
the '\ufeff' is still have.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13662
___
Changes by wang zev...@gmail.com:
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13662
___
___
Python-bugs-list mailing
Ezio Melotti ezio.melo...@gmail.com added the comment:
U+FFEF is a Unicode ZERO WIDTH NO-BREAK SPACE / BYTE ORDER MARK. I'm not sure
what is it doing in the file name but this doesn't seem a bug in os.listdir.
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
Ezio Melotti ezio.melo...@gmail.com added the comment:
s/U+FFEF/U+FEFF/
See also http://unicode.org/faq/utf_bom.html#bom1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13662
___
Terry J. Reedy tjre...@udel.edu added the comment:
As I understand the patched code, it only fixes the issue for unicode names
that can be latin-1 encoded and that other unicode names will raise the same
exception with 'latin-1' (or equivalent) substituted for 'ascii'. So it is easy
for me to
Terry J. Reedy tjre...@udel.edu added the comment:
I just took a look as the 3.2 tarfile code and see that it always (because
self.name is always unicode) does the same encoding, with 'replace',
referencing RFC1952. Although there are a few other differences, they appear
inconsequential, so
16 matches
Mail list logo