[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Brian Curtin
Brian Curtin added the comment: symlinks when listing a dir and traverses them naturally when referencing them as part of a path to listdir. Under what conditions does it fail? > > -- > > ___ > Python tracker > > __

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: When listing the parent dir in which a dir symlink resides, the dir symlink doesn't show up. That's the one I noticed most. -- ___ Python tracker _

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: New patch with a unit test. -- Added file: http://bugs.python.org/file23699/issue13410_2.patch ___ Python tracker ___ ___

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: On Windows Vista and Windows 7, there should be a symlink directory: C:\Documents and Settings -> .\Users Perhaps a good test would be: assert 'Documents and Settings' in os.listdir('C:\\') As long as there aren't any i18n issues, and the system is a standa

[issue13412] Symbolic links omitted by os.listdir on some systems

2011-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- status: closed -> title: No knowledge of symlinks on Windows -> Symbolic links omitted by os.listdir on some systems ___ Python tracker ___

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry I found that u'%d' is equally affected, here is a new version. -- Added file: http://bugs.python.org/file23700/issue13410_3.patch ___ Python tracker __

[issue13405] Add DTrace probes

2011-11-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file23701/7a2465f6a56a.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think you're going to want those print statements in a test. You could just evaluate '%d' % y. -- ___ Python tracker ___ __

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Similar to what I did with walkdir, I plan to publish a shellcommand module on PyPI to give people a chance to look at the API and experiment with it without having to patch shutil in the standard library. The only aspect I'm 100% sold on at the moment for the

[issue13393] Improve BufferedReader.read1()

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27bf3d0b8e5f by Antoine Pitrou in branch 'default': Issue #13393: BufferedReader.read1() now asks the full requested size to http://hg.python.org/cpython/rev/27bf3d0b8e5f -- nosy: +python-dev ___ Python

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Unfortunately without the "print" the test does not fail. -- ___ Python tracker ___ ___ Pytho

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Eric V. Smith added the comment: With an unpatched 2.7, this fails for me: diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -289,6 +289,17 @@ else: raise TestFailed, '"%*d"%(maxsize, -127)

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2011-11-15 Thread Florent Xicluna
Florent Xicluna added the comment: Thank you Stefan for the comments. I've added the prefix collision detection, and removed the **kw argument. (+ tests) -- Added file: http://bugs.python.org/file23702/issue13378_non_global_namespaces_v2.diff ___ Py

[issue13412] Symbolic links omitted by os.listdir on some systems

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: Okay, so I figured out where I was originally seeing this issue. (It does indeed work normally as you said; I'm not sure how I tested otherwise.) Well, the problem is when you load a module that is a SYMLINKD. If the module folder is a normal directory, all wo

[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Roger Serwy
Roger Serwy added the comment: With IDLE 3.2 on Ubuntu 11.04, this is not a problem. An error box pops up: SyntaxError (unicode error) 'unicodeescape' codec can't decode bytes in position 0-3: truncated \xXX escape With IDLE 2.7.1 on Ubuntu 11.04, the console gives the error described by Ama

[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset e277fe8380e0 by Ned Deily in branch '2.7': Issue #8793: Prevent IDLE crash in 2.7 when given strings with http://hg.python.org/cpython/rev/e277fe8380e0 -- nosy: +python-dev ___ Python tracker

[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Ned Deily
Ned Deily added the comment: Thank for the suggestion! BTW, a similar change had been recently made to Python 3 for Issue9871 for invalid byte strings. -- assignee: -> ned.deily nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Py

[issue13405] Add DTrace probes

2011-11-15 Thread James C. McPherson
James C. McPherson added the comment: While using LD_LIBRARY_PATH might be ok for a quick run by hand, it's preferable to use an RPATH when linking for more long term usages. -- nosy: +jmcp ___ Python tracker

[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2011-11-15 Thread Roy Smith
Roy Smith added the comment: Another patch, with the most recent review suggestions incorporated. -- Added file: http://bugs.python.org/file23703/Issue13249-3.patch ___ Python tracker _

[issue13411] Hashable memoryviews

2011-11-15 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyt

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: needs patch -> patch review versions: -Python 2.6 ___ Python tracker ___ ___

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: $ ./python Lib/test/regrtest.py test_format shows the error, but $ ./python Lib/test/regrtest.py -v test_format does not fail! The "print" is needed, can something else have the same effect? -- ___ Python track

[issue13406] Deprecation warnings when running the test suite

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f534cd40f54 by Ezio Melotti in branch 'default': #13406: silence deprecation warnings in test_codecs. http://hg.python.org/cpython/rev/4f534cd40f54 -- nosy: +python-dev ___ Python tracker

[issue13413] time.daylight incorrect behavior in linux glibc

2011-11-15 Thread Dmitry Balabanov
New submission from Dmitry Balabanov : In Europe/Moscow timezone: >> import time >> time.daylight 1 >>> time.timezone -10800 But if compile and run attached program result would be: timezone: -14400, daylight: 0 Daylight is not applicable in Europe/Moscow timezone from this winter. But python

[issue13406] Deprecation warnings when running the test suite

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 028b61c4f926 by Ezio Melotti in branch 'default': #13406: correct the error message in check_warnings too. http://hg.python.org/cpython/rev/028b61c4f926 -- ___ Python tracker

<    1   2