[issue24136] document PEP 448: unpacking generalization

2016-06-12 Thread Martin Panter
Martin Panter added the comment: Thanks for the review. I committed my patch in the hope that it makes it into 3.5.2, but if people want to suggest further improvements etc that is okay. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue10839] email module should not allow some header field repetitions

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: The API in Python 3 is very different and I'm not sure we can backport the expected behavior without breaking other people's code (unless we treat this as a security issue). Here is a naive backport for 2.7. Known test failures: test_get_all, test_get_decoded_u

[issue15649] subprocess.Popen.communicate: accept str for input parameter if universal_newlines is False

2016-06-12 Thread Martin Panter
Martin Panter added the comment: See also Issue 27273, proposing to use text string input as an indicator to turn on universal_newlines=True in the higher-level functions. I’m not excited by either proposal, but I find the other one a bit more palatable. IMO allowing text string input to commu

[issue27286] str object got multiple values for keyword argument

2016-06-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue12623] "universal newlines" subprocess support broken with select- and poll-based communicate()

2016-06-12 Thread Martin Panter
Martin Panter added the comment: . Summary: There was originally a bug, but it has been fixed. At best, we leave this open to work on including Andrew’s patch. Andrew’s patch adds a modified copy of test_universal_newlines_communicate_stdin(). But it does not look correct, and would fail on W

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2016-06-12 Thread Martin Panter
Changes by Martin Panter : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue17900] Recursive OrderedDict pickling

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Reported PyYAML issue: https://bitbucket.org/xi/pyyaml/issues/61/ordereddict-doesnt-round-trip. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27221] multiprocessing documentation is outdated regarding method picklability

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Actually, we can remove the versionchanged directive. The attached script works fine with the spawn start method in Python 3.4. I will commit the following version: Ensure that all arguments to :meth:`Process.__init__` are picklable. Also, if you subcla

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset c071da010053 by Serhiy Storchaka in branch '2.7': Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag. https://hg.python.org/cpython/rev/c071da010053 New changeset 17e78918f608 by Serhiy Storchaka in branch '3.5': Issue #2

[issue27221] multiprocessing documentation is outdated regarding method picklability

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 97254031f0b7 by Berker Peksag in branch '3.5': Issue #27221: Delete an outdated paragraph about pickle support of Process https://hg.python.org/cpython/rev/97254031f0b7 New changeset 5b9d8b5b1139 by Berker Peksag in branch 'default': Issue #27221: M

[issue27221] multiprocessing documentation is outdated regarding method picklability

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-06-12 Thread Martin Panter
Martin Panter added the comment: . Michael, how are you supposed to apply your latest patch? I have Gnu Patch 2.7.5, but even in the best case it doesn’t find the files to patch: $ patch -p1 -n < python.Lib.ctypes.160608.patch can't find file to patch at input line 2 The text leading up to this

[issue15243] Misleading documentation for __prepare__

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: The documentation should mention that the __prepare__ method must be implemented as a classmethod (see msg164697 for the reference.) The example at https://docs.python.org/dev/reference/datamodel.html#metaclass-example needs to be linked from the "Preparing th

[issue27300] tempfile.TemporaryFile(): missing errors=... argument

2016-06-12 Thread Марк Коренберг
Changes by Марк Коренберг : -- components: IO, Library (Lib) nosy: mmarkk priority: normal severity: normal status: open title: tempfile.TemporaryFile(): missing errors=... argument type: enhancement versions: Python 3.6 ___ Python tracker

[issue27299] urllib does not splitport while putrequest realhost to HTTP headers

2016-06-12 Thread Xiang Zhang
Xiang Zhang added the comment: It's server side behaviour. Asking here may not get results. I think it's normal for the server to return error if it thinks the header is invalid. -- ___ Python tracker

[issue6057] sqlite3 error classes should be documented

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Here is a list of exceptions that need to be documented: IntegrityError, Warning, Error, ProgrammingError and DatabaseError. -- nosy: +berker.peksag priority: low -> normal type: behavior -> enhancement versions: +Python 3.5, Python 3.6 -Python 3.2, Pyth

[issue27188] sqlite3 execute* methods return value not documented

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset a825aee0721f by Berker Peksag in branch '3.5': Issue #27188: Fix various sqlite3 documentation errors https://hg.python.org/cpython/rev/a825aee0721f New changeset 187b2bc0fe26 by Berker Peksag in branch 'default': Issue #27188: Merge from 3.5 https:

