Paul Arnold p...@barfoo.net added the comment:
It will apply to 3.2 also, checking in SVN there have been no changes to
xdrlib.py for a couple of years.
The documentation makes no mention of the need to encode strings.
--
___
Python tracker
Changes by Stefan Behnel sco...@users.sourceforge.net:
--
nosy: -scoder
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4617
___
___
Éric Araujo mer...@netwok.org added the comment:
Hm, doing user interaction in finalize_options seems strange to me, but if we
do it in run only other commands (upload_docs in d2) would not be able to get
the options (although I’m not sure at all, since the index commands have
strange
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils2 -Distutils
stage: - needs patch
versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5187
New submission from Senthil Kumaran orsent...@gmail.com:
As a fix for issue9396 in r83874, functools was included in re module and this
caused a build failure.
This was reverted in r83875, with the following message by Raymond:
The problem is that the re module is imported by sysconfig
and re
Alex Robinson alex_python_...@tranzoa.com added the comment:
Here go, Terry. Copies of the two files in the latest ZIP file.
Hmmm. Well. Maybe just one of 'em. Looks like the only way to upload files is
to add a msg, so I'll upload the other file in another msg.
--
Added file:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
no, distutils is feature frozen
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5187
___
___
Alex Robinson alex_python_...@tranzoa.com added the comment:
OK, here's the other.
--
Added file: http://bugs.python.org/file18452/test_wave.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4913
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed in revision 83876.
The reverted commit r83875 is re-applied in r83877.
--
assignee: - orsenthil
components: +Build
nosy: +rhettinger
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
Thanks for the report and for figuring out what was the cause!
Indeed the view added after the del shouldn't be there, so I will remove it.
It would also be great if you could provide a minimal script to reproduce the
problem so that it can
Martin gzl...@googlemail.com added the comment:
spiv wrote a script to repo the issue in the downstream ubuntu bug:
https://bugs.launchpad.net/python/+bug/615240
--
nosy: +gz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9543
Andrew Bennetts s...@users.sourceforge.net added the comment:
I have a reproduction script on the Ubuntu bug report I just filed for this
issue: https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/615240
Pasting here for convenience:
import socket
import threading
sock_a, sock_b =
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
You wan't to have the Semaphore with a max count of infinite because
a) of the race condition mentioned (actually, possible discrepancy between
n_waiting and actual semaphore value), which can cause the semaphore count to
Pablo Bitton pablo.bit...@gmail.com added the comment:
I've been using the subprocess-timeout-v5.patch patch with 2.x. Isn't that
version supposed to work with 2.x?
Other than the stated problem, the patched module generally works, and is very
helpful.
--
Changes by Tim Golden m...@timgolden.me.uk:
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5673
___
___
Python-bugs-list
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed the doc string for release27-maint in revision r83879.
py3k (r83880) and release31-maint in r83881.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
type: feature request - behavior
Éric Araujo mer...@netwok.org added the comment:
Is there documentation somewhere that would explain what file to produce with
what markup?
--
assignee: loewis - tarek
nosy: +merwok, tarek
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Reverted since it broke the buildbots.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9545
___
Andrew Bennetts s...@users.sourceforge.net added the comment:
On 2010-05-17 rhettinger wrote:
Will look at this when I get back to the U.S.
Ping! This patch (set-difference-speedup-2.diff) has been sitting around for a
fair few weeks now. It's a small patch, so it should be relatively easy
Steve Holden st...@holdenweb.com added the comment:
Personally I think it's just as relevant as it always was, particularly with
the introduction of importlib, but Brett will have a more informed opinion. I
won't be surprised if this issue is closed as wontfix.
--
Senthil Kumaran orsent...@gmail.com added the comment:
This is the message from the buildbot failure:
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
Usually, copying Modules/Setup.dist to Modules/Setup will work.
Andrew Bennetts s...@users.sourceforge.net added the comment:
Chatting with Taggnostr on IRC I've trimmed that reproduction down to something
much cleaner (no magic numbers or threads involved):
import socket
sock_a, sock_b = socket.socketpair()
sock_a = socket.socket(_sock=sock_a)
New submission from Florent Xicluna florent.xicl...@gmail.com:
When the buildbot fails to compile, the clean step is not run.
http://www.python.org/dev/buildbot/builders/i386%20Ubuntu%203.x/builds/1838/
This is a problem for issue #9545 where the Modules/Setup.dist cannot be copied
to
Florent Xicluna florent.xicl...@gmail.com added the comment:
See report on issue #9546: the clean step should remove Modules/Setup, but
it is skipped.
--
dependencies: +buildbot: if a compile error occurs, the clean step is skipped
nosy: +flox
___
Fred L. Drake, Jr. fdr...@acm.org added the comment:
Patch committed on py3k branch in r83889.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9452
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9546
___
___
Benjamin Peterson benja...@python.org added the comment:
We don't need this. We have tokenize.detect_encoding().
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3592
Benjamin Peterson benja...@python.org added the comment:
r83890 no longer produces the extra argument in help().
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6678
Łukasz Langa luk...@langa.pl added the comment:
Superseded by #6751 in terms of age. A new patch for the functionality is going
to be prepared.
--
nosy: +lukasz.langa
resolution: - duplicate
status: open - closed
superseder: - Default return value in ConfigParser
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
decompressobj is indeed enough. But if you are doing a lot of this
(decompressing chunks), then using the unused_data, as it is, involves a lot of
copying.
If there were a unused_data_pos or some equivalent, then it would be
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8685
___
___
Python-bugs-list
Brian Curtin cur...@acm.org added the comment:
I've been using the subprocess-timeout-v5.patch patch with 2.x. Isn't that
version supposed to work with 2.x?
Actually, yes, so I was wrong at first. The v5 patch will work with 2.x, but
that's not the most up to date or correct patch. This
Florent Xicluna florent.xicl...@gmail.com added the comment:
Out of date.
--
nosy: +flox
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4726
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Andrew,
This issue is somewhat similar to issue8425. I may be reading too much into
the priority field, but it looks like Raymond would like to review #8425
first. You can help by commenting on how the two issues
Alex Quinn aq2...@alexquinn.org added the comment:
I am on Windows 7. I realized the echo command I'm piping to belongs to
Cygwin. I'll try to make a different example to either support this, or
otherwise close the bug.
Thanks!
--
___
Python
New submission from Alexandru Moșoi alexan...@mosoi.ro:
Sometimes it's useful to get the number of elements yield by an iterator. For
example (if ilen is the name of the function):
def pi(n):
return ilen(for e in xrange(n) if isprime(e))
def count_pred(pred, iterator):
return
Benjamin Peterson benja...@python.org added the comment:
Please post to python-ideas first.
--
nosy: +benjamin.peterson
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9547
Terry J. Reedy tjre...@udel.edu added the comment:
Benjamin: Previously, .currentframe() == sys._getframe() == sys._getframe(0)
but you redefined it as sys._getframe(1), which is a change in semantics. Is
this intentional (ie, was it buggy before)?
William: Benjamin's point was that the bug
Benjamin Peterson benja...@python.org added the comment:
2010/8/9 Terry J. Reedy rep...@bugs.python.org:
Terry J. Reedy tjre...@udel.edu added the comment:
Benjamin: Previously, .currentframe() == sys._getframe() == sys._getframe(0)
but you redefined it as sys._getframe(1), which is a
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in release27-maint branch in r83893. I am not sure this belongs in
2.6 and there is a small practical problem with the merge due to Latin-1
encoding used in the 2.6 version.
I am also not sure whether keeping
Antoine Pitrou pit...@free.fr added the comment:
This request, however legitimate, is completely outdated.
--
nosy: +pitrou
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1485576
Changes by Antoine Pitrou pit...@free.fr:
--
stage: unit test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue949667
___
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Any clue on where to start to do this?
What about Windows where fcntl is not available?
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue949667
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
components: +IO
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue949667
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Patch looks good to me.
--
assignee: - pitrou
nosy: +pitrou
resolution: - accepted
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7467
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1492240
___
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
What's the current status of this issue?
I think some of the problems raised at the time this was opened should have
been fixed in meantime, like checking for errors in handle_expt_event and
handle_connect_event (issue 2944).
The
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6550
___
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I'll be looking at it shortly. Py3.2 is still aways from release so there is
no hurry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8685
Changes by Jack Diederich jackd...@gmail.com:
--
nosy: +jackdied
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1673007
___
___
Python-bugs-list
Tim Golden m...@timgolden.me.uk added the comment:
There are at least two ways to do non-blocking file IO on Windows:
Overlapped I/O
I/O Completion ports
Don't know what's best here, but happy to see what might be achieved
if it was thought worth pursuing.
--
nosy: +tim.golden
Terry J. Reedy tjre...@udel.edu added the comment:
You ignored my question: why did you change the argument passed on to
sys._getframe?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6678
Benjamin Peterson benja...@python.org added the comment:
2010/8/9 Terry J. Reedy rep...@bugs.python.org:
Terry J. Reedy tjre...@udel.edu added the comment:
You ignored my question: why did you change the argument passed on to
sys._getframe?
Ah, so that the caller's frame is returned and
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
This has been rejected before. The core issue is that it is not a very useful
operation because it consumes the iterator.
Also, this isn't an operation worth optimizing because most iterators that do
something
Fred L. Drake, Jr. fdr...@acm.org added the comment:
The getters should all accept a `default` argument that's used when no value is
found in the configuration. If the default is given, that should be returned
(without conversion), instead of raising an exception.
This can be included in the
Terry J. Reedy tjre...@udel.edu added the comment:
At this point, I am sure that Barry would prefer leaving things alone for 2.6.
I am surprised that there are separate lists. I thought there was just one
which distributions grabbed when made.
I suppose that one could claim that someone who
Changes by Brian Curtin cur...@acm.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue949667
___
___
Python-bugs-list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Aug 9, 2010 at 2:16 PM, Terry J. Reedy rep...@bugs.python.org wrote:
..
I am surprised that there are separate lists. I thought there was just one
which distributions grabbed when made.
I don't think this is
Terry J. Reedy tjre...@udel.edu added the comment:
Antoine, do you disagree with Raymond or should we close this?
In any case, I believe this would delayed by the moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
No, I don't think so. My understanding is that PEP 3003 doesn't cover new
methods on builtin types. int.from_bytes and int.to_bytes are examples of new
methods that were
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3329
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue730473
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3353
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2921
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1634034
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2443
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8212
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
mike bayer mike...@zzzcomputing.com added the comment:
Yeah we are fine if I build the release2.7-maint branch.Also just noticed
that this bug prevents really basic things, like using urllib2 from a Pylons
application that's running in daemon mode. Pretty major, though unusual that
I
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1402289
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7951
Changes by Terry J. Reedy tjre...@udel.edu:
--
keywords: +after moratorium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6632
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
keywords: +after moratorium -patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1402289
___
___
Mark Dickinson dicki...@gmail.com added the comment:
In fact, PEP 3003 says explicitly, under Case-by-Case Exemptions:
New methods on built-ins
The case for adding a method to a built-in object can be made.
So I'm changing the version back to 3.2. Having said that, I'm still -0 on
Georg Brandl ge...@python.org added the comment:
Terry: due to the additional indirection by making currentframe() a separate
function, _getframe(0) would return the frame in currentframe().
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
This seems to be about reducing internal resource usage in a way that would be
mostly invisible to the normal user. A core surface feature request would have
to be put off to 3.3, but I do not see that as such.
--
type: feature
Terry J. Reedy tjre...@udel.edu added the comment:
Would whatever remains of this be deferred by the PEP3003 moratorium?
--
nosy: +terry.reedy
versions: -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5950
Eric Smith e...@trueblade.com added the comment:
I don't think it would be covered by the moratorium, since it's not a language
change. The change to make structseq derive from tuple was not subject to the
moratorium, for example.
--
___
Python
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
keywords: +after moratorium -patch
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
type: feature request - performance
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1479611
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this is covered by the PEP3003 3.2 change moratorium.
--
keywords: +after moratorium -patch
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
components: +Library (Lib) -Interpreter Core
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9269
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
This is definitely not covered by the language moratorium. Guido has requested
this change and it needs to go forward.
--
___
Python tracker rep...@bugs.python.org
New submission from Antoine Pitrou pit...@free.fr:
Consider the two following commands, from an SVN working copy:
$ ./python -c 'import heapq; print(heapq.heapify)'
built-in function heapify
$ cat | ./python -c 'import heapq; print(heapq.heapify)'
function heapify at 0x7f5d456025a0
In the
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Added file: http://bugs.python.org/file18453/issue665761-release27.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue665761
___
James purplei...@gmail.com added the comment:
I'd be writing a patch which would allow a programmer the option to explicitly
use/instantiate the library in a zero-based way. This way throughout their
particular program, the indexing of elements could be consistent. Not having
this causes you
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +lemburg, orsenthil, rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9548
___
___
Antoine Pitrou pit...@free.fr added the comment:
Attached patch fixes the issue by creating a separate _bootlocale module,
used at bootstrap, which doesn't import collections, functools and friends.
--
keywords: +patch
Added file: http://bugs.python.org/file18454/bootlocale.patch
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9548
___
___
Python-bugs-list
Thomas Heller thel...@ctypes.org added the comment:
Thomas, it seems this change doesn't work for py3k. Buildbots complain and my
working copy does as well.
Example:
http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%203.1/builds/990
I do not know why this happens. It works
New submission from Antoine Pitrou pit...@free.fr:
The use of sys.setdefaultencoding() has always been discouraged, and it has
become a no-op in py3k (the encoding is hard-wired to utf-8 and changing it
raises an error). It is time to remove this function entirely.
The state of
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9549
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Updated patch also replaces imports of locale in site.py (since it can be
imported early on startup).
--
Added file: http://bugs.python.org/file18455/bootlocale.patch
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file18454/bootlocale.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9548
___
Brian Curtin cur...@acm.org added the comment:
Attached is a patch using Ronald's suggestion to rework this as a switch
statement. Also included is a minor reworking that Paul noticed in
Lib/test/test_signal.py.
Added the people who responded to the python-dev checkin comments to the nosy
1 - 100 of 155 matches
Mail list logo