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
Barry A. Warsaw ba...@python.org added the comment:
Thanks Benjamin!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12417
___
___
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()?
+
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.
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
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.
--
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)
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):
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)
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
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12139
___
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
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
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
___
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
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
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
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
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12439
___
___
Python-bugs-list
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
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
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
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
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
É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
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
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
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
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
___
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
___
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 -
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.
--
É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
É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
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
Mark Dickinson dicki...@gmail.com added the comment:
Hadn't seen that. Interesting!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7117
___
___
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':
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
É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.
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
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
É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
É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
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':
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 :-)
--
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
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:
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12442
___
___
Python-bugs-list
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
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12442
___
___
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':
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
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Thanks for the link :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7117
___
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')
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.
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
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
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
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
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
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
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
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12444
___
___
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
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
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
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
___
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).
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
Changes by Thomas Barnet-Lamb tbarnetl...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12446
___
___
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
___
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
nosy: +haypo, lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12446
___
___
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
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
78 matches
Mail list logo