[issue27188] sqlite3 execute* methods return value not documented

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch Dave. I found a couple of more issues while reviewing the patch and fixed them. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-12 Thread Martin Panter
Martin Panter added the comment: I updated the patch to fix the error handling and memory leak. it also now skips the test in case the locale cannot encode the test data. -- Added file: http://bugs.python.org/file43359/readline_locale.v4.patch ___ Py

[issue27190] Check sqlite3_version before allowing check_same_thread = False

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12bf71b9f1cd by Berker Peksag in branch '3.5': Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 https://hg.python.org/cpython/rev/12bf71b9f1cd New changeset 4502cff170c2 by Berker Peksag in branch 'default': Issue #27190: Merge f

[issue27190] Check sqlite3_version before allowing check_same_thread = False

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker ___

[issue21250] sqlite3 doesn't have unit tests for 'insert or [algorithm]' functionality.

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch Alex. Some quick review comments: * We need to skip SqliteOnConflictTests if the installed sqlite3 doesn't support the feature * There is no need to duplicate https://www.sqlite.org/lang_conflict.html in every test. You can add it to Sqlit

[issue16113] Add SHA-3 and SHAKE (Keccak) support

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16353] add function to os module for getting path to default shell

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26798] add BLAKE2 to hashlib

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26835] Add file-sealing ops to fcntl

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26836] Add memfd_create to os module

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26907] Add missing getsockopt constants

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4821] Patches for thread-support in built-in SHA modules

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26122] Isolated mode doesn't ignore PYTHONHASHSEED

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18233] SSLSocket.getpeercertchain()

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26471] load_verify_locations(cadata) should load AUX ASN.1 to supported trusted certs

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18369] X509 cert class for ssl module

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16234] Implement correct block_size and tests for HMAC-SHA3

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19328] Improve PBKDF2 documentation

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16632] Enable DEP and ASLR

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18550] internal_setblocking() doesn't check return value of fcntl()

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18546] ssl.get_server_certificate like addition for cert chain

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20674] Update comments in dictobject.c

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17405] Add _Py_memset_s() to securely clear memory

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15464] ssl: add set_msg_callback function

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17318] xml.sax and xml.dom fetch DTDs by default

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26867] test_ssl test_options fails on ubuntu 16.04

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27292] Warn users that os.urandom() can return insecure values

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27293] Summarize issues related to urandom, getrandom etc in secrets documentation

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27266] Always use getrandom() in os.random() on Linux and add block=False parameter to os.urandom()

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27250] Add os.urandom_block()

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27272] random.Random should not read 2500 bytes from urandom

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27279] Add random.cryptorandom() and random.pseudorandom, deprecate os.urandom()

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue26826] Expose new copy_file_range() syscall in os module.

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27297] Add support for /dev/random to "secrets"

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: I'm not sure if 17e78918f608 is relevant but test_gc is failing on several buildbots: * http://buildbot.python.org/all/builders/PPC64%20Fedora%203.5/builds/716 http://buildbot.python.org/all/builders/PPC64%20Fedora%203.5/builds/716/steps/test/logs/stdio * ht

[issue27289] test_ftp_timeout fails with EOFError

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Just saw this again: http://buildbot.python.org/all/builders/x86-64%20Ubuntu%2015.10%20Skylake%20CPU%203.5/builds/543/steps/test/logs/stdio -- ___ Python tracker __

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch for io classes needed an update. -- Added file: http://bugs.python.org/file43360/io_recursive_repr2.patch ___ Python tracker ___ ___

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7859742826b2 by Serhiy Storchaka in branch '2.7': Issue #25455: Backported tests for pickling recursive functools.partial objects. https://hg.python.org/cpython/rev/7859742826b2 -- ___ Python tracker

[issue24869] shlex lineno inaccurate with certain inputs

2016-06-12 Thread Christopher Hoadley
Christopher Hoadley added the comment: This problem makes it impossible to use shlex to parse commands where a newline is intended to separate commands. In the attached sample script, I created two input strings with the same tokens in the same order: the only difference is newlines and space

[issue17239] XML vulnerabilities in Python

2016-06-12 Thread Martin Panter
Changes by Martin Panter : -- dependencies: +Avoid entity expansion attacks in Element Tree, xml.sax and xml.dom fetch DTDs by default ___ Python tracker ___ ___

