[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread Matt Joiner
Matt Joiner added the comment: Feel like a total noob: Where do I get the latest source? I can't find any pre-release tarballs for 3.3, and the suggested py3k checkout doesn't work: $ hg clone http://hg.python.org/cpython#py3k py3k abort: unknown revision 'py3k'! -- _

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread Ned Deily
Ned Deily added the comment: See the developer's guide: http://docs.python.org/devguide/setup.html#getting-the-source-code hg clone http://hg.python.org/cpython directory_name -- nosy: +ned.deily ___ Python tracker

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread Matt Joiner
Matt Joiner added the comment: This version is fixed for me: $ ./python Python 3.3.0a0 (default:7520f1bf0a81, Jul 18 2011, 17:12:12) [GCC 4.1.2 20070115 (SUSE Linux)] on linux2 -- versions: +Python 3.2 ___ Python tracker

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: @pitrou: Antoine, do you think that the following commit should be backported from 3.3 to 3.2? New changeset 3c7792ec4547 by Victor Stinner in branch 'default': Issue #12175: BufferedReader.read(-1) now calls raw.readall() if available. http://hg.python.org/cp

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue. -- resolution: fixed -> accepted status: closed -> open ___ Python tracker ___

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: (Oh, I missed Antoine's comment, yes, reopen a new issue) -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ __

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-18 Thread Catalin Iacob
Catalin Iacob added the comment: Senthil's proposal in msg140543 has +1 from me. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread Ugra Dániel
Ugra Dániel added the comment: Sorry, I've forgotten to post a reference to the new bug: #12576 -- ___ Python tracker ___ ___ Python-

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: h.close() (HTTPConnection.close) in the finally block of AbstractHTTPHandler.do_open() calls indirectly r.close() (HTTPResponse.close). The problem is that the content of the response cannot be read if its close() method was called. The changelog of the fix

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: ValueError('I/O operation on closed file') error comes from HTTPResponse.__enter__() which is implemented in IOBase: def __enter__(self): # That's a forward reference self._checkClosed() return self -- ___

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread Davide Rizzo
Changes by Davide Rizzo : -- nosy: +davide.rizzo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: imdb.com and python.org use HTTP/1.1. imdb.com server sends a "Transfer-encoding: chunked" header whereas python.org doesn't. python.org has a "Connection: close" header, whereas imdb.com doesn't. The more revelant difference for this issue is the "Connection

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, do you think that the following commit should be backported > from 3.3 to 3.2? No, I don't think so. -- versions: -Python 3.0 ___ Python tracker __

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: > No, I don't think so. The issue is already fixed in 3.3, so you agree to not fix it in Python 3.2? -- ___ Python tracker ___

[issue6476] MSVCRT's spawnve/spawnvpe are not thread safe

2011-07-18 Thread Steve Hill
Steve Hill added the comment: Why has this bug been resolved as "won't fix"? It seems to me that this is a valid issue with something that has not been deprecated, yet it has been decided neither to fix it (despite there being an offer by the originator to submit a patch) nor even to document

[issue12581] Increased test coverage of test_urlparse

2011-07-18 Thread R. David Murray
R. David Murray added the comment: I haven't reviewed your tests, but a couple quick comments: we generally prefer duck typing to the use of isintance or ABCs, but sometimes the latter is better (it's a judgement call). I haven't done a deep dive in the code you modified, but from the looks

[issue12581] Increased test coverage of test_urlparse

2011-07-18 Thread R. David Murray
Changes by R. David Murray : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12167] test_packaging reference leak

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: > I would call .copy() on the original dicts rather than remembering an > explicit empty dict. I thought about that and decided to use an empty dict as a way to add a check that the caches should start empty. Maybe it was misguided and I should instead add a un

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: > On Windows, scripts run with whatever name -- no extension or other > extensions. Thanks, this means that the docs can continue to say just “pysetup3”, without “.py”. (I wonder how Windows manages to run the script without file extension!) > I have tested this

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
New submission from Paul Weiss : I am trying to install python 2.7 on my Redhat machine. It installs most of the files, but it doesn't install the lib-dynload directory. I have set every path, done every install and clean I could think of but I can't get it to work. I have tried 2.7, 2.7.1 and

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: I’m assuming you’re installing a Python from python.org, not the one from Red Hat. Can you give us the configure and make commands you ran? -- nosy: +eric.araujo ___ Python tracker

