Martin Panter added the comment:
One interesting question is how to convey data to the chunked encoder. There
are two sets of options in my mind, a pull interface:
* iterable: seems to be the popular way amoung commenters here
* file reader object: encoder calls into stream’s read() method
Mark Lawrence added the comment:
Having run the hg purge... command previously given everything seemed fine.
Both release and debug win32 builds then successfully completed from VS but the
64 bit builds failed. I now have externals/tcltk but not externals/tcltk64. I
did a bit of digging
Martin Panter added the comment:
Posting another patch which hopefully explains the “requestline” attribute a
bit better. Let me know if you have any ideas for better wording.
--
Added file: http://bugs.python.org/file38141/http-attributes.v2.patch
Martin Panter added the comment:
Looking at this again, I think I should make the forking server’s
handle_error() method only be called for Exception subclasses as well. So I am
posting a new patch that also does this.
--
Added file:
Martin Panter added the comment:
Posting a patch for this so that we can get rid of the broken
HTTPMessage.getallmatchingheaders() method in Issue 5053.
--
keywords: +patch
nosy: +vadmium
Added file: http://bugs.python.org/file38142/cgi-accept.patch
Martin Panter added the comment:
Posting a patch to remove the entire HTTPMessage class. This assumes my patch
for Issue 5054 is accepted, which will remove the only existing reference to
getallmatchingheaders().
--
Added file: http://bugs.python.org/file38143/remove-HTTPMessage.patch
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
versions: +Python 2.7, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22633
___
Mark Lawrence added the comment:
Is this still an issue with later versions of 2.7? I'm sorry, I can't try this
myself as I no longer run 2.7.
--
nosy: +BreamoreBoy, steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
New submission from Tom Edwards:
Consider this script:
f = open(bugtest.txt,'w')
f.write(hello)
f.close()
On Windows the first line will throw an OSError exception because the character
'' is not valid in an NTFS filename. This is correct.
Now consider this script:
f =
Serhiy Storchaka added the comment:
Here is a patch based on current str formatting code (i.e. parenthesis are
added only if needed, the space at the right is used more efficiently). It adds
pprint support for bytes and bytearrays. Bytes are broken only at positions
divisible by 4, so packed
Mark Lawrence added the comment:
This file has already been removed from the default and 3.4 branches.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20833
___
Mark Lawrence added the comment:
Can we have a patch review on this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22071
___
Mark Lawrence added the comment:
Would someone please review the inline patch, thanks.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22633
___
Changes by Tim Golden m...@timgolden.me.uk:
--
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23463
___
Tim Golden added the comment:
Colons are valid in filenames to introduce Alternate Data Stream:
https://msdn.microsoft.com/en-us/library/cc422524.aspx
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23463
Tom Edwards added the comment:
Ha! What a feature. Thanks for the link.
Maybe I'm rehashing old arguments, but I still think that Python's behaviour in
this case is wrong. This is very surprising behaviour to anyone who isn't
intimately familiar with NTFS and should not be something that in
Mark Lawrence added the comment:
@John can you provide a patch to remove the VMS specific code from the two
files mentioned?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22211
Mark Lawrence added the comment:
@Steven would you please comment on this issue, thanks.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20575
___
Mark Lawrence added the comment:
The inline patch seems fine to my eyes but who would usually comment on a
proposed change to test_gdb.py?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22844
Mark Lawrence added the comment:
Just a gentle reminder.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22794
___
___
Changes by SilentGhost ghost@gmail.com:
--
components: +Windows
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23463
___
R. David Murray added the comment:
Python just exposes the OS filename semantics, it doesn't judge them :)
This is just as true on linux as it is on Windows.
--
nosy: +r.david.murray
resolution: - not a bug
status: open - closed
___
Python tracker
Paul Moore added the comment:
Martin, thanks for the clarification. When I said I don't use it much what I
meant was that I've never had it enabled, and for all of the repositories I
use, not doing so has never been a problem (until now). In contrast, git's
autocrlf feature, which is enabled
New submission from A. Jesse Jiryu Davis:
asyncio.JoinableQueue was once a distinct subclass of asyncio.Queue, now it's
just a deprecated alias. Once this is merged into CPython:
https://code.google.com/p/tulip/issues/detail?id=220
...then remove or deprecate JoinableQueue in asyncio-sync.rst
Serhiy Storchaka added the comment:
Could you please show tests logs David?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22844
___
New submission from Paul Moore:
Implementation of PEP 486 (Make the Python Launcher aware of virtual
environments). Tested manually on my local PC - there aren't currently any
tests for the launcher that I can see (and I'm not entirely sure how I'd write
such a test) so the patch includes
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19105
F. added the comment:
IMAP polling hurts, just merge imaplib2 into standard library as imaplib.
Piers Lauder authored imaplib IMAP4 client, part of python standard library,
back in December 1997 based on RFC 2060. In 2003 RFC 2060 was made obsolete by
RFC 3501 adding important features and
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +easy, needs review
stage: - patch review
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20508
Martin v. Löwis added the comment:
Paul: wrt. your statement eol extension tomorrow. I don't really use it
much,. This can't be really true: either you use it, or you don't. If you use
it at all, then you also use it MUCH: Python is a heavy user of the eol
extension, and the entire Python hg
eryksun added the comment:
Calling nt.execv works with a unicode string because it creates a bytes path
via PyUnicode_FSConverter. OTOH, nt.execve uses path_converter, which doesn't
convert unicode to bytes on Windows. Thus in posixmodule.c, for the call
execve(path-narrow, argvlist,
Berker Peksag added the comment:
LGTM.
--
nosy: +berker.peksag
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17753
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12955
___
Steve Dower added the comment:
I can't say why 2.7 doesn't use _fseeki64, but 3.5 certainly does.
Possibly it's a significant change of behaviour that would break backwards
compatibility? Making a currently working call raise new exceptions is
certainly worth double-checking before
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4773
___
Zachary Ware added the comment:
This one could use a NEWS entry, and possibly what's new as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23437
___
Steve Dower added the comment:
I don't think there are any tests for the launcher at all, though it would be
fairly simple to write a Python script that runs ``py -c import sys;
print(sys.prefix)`` and checks the output.
The patch looks fine to me, once I noticed that venv_python is a static
Zachary Ware added the comment:
Thanks, Steve!
--
assignee: - steve.dower
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23461
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22735
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23399
___
___
Roundup Robot added the comment:
New changeset f9a43e2a3877 by Steve Dower in branch 'default':
Issue #23461: Normalise line endings when comparing old and new contents of
importlib.h
https://hg.python.org/cpython/rev/f9a43e2a3877
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset add998f98e31 by Steve Dower in branch 'default':
Closes #23437: Make user scripts directory versioned on Windows (patch by
pmoore)
https://hg.python.org/cpython/rev/add998f98e31
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
Steve Dower added the comment:
The changeset will skip updating importlib.h if the only change is line
endings, but if there are other changes it will be updated to a CRLF file. This
will be fine if the eol extension is enabled, and h.p.o will reject pushes that
have CRLF line endings.
Changes by Berker Peksag berker.pek...@gmail.com:
--
keywords: +easy
stage: - needs patch
type: - enhancement
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23406
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
components: +Library (Lib) -Extension Modules
nosy: +berker.peksag
stage: - patch review
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23420
Changes by Matěj Stuchlík matej.stuch...@gmail.com:
--
nosy: +sYnfo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23420
___
___
Python-bugs-list
Stefan Krah added the comment:
For Decimal the cutoff point is -6 instead of -4 (following the
decimal specification instead of the C standard).
--
assignee: - docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python, skrah
type: behavior -
Roundup Robot added the comment:
New changeset a2217106ca5e by Steve Dower in branch 'default':
Issue #23437: Update NEWS and whatsnew/3.5
https://hg.python.org/cpython/rev/a2217106ca5e
--
___
Python tracker rep...@bugs.python.org
Paul Moore added the comment:
Sorry, I should probably have added them to the patch in the first place :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23437
___
Steve Dower added the comment:
Thanks. I always forget about those.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23437
___
___
David Edelsohn added the comment:
The errors are of the form:
==
FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully
David Edelsohn added the comment:
The Python testsuite does not produce completely clean results on AIX. You can
see the AIX tester for comparison. Some are caused by assumptions in the
testcases that are correct for Linux but not for some Unix systems, and some
are caused by incorrect
Roundup Robot added the comment:
New changeset 6ad5909319e0 by Serhiy Storchaka in branch '3.4':
Issue #17753: Skip test_zipfile tests which require write access to test
https://hg.python.org/cpython/rev/6ad5909319e0
New changeset 174f24d33bfe by Serhiy Storchaka in branch 'default':
Issue
Roundup Robot added the comment:
New changeset d0b6efed4766 by Benjamin Peterson in branch '3.4':
avoid reading unallocated memory when argc == 0 (closes #22633)
https://hg.python.org/cpython/rev/d0b6efed4766
New changeset 687b970c8ba9 by Benjamin Peterson in branch '2.7':
avoid reading
Serhiy Storchaka added the comment:
Thanks. The patch LGTM.
--
assignee: - serhiy.storchaka
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22844
___
Roundup Robot added the comment:
New changeset ae5d868513fd by Serhiy Storchaka in branch '3.4':
Issue #22844: Fized test_gdb failure on Debian Wheezy for Z.
https://hg.python.org/cpython/rev/ae5d868513fd
New changeset df696b544b3c by Serhiy Storchaka in branch 'default':
Issue #22844: Fized
Mark Lawrence added the comment:
@Steve can you take a look at the patch please, it only changes one line.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12639
___
Serhiy Storchaka added the comment:
It was old _sysconfigdata.py in the Lib/ directory. Now it is generated in
build directory (build/lib.linux-i686-3.5 in my case). All works after removing
Lib/_sysconfigdata.py.
This issue may be considered as misconfiguration. No fix needed.
--
Roundup Robot added the comment:
New changeset 8d32453dd0f7 by Berker Peksag in branch '3.4':
Issue #13637: Remove outdated versionchanged directives.
https://hg.python.org/cpython/rev/8d32453dd0f7
New changeset d3ca674cf716 by Berker Peksag in branch 'default':
Issue #13637: Remove outdated
Mark Lawrence added the comment:
Can we have a patch review please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12239
___
Martin Panter added the comment:
Opened Issue 23377 about losing the buffer at the end of a response
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9740
___
Berker Peksag added the comment:
Thank you to both Vajrasky and Martin.
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13637
Berker Peksag added the comment:
Can this be closed now?
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15381
___
___
Roundup Robot added the comment:
New changeset 7ae156f07a90 by Berker Peksag in branch 'default':
Add a whatsnew entry for issue #22003.
https://hg.python.org/cpython/rev/7ae156f07a90
--
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
changeset 035b61b52caa has this:-
return (fd, _os.path.abspath(file))
except FileExistsError:
continue# try again
+except PermissionError:
+# This exception is thrown when a directory with the chosen
Mark Lawrence added the comment:
Would somebody please review Serhiy's patch.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22035
___
Serhiy Storchaka added the comment:
Oh, Mark, please stop shaking up bug tracker.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22035
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23430
___
Berker Peksag added the comment:
Thanks for the patch, Davin. I left a couple of comments on Rietveld.
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23400
___
Martin Panter added the comment:
I suggest resolving Issue 15955 first, then the GzipFile API could be used
without fear of decompression bombs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1508475
Mark Lawrence added the comment:
Could someone review the patch please. It simply adds the three lines to the
.hgignore file that are listed in msg222032.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset ad4a8176a71a by Berker Peksag in branch '3.4':
Issue #13637: Improve exception message of a2b_* functions.
https://hg.python.org/cpython/rev/ad4a8176a71a
New changeset 55f5e960cc40 by Berker Peksag in branch 'default':
Issue #13637: Improve
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22844
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17753
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20059
___
___
Serhiy Storchaka added the comment:
No, I'm working on more advanced patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15381
___
___
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12239
___
___
Python-bugs-list
Vinay Sajip added the comment:
The patch looks good to me, too.
The standalone launcher has basic tests:
https://bitbucket.org/pypa/pylauncher/src/4613e10e26a8ca98d4fa4609c6659ef6b623baef/tests.py?at=default
To do a proper job, you need to have multiple Pythons installed, ideally 32-
and
Steve Dower added the comment:
I guess it's okay, but I have literally zero knowledge or experience with the
msilib module. Martin is still maintainer for that, as far as I know.
--
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
Oh, Berker, please stop shaking up bug tracker.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15381
___
Martin Panter added the comment:
Issue 21408 has been committed to 3.4 and 3.5 branches, so my patch can now be
considered to document the newly fixed behaviour.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
Martin Panter added the comment:
See also Issue 23439, about updating __all__ (or not updating __all__, as it
seems to be turning into)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21257
Raymond Hettinger added the comment:
+0 This seems like a reasonable change with some upside and no obvious downside.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23458
Dwight added the comment:
Thanks for the response.
What is the AIX tester?
Appreciate the explanation of what might be causing the problem.
I do have at least three other version of python installed on
my AIX 7.1 system. Have no idea if these versions produced test errors.
These version of
Martin Panter added the comment:
Posting a new patch which explicitly omits HTTPMessage, parse_headers(), and
the status codes. Also added and documented the LineTooLong exception. It is
already somewhat covered in the test suite.
See also Issue 21257 about the status of parse_headers().
New submission from Jeremy Nicola:
On Windows 7, using python 3.4.2 32 bits MSVCv.1600 or 3.4.1 64 bits, all the
os.exec*e variants crash:
os.execle('C:/Python34/python.exe','Python.exe','-V',{})
os.execve('C:/Python34/python.exe',['python.exe','-V'],{})
Jeremy Nicola added the comment:
You should read:
os.execv('C:/Python34/python.exe',['python.exe','-V'])
os.execlp('C:/Python34/python.exe','python.exe','-V')
os.execvp('C:/Python34/python.exe',['python.exe','-V'])
for the what works.
--
___
Roundup Robot added the comment:
New changeset 7a6671d491da by Serhiy Storchaka in branch 'default':
Issue #19105: pprint now more efficiently uses free space at the right.
https://hg.python.org/cpython/rev/7a6671d491da
--
nosy: +python-dev
___
Mark Lawrence added the comment:
Could someone review the attached patch please. I've looked at the test code
and there is one assertRaises for IndexError which I'm assuming covers this
case.
--
nosy: +BreamoreBoy
___
Python tracker
Mark Lawrence added the comment:
Do any patches still need merging into 3.x or is this out of date?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20657
___
Martin Panter added the comment:
BTW in the original code, I think line[:1] in \t\n\r might have been
correct. It looks like the getallmatchinheaders() method was actually meant to
return continued lines separately, prefixed with whitespace. My patch is
probably only appropriate for Python
Mark Lawrence added the comment:
On Windows 3.4.2 ssl.OPENSSL_VERSION is 'OpenSSL 1.0.1i 6 Aug 2014' and 3.5 is
currently being built with 1.0.1l so is there anything that our windows
developers need to do here with 3.3?
--
nosy: +BreamoreBoy
___
Nick Coghlan added the comment:
For the record, the open issues about applying 3121 and 384 to the standard
libary:
93 matches
Mail list logo