[issue17239] XML vulnerabilities in Python

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue27295] heaps library does not have support for max heap

2016-06-12 Thread James Lu
James Lu added the comment: It's not a very pythoniic way to simply negate the value. Plus, the majority of heap users want performance (heap was made for speed), so a C version would be much better. On Sat, Jun 11, 2016 at 4:39 PM, Raymond Hettinger wrote: > > Raymond Hettinger added the com

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, tests for recursive partial objects create reference loops and don't clean them. Thank you Berker. I'll fix this. -- ___ Python tracker _

[issue25455] Some repr implementations don't check for self-referential structures

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0323b33894f2 by Serhiy Storchaka in branch '3.5': Issue #25455: Clean up reference loops created in tests for recursive https://hg.python.org/cpython/rev/0323b33894f2 New changeset 688edc946ab9 by Serhiy Storchaka in branch '2.7': Issue #25455: Clea

[issue27095] Simplify MAKE_FUNCTION

2016-06-12 Thread Demur Rumed
Demur Rumed added the comment: Kind of amusing how visit_argannoation logic went full circle. Makes sense considering pre-mkfu patch the ABI was quite similar on that front -- Added file: http://bugs.python.org/file43362/mkfu5.patch ___ Python tracke

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. But the test fails with PYTHONIOENCODING=ascii. $ PYTHONIOENCODING=ascii ./python -m test test_readline Run tests sequentially 0:00:00 [1/1] test_readline test test_readline failed -- Traceback (most recent call last): File "/home/serhiy/py/cpython/Li

[issue27095] Simplify MAKE_FUNCTION

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, this is why I wanted first push the patch with BUILD_CONST_KEY_MAP. -- ___ Python tracker ___ ___

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2016-06-12 Thread ppperry
Changes by ppperry : -- components: +Windows nosy: +paul.moore, tim.golden, zach.ware ___ Python tracker ___ ___ Python-bugs-list mail

[issue27289] test_ftp_timeout fails with EOFError

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e3a5770e5f6 by Berker Peksag in branch '3.5': Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib https://hg.python.org/cpython/rev/2e3a5770e5f6 New changeset fc0e8c7235f1 by Berker Peksag in branch 'default': Issue #272

[issue27289] test_ftp_timeout fails with EOFError

2016-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27095] Simplify MAKE_FUNCTION

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Regenerated for review. -- Added file: http://bugs.python.org/file43363/mkfu5.patch ___ Python tracker ___ ___

[issue20916] ssl.enum_certificates() will not return all certificates trusted by Windows

2016-06-12 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue26862] android: SYS_getdents64 does not need to be defined on android API 21

2016-06-12 Thread Stefan Krah
Stefan Krah added the comment: posixmodule_3.patch looks good to me. Gregory has already approved the approach, so I think you can go ahead and commit this. -- ___ Python tracker __

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 367b3f41710a by Berker Peksag in branch '3.5': Issue #15657: Delete incorrect statement from PyMethodDef documentation https://hg.python.org/cpython/rev/367b3f41710a New changeset 7fa4986d8218 by Berker Peksag in branch 'default': Issue #15657: Null

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f520ae3b537b by Berker Peksag in branch '2.7': Issue #15657: Delete incorrect statement from PyMethodDef documentation https://hg.python.org/cpython/rev/f520ae3b537b -- ___ Python tracker

[issue27136] sock_connect fails for bluetooth (and probably others)

2016-06-12 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: Thanks Martin. That test verifies behavior that I observe in Mac OS 10.10 and other modern platforms: >>> socket.getaddrinfo('::2', 80, socket.AF_INET6, socket.SOCK_STREAM, >>> socket.IPPROTO_TCP) [(30, 1, 6, '', ('::0.0.0.2', 80, 0, 0))] Investigating,

[issue27254] UAF in Tkinter module

2016-06-12 Thread Emin Ghuliev
Changes by Emin Ghuliev : -- title: heap overflow in Tkinter module -> UAF in Tkinter module ___ Python tracker ___ ___ Python-bugs-li

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: > Then change the value of METH_KEYWORDS from 0x0002 to 0x0003 in 3.6. Here is a patch. -- Added file: http://bugs.python.org/file43364/issue15657_36.diff ___ Python tracker __

[issue27136] sock_connect fails for bluetooth (and probably others)

