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

2011-07-18 Thread Matt Joiner
Matt Joiner anacro...@gmail.com 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 n...@acm.org 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 anacro...@gmail.com 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 victor.stin...@haypocalc.com 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

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I reopen the issue. -- resolution: fixed - accepted status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12133

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (Oh, I missed Antoine's comment, yes, reopen a new issue) -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12133

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

2011-07-18 Thread Catalin Iacob
Catalin Iacob iacobcata...@gmail.com added the comment: Senthil's proposal in msg140543 has +1 from me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12577 ___

[issue12133] ResourceWarning in urllib.request

2011-07-18 Thread Ugra Dániel
Ugra Dániel daniel.u...@gmail.com added the comment: Sorry, I've forgotten to post a reference to the new bug: #12576 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12133 ___

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 sor...@gmail.com: -- nosy: +davide.rizzo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12576 ___ ___ Python-bugs-list

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-07-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org http://bugs.python.org/issue5505

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

2011-07-18 Thread Steve Hill
Steve Hill python.20.hi...@spamgourmet.com 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

[issue12581] Increased test coverage of test_urlparse

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue12581] Increased test coverage of test_urlparse

2011-07-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12581 ___ ___ Python-bugs-list

[issue12167] test_packaging reference leak

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
New submission from Paul Weiss psw...@gmail.com: 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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 psw...@gmail.com 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

[issue12479] Add HTTPErrorProcessor class definition

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Also, are you using a linux3 kernel? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12582 ___

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss psw...@gmail.com added the comment: No, Redhat's 2.6.9. Could that be the issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12582 ___

[issue12576] urlib.request fails to open some sites

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12576 ___ ___ Python-bugs-list

[issue11468] Improve unittest basic example in the doc

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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

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

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks. The Imprudence bug seems to confirm this is not a distutils bug. -- assignee: - eric.araujo status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12533

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

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue12572] HP/UX compiler workarounds

2011-07-18 Thread Jim Schneider
Jim Schneider jim.schnei...@dataflux.com 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

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Doug Hellmann
Doug Hellmann doug.hellm...@gmail.com 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

[issue1170] shlex have problems with parsing unicode

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

[issue1170] shlex have problems with parsing unicode

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-07-18 Thread Chris Lambacher
Chris Lambacher ch...@kateandchris.net 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: No. We know we have some issues with platform stuff on linux3 kernels, though, which why I asked. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12582

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

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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.

[issue12531] documentation index entries for * and **

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue12531] documentation index entries for * and **

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +ericsnow, terry.reedy versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12531 ___

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

2011-07-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12559 ___ ___ Python-bugs-list

[issue12560] libpython.so not built on OpenBSD

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

[issue8668] Packaging: add a 'develop' command

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue9723] Add shlex.quote

2011-07-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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 ericsnowcurren...@gmail.com: -- nosy: +ericsnow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1284670 ___ ___

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Daniel Stutzbach
Daniel Stutzbach stutzb...@google.com added the comment: On Sat, Jul 16, 2011 at 2:04 AM, Eli Bendersky rep...@bugs.python.orgwrote: Therefore, I propose to change this error message to: unicode argument expected, got '%s' as Terry suggested. Sounds good to me. -- Added file:

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

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[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 neolo...@free.fr 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 neolo...@free.fr added the comment: So, what do we do now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12372 ___ ___

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

2011-07-18 Thread Chris Lambacher
Chris Lambacher ch...@kateandchris.net 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

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

2011-07-18 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr 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

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

2011-07-18 Thread Chris Lambacher
Chris Lambacher ch...@kateandchris.net 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

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

2011-07-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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:

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue12531] documentation index entries for * and **

2011-07-18 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss psw...@gmail.com 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

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
New submission from Ram Rachum cool...@cool-rr.com: 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

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Brian Curtin
Brian Curtin br...@python.org 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.

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com added the comment: As long as those attributes are reflected in the string in human language, why not. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12583

[issue12582] lib-dynload missing in python install

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

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

2011-07-18 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Ned Deily
Ned Deily n...@acm.org 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 n...@acm.org added the comment: Or possibly install. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12582 ___ ___ Python-bugs-list

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Paul Weiss
Paul Weiss psw...@gmail.com 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

[issue12582] lib-dynload missing in python install

2011-07-18 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: fixed - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12582 ___

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-07-18 Thread Andy Wildenberg
New submission from Andy Wildenberg andy.wildenb...@gmail.com: 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

[issue12583] More detailed `ImportError` messages

2011-07-18 Thread Ram Rachum
Ram Rachum cool...@cool-rr.com 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

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

2011-07-18 Thread Philip Horger
Philip Horger campadrena...@gmail.com 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

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

2011-07-18 Thread Ned Deily
Ned Deily n...@acm.org 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 -

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

2011-07-18 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2011-07-18 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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 sent...@uthcode.com: Removed file: http://bugs.python.org/file22690/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12570 ___

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

2011-07-18 Thread Philip Horger
Philip Horger campadrena...@gmail.com 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 rep...@bugs.python.orgwrote: Changes by Senthil Kumaran

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:

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

2011-07-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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 pit...@free.fr 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,

[issue11343] Make errors due to full parser stack identifiable

2011-07-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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.

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

2011-07-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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.

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

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #6755 (curses.get_wch). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12567 ___

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

2011-07-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-07-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- Removed message: http://bugs.python.org/msg59741 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1221 ___

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

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org/issue1221

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

2011-07-18 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Éric, this is not a doc bug. The sequence ABCs do not require slicing support. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12543

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 --

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue11343] Make errors due to full parser stack identifiable

2011-07-18 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread Felipe Cruz
Felipe Cruz felipec...@loogica.net 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 rep...@bugs.python.org R. David Murray rdmur...@bitdance.com added the comment: Thank you both for

[issue7484] smtplib: verify breaks with Postfix servers

2011-07-18 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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:

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Removed file: http://bugs.python.org/file22687/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12434 ___

[issue12434] Strengthen 2.7 io types warning

2011-07-18 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Removed file: http://bugs.python.org/file22694/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12434 ___