[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data

2015-02-14 Thread Martin Panter
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

[issue23452] Build errors using VS Express 2013 in win32 mode

2015-02-14 Thread Mark Lawrence
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

[issue23410] Document more BaseHTTPRequestHandler attributes

2015-02-14 Thread Martin Panter
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

[issue23430] socketserver.BaseServer.handle_error() should not catch exiting exceptions

2015-02-14 Thread Martin Panter
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:

[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2015-02-14 Thread Martin Panter
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

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2015-02-14 Thread Martin Panter
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

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Arfrever Frehtes Taifersar Arahesis
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 ___

[issue19050] crash while writing to a closed file descriptor

2015-02-14 Thread Mark Lawrence
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

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread Tom Edwards
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 =

[issue17530] pprint could use line continuation for long bytes literals

2015-02-14 Thread Serhiy Storchaka
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

[issue20833] scripts\pydocgui.pyw out of date

2015-02-14 Thread Mark Lawrence
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 ___

[issue22071] Remove long-time deprecated attributes from smtpd

2015-02-14 Thread Mark Lawrence
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 ___

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Mark Lawrence
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 ___

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread Tim Golden
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 ___

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread Tim Golden
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

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread Tom Edwards
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

[issue22211] Remove VMS specific code in expat.h xmlrole.h

2015-02-14 Thread Mark Lawrence
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

[issue20575] Type handling policy for the statistics module

2015-02-14 Thread Mark Lawrence
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 ___

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread Mark Lawrence
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

[issue22794] missing test for issue 22457 regression commit

2015-02-14 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22794 ___ ___

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread SilentGhost
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 ___

[issue23463] Incorrect behaviour when opening files containing colons on Windows

2015-02-14 Thread R. David Murray
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

[issue23461] Building on windows modifies importlib.h

2015-02-14 Thread Paul Moore
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

[issue23464] Remove or deprecate JoinableQueue in asyncio docs

2015-02-14 Thread A. Jesse Jiryu Davis
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

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread Serhiy Storchaka
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 ___

[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments

2015-02-14 Thread Paul Moore
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

[issue19105] pprint doesn't use all width

2015-02-14 Thread Serhiy Storchaka
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

[issue11245] Implementation of IMAP IDLE in imaplib?

2015-02-14 Thread F.
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

[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message

2015-02-14 Thread Serhiy Storchaka
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

[issue23461] Building on windows modifies importlib.h

2015-02-14 Thread Martin v . Löwis
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

[issue23462] All os.exec*e variants crash on Windows

2015-02-14 Thread eryksun
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,

[issue17753] test_zipfile: requires write access to test and email.test

2015-02-14 Thread Berker Peksag
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 ___

[issue12955] urllib.request example should use with ... as:

2015-02-14 Thread Berker Peksag
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 ___

[issue23414] seek(count, whence) accepts bogus whence on windows, python2.7

2015-02-14 Thread Steve Dower
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

[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3

2015-02-14 Thread Berker Peksag
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 ___

[issue23437] Make user scripts directory versioned on Windows

2015-02-14 Thread Zachary Ware
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 ___

[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments

2015-02-14 Thread Steve Dower
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

[issue23461] Building on windows modifies importlib.h

2015-02-14 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Steve! -- assignee: - steve.dower stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___

[issue22735] Fix various crashes exposed through mro() customization

2015-02-14 Thread Berker Peksag
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 ___

[issue23399] venv should create relative symlinks where possible

2015-02-14 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23399 ___ ___

[issue23461] Building on windows modifies importlib.h

2015-02-14 Thread Roundup Robot
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

[issue23437] Make user scripts directory versioned on Windows

2015-02-14 Thread Roundup Robot
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

[issue23461] Building on windows modifies importlib.h

2015-02-14 Thread Steve Dower
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.

[issue23406] interning and list comprehension leads to unexpected behavior

2015-02-14 Thread Berker Peksag
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 ___

[issue23420] python -m cProfile -s fails with non informative message

2015-02-14 Thread Berker Peksag
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

[issue23420] python -m cProfile -s fails with non informative message

2015-02-14 Thread Matěj Stuchlík
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

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2015-02-14 Thread Stefan Krah
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 -

[issue23437] Make user scripts directory versioned on Windows

2015-02-14 Thread Roundup Robot
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

[issue23437] Make user scripts directory versioned on Windows

2015-02-14 Thread Paul Moore
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 ___

[issue23437] Make user scripts directory versioned on Windows

2015-02-14 Thread Steve Dower
Steve Dower added the comment: Thanks. I always forget about those. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23437 ___ ___

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread David Edelsohn
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

[issue23457] make test failures

2015-02-14 Thread David Edelsohn
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

[issue17753] test_zipfile: requires write access to test and email.test

2015-02-14 Thread Roundup Robot
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

[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain

2015-02-14 Thread Roundup Robot
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

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread Serhiy Storchaka
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 ___

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread Roundup Robot
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

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2015-02-14 Thread Mark Lawrence
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 ___

[issue23233] TypeError in ./setup.py

2015-02-14 Thread Serhiy Storchaka
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. --

[issue13637] binascii.a2b_* functions could accept unicode strings

2015-02-14 Thread Roundup Robot
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

[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)

2015-02-14 Thread Mark Lawrence
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 ___

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2015-02-14 Thread Martin Panter
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 ___

[issue13637] binascii.a2b_* functions could accept unicode strings

2015-02-14 Thread Berker Peksag
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

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2015-02-14 Thread Berker Peksag
Berker Peksag added the comment: Can this be closed now? -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15381 ___ ___

[issue22003] BytesIO copy-on-write

2015-02-14 Thread Roundup Robot
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

[issue22107] tempfile module misinterprets access denied error on Windows

2015-02-14 Thread Mark Lawrence
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

[issue22035] Fatal error in dbm.gdbm

2015-02-14 Thread Mark Lawrence
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 ___

[issue22035] Fatal error in dbm.gdbm

2015-02-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, Mark, please stop shaking up bug tracker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22035 ___ ___

[issue23430] socketserver.BaseServer.handle_error() should not catch exiting exceptions

2015-02-14 Thread Berker Peksag
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 ___

[issue23400] Inconsistent behaviour of multiprocessing.Queue() if sem_open is not implemented

2015-02-14 Thread Berker Peksag
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 ___

[issue1508475] transparent gzip compression in urllib

2015-02-14 Thread Martin Panter
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

[issue21898] .hgignore: Missing ignores for Eclipse/pydev

2015-02-14 Thread Mark Lawrence
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

[issue13637] binascii.a2b_* functions could accept unicode strings

2015-02-14 Thread Roundup Robot
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

[issue22844] test_gdb failure on Debian Wheezy for Z

2015-02-14 Thread Serhiy Storchaka
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 ___

[issue17753] test_zipfile: requires write access to test and email.test

2015-02-14 Thread Serhiy Storchaka
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

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-02-14 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20059 ___ ___

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2015-02-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, I'm working on more advanced patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15381 ___ ___

[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)

2015-02-14 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12239 ___ ___ Python-bugs-list

[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments

2015-02-14 Thread Vinay Sajip
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

[issue12639] msilib Directory.start_component() fails if keyfile is not None

2015-02-14 Thread Steve Dower
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

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2015-02-14 Thread Mark Lawrence
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 ___

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2015-02-14 Thread Martin Panter
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

[issue21257] Document parse_headers function of http.client

2015-02-14 Thread Martin Panter
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

[issue23458] [2.7] random: make the file descriptor non-inheritable (on POSIX)

2015-02-14 Thread Raymond Hettinger
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

[issue23457] make test failures

2015-02-14 Thread Dwight
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

[issue23439] Fixed http.client.__all__ and added a test

2015-02-14 Thread Martin Panter
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().

[issue23462] All os.exec*e variants crash on Windows

2015-02-14 Thread Jeremy Nicola
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'],{})

[issue23462] All os.exec*e variants crash on Windows

2015-02-14 Thread Jeremy Nicola
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. -- ___

[issue19105] pprint doesn't use all width

2015-02-14 Thread Roundup Robot
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 ___

[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message

2015-02-14 Thread Mark Lawrence
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

[issue20657] OpenBSD: Merge patches

2015-02-14 Thread Mark Lawrence
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 ___

[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2015-02-14 Thread Martin Panter
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

[issue16361] HTTPS/TLS Problem in Python 3.3

2015-02-14 Thread Mark Lawrence
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 ___

[issue21387] Memory leaks when embedded interpreter is reinitialized

2015-02-14 Thread Nick Coghlan
Nick Coghlan added the comment: For the record, the open issues about applying 3121 and 384 to the standard libary: