New submission from Robin Schoonover:
In the reference WSGI server in wsgiref.simple_server, wsgi.input's readline()
hangs if the request body does not actually contain any
newlines.
Consider the following (slightly silly) example:
from wsgiref.simple_server import make_server
def
Nick Coghlan added the comment:
For Python 3, I suggest tweaking the code to use shutil.which and see if that
improves matters.
For Python 2, I'm inclined not to worry about it.
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Skipping if the compiler isn't available is problematic, since that could
reflect a real failure mode for the code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12420
Jack Andrews added the comment:
I'm no longer working on this, but IIRC, my patch is not necessary and
there is no deficiency.
Ta, Jack
On Saturday, June 28, 2014, Mark Lawrence rep...@bugs.python.org wrote:
Mark Lawrence added the comment:
Does somebody want to propose a patch to take
Walter Dörwald added the comment:
The requirement that getstate() returns a (buffer, int) tuple has to do with
the fact that for text streams seek() and tell() somehow have to take the state
of the codec into account. See
_pyio.TextIOWrapper.(seek|tell|_pack_cookie|_unpack_cookie).
However I
Pat Le Cat added the comment:
When working with the separately installed version of Python 3.4.1, which means
by not using Py_SetPath() the embedding examples from your webpage work okay.
So what's wrong with that function and why that allegedly missing module
encoding that I cannot find
Stefan Krah added the comment:
Since the rewrite in 3.3 many memoryview tests are actually in test_buffer.py.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21856
___
akira added the comment:
(a, b) (c, d) is more like: if a != c: return a c ...
except CPython behaves (undocumented?) as:
b d if a is c or a == c else a c
the difference is in the presence of `is` operator (identity
comparison instead of `__eq__`). `nan is nan` therefore `b d` is
Stefan Krah added the comment:
And Terry is right, the actual slice clamping happens in
PySlice_GetIndicesEx(), which should always produce values
that are in the correct range. Hence the tests focus on
slices that already are in the correct range.
I'm not sure if PySlice_GetIndicesEx() itself
Vladimir Iofik added the comment:
Finally I got environment and some time.
Attaching patch.
--
keywords: +patch
Added file: http://bugs.python.org/file35795/21652.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21652
Esa Peuha added the comment:
This code
import _lzma
with open('22h_ticks_bad.bi5', 'rb') as f:
infile = f.read()
for i in range(8191, 8195):
decompressor = _lzma.LZMADecompressor()
first_out = decompressor.decompress(infile[:i])
first_len = len(first_out)
last_out =
Vladimir Iofik added the comment:
I have attached patch to #21652 which partly reverts patch applied in #9291. I
think we'll have to add one more test for this case.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21871
Mark Lawrence added the comment:
Given my patch is not necessary and there is no deficiency. from Jack Andrews
in msg221777 please close as not a bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2571
Mark Lawrence added the comment:
Am I barking up the wrong tree, or should the docs now refer to the new asyncio
module aka Tulip when mentioning asynchronous behaviour?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión added the comment:
Closed as requested.
--
resolution: - out of date
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10402
Mark Lawrence added the comment:
The patch would need changing to allow for the follow_symlinks parameter and
the backward compatibility issues mention in msg141827. Do we wait for an
updated patch, close as won't fix or what?
--
nosy: +BreamoreBoy
Mark Lawrence added the comment:
@Andrea assuming that you get an answer to the question you posed in msg150292,
will you follow up on this?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
Claudiu Popa added the comment:
It seems that this was actual the case for Python 3.2 and 3.3, but fixed in
3.4. Unfortunately, it's too late now to add those fields back, since 3.2 and
3.3 receives only security updates. So I guess this issue can be closed.
--
resolution: - out of
Mark Lawrence added the comment:
ping.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13421
___
___
Python-bugs-list mailing
Jesús Cea Avión added the comment:
I never saw this because I use GNU 'id' on my Solaris 10 machines. Taking care
of this. Thanks for the report and the persistence :-)
--
assignee: - jcea
versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9322
Mark Lawrence added the comment:
@Oleg #13806 has been closed as fixed so can you take this issue forward?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13681
___
Vladimir Iofik added the comment:
Test added.
--
keywords: +patch
Added file: http://bugs.python.org/file35796/21871.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21871
___
Changes by Antoine Pitrou pit...@free.fr:
--
title: memoryview: test slick clamping - memoryview: test slice clamping
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21856
___
R. David Murray added the comment:
It may be a backward compatibility problem to change it, but although the os
functions tend to be thin wrappers, we also try to be cross platform when
possible and we tend to follow what the corresponding shell command does rather
than what the posix API
Terry J. Reedy added the comment:
Seaching for PySlice_GetIndicesEx in .../test/*.py with Idle Find in Files
did not turn up any hits. However, test.test_slice.test_indices() has several
tests of clamping, including 2**100 in various combinations. The use of 2**100
was was added in #14794 to
Terry J. Reedy added the comment:
Since Eric assigned this to himself, I will give him a chance to answer. I
removed the 'easy' tag because it is not clear to me what the remaining issue
is.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
David, Senthil, can either of you make any sense of this? Is the described
configuration supported? Or should we close this?
--
nosy: +orsenthil, r.david.murray, terry.reedy
___
Python tracker rep...@bugs.python.org
Victor Zhong added the comment:
Hi Zach,
I've pushed a fix here according to your suggestions:
https://bitbucket.org/hllowrld/cpython/commits/fe10b98717a23fd914c91d42dcca383d53e924a8
Please also find attached the diff.
--
hgrepos: +263
Added file:
Roundup Robot added the comment:
New changeset 4ef517041573 by Jesus Cea in branch '2.7':
Closes #11279: test_posix and lack of id -G support - less noise required?
(Solaris)
http://hg.python.org/cpython/rev/4ef517041573
New changeset 6889fb276d87 by Jesus Cea in branch '3.4':
Closes #11279:
Terry J. Reedy added the comment:
I feel that conscientious users who test their installations should get a clean
test. They cannot be expected to know that this is an 'expected failure' and
therefore not really a failure.
Test_tools has the following, which indeed works to skip on installed
Terry J. Reedy added the comment:
After updating and rebuilding (32 bit VC express, on 64 bit Win 7), I get the
same error as in msg210926, with or without -uall, even after turning my
antivirus off.
File F:\Python\dev\4\py34\lib\test\test_httpservers.py, line 310, in
test_invalid_requests
Changes by Richard Oudkerk shibt...@gmail.com:
--
assignee: - sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10850
___
___
Python-bugs-list
Richard Oudkerk added the comment:
Since there are no new features added to Python 2, this would be a Python 3
only feature.
I think for Python 3 it is better to concentrate on developing
concurrent.futures rather than multiprocessing.Pool.
--
___
Changes by Richard Oudkerk shibt...@gmail.com:
--
assignee: - sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21779
___
___
Python-bugs-list
Changes by Richard Oudkerk shibt...@gmail.com:
--
assignee: - sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21664
___
___
Python-bugs-list
Ned Deily added the comment:
I don't see where any problems were fixed but I've verified that with current
default that this case works correctly if you start the tests correctly as
make test does.
LD_LIBRARY_PATH=$CWD ./python -m test ...
The cgi test cases create a temporary directory, set
Mark Lawrence added the comment:
ping.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13456
___
___
Python-bugs-list mailing
Mark Lawrence added the comment:
@Victor would you like to follow up with your patch?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12500
___
Mark Lawrence added the comment:
@Ezio can you prepare a patch for this?
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13272
Mark Lawrence added the comment:
@Brett I assume that you'd want to follow up on this.
--
nosy: +BreamoreBoy
type: - enhancement
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13954
Mark Lawrence added the comment:
The patch has not been applied to the default or 3.4 branches.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14235
___
Mark Lawrence added the comment:
@Tim is this something you could take a look at please?
--
nosy: +BreamoreBoy, tim.peters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12790
___
Mark Lawrence added the comment:
@Senthil can you follow up on this please.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9725
Terry J. Reedy added the comment:
A minor change: distutils has is own version of sysconfig*, which is already
imported into disutils/tests/test_build_ext.py. It has '_python_build' instead
of 'is_python_build'. With that change, the decorators work as expected to skip
the tests on installed
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file35798/distutils-12420.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12420
Robin Schoonover added the comment:
Issue also occurs if .read() is used with no size.
--
title: wsgi.simple_server's wsgi.input readline waits forever for
non-multipart/form-data - wsgi.simple_server's wsgi.input read/readline waits
forever in certain circumstances
Marc-Andre Lemburg added the comment:
The patch would have to be updated to 3.5 (part of it no longer applies), but
other than that I think it's fine.
It may make sense to readd the comment for .getstate() to keep the state as
simple as possible (The implementation should make sure that ``0``
Mark Lawrence added the comment:
The words here
https://docs.python.org/3/library/locale.html#locale.getdefaultlocale read in
part envvars defaults to the search path used in GNU gettext; it must always
contain the variable name 'LANG'.. I think this means that envvars should
always contain
John O'Connor added the comment:
I encountered the same problem w/ 2.7.7.
Temporary workaround:
SVNVERSION=Unversioned directory ./configure
make
...
--
nosy: +jcon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6094
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13272
___
___
Python-bugs-list
Mark Lawrence added the comment:
Is the thinking behind this issue changed in any way by the implementation of
PEP 397 Python launcher for Windows?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14812
Mark Lawrence added the comment:
@Éric did you ever ask on distutils-sig if MANIFEST is meant to be
cross-platform?
--
components: -Distutils2, Windows
nosy: +BreamoreBoy, dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3
Mark Lawrence added the comment:
Can this be closed as out of date as we're now up to 2.7.7?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12640
___
Ned Deily added the comment:
Suman, Jon: This issue was closed five years ago and the fixes for it have
long been out in the field. Comments on closed issues are likely to be
overlooked and not acted on. If you are having a current problem, you should
open a new issue, documenting in
Mark Lawrence added the comment:
Can we have a formal patch review with a view to committing as this issue is
referenced from #9859.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9731
Mark Lawrence added the comment:
@Daniel do you intend putting forward a formal patch on this issue? I'm asking
as I think issue9858 is effectively completed and I've just asked for a formal
patch review on Issue9731.
--
nosy: +BreamoreBoy
___
Mark Lawrence added the comment:
@Éric can you put this on your todo list if it's not already there?
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: -Distutils2
nosy: +dstufft
versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13055
Mark Lawrence added the comment:
@Walter/Raymond as there is still no patch for this issue do you want to leave
it open just in case anybody wants to work on it, move it to langushing, close
it or what?
--
nosy: +BreamoreBoy
___
Python tracker
Mark Lawrence added the comment:
I believe that the change in the later patch has already been applied to the
2.7 branch. If I'm correct can we close this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +belopolsky, lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21874
___
___
天一 何 added the comment:
Confirmed in Python 3.4.1.
--
nosy: +天一.何
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19003
___
天一 何 added the comment:
This patch added special behavior with MIMEApplication and may fix this issue.
Can be verified with test_email.
--
keywords: +patch
Added file: http://bugs.python.org/file35799/issue19003_email.patch
___
Python tracker
karl added the comment:
I had the issue today. I needed to parse a date with the following format.
2014-04-04T23:59:00+09:00
and could not with strptime.
I see a discussion in March 2014
http://code.activestate.com/lists/python-ideas/26883/ but no followup.
For references:
karl added the comment:
On closer inspection, Anders Hovmöller proposal doesn't work.
https://github.com/boxed/iso8601
At least for the microseconds part.
In http://tools.ietf.org/html/rfc3339#section-5.6, the microsecond part is
defined as:
time-secfrac= . 1*DIGIT
In
karl added the comment:
Noticed some people doing the same thing
https://github.com/tonyg/python-rfc3339
http://home.blarg.net/~steveha/pyfeed.html
https://wiki.python.org/moin/WorkingWithTime
--
___
Python tracker rep...@bugs.python.org
67 matches
Mail list logo