Georg Brandl ge...@python.org added the comment:
Well, I can't see a problem with it. Backported in r86706, r86707.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10508
New submission from Georg Brandl ge...@python.org:
On the python-docs mailing list, a user suggested to rewrite the first
paragraph of the heapq docs like this. Are you okay with this change, Raymond?
Heaps are trees for which every parent node has a value less than or equal to
any of its
Martin v. Löwis mar...@v.loewis.de added the comment:
Why exactly are you skeptical? Because it doesn't fix everything in
one go? The other changes are also minimal (I'm not even sure if it
requires more source changes, maybe I have just to get my #defines
right). If you prefer to see a
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
That looks fine. Perhaps s/trees/binary trees
--
assignee: rhettinger - georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10511
Georg Brandl ge...@python.org added the comment:
Great! Applied in r86708.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10511
___
Johann Hanne pyt...@jf.hanne.name added the comment:
Well... ok. Although I already regard the patch as a strict bugfix (it fixes
compilation of some C modules on MinGW), I'll go forward and create a patch for
Python 3.2 which fixes compilation of all C modules on MinGW (all which are
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Martin, you are splitting hairs about the reported problem. The original
message does have a paragraph about the executable bits being wrong. But the
bulk of the message is commenting about the difficulty of figuring out what to
New submission from Nadeem Vawda nadeem.va...@gmail.com:
When running make test on Python3, test_socket reports a number of
ResourceWarnings due to unclosed sockets. Attached is a patch that changes the
relevant tests so that they close all the created sockets.
test_multiprocessing and
Éric Araujo mer...@netwok.org added the comment:
Thank you for the report. This is how I understand the part of the spec you
quoted: Strictly valid HTTP uses CRLF, but servers and clients should be
liberal in what they accept and deal with LF too. Senthil, do you agree with
that?
There are
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +loewis
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10500
___
___
Martin v. Löwis mar...@v.loewis.de added the comment:
What file specifically did you download?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10500
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
But a strict bugfix should fix something. Is there something that did not
work before, and will work after this patch? IOW, how do you compile
posixmodule.c with MinGW and does it produce a working module?
Now, I *am* interested in a
New submission from Anders Blomdell anders.blomd...@control.lth.se:
With version 2.7 (and 2.7.1rc1), the following sequence (see attached test):
c = cursor.execute(' select k from t where k == ?;', (1,))
conn.commit()
r = c.fetchone()
Traceback (most recent call last):
File
Changes by Alexander Solovyov pira...@piranha.org.ua:
--
nosy: +asolovyov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10499
___
___
New submission from Keith Meyer meyer.ke...@gmail.com:
When running configure on AIX 5.3 using:
OPT=-O2 LDFLAGS=-s ./configure --with-gcc=xlc_r -q64 --with-cxx-main=xlC_r
-q64 --disable-ipv6 AR=ar -X64
The Makefile still contains g++ as the CXX compiler to be used.
--
components:
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Wed, Nov 17, 2010 at 5:20 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
-/* Encodes a Unicode object and returns the
Marc-Andre Lemburg m...@egenix.com added the comment:
R. David Murray wrote:
R. David Murray rdmur...@bitdance.com added the comment:
I had a report from a user on IRC during the bug weekend that they could not
reproduce the failure on windows. So it may be dependent on the windows
Changes by Eric Smith e...@trueblade.com:
--
stage: unit test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7094
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Marc-Andre Lemburg wrote:
Marc-Andre Lemburg m...@egenix.com added the comment:
R. David Murray wrote:
R. David Murray rdmur...@bitdance.com added the comment:
I had a report from a user on IRC during the bug weekend that they could
Jerzy Kozera jerzy.koz...@gmail.com added the comment:
Running
gcc -Wl,-R/usr/local/lib,-R/usr/lib -o python Python/pymath.o Modules/python.o
libpython2.7.a -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm
mv build/lib.solaris-2.8-sun4u-2.7/math_failed.so
Chris Lambacher ch...@kateandchris.net added the comment:
I don't think we *need* to have the encoding in the HTML calendar, but I doubt
we could remove it at this point, deprecate maybe, but since I don't use the
module I don't have a sense for how often the need for encoding comes up.
The
Brian Jones bkjo...@gmail.com added the comment:
In truth, I don't personally know if the other PyPI server implementations also
have to work around this issue. Other comments on that are welcome.
As for my own implementation, I've implemented a workaround to this, but I'm
working around and
Steve Moran s...@uw.edu added the comment:
Forgive me if this is just a stupid oversight.
I'm a linguist and use UTF-8 for special characters for linguistics data.
This often includes multi-byte Unicode character sequences that are composed as
one grapheme. For example the í̵ (if it's
Phillip M. Feldman phillip.m.feld...@gmail.com added the comment:
I would like to unsubscribe from this thread, but haven't been able to
figure out how to do it.
Phillip
On Mon, Nov 22, 2010 at 11:50 PM, Georg Brandl rep...@bugs.python.orgwrote:
Georg Brandl ge...@python.org added the
Changes by Brian Curtin cur...@acm.org:
--
nosy: -phillip.m.feld...@gmail.com
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1859
___
___
Senthil Kumaran orsent...@gmail.com added the comment:
I think, it is better that distutils.command.register and
distutils.command.upload use CRLF as the line terminator for header
values.
It just helps in many cases, we can safely side by this case, but not
relying LR or CR only may not be
Matthias Klose d...@debian.org added the comment:
looks good. checked with a plain and a debug build and installation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9807
___
R. David Murray rdmur...@bitdance.com added the comment:
Please don't change the type, this issue is about the feature request of adding
this regex engine to the stdlib.
I'm sure Matthew will get back to you about your question.
--
type: behavior - feature request
Ned Deily n...@acm.org added the comment:
Also fails with 3.2 as in 2.7 and works in 3.1 as in 2.6.
--
nosy: +ghaering, ned.deily
stage: - needs patch
type: crash - behavior
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
New submission from Martin Budaj m.bu...@gmail.com:
The method Sniffer._guess_quote_and_delimiter() in the module csv.py contains a
bug in a regexp which checks for quotes around the last item of the line
(example: a,b,c,d\n).
the pattern
'(?Pdelim[^\w\n\'])(?Pspace
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
issue2636-20101123.zip is a new version of the regex module.
Oops, sorry, the weird behaviour of msg11 was a bug. :-(
--
Added file: http://bugs.python.org/file19786/issue2636-20101123.zip
Doug Shea doug.s...@gmail.com added the comment:
It's actually not quite a solution, either. Working your changes into the build
process, I *do* get a math module... but it does *not* have a round function.
python
Python 2.7 (r27, Nov 23 2010, 11:54:39)
[GCC 3.3.2] on sunos5
Type help,
Ned Deily n...@acm.org added the comment:
Thanks for the report. It would be helpful if you could supply a patch
including a unit test for this against 3.2 and/or 2.7. Note only security
issues are accepted for 2.6.
--
nosy: +ned.deily
stage: - unit test needed
versions: +Python 3.2
Savio Sena savio.s...@acm.org added the comment:
Attaching a more concise patch, as requested by georg.brandl.
--
Added file: http://bugs.python.org/file19787/issue1745035-101123-saviosena.diff
___
Python tracker rep...@bugs.python.org
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I think data_size_limit and command_size_limit should be class attributes
instead of instance attributes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745035
Dave Malcolm dmalc...@redhat.com added the comment:
If this a work in progress, you could create an SVN branch in the
sandbox (you can then use svnmerge to avoid diverging too much from
mainline) or an hg repo.
Good idea; I've created branch dmalcolm-ast-optimization-branch (of
py3k) on
Mark Dickinson dicki...@gmail.com added the comment:
I *do* get a math module... but it does *not* have a round function.
Not a problem: the math module isn't supposed to have a round function. :-)
The round function is used as part of the calculations that produce the gamma
function. So
Savio Sena savio.s...@acm.org added the comment:
Previous patch was incorrect. I'm attaching another one, I'm really sorry.
@giampaolo, about making the limits class attributes, it's not a good idea
IMHO. According to RFC1869 command sizes can change depending on which Service
Extensions are
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Attached is a patch that fixes the warnings in test_xmlrpc, along with some
other file- and socket-related warnings in test_normalization, test_timeout and
test_tk that only show up when regrtest is run with -uall.
The warning in
Dave Malcolm dmalc...@redhat.com added the comment:
py3k-ast-pyoptimize-2010-11-19-006.patch fixed up and committed to the branch
as r86715; I'll work on that branch for the time being.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I am reviewing this and making some edits to the patch. Will post this week.
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2001
Savio Sena savio.s...@acm.org added the comment:
size_limits are not class attributes instead of instance attributes, as
suggested by giampaolo.rodola.
--
Added file: http://bugs.python.org/file19790/issue1745035-101123-saviosena.diff
___
Python
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Hmm why you dont use LDFLAGS ?
It is well documented what to expect during configuration and build phase.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
Removed file: http://bugs.python.org/file19785/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1859
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
AFAICT patch looks ok to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745035
___
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
textwrap_2010-11-23.diff is my attempt to provide a fix, if it's wanted/needed.
--
Added file: http://bugs.python.org/file19791/textwrap_2010-11-23.diff
___
Python tracker
Stefan Krah stefan-use...@bytereef.org added the comment:
Since I was the one who reopened this: The issues I found were fixed in
r85358 and #9047 seems to be ok now. Setting to pending.
--
resolution: - fixed
stage: - committed/rejected
status: open - pending
Changes by Georg Brandl ge...@python.org:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745035
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
Doc patch applied to 3.2, 3.1, 2.7 in r86717, r86718, r86719
Jeremy Thurgood added to 3.2 Misc/ACKS in r86720.
(I know, I should have added this first before committing.)
I am leaving this open for a possible behavior patch.
Mathew: look at
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1859
___
___
Python-bugs-list
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nvawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1508475
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
The Rietveld issue is here:
http://codereview.appspot.com/3269041
I ended up loading my incremental patches in, but it's easy enough to
diff the base with the last patch. If for some reasons it doesn't
work as conveniently as I expect, let
Tom Lynn tl...@users.sourceforge.net added the comment:
I've also been attempting to look into this and came up with an almost
identical patch, which is promising:
https://bitbucket.org/tlynn/issue1859/diff/textwrap.py?diff2=041c9deb90a2diff1=f2c093077fbf
I missed the wordsep_simple_re though.
Antoine Pitrou pit...@free.fr added the comment:
I ended up loading my incremental patches in, but it's easy enough to
diff the base with the last patch. If for some reasons it doesn't
work as conveniently as I expect, let me know and I will upload it to
Rietveld again as one big patch.
Daniel Stutzbach stutzb...@google.com added the comment:
Antoine Pitrou wrote:
Next time, please upload a single patch. Really.
I haven't used Rietveld that much yet, and I'm still learning best-practices.
I apologize for the painful experience.
For anyone else planning to take a look at
Daniel Stutzbach stutzb...@google.com added the comment:
Antoine,
My original patch was much more focused, but had a slightly larger performance
penalty for sorting random keys (see http://bugs.python.org/msg122178). Do you
think the performance tradeoff there was still worthwhile?
Ihave
Antoine Pitrou pit...@free.fr added the comment:
My original patch was much more focused, but had a slightly larger
performance penalty for sorting random keys (see
http://bugs.python.org/msg122178). Do you think the performance
tradeoff there was still worthwhile?
I am not objecting
New submission from Terry J. Reedy tjre...@udel.edu:
Add list.clear() method with obvious semantics.
Pro:
1. parallel to set/dict/defaultdict/deque.clear(),
usable in generic mutable collection function;
2. makes it easier to switch between list and other collection class;
3. current
Eric Smith e...@trueblade.com added the comment:
Guido's email is archived at:
http://mail.python.org/pipermail/python-ideas/2010-November/008732.html
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10516
demarcus pyt...@dmarkphotography.com added the comment:
Had this issue.. figured out what's causing it... definitively.
I had an earlier version of python installed, and I created a pythonhome user
variable: c:\python24.
I'm now using Python 2.5, and that old variable was:
1.) Keeping me from
New submission from Łukasz Langa luk...@langa.pl:
py3k built from trunk on Centos 5.5 freezes during regrtest on
test_concurrent_futures with Fatal Python error: Invalid thread state for this
thread.
A set of hopefully useful diagnostic logs attached as patch.
--
assignee: bquinlan
Łukasz Langa luk...@langa.pl added the comment:
A colorful example: http://bpaste.net/show/11493/
(just in case if downloading and extracting logs is not feasible)
Some clarification: as in a typical concurrent problem, subsequent calls freeze
in different test cases, but the freeze itself is
Changes by Andrew McNamara andr...@object-craft.com.au:
--
nosy: +andrewmcnamara
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10515
___
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3061
___
___
Python-bugs-list mailing list
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Guido approved these both in a thread earlier this year.
The reasoning for copy() was the same as for clear(), some folks couldn't cope
with:
b = a[:]
--
nosy: +rhettinger
title: Add list.clear() - Add
Jesús Cea Avión j...@jcea.es added the comment:
I have spend the afternoon doing bisection on the buildslave. The problem was
introduced in r73043:
r73043 | martin.v.loewis | 2009-05-30 08:13:40 +0200 (Sat, 30 May 2009)
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Took a little more time to do a little more analysis on this one. Compared a
sample query via Apache on Linux vs http.server, then looked up the CGI RFC for
more info:
DOCUMENT_ROOT: ...
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT:
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Here is a replacement for the body of is_cgi that will work with the current
_url_collapse_path_split function, but it seems to me that it is ineffecient to
do multiple splits and joins of the path between the two functions.
MunSic JEONG rus...@gmail.com added the comment:
On OSX, _locale.setlocale raise locale.Error with arg 'UTF8' but ok with
'UTF-8'. and setlocale tries to normalize localename with locale.normalize().
and locale.normalize() always change encoding to 'UTF8' (locale.py:646).
So changes in
Ismail Donmez ism...@namtrac.org added the comment:
Problem seems to be in _ctypes_test.c . If you compile _ctypes_test.c with gcc
problems disappears.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9852
Ray.Allen ysj@gmail.com added the comment:
Could you give an example code which can reproduce this issue?
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10037
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Martin, could you check it? Thanks!.
Not in the foreseeable future, sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10493
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
assignee: loewis -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10493
___
___
Python-bugs-list
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
So I've experimented a bit, and it looks like simply exposing ._readerthread as
an external API would handle the buffered case for stdout or stderr. For
http.server CGI scripts, I think it is fine to buffer stderr, as it should not
be
MunSic JEONG rus...@gmail.com added the comment:
r38027 has following changes.
-'utf-8':'UTF-8',
+'utf_8':'UTF8',
subversion log is:
Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib
doesn't seem to like
75 matches
Mail list logo