[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data
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 and a push interface: * chunked encoder is a file writer object: user calls encoder’s write() and close() methods. This would suit APIs like saxutils.XMLGenerator and TextIOWrapper. * chunked encoder has a “feed parser” interface, codecs.IncrementalEncoder interface, or something else. The advantage of the push interface is that you could fairly easily feed data from an iterable or file reader into it simply by just doing shutil.copyfileobj() or equivalent. But to adapt the pull interface to a push interface would require “asyncio” support or a separate thread or something to invert the flow of control. So I think building the encoder with a push interface would be best. Rolf’s ChunkedHTTPConnectionMixin class appears to only support the pull interface (iterables and stream readers). I would welcome support for chunked uploading in Python’s “http.client” module, especially with push or stream writer support. I don’t think overwriting _send_request should be necessary; just call putrequest(), putheader() etc manually, and then call send() for each chunk. Perhaps there is scope for sharing the code with the “http.server” module (for encoding chunked responses). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12319 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23452] Build errors using VS Express 2013 in win32 mode
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 and in tcltk.props there are these two lines which appear relevant. tcltkDir$(ExternalsDir)tcltk\/tcltkDir tcltkDir Condition='$(Platform)' == x64'$(ExternalsDir)tcltk64\/tcltkDir I'm now way out of my depth and hoping this isn't a red herring. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23452 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23410] Document more BaseHTTPRequestHandler attributes
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23410 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23430] socketserver.BaseServer.handle_error() should not catch exiting exceptions
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: http://bugs.python.org/file38144/socketserver-exit.v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23430 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5054 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5053 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19050] crash while writing to a closed file descriptor
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 http://bugs.python.org/issue19050 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 = open(bug:test.txt,'w') f.write(hello) f.close() This script will complete without error, and f.write will return 5. This despite the colon character also being invalid in NTFS filenames! The output of the second script is an empty file called bug in the working directory. I expect it to throw the same exception as the first script. -- components: IO messages: 235964 nosy: Artfunkel priority: normal severity: normal status: open title: Incorrect behaviour when opening files containing colons on Windows type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23463 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17530] pprint could use line continuation for long bytes literals
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 32-bit ints are never broken. Examples: pprint.pprint(bytes(range(128))) (b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13' b'\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !#$%\'()*+,-./01234567' b'89:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{' b'|}~\x7f') pprint.pprint({'abcdefgh': bytes(range(128))}) {'abcdefgh': b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f' b'\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f' b' !#$%\'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[' b'\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f'} pprint.pprint(bytearray(range(128))) bytearray(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f' b'\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f' b' !#$%\'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_' b'`abcdefghijklmnopqrstuvwxyz{|}~\x7f') pprint.pprint({'abcdefgh': bytearray(range(128))}) {'abcdefgh': bytearray(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b' b'\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17' b'\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !#$%\'()*+,-./0123' b'456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefg' b'hijklmnopqrstuvwxyz{|}~\x7f')} -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file38138/pprint_bytes.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17530 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20833] scripts\pydocgui.pyw out of date
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22071] Remove long-time deprecated attributes from smtpd
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 invoked silently. Currently *everyone* who wants to open a file is expected to perform their own test for colons in the path, particularly those who are generating filenames from user data. (Unless they actually want to write to an alternate stream of course, but how often does that happen?) This is behaviour also introduces a cross-platform inconsistency, as a filename on NTFS means something slightly different from a filename on any other file system. Would it be wise for open() to only accept NTFS alternate stream path syntax if a special character is present in the 'mode' argument? -- components: -Windows resolution: not a bug - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23463 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22211] Remove VMS specific code in expat.h xmlrole.h
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20575] Type handling policy for the statistics module
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22794] missing test for issue 22457 regression commit
Mark Lawrence added the comment: Just a gentle reminder. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22794 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23463] Incorrect behaviour when opening files containing colons on Windows
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 rep...@bugs.python.org http://bugs.python.org/issue23463 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23461] Building on windows modifies importlib.h
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 by default, *has* caused me issues, so I tend to work on the basis that I'm better making sure my tools interoperate properly with Unix-style line endings than making my VCS translate for me. I was reluctant to enable the eol extension globally because of this. I've just discovered however that extensions can be enabled on a per-repo basis, which is a nice compromise, or I may just enable it globally and learn how to use it properly for other projects. I recall the discussion when the eol extension was created. However, I had mistakenly got the impression that the extension was for people who needed to work with CRLF extensions locally (IIRC, Visual Studio was a tool that preferred CRLF). Clearly that was wrong, and I'll switch to using the eol extension now. (As an aside, one of the downsides of having lurked on the edges of the python-dev community for as long as I have is that you think you know the processes, when actually they've changed since you last checked. Lesson learned - I'll reread the docs next time :-)) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23464] Remove or deprecate JoinableQueue in asyncio docs
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 -- components: asyncio messages: 235971 nosy: emptysquare, gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: Remove or deprecate JoinableQueue in asyncio docs versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23464 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments
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 code and docs but no tests. -- assignee: steve.dower files: pep486.patch keywords: patch messages: 235974 nosy: pmoore, steve.dower, vinay.sajip priority: normal severity: normal stage: patch review status: open title: Implement PEP 486 - Make the Python Launcher aware of virtual environments type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file38139/pep486.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23465 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19105] pprint doesn't use all width
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11245] Implementation of IMAP IDLE in imaplib?
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 Piers released imaplib2 which receives feature updates since. Last feature updates to the standard library imaplib were before Piers retired from Sydney University a decade ago. imaplib2 presents an almost identical API as that provided by the standard library imaplib, the main difference being that imaplib2 allows parallel execution of commands on the IMAP4 server, and implements the IDLE extension, so NO POLLING IS REQUIRED. IMAP server will push new mail notifications to the client. Imaplib2 also supports COMPRESS, ID, better timeout handling etc. There is 975 more lines of code all doing useful things a modern IMAP client needs. imaplib2 can be substituted for imaplib in existing clients with no changes in the code apart from required logout call to shutdown the threads. Old imaplib was ported to Python 3 with the rest of the standard library. I am working to port imaplib2 to py3, stuck on receiving bytes v strings. References: imaplib2 code and docs http://sourceforge.net/p/imaplib2/code/ci/master/tree/ also http://sydney.edu.au/engineering/it/~piers/python/imaplib2.html imaplib https://hg.python.org/cpython/file/3.4/Lib/imaplib.py Ruby stdlib support for idle (not that it hurts python performance, just my pride) http://ruby-doc.org/stdlib-2.0.0/libdoc/net/imap/rdoc/Net/IMAP.html#method-i-idle -- nosy: +Malina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11245 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23461] Building on windows modifies importlib.h
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 repository can't work without it. It's an absolute requirement that anybody working on the CPython repository has the eol extension enabled. In fact, the eol extension was added to Mercurial because of CPython, and was basically designed on python-dev. Look at CPython's .hgeol file to see what files are affected by it (it's basically every file under source control). -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23462] All os.exec*e variants crash on Windows
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, envlist), path-narrow is NULL, and the CRT kills the process due to a bad argument: (70.135c): Break instruction exception - code 8003 (first chance) ntdll!LdrpDoDebuggerBreak+0x30: `7733cb70 cc int 3 0:000 bp ntdll!ZwTerminateProcess 0:000 bp desktopcrt140!execve 0:000 g ModLoad: 07fe`fc85 07fe`fc868000 C:\Windows\system32\CRYPTSP.dll ModLoad: 07fe`fc55 07fe`fc597000 C:\Windows\system32\rsaenh.dll ModLoad: 07fe`fceb 07fe`fcebf000 C:\Windows\system32\CRYPTBASE.dll Python 3.5.0a1 (v3.5.0a1:5d4b6a57d5fd, Feb 7 2015, 18:15:14) [MSC v.1900 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. import nt, sys path = sys.executable nt.execve(path, ['python', '-V'], {}) Breakpoint 1 hit DESKTOPCRT140!_execve: 07fe`fa5ac43c 4d8bc8 mov r9,r8 0:000 r rcx rcx= The first argument is passed in AMD64 register rcx, which you can see is NULL here. 0:000 g Breakpoint 0 hit ntdll!NtTerminateProcess: `772e1570 4c8bd1 mov r10,rcx 0:000 k 8 Child-SP RetAddr Call Site `0038f5c8 07fe`fd11402f ntdll!NtTerminateProcess `0038f5d0 07fe`f54e003a KERNELBASE!TerminateProcess+0x2f `0038f600 07fe`f54e0055 APPCRT140!_invalid_parameter+0x76 `0038f640 07fe`fa5abbd8 APPCRT140!_invalid_parameter_noinfo+0x19 `0038f680 `6aa116a7 DESKTOPCRT140!common_spawnvchar+0x44 `0038f6e0 `6aa115a8 python35!os_execve_impl+0xb7 `0038f720 `6aa9ff3b python35!os_execve+0xa8 `0038f7d0 `6ab14aed python35!PyCFunction_Call+0xfb Using a bytes path with nt.execve will work, but it's deprecated on Windows: C:\py -3.5 -Wall Python 3.5.0a1 (v3.5.0a1:5d4b6a57d5fd, Feb 7 2015, 18:15:14) [MSC v.1900 64 bit (AMD64)] on win32 Type help, copyright, credits or license for more information. import os, nt, sys path = os.fsencode(sys.executable) nt.execve(path, ['python', '-V'], {}) __main__:1: DeprecationWarning: The Windows bytes API has been deprecated, use Unicode filenames instead C:\Python 3.5.0a1 Since bytes paths are deprecated on Windows, these calls should be using wexecv and wexecve. https://msdn.microsoft.com/en-us/library/431x4c1w%28v=vs.100%29.aspx -- nosy: +eryksun versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23462 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12955] urllib.request example should use with ... as:
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23414] seek(count, whence) accepts bogus whence on windows, python2.7
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 introducing into a maintenance release. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23414 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4773] HTTPMessage not documented and has inconsistent API across Py2/Py3
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23437] Make user scripts directory versioned on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments
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 local :). When the PEP is accepted I'll apply the patch (I don't think I've been appointed BDFL-delegate for this yet as Nick suggested, but if I am then I don't see any reason not to accept it). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23465 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23461] Building on windows modifies importlib.h
Zachary Ware added the comment: Thanks, Steve! -- assignee: - steve.dower stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22735] Fix various crashes exposed through mro() customization
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23399] venv should create relative symlinks where possible
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23399 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23461] Building on windows modifies importlib.h
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23437] Make user scripts directory versioned on Windows
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 status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23437 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23461] Building on windows modifies importlib.h
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. However, this will make it much easier for non-core devs to build from source, whether from h.p.o or the tarballs. -- resolution: - fixed status: open - closed type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23406] interning and list comprehension leads to unexpected behavior
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23420] python -m cProfile -s fails with non informative message
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23420] python -m cProfile -s fails with non informative message
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 mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23460] Decimals do not obey ':g' exponential notation formatting rules
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 - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23460 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23437] Make user scripts directory versioned on Windows
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 http://bugs.python.org/issue23437 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23437] Make user scripts directory versioned on Windows
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23437] Make user scripts directory versioned on Windows
Steve Dower added the comment: Thanks. I always forget about those. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23437 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 -- Traceback (most recent call last): File /mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py, line 470, in test_NULL_ob_type 'set v-ob_type=0') File /mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py, line 441, in assertSane cmds_after_breakpoint=cmds_after_breakpoint) File /mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py, line 227, in get_gdb_repr import_site=import_site) File /mnt/DREAMStorage/dje/cpython-buildarea/3.x.edelsohn-zwheezy-z/build/Lib/test/test_gdb.py, line 205, in get_stack_trace self.assertEqual(unexpected_errlines, []) AssertionError: Lists differ: ['warning: Could not load shared library symbols for linux-vdso64.so.1.'] != [] First list contains 1 additional elements. First extra element 0: warning: Could not load shared library symbols for linux-vdso64.so.1. - ['warning: Could not load shared library symbols for linux-vdso64.so.1.'] + [] -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22844 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23457] make test failures
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 behavior of corner cases in AIX system libraries. Python works on AIX and should work for your purposes to build Firefox. I don't understand why you think that the problems must be fixed for you to make progress on your project. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
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 #17753: Skip test_zipfile tests which require write access to test https://hg.python.org/cpython/rev/174f24d33bfe New changeset dfe75713f152 by Serhiy Storchaka in branch '2.7': Issue #17753: Skip test_zipfile tests which require write access to test https://hg.python.org/cpython/rev/dfe75713f152 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17753 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22633] Memory disclosure/buffer overread via bug in Py_FrozenMain
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 unallocated memory when argc == 0 (closes #22633) https://hg.python.org/cpython/rev/687b970c8ba9 New changeset ba2da33d2654 by Benjamin Peterson in branch 'default': merge 3.4 (#22633) https://hg.python.org/cpython/rev/ba2da33d2654 -- nosy: +python-dev resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22633 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 test_gdb failure on Debian Wheezy for Z. https://hg.python.org/cpython/rev/df696b544b3c New changeset eb3a6243af33 by Serhiy Storchaka in branch '2.7': Issue #22844: Fized test_gdb failure on Debian Wheezy for Z. https://hg.python.org/cpython/rev/eb3a6243af33 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22844 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12639] msilib Directory.start_component() fails if keyfile is not None
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23233] TypeError in ./setup.py
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. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23233 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13637] binascii.a2b_* functions could accept unicode strings
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 versionchanged directives. https://hg.python.org/cpython/rev/d3ca674cf716 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13637 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13637] binascii.a2b_* functions could accept unicode strings
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO
Berker Peksag added the comment: Can this be closed now? -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15381 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22003] BytesIO copy-on-write
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 http://bugs.python.org/issue22003 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22107] tempfile module misinterprets access denied error on Windows
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 name +# already exists on windows. +if _os.name == 'nt': +continue +else: +raise raise FileExistsError(_errno.EEXIST, No usable temporary file name found) Could we simply set a flag saying it's a PermissionError and then raise the appropriate PermissionError or FileExistsError at the end of the loop? -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22107 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22035] Fatal error in dbm.gdbm
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22035] Fatal error in dbm.gdbm
Serhiy Storchaka added the comment: Oh, Mark, please stop shaking up bug tracker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22035 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23430] socketserver.BaseServer.handle_error() should not catch exiting exceptions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23400] Inconsistent behaviour of multiprocessing.Queue() if sem_open is not implemented
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1508475] transparent gzip compression in urllib
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21898] .hgignore: Missing ignores for Eclipse/pydev
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 http://bugs.python.org/issue21898 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13637] binascii.a2b_* functions could accept unicode strings
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 exception message of a2b_* functions. https://hg.python.org/cpython/rev/55f5e960cc40 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13637 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22844] test_gdb failure on Debian Wheezy for Z
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17753] test_zipfile: requires write access to test and email.test
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20059 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO
Serhiy Storchaka added the comment: No, I'm working on more advanced patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15381 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12239 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23465] Implement PEP 486 - Make the Python Launcher aware of virtual environments
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 64-bit - so it's not really a job for the standard Python test suite. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23465 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12639] msilib Directory.start_component() fails if keyfile is not None
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 http://bugs.python.org/issue12639 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21257] Document parse_headers function of http.client
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23458] [2.7] random: make the file descriptor non-inheritable (on POSIX)
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23457] make test failures
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 python were supplied to me. The only reason I am trying to create a new version of python is because when I tried to build a gnome module which is required to build gtk+ is did not like any of the version of python that I have installed. The only reason that I am asking about these test failures is because I have no idea if they will cause problems in all my follow on builds. firefox acts funny in AIX (maybe other UNIX builds)! Somewhere in the final linked module there are bugs that can cause firefox to hang. Just wanted to make sure everything up to the point before the build of firefox is OK. As you probably know mozilla will not provide any support in my efforts to build a working firefox. (Not sure I can even build a working version. Definitely not a C++ programmer and am just a novice C programmer. Need to eliminate all possible of errors I can.) I really need a working browser. (I have an open PMR with AIX support because firefox can not access the online documentation for AIX. Just great. Documentation is only available online and I can not get to it. AIX support say they do not support firefox so it my fault I can not access the online documentation.) I guess I could just install python and continue trying to build firefox. Oh! By the way. Do you know if when I install this version of pyhton the gmake install will remove the older version of pyhton? Not talking about the AIX or Linux toolkit version; but the one that is installed in the directory where I will be installing this version of python. Appreciate the help! Dwight -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23439] Fixed http.client.__all__ and added a test
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(). -- Added file: http://bugs.python.org/file38140/http.client-all.v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23439 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23462] All os.exec*e variants crash on Windows
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'],{}) os.execlpe('C:/Python34/python.exe','python.exe','-V',{}) os.execvpe('C:/Python34/python.exe',['python.exe','-V'],{}) Without any error message, windows will just open a Python.exe has stopped working window, be the scripts run from an interactive shell or invoking python script.py On the other hand, os.execl('C:/Python34/python.exe','Python.exe','-V') os.execve('C:/Python34/python.exe',['python.exe','-V']) os.execlpe('C:/Python34/python.exe','python.exe','-V') os.execvpe('C:/Python34/python.exe',['python.exe','-V']) will work perfectly. -- components: Windows messages: 235952 nosy: nicolaje, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: All os.exec*e variants crash on Windows type: crash versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23462 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23462] All os.exec*e variants crash on Windows
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23462 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19105] pprint doesn't use all width
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19105 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20508] IndexError from ipaddress._BaseNetwork.__getitem__ has no message
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 rep...@bugs.python.org http://bugs.python.org/issue20508 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20657] OpenBSD: Merge patches
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed
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 3; maybe Mike’s code will work for Python 2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5054 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16361] HTTPS/TLS Problem in Python 3.3
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16361 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21387] Memory leaks when embedded interpreter is reinitialized
Nick Coghlan added the comment: For the record, the open issues about applying 3121 and 384 to the standard libary: http://bugs.python.org/issue?%40columns=id%2Cactivity%2Ctitle%2Ccreator%2Cassignee%2Cstatus%2Ctype%40sort=-activity%40filter=status%40action=searchidignore=file%3Acontent%40search_text=pep+3121submit=searchstatus=-1%2C1%2C3 -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21387 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com