[issue12479] Add HTTPErrorProcessor class definition

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: It seems to me that the doc after the patch is barely more helpful. It does not explain when and how one would see or use the class, nor what it does. -- nosy: +eric.araujo ___ Python tracker

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss added the comment: Correct, I am using the source from http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz make clean ./configure --prefix=/opt/Python-2.7 make sudo make install I get this: /usr/bin/install -c -m 644 ./LICENSE /opt/Python-2.7/lib/python2.7/LICENSE.txt PYTH

[issue12479] Add HTTPErrorProcessor class definition

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: Ah, I see that the class is referenced earlier in the file, and that its methods come after. I’d put the class definition just before the methods. (I would even refactor the reST to use nested class/method combo, but that’s a minor markup cleanup, not a conten

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray added the comment: Also, are you using a linux3 kernel? -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bu

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss added the comment: No, Redhat's 2.6.9. Could that be the issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11468] Improve unittest basic example in the doc

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: I think there’s value in accepting the current patch as really basic example, and then see if the section about setting up and tearing down also has a very simple example. -- ___ Python tracker

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: We all recognize that ASCII is very much limited and that the real way to work with strings is Unicode. However, here our hands are tied by our development process: shlex in 2.x does not support Unicode, adding that support would be a new feature, and 2.7 is cl

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: Thanks. The Imprudence bug seems to confirm this is not a distutils bug. -- assignee: -> eric.araujo status: open -> pending ___ Python tracker

[issue12543] `issubclass(collections.deque, collections.Sequence) == False`

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: > They don't support slicing, certainly, but I can't tell from the > collections ABC docs if Sequence is required to support slicing. This looks like a 2.7 docs bug. The table with ABCs mentions __*item__, but not __*slice__, probably because it was written with

[issue12572] HP/UX compiler workarounds

2011-07-18 Thread Jim Schneider
Jim Schneider added the comment: Martin - I don't have time to manage your project's administrative requirements with respect to my fixes. I'm providing them out of the hope they will be of use to others who need to build on HP/UX, but I don't really care if they make it into the main branch

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Doug Hellmann
Doug Hellmann added the comment: Is unicode supported by shlex in 3.x already? It's curious that unicode support is considered a new feature, rather than a bug. I understand wanting to allocate development resources carefully, though. If someone were to prepare a patch, would it even have a c

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: See http://bugs.python.org/issue1170#msg106424 and following. -- ___ Python tracker ___ ___ Python-bugs

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: It’s not about allocating resources, it’s about following process. The first part is that we don’t add new features to stable releases, the second item is that this is not considered a bug fix: The code pre-dates Unicode, was not updated to support it, and the

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Chris Lambacher
Chris Lambacher added the comment: I don't think that is the default state. You need to add .py to the PATHEXT environment variable: http://effbot.org/pyfaq/how-do-i-make-python-scripts-executable.htm Maybe Terry did this at some point? My windows box certainly does not have it and I have 2.6

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray added the comment: No. We know we have some issues with platform stuff on linux3 kernels, though, which why I asked. -- ___ Python tracker ___

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I perhaps misunderstood your question. I ran files from the command line as as 'python whatever', not 'whatever' so only python would care about an extension. I do not have a file association to 'run' a file, with or without .py. I presume IDLE does same when

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: The original bug is that the distutils docs use commands like “python setup.py spam” all over the place, and they don’t typically work > because the python executable is not in the path in the default > install. 'setup.py install' will work since .py files are as

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: > My concern for MSI is that this issue is referencing a change to MSI > generation. I never had any expectation for wininst to generate an MSI. I’m sorry, it was me that first talked about wininst by mistake, the bug report always was about msi. > If I remember

[issue12531] documentation index entries for * and **

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: > [...] If the syntax *expression appears in the function call, > expression must evaluate to a sequence. An iterable :) -- nosy: +eric.araujo -ericsnow, terry.reedy versions: -Python 2.7, Python 3.2 ___ Python tracke

[issue12531] documentation index entries for * and **

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +ericsnow, terry.reedy versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue12559] gzip.open() needs an optional encoding argument

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12560] libpython.so not built on OpenBSD

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: I’ve looked at 3.x and think the patch would apply cleanly there too. -- nosy: +eric.araujo stage: -> commit review versions: +Python 3.2, Python 3.3 ___ Python tracker