2016-06-12 Thread Martin Panter
Martin Panter added the comment: Okay changing to ::1 might have a decent chance of success. If nobody else comes forward, I can try committing it and see if it fixes the buildbot. -- ___ Python tracker __

[issue26721] Avoid socketserver.StreamRequestHandler.wfile doing partial writes

2016-06-12 Thread Martin Panter
Martin Panter added the comment: Merged with current code, and migrated the interrupted-write test from test_wsgiref into test_socketserver. -- Added file: http://bugs.python.org/file43365/buffered-wfile.v3.patch ___ Python tracker

[issue10839] email module should not allow some header field repetitions

2016-06-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 11, 2016, at 09:25 PM, Raymond Hettinger wrote: >I think we should consider this as an API design bug and backport the fix. No, it's deliberate, required, and expected in some cases as RDM explains. Certainly for compat32 policy, this can't change. Oth

[issue26721] Avoid socketserver.StreamRequestHandler.wfile doing partial writes

2016-06-12 Thread Martin Panter
Martin Panter added the comment: Forgot to remove the workaround added to 3.5 for wsgiref in Issue 24291 -- Added file: http://bugs.python.org/file43366/buffered-wfile.v4.patch ___ Python tracker __

[issue9625] argparse: Problem with defaults for variable nargs when using choices

2016-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.5, Python 3.6 -Python 3.2 ___ Python tracker ___

[issue27227] argparse fails to parse [] when using choices and nargs='*'

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: Looking at this again, I think we should fix this in issue 9625. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> argparse: Problem with defaults for variable nargs when using choices ___

[issue27095] Simplify MAKE_FUNCTION

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a0fe3481c91 by Serhiy Storchaka in branch 'default': Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. https://hg.python.org/cpython/rev/8a0fe3481c91 -- nosy: +python-dev ___ Pytho

[issue27095] Simplify MAKE_FUNCTION

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pushed with minor changes. Thank you for your contribution Demur! You change to the documentation of EXTENDED_ARG isn't pushed. I would prefer to see it as a part of larger documentation patch in issue26647. After pushing I found a bug (similar bug was exist

[issue27301] Incorrect return codes in compile.c

2016-06-12 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Macros ADDOP, ADDOP_I, ADDOP_O, etc are used in Python/compile.c for emitting instructions. They make functions where they are used returning 0 on error. But some functions return -1 on error and non-negative integer on success. 0 is legitimate value. In c

[issue27301] Incorrect return codes in compile.c

2016-06-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch Added file: http://bugs.python.org/file43367/compile_rc-3.6.patch ___ Python tracker ___ ___

[issue27302] csv.Sniffer guesses wrong when unquoted fields contain quotes

2016-06-12 Thread Redoute
New submission from Redoute: When delimited text fields are not quoted, but embedded text contains some quoted words, sniff() will guess the wrong delimiter. The attached script contains a simple tab-delimited text where sniff() detects space as delimiter. -- components: Library (Lib)

[issue27025] More human readable generated widget names

2016-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I based my opinion on trying to actually read and understand the output of tknames.py, with your patch done both ways, in a way that I would do in use. Since class names always begin with upper case, it did not occur to me to read '1' as anything other than '

[issue27186] add os.fspath()

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6a35aa1995ab by Brett Cannon in branch 'default': Issue #27186: skip bytes path test for os.scandir() on Windows https://hg.python.org/cpython/rev/6a35aa1995ab -- ___ Python tracker

[issue27186] add os.fspath()

2016-06-12 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the notice, Martin! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue27025] More human readable generated widget names

2016-06-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Generated names are in lower case. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue27300] tempfile.TemporaryFile(): missing errors=... argument

2016-06-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue27239] Make idlelib.macosx self-contained.

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8a2b6efdd4a by Terry Jan Reedy in branch 'default': Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests. https://hg.python.org/cpython/rev/d8a2b6efdd4a -- ___ Python tracker

[issue27239] Make idlelib.macosx self-contained.

2016-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Remove the now unneeded call in htest to _init_tk_type. It was tempting to leave the call for the 'efficiency' of the direct call with the available root, but there is a mental efficiency in removing it and making _init_tk_type completely an internal implemen

[issue27262] IDLE: move Aqua context menu code to maxosx

2016-06-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Changeset d8a2b6efdd4a, #27239, adds a test of setupApp in test_macosx that fails on any system, in particular mine, when Ned's fix is undone. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed __

  1   2   >