harobed steph...@harobed.org added the comment:
Now I'm confused. Per the HTTP specification, GET requests don't have
a body, so Transfer-Encoding: chunked doesn't apply to them.
Are you sure you don't confuse with the response that the server
sends? In responses, Transfer-Encoding: chunked
harobed steph...@harobed.org added the comment:
But if the len information is available, why not return it?
I use HTTPConnection to simulate Apple Finder WebDAV client.
When this WebDAV client do PUT request, it transmit data in chunked encoding
mode and not set Content-Length HTTP field.
Do
Changes by Jelte pyt...@tjeb.nl:
--
nosy: +Tjebbe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
___
___
Python-bugs-list mailing list
Petri Lehtinen pe...@digip.org added the comment:
FWIW, I recall that I built 2.7 a while back with --prefix=/home/user/something
and it also failed to find zlib. Due to lack of time, I didn't debug it very
deeply then, though.
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
I can't reproduce. Victor?
Z:\defaultPCbuild\amd64\python_d.exe
Python 3.3a0 (default, Jun 8 2011, 17:49:13) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
import sys
sys.stdin.readline()
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think that this issue is a duplicate of the issue #11272: Python 3.2.1 has
been released recently and contains the fix. Can you try this version Fan?
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note: Python 3.2 has another regression related to the Windows console (issue
#11395), bug fixed in 3.2.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12337
sbt shibt...@gmail.com added the comment:
pipe_interruptible.patch is a patch to support to making poll() interruptible.
It applies on top of pipe_poll_2.patch.
I am not sure what the guarantees are for when KeyboardInterrupt will be raised.
I would have done it a bit differently if I knew a
New submission from sbt shibt...@gmail.com:
multiprocessing.util._eintr_retry is only used to wrap select.select, but it
fails to recalculate timeouts.
Also, it will never retry the function it wraps because of a missing import
errno.
I think it would be better to just implement the retrying
Éric Araujo mer...@netwok.org added the comment:
Nice to see my search didn't find this bug. ;)
Do you remember what search terms you tried?
I already committed a change to install packaging, but you may want to
revert that and commit the patch in this issue.
I honestly don’t know. Do we
Éric Araujo mer...@netwok.org added the comment:
Ah, this changes the situation. I suppose it’s too late to stop pretending
that HTML and XHTML are nearly the same thing (IOW change the doc), so apos
needs to be defined for XHTML.
IMO, we need a way to have the right entity references for
Éric Araujo mer...@netwok.org added the comment:
See also http://mail.python.org/pipermail/docs/2010-August/001207.html for a
similar report.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7969
R. David Murray rdmur...@bitdance.com added the comment:
The code you are suggesting patching is trying its best to return a length. If
that code needs to be fixed to not throw an error when confronted with a
StringIO, then it should do its best to return a length. Your original message
on
New submission from Piotr Czachur zim...@gmail.com:
If I want my application to be bullet-proof against external libraries that can
(and often do) raise Exception(u'nonascii'), I cannot use python's
logger.exception() directly, as it will end up with UnicodeDecodeError.
The reason is hidden
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo, vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12339
___
___
R. David Murray rdmur...@bitdance.com added the comment:
I normally build using --prefix, often with --prefix=/dev/null, and I can't
recall any version not building zlib. Of course, I don't uncomment the zlib
entry in Modules/Setup.
As far as I can see the zlib entry is unique in Setup in
Changes by Timothy Lee timothy.ty@gmail.com:
Added file: http://bugs.python.org/file22368/test_msgfmt.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9741
___
Changes by Timothy Lee timothy.ty@gmail.com:
Added file: http://bugs.python.org/file22369/test1.po
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9741
___
Changes by Timothy Lee timothy.ty@gmail.com:
Added file: http://bugs.python.org/file22370/test2.po
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9741
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This is happening because if you pass an object instead of a string as the
first argument in a logging call, it's treated as a message object whose
__str__() will be called to get the actual message when it's needed, as
documented here:
Éric Araujo mer...@netwok.org added the comment:
Thanks! In my latest message, I had forgotten that msgfmt was in Tools, not in
the standard library, and as such has no automated regression tests. Features
get added and bugs get fixed after manual testing only, so I will commit your
patch
Éric Araujo mer...@netwok.org added the comment:
Well, create is not update :) In its current form, create will save an
existing setup.cfg as setup.cfg.old and generate a new one. The human operator
will then have to merge both files if necessary. Automatically merging the old
file into
Éric Araujo mer...@netwok.org added the comment:
Thanks. Have you run the test suite to make sure this doesn’t add bugs?
--
assignee: tarek - eric.araujo
components: -Build, Installation, Library (Lib)
stage: - test needed
type: compile error - behavior
versions: +Python 3.3 -Python
Barry A. Warsaw ba...@python.org added the comment:
On Jun 15, 2011, at 02:04 PM, Éric Araujo wrote:
Well, create is not update :) In its current form, create will save an
existing setup.cfg as setup.cfg.old and generate a new one. The human
operator will then have to merge both files if
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I find this behavior a bit awkward. Maybe we should ask first if it's ok to
create a new setup.cfg and rename the old one, *before* doing it.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Maybe we should ask first if it's ok to create a new setup.cfg and
rename the old one, *before* doing it.
Agreed, if “yes” is the default answer.
--
title: pysetup create will clobber an existing setup.cfg - pysetup create: ask
before
Michael Foord mich...@voidspace.org.uk added the comment:
I don't think this is something that belongs in unittest - it's not something
particularly useful (or at least particularly requested) outside of the python
test suite. No reason that a WatchfulTestRunner couldn't live in regrtest.
ysj.ray ysj@gmail.com added the comment:
Isn’t zlib built by setup.py anyway?
If can be build by Modules/Setup first as a builtin module, then the setup.py
woun't build it.
--
___
Python tracker rep...@bugs.python.org
Peter Waller peter.wal...@gmail.com added the comment:
Apologies for the bump, but it has been more than a year and I did attach a
patch! :-)
What next?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1711800
Changes by Peter Waller peter.wal...@gmail.com:
--
nosy: +Peter.Waller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8668
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Sounds like a plan.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12314
___
___
New submission from OscarL oscar.le...@gmail.com:
This is on Windows XP SP2. Using Python 2.7.1 and 2.7.2.
While executing the unit tests of the PySerial package, version 2.5
(http://pypi.python.org/pypi/pyserial) one of the tests fails when using the C
version of the io module (io), but pass
R. David Murray rdmur...@bitdance.com added the comment:
No need to apologize for the bump. The trick is catching the interest of
someone who feels qualified to judge the patch. I've added a couple people to
nosy who worked on difflib recently. If no one speaks up in the next few days,
it
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12340
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
The 2.7 docs link to the Subversion repo. Can I update them?
--
nosy: +eric.araujo
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11435
R. David Murray rdmur...@bitdance.com added the comment:
Well, one way might be to set up and maintain an HP/UX buildbot :)
Other than that, just keep bugging us periodically until someone gets around to
doing it.
--
nosy: +r.david.murray
stage: - commit review
type: - compile error
New submission from Sandro Tosi sandro.t...@gmail.com:
following http://docs.python.org/devguide/coverage.html doc you'll end
up with several new files/dirs in your checkout:
- .coverage, used by coveragepy to save its info
- coverage/ , the symlink to coveragepy/coverage
- htmlcov/ , the dir
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12341
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I believe this issue should be closed and have set it to pending.
The original report of a 'bug' and the two 'testcases' were and are invalid as
they are based on an incorrect understanding of SequenceMatcher. It is not a
diff program and in
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1711800
___
Sandro Tosi sandro.t...@gmail.com added the comment:
Here's the updated patch following review on Rietveld
--
Added file: http://bugs.python.org/file22372/shutil_chown-default-v3.patch
___
Python tracker rep...@bugs.python.org
New submission from wujek wujek.sru...@googlemail.com:
The following code produces an exception:
print('{:c}'.format(65536))
when executed in Idle 3.2. The stack trace:
print('{:c}'.format(65536))
Traceback (most recent call last):
File pyshell#149, line 1, in module
R. David Murray rdmur...@bitdance.com added the comment:
Judging from the stack trace, it isn't str.format that's failing, it's tk
failing to display it.
--
nosy: +r.david.murray, terry.reedy
title: characters with ord above 65535 fail conversion with str.format for
'{:c}' in IDLE -
Dave Malcolm dmalc...@redhat.com added the comment:
[for reference: issue 11743 covered Antoine's rewrite of the connection class
to be pure python, for 3.3 (re msg138310)]
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
U+1 is not the most common character in fonts. You should try another
character in U+1-U+10 range (non-BMP characters). The new funny
emoticon are in this range, but I don't know if your Ubuntu setup includes a
font
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I wrote a similar patch to kill the ResourceWarning of test_pypi_simple
(except that I didn't patch test_urllib2).
--
nosy: +haypo
versions: +Python 2.7, Python 3.2
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
Is there still something to do in this issue? The initial report is fixed.
--
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Ned Deily n...@acm.org added the comment:
From the discussions here, http://wiki.tcl.tk/1364, it appears that Tcl 8.5
(and earlier) does not support Unicode code points outside the BMP range as in
this example. I don't think there is anything practical IDLE or tkinter can do
about that.
Roundup Robot devnull@devnull added the comment:
New changeset fd6446a88fe3 by Victor Stinner in branch 'default':
Issue #12167: Fix a reafleak in packaging.tests.PyPIServer constructor
http://hg.python.org/cpython/rev/fd6446a88fe3
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
From the discussions here, http://wiki.tcl.tk/1364, it appears that Tcl
8.5 (and earlier) does not support Unicode code points outside
the BMP range as in this example.
Extract of http://wiki.tcl.tk/1364 :
RS 2008-07-09: Unicode
STINNER Victor victor.stin...@haypocalc.com added the comment:
test_dist and test_bdist_dumb leak because of the _path_created global variable
of packaging.util, used indirectly by copy_tree().
# cache for by mkpath() -- in addition to cheapening redundant calls,
# eliminates redundant
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note: #12133 has a patch to fix the ResourceWarning of test_pypi_simple.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12167
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Yes, the fix I provided only eliminated some of the warnings. As of
fd6446a88fe3, test_urllib2net still leaks 5 sockets.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
punycode_errors.patch:
- raise an error if errors=replace: only accept strict and ignore
- use errors to encode/decode to/from ASCII
- add unit tests
I don't think that the change should be documented, because punycode has no
Ned Deily n...@acm.org added the comment:
It looks like that error message has been in _tkinter.c since 2002:
http://svn.python.org/view/python/trunk/Modules/_tkinter.c?r1=28989r2=28990;
I suppose it could be slightly more informative but it seems pretty unambiguous
to me. Martin, any
Antoine Pitrou pit...@free.fr added the comment:
pipe_interruptible.patch is a patch to support to making poll()
interruptible. It applies on top of pipe_poll_2.patch.
Hmm, it seems to me that it should be done in _poll() instead. Otherwise,
recv() will not be interruptible, will it?
Also,
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Regarding the crash,
From what I can see, the `tp_clear` method of bufferedrwpair is called during
Py_Finalize() that leads to garbage collection. This NULLs `self-writer` for
the rwpair object.
Later, in the same garbage collection
Mads Kiilerich m...@kiilerich.com added the comment:
Nicolas Bareil wrote, On 05/07/2011 09:48 AM:
Do you think this test should fail?
Until now I have considered this behaviour OK but undocumented and
officially unsupported in Python. One (the best?) reason for considering
it OK is that if
Benjamin Peterson benja...@python.org added the comment:
Can you produce a self-contained test case?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12340
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch version 4 (mbcs4.patch):
- fix encode and decode flags depending on the code page and Windows version,
e.g. use WC_ERR_INVALID_CHARS instead of WC_NO_BEST_FIT_CHARS for CP_UTF8 on
Windows Vista and later
- fix usage of the
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file22282/mbcs.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12281
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file22315/mbcs2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12281
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file22340/mbcs3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12281
___
New submission from Jesús Cea Avión j...@jcea.es:
Combining non-blocking SSL sockets and select() raises ssl.SSLError: [Errno
2] _ssl.c:503: The operation did not complete (read) in Python 2.7.2, but
works OK in 2.7.1, 2.6.* and previous.
This test shows the issue:
import ssl
import socket
New submission from higery shoulderhig...@gmail.com:
There is a 'reinitialize_command' function in setuptools' command class which
can initialize a command with a key-value pair, but it seems that
distutils2/packaging does not yet have this function. I think it's useful in
the condition that
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12342
___
___
Python-bugs-list
Eugene Toder elto...@gmail.com added the comment:
So how about this correction?
--
keywords: +patch
nosy: +belopolsky, georg.brandl
Added file: http://bugs.python.org/file22375/setstate.diff
___
Python tracker rep...@bugs.python.org
Eugene Toder elto...@gmail.com added the comment:
Anyone has any thoughts on this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5996
___
___
New submission from Nick Coghlan ncogh...@gmail.com:
I'd like to add a new constant to the math module:
tau = 2*math.pi
Rather than repeating all the reasons for why tau makes more sense than pi as
the fundamental circle constant, I'll just refer interested readers to
http://tauday.com/
Eugene Toder elto...@gmail.com added the comment:
I found a problem in constant de-duplication, already performed by compiler,
that needs to be fixed before this change can be merged.
Compiler tries to eliminate duplicate constants by putting them into a dict.
However, duplicate in this case
Benjamin Peterson benja...@python.org added the comment:
Perhaps we should wait until \tau gains popularity larger than some impassioned
physicist. \tau has been used to represent the golden ratio longer.
--
nosy: +benjamin.peterson
___
Python
71 matches
Mail list logo