[issue8668] Packaging: add a 'develop' command

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: [Carl] > there's an implicit assumption that a .pth file is the most likely > strategy. If you have other ideas, please share them. [another message] > I don't see why the installation-location-finding for develop should > be any different than for a normal "pyset

[issue9723] Add shlex.quote

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: Here’s the patch, please review. -- assignee: -> eric.araujo keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file22685/shlex.quote.diff ___ Python tracker

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2011-07-18 Thread Éric Araujo
Éric Araujo added the comment: I applied the patch, added a test and found a bug. Here’s my progress so far; someone can start from it to write more tests and fix the code. -- nosy: +misc Added file: http://bugs.python.org/file22686/modulefinder-no-recurse.diff __

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2011-07-18 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, Jul 16, 2011 at 2:04 AM, Eli Bendersky wrote: > Therefore, I propose to change this error message to: > "unicode argument expected, got '%s'" > as Terry suggested. > Sounds good to me. -- Added file: http://bugs.python.org/file22687/unname

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I went back and reread from the beginning, instead of merely answering the question you asked when adding me as nosy. More comments: Windows file associations are so disfunctional that you should not depend on them being anything in particular. I nearly alway

[issue12545] Incorrect handling of return codes in the posix_lseek function in posixmodule.c

2011-07-18 Thread Charles-François Natali
Charles-François Natali added the comment: > So even on solaris the behavior seems to be filesystem dependent. > So I'd suggest forgetting about this part. Would you like to write a patch for the first point? -- ___ Python tracker

[issue12372] semaphore errors on AIX 7.1

2011-07-18 Thread Charles-François Natali
Charles-François Natali added the comment: So, what do we do now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Chris Lambacher
Chris Lambacher added the comment: > Now my concern is about packaging: In a typical Windows install, can people > run “pysetup3 spam”? The windows installer does not make any additions to the path so it is unlikely that "pysetup3 spam" will work. There is http://www.python.org/dev/peps/pep-

[issue11877] Change os.fsync() to support physical backing store syncs

2011-07-18 Thread Charles-François Natali
Charles-François Natali added the comment: Trying to revive this issue, here's a comment I left on Rietveld: """ > I don't agree, the documentation states that full_sync will cause a flush to > stable storage where supported and a plain fsync where it isn't. This code does > just that. > I thi

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-18 Thread Chris Lambacher
Chris Lambacher added the comment: > I am not sure of the difference between 'local script' and 'global command' local script is the setup.py (or for that matter any other script in an arbitrary place in the filesystem. Global command is referring to something installed in %PYTHONINSTALLDIR%\

[issue12579] str.format_map raises a SystemError for format strings with positional arguments

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6d074a7bbd4 by Eric V. Smith in branch '3.2': Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError. http://hg.python.org/cpython/rev/f6d074a7bbd4 -- nosy: +python-dev resolution: -> fixed s

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would not propose to do everything in one grand patch as it would be way too much to review all at once. A somewhat separate subissue is whether there should be however many separate issues over the next however many years or one master issue with multiple

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: > expression must evaluate to a sequence. To be clear, Eli quoted the doc correctly and Eric correctly suggested that 'sequence' needs to be updated to 'iterable' (in at least two places). Since the patch for this issue will be adding something just above, it

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss added the comment: So I have solved my own issue, but the solution raises another question. Let me explain... On a whim I copied the build/lib.linux-i686-2.7 directory into the /opt/Python-2.7/lib/python2.7 directory as lib-dynload. This worked and python installed correctly. In a

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
New submission from Ram Rachum : I've been frustrated so many times by `ImportError: cannot import name foo`. Right now I'm debugging some problem on a PAAS server (with no SSH access), and the server returns a traceback of `cannot import name foo`, and I don't have any idea what it means. It

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Brian Curtin
Brian Curtin added the comment: Rather than mucking with the string, we should probably set some of these details as attributes on ImportError. #10854 wanted something similar - details on the pyd file that failed if you get an ImportError on an extension module on Windows. -- nosy:

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
Ram Rachum added the comment: As long as those attributes are reflected in the string in human language, why not. -- ___ Python tracker ___

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray added the comment: Well, at this point we have no idea. It works fine for us. This part is all controlled by the Makefile, maybe you can do some debugging on it. -- ___ Python tracker __

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2011-07-18 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: Adding a test that opens the 24b48k.aif file, gets some information and does navigation on it. I'm aware that it doesn't triggers any extra failure against the actual tip (5a1bb8d4afd7) but it does if r72100 is undone (with some small rework :)). I'm

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Ned Deily
Ned Deily added the comment: Works for me on another unix-y system. I don't see any reason in configure.in or Makefile.pre.in why this shouldn't work assuming "make" is working as expected. What version of "make" are you using? -- nosy: +ned.deily __

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Ned Deily
Ned Deily added the comment: Or possibly "install". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss added the comment: As it turns out I am using an older version of make on the machine that I was having trouble with. It seems we have made some bad assumptions about the configuration of our machines. It makes sense with other problems we have had on the other machines too. I am g

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Ned Deily
Changes by Ned Deily : -- resolution: fixed -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Brett Cannon
Brett Cannon added the comment: The problem with this request is it is practically unworkable. For instance, the missing __init__.py already exists as an ImportWarning. The circular import is a problem as Python would have to detect circular imports which is hard, else we would have a circula

