[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2011-06-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Marking the PEP 380 implementation as a dependency, as I expect it to be easier to update this patch to cope with those changes than it would be the other way around. -- dependencies: +PEP 380 reference implementation for 3.3

[issue12417] Inappropriate copyright on profile files

2011-06-29 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Thanks Benjamin! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12417 ___ ___

[issue12352] multiprocessing.Value() hangs

2011-06-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Nice work! I also think heap_gc_deadlock_lockless.diff is good, except for Victor's reservation: is it deliberate that you reversed the following two statements in _free_pending_blocks(), compared to the code in free()? +        

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Oh, the problem is that sigwait() behaviour changes after a fork: it is interrupted if an unexpected signal is received, but the signal handler is not called. It behaves correctly (the signal handler is called) without the fork.

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 00ca0c2c7bc0 by Victor Stinner in branch 'default': Issue #12303: run sig*wait*() tests in a subprocesss http://hg.python.org/cpython/rev/00ca0c2c7bc0 -- ___ Python tracker

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: But I think we could just remove this test The test pass on Linux and FreeBSD 6 using a subprocess. I commited my patch to replace fork() by subprocess, let's see how it works on buildbots. --

[issue12439] BaseHTTPServer's send_reponse adds extra \r\n when using HTTPMessage in input

2011-06-29 Thread Yoav Weiss
New submission from Yoav Weiss yoav.weiss...@gmail.com: I'm using BaseHTTPServer's send_response (from within a class that inherits BaseHTTPRequestHandler) with the following: self.send_response(response.code, response.headers) self.end_headers() self.wfile.write(content)

[issue7117] Backport py3k float repr to trunk

2011-06-29 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Wondered if you guys had heard of some recent advances in the state of the art in this field. I'm sure you have, but thought I'd link it here anywhere. Quote taken from this article (which links to relevant papers):

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-06-29 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Seen on AMD64 Snow Leopard 2 3.x buildbot: = ERROR: test_options (test.test_ssl.ContextTests)

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-06-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The OpenSSL version linked against is OpenSSL 0.9.8r 8 Feb 2011, but apparently the source headers are still those for an earlier version, hence the apparent failure (the headers don't have the necessary API). Bill, could you please upgrade the

[issue12139] Add CCC command support to ftplib

2011-06-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12139 ___

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 949e0c0f5a38 by Victor Stinner in branch '3.2': Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures http://hg.python.org/cpython/rev/949e0c0f5a38 New changeset 0172d40fdcd4 by Victor Stinner in branch

[issue12441] _GLOBAL_DEFAULT_TIMEOUT remains as an object() in HTTPConnection and the connection hangs

2011-06-29 Thread Juanjo Alvarez
New submission from Juanjo Alvarez juan...@gmail.com: I was testing a jsonrpc server using a small Python client. I noticed that sometimes when the RPC returned some long test, the response object returned by URLOpener.open(), in my case an HTTPResponse, would hang about 70% of the time when

[issue12441] _GLOBAL_DEFAULT_TIMEOUT remains as an object() in HTTPConnection and the connection hangs

2011-06-29 Thread Juanjo Alvarez
Juanjo Alvarez juan...@gmail.com added the comment: PS: This only happens to my on Windows XP, works perfectly under Linux. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12441 ___

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset af799df478c6 by Victor Stinner in branch 'default': Issue #12400: oops, remove debug code... http://hg.python.org/cpython/rev/af799df478c6 -- ___ Python tracker rep...@bugs.python.org

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 69e102bfed2b by Victor Stinner in branch '3.2': Issue #12400: remove unused variable http://hg.python.org/cpython/rev/69e102bfed2b New changeset 9d53612333c7 by Victor Stinner in branch 'default': (merge 3.2) Issue #12400: remove

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I will not backport the change in Python 2.7, because regrtest already captures stdout (but not in verbose mode), and it checks that the output is empty. -- ___ Python tracker

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 80c7d63325f6 by Victor Stinner in branch 'default': Issue #12400: fix test_faulthandler if regrtest captures sys.stderr http://hg.python.org/cpython/rev/80c7d63325f6 -- ___ Python tracker

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 74c6afbb524a by Victor Stinner in branch '3.2': Issue #12400: don't use sys.stderr in test_kqueue because it may be replaced by http://hg.python.org/cpython/rev/74c6afbb524a New changeset c0afc8d00c0a by Victor Stinner in branch

[issue12438] IDLE problem displaying warning message

2011-06-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The problem isn't with getpass, the problem is that getpass is generating a warning message on first call and idle isn't handling that correctly. Your suggested fix is probably correct. -- nosy: +r.david.murray, terry.reedy

[issue12439] BaseHTTPServer's send_reponse adds extra \r\n when using HTTPMessage in input

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

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 6c54c334ea7a by Victor Stinner in branch '3.2': Issue #12400: runtest() reuses the same io.StringIO instance for all calls http://hg.python.org/cpython/rev/6c54c334ea7a New changeset 8897c755633b by Victor Stinner in branch

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2d07b1b4466a by Victor Stinner in branch '3.2': Issue #12400: regrtest, force verbose mode to True with option -W http://hg.python.org/cpython/rev/2d07b1b4466a New changeset 561974b760eb by Victor Stinner in branch 'default': (merge

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d8ba59de860a by Victor Stinner in branch '3.2': Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore http://hg.python.org/cpython/rev/d8ba59de860a New changeset bb7c9308c846 by Victor Stinner in branch

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: First, I agree with others who say that RFCs are basically irrelevant for cookies. For Django we've discovered this in various ways e.g. issue 9824 - http://bugs.python.org/issue9824 - which has now been applied. We have also had to work

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: Same patch backported to python 2.7 branch -- Added file: http://bugs.python.org/file22514/issue2193_patch_python27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193

[issue12406] msi.py needs updating for Python 3.3

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Packaging has two wininst*.exe files that distutils has not. If the code already uses a glob, it should be fine; if it uses a fixed list, then we have to add an if block. -- ___ Python tracker

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hmm. I thought Antoine got rid of the output checking when he added -j support. Well, he was the one who did it, anyway, so there may be a change set you could backport to get rid of the output checking if you want to backport this to

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: Found a bug with patch - this supersedes old one. -- Added file: http://bugs.python.org/file22515/issue2193_patch_2_trunk.diff ___ Python tracker rep...@bugs.python.org

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: Same against Python 2.7 -- Added file: http://bugs.python.org/file22516/issue2193_patch_2_python27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Changes by Luke Plant l.plant...@cantab.net: Removed file: http://bugs.python.org/file22513/issue2193_patch_trunk.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Changes by Luke Plant l.plant...@cantab.net: Removed file: http://bugs.python.org/file22514/issue2193_patch_python27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193 ___

[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

2011-06-29 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: As Santosa said, this was discovered and fixed in 2.7 itself, surprised that you discovered it in any release Jon. If it was from a checkout, please update. -- resolution: - invalid stage: - committed/rejected status: open -

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread karl
karl karl+pythonb...@la-grange.net added the comment: @Luke did you have the opportunity to look at http://greenbytes.de/tech/webdav/rfc6265.html If there is something which doesn't match reality in that document that would be cool to have feedback about it. --

[issue10403] Use member consistently

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m not -1 on using “attributes” to denote methods, since they *are* and it’s not difficult to understand, and I’m not opposed either to using “attributes” to replace “members” (i.e. attributes that are not methods.) For those wanting to see

[issue11363] Curses - add missing functions to doc

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A typo slipped into the 3.2 commit: x``'\033[6;4H'`` In addition, I tried the example in my shell and got a bytes/str error; that’s probably another report. -- nosy: +eric.araujo status: closed - open

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset fdb98a7ef9be by Victor Stinner in branch '3.2': Issue #12400: Add missing import (os) to test_kqueue http://hg.python.org/cpython/rev/fdb98a7ef9be New changeset 37877d19c2c9 by Victor Stinner in branch 'default': (merge 3.2) Issue

[issue7117] Backport py3k float repr to trunk

2011-06-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Hadn't seen that. Interesting! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7117 ___ ___

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 7bd23115b6c4 by Victor Stinner in branch '3.2': Issue #12400: runtest() truncates the StringIO stream before a new test http://hg.python.org/cpython/rev/7bd23115b6c4 New changeset fc831c49216d by Victor Stinner in branch 'default':

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks for taking a crack at this. IMO the thing that needs to be fixed here is that receiving an invalid cookie makes it difficult to receive the valid cookies. I'd love to accept your patch, but silently ignore sounds like a bad

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: One more time, commit messages using the present tense are ambiguous: when you write “runtest() truncates the StringIO stream before a new test“, it’s not clear at all whether you describe the previous, incorrect behavior or the new, fixed one.

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: I had a quick look, and there are these relevant bits: There are two audiences for this specification: developers of cookie-generating servers and developers of cookie-consuming user agents. And: To maximize interoperability with user

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: One more time, commit messages using the present tense are ambiguous: when you write “runtest() truncates the StringIO stream before a new test“, it’s not clear at all whether you describe the previous, incorrect behavior or the

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It’s irrelevant, please provide unambiguous commit message. This was discussed two or three times already. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12400

[issue12425] gettext breaks on empty plural-forms value

2011-06-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: IIUC, this comes up with invalid po files, so this report is about graceful error handling, not strictly a bug. If https://bugzilla.redhat.com/attachment.cgi?id=489427 was applied, gettext would not fail anymore, but the invalid line would not

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset bc2f3fbda7e3 by Victor Stinner in branch '3.2': Issue #12400: test_zipimport_support doesn't restore original sys.stdout http://hg.python.org/cpython/rev/bc2f3fbda7e3 New changeset ff5abf93db80 by Victor Stinner in branch 'default':

[issue12406] msi.py needs updating for Python 3.3

2011-06-29 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Packaging has two wininst*.exe files that distutils has not. If the code already uses a glob, it should be fine; if it uses a fixed list, then we have to add an if block. Yes, it's using glob :-) --

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Eric is right. I don't see the patch when reading hg log output, or looking up revisions given by hg annotate. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12400

[issue12442] shutil.disk_usage()

2011-06-29 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: Patch in attachment adds a new disk_usage() function to shutil module which retrieves total, used and free disk space given a certain path plus the percentage usage. See original discussion on python-ideas ml:

[issue12442] shutil.disk_usage()

2011-06-29 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12442 ___ ___ Python-bugs-list

[issue12442] shutil.disk_usage()

2011-06-29 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Typo. It's: http://mail.python.org/pipermail/python-ideas/2011-June/010480.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12442

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Eric is right. I don't see the patch when reading hg log output I'm using hg log -p. or looking up revisions given by hg annotate. hg annotate doesn't display the changelog, only the commit number or hash, which option do you

[issue12442] shutil.disk_usage()

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12442 ___ ___

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 450209efe272 by Victor Stinner in branch '3.2': Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate() http://hg.python.org/cpython/rev/450209efe272 New changeset 3ce22f1b9540 by Victor Stinner in branch 'default':

[issue11363] Curses - add missing functions to doc

2011-06-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I think the same typo is also on default (since merged from 3.2): Ezio, do you want me to upload a patch or you'll fix it? Éric: I can see the tparm() example is failing, since tgetstr() is returning bytes while it expects a string: did you

[issue7117] Backport py3k float repr to trunk

2011-06-29 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Thanks for the link :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7117 ___

[issue12443] locale.setlocale(locale.LC_ALL, locale.getlocale()) fails for some locales

2011-06-29 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone invalid@example.invalid: Consider this transcript from OS X 10.6: import locale locale.getlocale() (None, None) locale.setlocale(locale.LC_ALL, _) 'C' locale.setlocale(locale.LC_ALL, 'en_US.UTF-8') 'en_US.UTF-8' locale.getlocale() ('en_US', 'UTF8')

[issue12443] locale.setlocale(locale.LC_ALL, locale.getlocale()) fails for some locales

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Good news: it's a duplicate and it's already fixed! See issues #10090 and #10154. The fix is part of Python 3.1.4 (released the 12th june 2011) and Python 2.7.2 (released the 12 june 2011), and will be part of Python 3.2.1.

[issue12443] locale.setlocale(locale.LC_ALL, locale.getlocale()) fails for some locales

2011-06-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (Python 2.6 only accepts security fixes, no more bug fixes. It's time to upgrade to 2.7!) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12443

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Eric is right. I don't see the patch when reading hg log output ... or when looking at the issue tracker. Yes, one can probably figure out the intent by looking at the whole patch but it's kind of rude to force people to do that. That's what the

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Peter Eisentraut
New submission from Peter Eisentraut pete...@gmx.net: It appears to be a pretty common mistake to think that the argument of str.strip/lstrip/rstrip is a substring rather than a set of characters. To allow a more clearer notation, it would be nice if these functions also accepted an argument

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2011-06-29 Thread John O'Connor
Changes by John O'Connor tehj...@gmail.com: -- nosy: +jcon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___ ___ Python-bugs-list mailing

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c7bed90e4f31 by Victor Stinner in branch 'default': Issue #12400: test_faulthandler now uses sys.__stderr__ http://hg.python.org/cpython/rev/c7bed90e4f31 -- ___ Python tracker

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: -1 on complicating the API. The purported problem isn't pervasive enough to warrant a change (I frequently teach python classes and do code reviews and rarely encounter this issue). Also, the proposed change isn't going to help

[issue2193] Cookie Colon Name Bug

2011-06-29 Thread Luke Plant
Luke Plant l.plant...@cantab.net added the comment: @ David Murray: Thanks for taking the time to look at this - can I trouble you to keep going and read my response? Thanks. You wrote: IMO the thing that needs to be fixed here is that receiving an invalid cookie makes it difficult to

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-06-29 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 6edb7c153105 by Victor Stinner in branch 'default': Issue #12400: test_cprofile now restores correctly the previous sys.stderr http://hg.python.org/cpython/rev/6edb7c153105 -- ___ Python

[issue12444] accept sets or collections for str.strip/lstrip/rstrip

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12444 ___ ___

[issue7846] Fnmatch cache is never cleared during usage

2011-06-29 Thread Tom Rini
Tom Rini tom.r...@gmail.com added the comment: Did a change later make this user-configurable? I've got some code here that now runs so slow as to be unusable because nothing is ever cached anymore. Thanks! -- nosy: +Tom.Rini ___ Python tracker

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2011-06-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9516 ___ ___ Python-bugs-list mailing

[issue12445] dict view values objects are missing tp_richcmp and tp_as_number

2011-06-29 Thread Julian
New submission from Julian julian+python@grayvines.com: dict view values() objects are missing tp_richcmp and tp_as_sequence, and the tests for those were incomplete, which means that on 2.7 and 3.2 (and on current head) viewvalues / values objects don't compare correctly. Without

[issue12445] dict view values objects are missing tp_richcmp and tp_as_number

2011-06-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, rhettinger stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12445 ___

[issue12172] IDLE crashes when I use F5 to run

2011-06-29 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I forgot that there was another issue with F5 using IDLE on OS X when linked to Cocoa Tcl/Tk 8.5, including ActiveState 8.5; see Issue11088. The fix for it was released in Python 2.7.2 and will be in the forthcoming Python 3.2.1 (as of rc2).

[issue12446] StreamReader Readlines

2011-06-29 Thread Thomas Barnet-Lamb
New submission from Thomas Barnet-Lamb tbarnetl...@gmail.com: It appears that StreamReader's readlines method behaves in a strange manner if the StreamReader has, in a previous read operation, decoded more characters than the user asked for; this happens when both the chars and size parameters

[issue12446] StreamReader Readlines

2011-06-29 Thread Thomas Barnet-Lamb
Changes by Thomas Barnet-Lamb tbarnetl...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12446 ___ ___

[issue12446] StreamReader Readlines behavior odd

2011-06-29 Thread Thomas Barnet-Lamb
Changes by Thomas Barnet-Lamb tbarnetl...@gmail.com: -- title: StreamReader Readlines - StreamReader Readlines behavior odd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12446 ___

[issue12446] StreamReader Readlines behavior odd

2011-06-29 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- nosy: +haypo, lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12446 ___ ___

[issue12447] ~True is not False

2011-06-29 Thread Matt Joiner
New submission from Matt Joiner anacro...@gmail.com: Given there is no ! operator in Python, I next tried ~ (despite that I'm after a logical not). This came as a surprise: bool(~True) True bool(~False) True bool(~~False) False ~True, ~~True, ~False, ~~False (-2, 1, -1, 0) Is there any

[issue12447] ~True is not False

2011-06-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Did you try the not operator? http://docs.python.org/reference/expressions.html#boolean-operations not True False not False True -- nosy: +amaury.forgeotdarc resolution: - invalid status: open - pending