[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

[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 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

[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

[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 ___ ___

[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

[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

[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 _

[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

[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

[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 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

[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

[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

[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)

[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

[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

[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

[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 ___ __

[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 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 __

[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 ___

[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

[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 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 _

[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 > > __

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A debug build displays "XXX undetected error". An error condition was not correctly cleared, see attached patch. -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file23698/issue13410.patch ___

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset afc716e463a1 by Victor Stinner in branch 'default': Issue #13374: Skip deprecation tests for os.symlink() on Windows XP http://hg.python.org/cpython/rev/afc716e463a1 -- ___ Python tracker

[issue12988] IDLE on Win7 crashes when saving to Documents Library

2011-11-15 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: No error whatsoever. Python just thinks it doesn't exist unfortunately. Same report from other users... -- ___ Python tracker ___ _

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Some variables could be a missing privilege or role, or perhaps a UAC restriction. What error do you get when you attempt to invoke os.listdir on a symlink directory? -- ___ Python tracker

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: Well, at the very least it's a system-dependent issue, since I've tried out listdir and also file access on my system and some other Windows users'. -- ___ Python tracker

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Brian, I'm still not sure I see the problem with os.listdir. It includes 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? --

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: Thanks Bryan, that would be great. The elevated privs problem could potentially be avoided by creating symlinks using the Win32 API directly. As long as the appropiate group policy is set, one does not require admin privs to create symlinks. Perhaps symlink c

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I should mention that there is third-party symlink support in jaraco.windows (http://pypi.python.org/pypi/jaraco.windows). Just easy_install it, and then use jaraco.windows.filesystem.symlink. If there are features you need for symlink support in jaraco.wind

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro added the comment: What are you running? This is not what I get on Win7 x64, and I have had several other users in ##python on FreeNode confirm this inability. As far as Python is concerned, these dir sym links do not even exist. -- _

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Brian Curtin
Brian Curtin added the comment: I think we could still make os.listdir work properly. I'll look into a patch for this. One "problem" here is the testability, since we'd need to rely on the mklink CLI app to create the symlinks, which requires that the calling application (python.exe) has ele

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Florent Xicluna
Florent Xicluna added the comment: With Darwin 10.8.0 x86_64, I confirm the behavior described in first message. $ python2.7 -V Python 2.7.2 $ python2.7 -i xx.py 22 22 >>> TypeError: int() argument must be a string or a number, not 'Foo' >>> '%d' % y '22' >>> '%d' % y TypeError: int() argumen

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Python 2.7 is not aware of symlinks and treats them like their targets, so it should be able to list a symlink directory or access a file within one. For example: PS C:\Users\jaraco> cmd /c dir Volume in drive C is system Volume Serial Number is 2455-92A0

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Then it appears to me that Sandro's patch is good and can be committed. The doc patch is good. However, if you start exposing SimpleQueue at the top package level, you have to do it in 3.3 only (since that's a new API), and also mention it somehow in the doc.

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox, mark.dickinson stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Eli Bendersky
Eli Bendersky added the comment: Committed, with the fix suggested by Éric -- resolution: fixed -> stage: committed/rejected -> status: closed -> open ___ Python tracker ___ _

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 21758f27f98f by Eli Bendersky in branch 'default': document existing hooks for commit messages mentioning issues. Closes issue 13388 http://hg.python.org/devguide/rev/21758f27f98f -- resolution: -> fixed stage: -> committed/rejected stat

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +Windows type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Eli Bendersky
Eli Bendersky added the comment: Then it appears to me that Sandro's patch is good and can be committed. -- ___ Python tracker ___ __

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Eric V. Smith added the comment: I think this must be a change between 2.5 and 2.6. In 2.5.1 non-debug (Linux) I consistently see: >>> print '%d' % y Traceback (most recent call last): File "", line 1, in TypeError: int argument required In 2.6.5 (Windows via activestate) I see the alternat

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith, jason.coombs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
New submission from Alex Regueiro : Python 2.7 has no knowledge of directory symlinks on Windows 7. Listing a directory symlink does not work, nor does accessing a file within one. This is quite a notable missing feature on Windows 7, where symlinks are becoming increasingly prevalent. --

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13411] Hashable memoryviews

2011-11-15 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13411] Hashable memoryviews

2011-11-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : This patch allows hashing of memoryviews, as discussed on python-dev. -- components: Interpreter Core files: memhash.patch keywords: patch messages: 147714 nosy: ncoghlan, pitrou, skrah priority: normal severity: normal stage: patch review status: ope

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue13248] deprecated in 3.2, should be removed in 3.3

2011-11-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > IIUC, it means that the library/application should not use the bytes API if > it intends to be supported on major platforms. I think you misunderstand; it does not literally mean that. Instead, it means that the library/application either must not use the b

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Thus strip and isspace are now unusable methods in Python for common use > cases. Please recognize that you haven't demonstrated this at all. U+200B is *not* a character that is common, not even remotely. It's a rare, infrequent, unused character. In additi

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Jayanth Raman
New submission from Jayanth Raman : With file xx.py: class Foo(object): def __init__(self, x): self.x = x def __long__(self): return long(self.x) def __float__(self): return float(self.x) y = Foo(22) print '%d' % y print '%d' % y Interactive mode: $ python

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Florent Xicluna
Florent Xicluna added the comment: IIUC, it means that the library/application should not use the bytes API if it intends to be supported on major platforms. -- nosy: +flox ___ Python tracker

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset d42811b93357 by Victor Stinner in branch 'default': Issue #13374: The Windows bytes API has been deprecated in the os module. Use http://hg.python.org/cpython/rev/d42811b93357 -- ___ Python tracker

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like Nick's original idea for a handful of convenience functions but want to caution against adding a bunch of tools that start guessing at what you want. Adding automatic wildcard expansion, shell quoting/splitting and whatnot can make the module more

[issue13405] Add DTrace probes

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > LD_LIBRARY_PATH=current_path > export LD_LIBRARY_PATH Why do you need LD_LIBRARY_PATH? > If you are inside a Solaris/OpenIndiana Zone, the zone *MUST* have > dtrace usermode permissions. If not, you can not use dtrace inside the > zone and, then, the test wi

[issue13405] Add DTrace probes

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: New changeset, with testsuite added. Compile the code adding "--with-dtrace" to your "configure" command. After compiling, test the code with """ LD_LIBRARY_PATH=current_path export LD_LIBRARY_PATH ./python Lib/test/regrtest.py -v test_dtrace.py """ It is

[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/file23696/9fcca74ff413.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Eric Snow
Eric Snow added the comment: @msg147671 +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Eric Snow
Eric Snow added the comment: > Me too. (Can you give the #ids of these other issues?) #13012 is the one that I was thinking of (msg144328 specifically). However, I'm sure there was one more recently (which I can't find now). -- ___ Python tracker

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-11-15 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch removing the automatic retry on ECONNREFUSED: I tested it on Linux and other Unices, and it seems to work just fine without this hammering. Note that there's a similar mechanism for Windows (ERROR_PIPE_BUSY), but it seems to be necessar

[issue2979] use_builtin_types in xmlrpc.server

2011-11-15 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated with documentation. -- nosy: +eric.araujo stage: patch review -> commit review Added file: http://bugs.python.org/file23695/issue2979_xmlrpc_server_v2.diff ___ Python tracker

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11261] urlopen breaks when data parameter is used.

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2011-11-15 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0175883d9513 by Florent Xicluna in branch 'default': Closes #13297: use bytes type to send and receive binary data through XMLRPC. http://hg.python.org/cpython/rev/0175883d9513 -- nosy: +python-dev resolution: -> fixed stage: patch review

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12940d9f8031 by Antoine Pitrou in branch 'default': Fix regression under Windows following b75b41237380 (from issue #13392) http://hg.python.org/cpython/rev/12940d9f8031 -- ___ Python tracker

[issue964437] idle help is modal

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +terry.reedy stage: -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___

[issue11990] redirected output - stdout writes newline as \n in windows

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue4442] document immutable type subclassing via __new__

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> needs patch versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bug

[issue11805] package_data only allows one glob per-package

2011-11-15 Thread Paul Moore
Paul Moore added the comment: One important point - in the "new world" where data files living alongside code is unsupported, the bdist_msi and bdist_wininst installers need to be updated to install data files as needed. This may work already (I'll do some tests to see how well when I get back t

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-15 Thread Ezio Melotti
Ezio Melotti added the comment: The HTMLParser is not suitable for validation, even the strict mode allows some non valid markup (and it might be removed soon). Also I don't think it's easy to call a self.warnings() without trying the strict mode first. The tolerant parsing just allow more th

[issue13409] Invalid expression error if a regex ends with a backslash

2011-11-15 Thread Ezio Melotti
Ezio Melotti added the comment: You either have to double escape it (once for python and then for the regex engine) or use raw strings: >>> re.match("", '\\').group() '\\' >>> re.match(r"\\", '\\').group() '\\' -- assignee: -> ezio.melotti resolution: -> invalid stage: -> commit

[issue13409] Invalid expression error if a regex ends with a backslash

2011-11-15 Thread Michał Leśniewski
New submission from Michał Leśniewski : If a regular expression ends with a backslash, an exception is raised. Of course, the backslash has to be escaped. The simplest example, that causes the error is a regular expression, that should match only a single backslash: import re r = re.co

[issue13380] ctypes: add an internal function for reseting the ctypes caches

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, done. Let's see if that fixes the sporadic failures on the buildbots. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b75b41237380 by Antoine Pitrou in branch 'default': Issue #13392: Writing a pyc file should now be atomic under Windows as well. http://hg.python.org/cpython/rev/b75b41237380 -- ___ Python tracker

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-15 Thread kxroberto
kxroberto added the comment: I looked at the new patch http://hg.python.org/lookup/r86952 for Py3 (regarding the extended tolerance and local backporting to Python2.7): What I miss are the calls of a kind of self.warning(msg,i,k) function in non-strict/tolerant mode (where self.error is calle

[issue11805] package_data only allows one glob per-package

2011-11-15 Thread Éric Araujo
Éric Araujo added the comment: > Looking at sysconfig.cfg makes it all pretty clear, though it was hard to > find this > information a while ago. Yeah, you had to be here when the resources code was committed, or to stumble on it while reading the source code. It’s one of the big things I wil

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Brett Cannon
Brett Cannon added the comment: I say go with the deletion for importlib. If the failure is a sign of success, then just go with it and not worry about the failure. __pycache__ guarantees that we are not losing out by clobbering some other Python version's pyc file. -- __

[issue2775] Implement PEP 3108

2011-11-15 Thread Brett Cannon
Brett Cannon added the comment: Answers to Eric's questions: yes and yes, but I probably won't bother until I do a final update to the PEP. -- ___ Python tracker ___ ___

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Éric Araujo
Éric Araujo added the comment: Ezio made further comments, follow the “review” link. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Brian Curtin
Changes by Brian Curtin : -- status: pending -> open versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread ipatrol
ipatrol added the comment: The patch has been submitted, now we just need to apply it and update the online docs accordingly. -- status: open -> pending versions: +Python 3.4 ___ Python tracker __

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Éric Araujo added the comment: >def __init__(self, command, *, **callkwds): Is the '*' marker needed? >self.callkwds = callkwds These aren’t used in the module-level functions. What is the use case? If you forgive me for the nitpick, the docstrings have too much indenting.

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Changes by Éric Araujo : Added file: http://bugs.python.org/file23694/b267e72c8c10.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread Dan Kenigsberg
Dan Kenigsberg added the comment: Technically, adjacent Text nodes are not illegal, but preserving this oddity in pretty-print is impossible. It is perfectly fine to pretty-print only the simple case of len()==1. -- ___ Python tracker

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Ezio Melotti
Ezio Melotti added the comment: > So I guess this brings me back to my original issue. I'm not looking > for particularly advanced stripping. I just want to remove all > whitespace and other non-printing characters. .strip only strips whitespace. Stripping non-printing characters and additi

[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

2011-11-15 Thread kxroberto
kxroberto added the comment: ping! perhaps I forgot to write that I uploaded the cleaned patch also on 2010-08-23. I really think this simple patch is necessary. Just seen the same problem again - as I forgot the patch in one of my recent Python update installations. When SMTPDataError, SMTPR

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks again. Just a nit: the tests should be in MiscIOTest, since they don't directly instantiate the individual classes. Also, perhaps it would be nice to check that the exception's "errno" attribute is EAGAIN. -- stage: needs patch -> patch review

[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset c10946a17420 by Éric Araujo in branch 'default': Clean up byte-compilation code in packaging (#11254 followup). http://hg.python.org/cpython/rev/c10946a17420 -- ___ Python tracker

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Dave Mankoff
Dave Mankoff added the comment: "Use regular expressions for more advanced stripping than what the .strip method provides." So I guess this brings me back to my original issue. I'm not looking for particularly advanced stripping. I just want to remove all whitespace and other non-printing ch

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Éric Araujo
Éric Araujo added the comment: This module also fails to build on my Debian. I had the libcursesw headers installed and one day it was not enough; installing libcurses headers fixes it. I don’t know if it’s the same problem or something related to Debian multiarch. -- nosy: +eric.ar

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: BTW, is only curses building failing?. Is the rest of the code built correctly?. That would be a good hint. -- ___ Python tracker ___ ___

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Can you add the missing library path in CFLAGS and LDFLAGS environment variables?. Something like: (from a fresh source code) ./configure OPTIONS CFLAGS=-Ipath LDFLAGS=-Ipath If that works, we can explore why the path is not detected automatically. Do your

  1   2   >