[issue12584] win.protocol('WM_DELETE_WINDOW'...) still deletes window on OSX

2011-07-18 Thread Andy Wildenberg
New submission from Andy Wildenberg : This was originally posted on http://stackoverflow.com/questions/1800452/how-to-intercept-wm-delete-window-on-osx-using-tkinter but seems not to have been reported as a bug. On OS X (10.6.8, python 2.6.1) register a protocol on 'WM_DELETE_WINDOW'. Your c

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
Ram Rachum added the comment: What's the problem with detecting circular imports? Mind you that we only need a post-mortem analysis to check why the import failed; so after the import failed, we could check whether our import stack has a loop in it. I'm not familiar with the ImportWarning reg

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-18 Thread Philip Horger
Philip Horger added the comment: I'm having trouble replicating the issue in simpler code snippets than the project code the issue first popped up in, which means the problem is probably my own code. For now, it looks like this was a false alarm, and I'm sorry for wasting anyone's time. I normal

[issue12521] IDLE 3.2 crashes on Mac OS 10.6 with ActiveState Tcl/Tk 8.5

2011-07-18 Thread Ned Deily
Ned Deily added the comment: Since there has been no response, I am closing this. Please re-open if you can still reproduce the crash and, if so, supply the requested information so we can investigate further. -- resolution: -> works for me stage: test needed -> committed/rejected s

[issue12584] win.protocol('WM_DELETE_WINDOW'...) still deletes window on OSX

2011-07-18 Thread Ned Deily
Ned Deily added the comment: Works for me using the Pythons installed from the python.org 2.6.6 or 2.7.2 installer and with the current ActiveState Tcl/Tk 8.4 (for 2.6.6) and 8.5 (for 2.7.2) releases installed. Chances are this was a bug in the Apple-supplied Cocoa Tcl/Tk 8.5 released with O

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Not a problem. I am closing this, but if you find enough evidence that something is a bug, feel free to reopen this or another report. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-18 Thread Senthil Kumaran
Changes by Senthil Kumaran : Removed file: http://bugs.python.org/file22690/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12570] BaseHTTPServer.shutdown() locks if the last request 404'd

2011-07-18 Thread Philip Horger
Philip Horger added the comment: Thanks, sounds good to me too. I'll probably work on it a bit later, see if I can find the bug in my own code at least. On Mon, Jul 18, 2011 at 3:23 PM, Senthil Kumaran wrote: > > Changes by Senthil Kumaran : > > > Removed file: http://bugs.python.org/file22690

Re: [issue11343] Make errors due to full parser stack identifiable

2011-07-18 Thread Senthil Kumaran
Oh, I thought we never rely on exception "message" for anything important. However this seems to be an exception for that exception. :-) ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mai

[issue6476] MSVCRT's spawnve/spawnvpe are not thread safe

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3fa7581f6d46 by Antoine Pitrou in branch '2.7': Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows. http://hg.python.org/cpython/rev/3fa7581f6d46 New changeset a01ba3c32a4b by Antoine Pitrou in branch '3.2': Iss

Re: [issue12479] Add HTTPErrorProcessor class definition

2011-07-18 Thread Senthil Kumaran
On Mon, Jul 18, 2011 at 02:07:42PM +, Éric Araujo wrote: > I’d put the class definition just before the methods. (I would even > refactor the reST to use nested class/method combo... This is a good suggestion. It would good to do some point in time soon. Thanks! __

[issue6476] MSVCRT's spawnve/spawnvpe are not thread safe

2011-07-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've made the necessary doc changes. I leave it open because I'm not sure what to do with the bugfix request (I agree with the general suggestion to use subprocess instead, though). -- nosy: +pitrou versions: +Python 3.3 -Python 2.6, Python 3.1 _

[issue11343] Make errors due to full parser stack identifiable

2011-07-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Oh, I thought we never rely on exception "message" for anything > important. However this seems to be an exception for that exception. > :-) I think you're missing the point. People usually don't catch SyntaxError and run fallback code in this case. And even

[issue12577] Misleading shutil.move docs regarding when os.rename is used

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62048a6eb43c by Senthil Kumaran in branch '3.2': Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob http://hg.python.org/cpython/rev/62048a6eb43c New changeset 912b97ee40a7 by Senthil Kumaran in branch 'de

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: Patch the _curses module to improve Unicode support: - add an encoding attribute to a window (only visible in C): read the locale encoding - encode a character and a character string to the window encoding if the ncursesw library is NOT used - addch(), add

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: Using curses_unicode.patch: - without ncursesw: addch('é') raises an OverflowError because 'é'.encode('UTF-8') is 2 bytes and not 1 byte - with ncursesw: the charset is displayable character depends on the locale encoding (e.g. € cannot be printed with ISO-

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: See also #6755 (curses.get_wch). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2011-07-18 Thread STINNER Victor
STINNER Victor added the comment: > implicit declaration of function ‘wget_wch’ curses_unicode.patch of issue #12567 adds a HAVE_NCURSESW define to only use wide character functions if _curses is linked to libncursesw. This define can be used to fix this bug (use wget_ch whereas it is not av

[issue1221] email.Utils.parseaddr("a(WRONG)@b")

2011-07-18 Thread R. David Murray
Changes by R. David Murray : -- Removed message: http://bugs.python.org/msg59741 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1221] email.Utils.parseaddr("a(WRONG)@b")

2011-07-18 Thread R. David Murray
R. David Murray added the comment: Woops, hit a button wrong and managed to delete a message. It just said: See Issue1025395 -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue12543] `issubclass(collections.deque, collections.Sequence) == False`

2011-07-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Éric, this is not a doc bug. The sequence ABCs do not require slicing support. -- ___ Python tracker ___ __

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset c4d884d5d86c by R David Murray in branch '2.7': #7484: no more <> around addresses in VRFY or EXPN http://hg.python.org/cpython/rev/c4d884d5d86c New changeset f8c4ac9aa9e2 by R David Murray in branch '3.2': #7484: no more <> around addresses in VRF

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50b6c3053c30 by R David Murray in branch 'default': #7484: simplify quoteaddr: if parseaddr throws an error it is a bug. http://hg.python.org/cpython/rev/50b6c3053c30 -- ___ Python tracker

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread R. David Murray
R. David Murray added the comment: Thank you both for your work on this. The patch I committed is a combination of my _addr_only, Filipe's tests, and Catalin's modifications to those tests. quoteaddr, although in the __all__, is not documented and is really an implementation detail, as is t

[issue11343] Make errors due to full parser stack identifiable

2011-07-18 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, at the level of *code* the origin doesn't really matter, so re-using the exception type is actually OK. However, for *people* seeing the stack trace, it may be useful to know what's genuinely illegal syntax and what's a limitation of the current implement

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Felipe Cruz
Felipe Cruz added the comment: You're very kind David. Hope I can contribute with something more relevant next time :) best regards, Felipe 2011/7/18 R. David Murray > > R. David Murray added the comment: > > Thank you both for your work on this. The patch I committed is a > combination o

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread R. David Murray
R. David Murray added the comment: Don't short change yourself. This bug would still be open if it hadn't been for your work, regardless of how much of it wound up in the final patch :) -- versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tr

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Eli Bendersky added the comment: > > Therefore, I propose to change this error message to: > > "unicode argument expected, got '%s'" > > as Terry suggested. > > > > Sounds good to me. > Terry, what are your thoughts? Can I commit the fix? -- Added file: http://bugs.python.org/file226

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22687/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22694/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, that would be great. It is better than my initial suggestion. -- ___ Python tracker ___ ___ Py

  1   2   >