[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

2016-08-23 Thread geeknik
geeknik added the comment: Interesting that only Python exhibits this "leaky" behavior that generates a LeakSanitizer error. I don't see similar behavior in Perl, Ruby or PHP. Running a non-ASAN build under Valgrind reports that a leak is still occurring: LEAK SUMMARY: ==15496==definitely

[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

2016-08-23 Thread R. David Murray
R. David Murray added the comment: I'm not saying there isn't a leak, rather I'm trying to understand what you are reporting, without any understanding of ASN. So I'm going to leave this to others to evaluate. Also, do you see the same thing in 3.5 or 3.6? We aren't patching 3.4 anymore (ex

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Changes by Guido van Rossum : -- stage: test needed -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Guido van Rossum added the comment: Actually there's one TODO left: the docs for typing (at least in 3.6) should mention Collection. -- ___ Python tracker ___ ___

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Guido van Rossum added the comment: changeset: 102867:355fa8bd8d9d branch: 3.5 parent: 102860:e3466a556d81 user:Guido van Rossum date:Tue Aug 23 11:01:50 2016 -0700 summary: A new version of typing.py from https://github.com/python/typing. changeset: 102868:013

[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

2016-08-23 Thread geeknik
geeknik added the comment: Sure, 3.5 and/or 3.6 has memory leaks during compilation: https://bugs.python.org/issue27780 And I just compiled 3.5.2 and running that version of python against a non-existent file returns this from LeakSanitizer: ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-3.5/bin/llvm-symb

[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

2016-08-23 Thread koobs
Changes by koobs : -- nosy: +koobs versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue27787] Avoid test_main() in test_httplib; gc.collect() dangling threads

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31e4495a34ce by Terry Jan Reedy in branch 'default': Issue #27787: No longer call deleted test_main(). https://hg.python.org/cpython/rev/31e4495a34ce -- ___ Python tracker

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27834] test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot

2016-08-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is related to issue 24773. -- assignee: -> belopolsky stage: -> needs patch type: -> behavior ___ Python tracker ___ _

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

2016-08-23 Thread Michael Felt
Michael Felt added the comment: New patch (diff) - that I hope address the comments made in the previous submission -- Added file: http://bugs.python.org/file44205/Python3.6.Lib.ctypes.160823.patch ___ Python tracker

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

2016-08-23 Thread Michael Felt
Michael Felt added the comment: patch to include RTLD_MEMBER in Modules/_ctypes and also "document", or not document, RTLD_NOW -- Added file: http://bugs.python.org/file44206/Python3.6.Modules._ctypes.160823.patch ___ Python tracker

[issue27834] test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset a13c51bde2b4 by Alexander Belopolsky in branch 'default': Issue #27834: Avoid overflow error in ZoneInfo.invert(). https://hg.python.org/cpython/rev/a13c51bde2b4 -- nosy: +python-dev ___ Python tracker <

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Ned. (And apologies.) The test_math tests are too strict in this case, which is one of the issues that Jeff's full patch fixes. It looks like my strategy of applying the patch in two pieces isn't going to work. I'll revert the change for now, and have

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-23 Thread R. David Murray
R. David Murray added the comment: This is causing a test failure on the windows 8 bot. Can you fix it Xiang? Otherwise I'll have to revert. http://buildbot.python.org/all/builders/AMD64%20Windows8%202.7/builds/870 == ERROR:

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: Reverted in https://hg.python.org/cpython/rev/4389aa3507c5 -- ___ Python tracker ___ ___ Python-bugs

[issue27643] test_ctypes fails on AIX with xlc

2016-08-23 Thread Michael Felt
Michael Felt added the comment: Using: root@x064:[/data/prj/aixtools/python/tests]cat -n bits.c 1 struct BITS { 2 signed int A: 1, B:2, C:3, D:4, E: 5, F: 6, G: 7, H: 8, I: 9; 3 signed short M: 1, N: 2, O: 3, P: 4, Q: 5, R: 6, S: 7; 4 signed char T: 1, U:

[issue27643] test_ctypes fails on AIX with xlc

2016-08-23 Thread Michael Felt
Michael Felt added the comment: On 23-Aug-16 21:23, Michael Felt wrote: > Michael Felt added the comment: > > Using: > > root@x064:[/data/prj/aixtools/python/tests]cat -n bits.c >1 struct BITS { >2 signed int A: 1, B:2, C:3, D:4, E: 5, F: 6, G: 7, H: 8, I: 9; >3

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Guido, thank you for committing! There are also some other omissions in docs, Type[C], @overload, there is #26141 to track this. I will submit a patch later. Until 3.6beta1 I would like to focus on PEP 526. -- ___

[issue27643] test_ctypes fails on AIX with xlc

2016-08-23 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I am able to replicate what Michael has provided (i.e., xlc does not support signed short). Sorry for the confusion: I overlooked that the compiler is emitting the error with may patch and assuming 'unsigned'. So it seems like there are two things to ad

[issue27834] test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot

2016-08-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The build succeeded. http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1292 Closing. Thanks for the report, Victor. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-08-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As far as I can tell, the buildbots are happy now. Closing. Please open new issues if missed anything. -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue27821] IDLE custom keymaps don't work anymore (Windows, Python 3.6.0a3)

2016-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can't make any sense of this report. In configdialog.py, the DynOptionMenu self.optMenuKeysCuston is set in LoadKeyConfig (line 1066) by itemList = idleConf.GetSectionList('user', 'keys') itemList.sort() if not itemList:

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-23 Thread STINNER Victor
STINNER Victor added the comment: Stefan Behnel added the comment: > If you care so much about C stack space, you could also try to create two or > three entry point functions that keep (say) a 4, 8 and 16 items array on the > stack respectively, (...) I should compute statistics, but I'm quit

[issue27845] Optimize update_keyword_args() function

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: In the review of my issue #27830 "Add _PyObject_FastCallKeywords(): pass keyword arguments as (key, value) pairs", Antoine Pitrou wrote about _PyStack_AsDict(): "It's a pity that you're doing two dict lookups per keyword argument. Another strategy would be t

[issue27834] test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot

2016-08-23 Thread STINNER Victor
STINNER Victor added the comment: Oh cool, thanks for the quick fix ;-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue27809] _PyObject_FastCall(): add support for keyword arguments

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70f88b097f60 by Victor Stinner in branch 'default': Issue #27809: map_next() uses fast call https://hg.python.org/cpython/rev/70f88b097f60 New changeset 0e4f26083bbb by Victor Stinner in branch 'default': PyObject_CallMethodObjArgs() now uses fast c

[issue27809] _PyObject_FastCall(): add support for keyword arguments

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 401f59a7020b by Victor Stinner in branch 'default': PyObject_CallMethodObjArgs() now uses fast call https://hg.python.org/cpython/rev/401f59a7020b -- ___ Python tracker

[issue27809] _PyObject_FastCall(): add support for keyword arguments

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b241e761f8f by Victor Stinner in branch 'default': Issue #27809: map_next() uses fast call https://hg.python.org/cpython/rev/1b241e761f8f -- ___ Python tracker __

[issue24265] IDLE -s and (-, -c command, or -r file) produces error message

2016-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I confirmed the bug on Win10 with 3.5 and 3.6. "python -m idlelibl -s" prints a prompt*, runs the file and prints any output, and prints a prompt. It then accepts user input. When "-c command" is added, it should accept that as user input (and perhaps displ

[issue25916] wave module readframes now returns bytes not str

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ac8e8568da2 by R David Murray in branch '3.5': #25916: fix a few 'string of bytes' references. https://hg.python.org/cpython/rev/7ac8e8568da2 New changeset 089f7d761a9c by R David Murray in branch 'default': Merge: #25916: fix a few 'string of byte

[issue25916] wave module readframes now returns bytes not str

2016-08-23 Thread R. David Murray
R. David Murray added the comment: Thanks SilentGhost. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23183] timeit CLI best of 3: undocumented output format

2016-08-23 Thread R. David Murray
R. David Murray added the comment: I think the use of "timing loop" is very confusing, since the word 'loop' refers to one execution of the statement body in the actual output text. What about calling it a 'timing run'? It looks like whatever we come up with should be applied to 3.5 and 3.6

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Niko Yasui
Changes by Niko Yasui : Removed file: http://bugs.python.org/file44198/multi_log_cookbook.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Niko Yasui
Niko Yasui added the comment: I see, I didn't realize that the simpler code would break under certain conditions. While there are definitely simpler examples in other documents, I haven't been able to find any indication that there is a simpler way to do multiprocessing and logging together,

[issue27643] test_ctypes fails on AIX with xlc

2016-08-23 Thread Martin Panter
Martin Panter added the comment: Michael: When posting to the bug tracker, please trim irrelevant parts of old messages. It makes it hard to see if you actually added anything new. > [Me] If your compiler does not support “signed short” bitfields, maybe we > just have to accept that ctypes sup

[issue26907] Add missing getsockopt constants

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed5f5d490490 by R David Murray in branch 'default': #26907: add some missing getsockopt constants. https://hg.python.org/cpython/rev/ed5f5d490490 -- nosy: +python-dev ___ Python tracker

[issue26907] Add missing getsockopt constants

2016-08-23 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue27842] Order CSV header fields

2016-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a nice improvement. The patch needs a test and the docs need a versionchanged entry. -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker _

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-23 Thread Xiang Zhang
Xiang Zhang added the comment: Oh, sorry. Upload bot_failure_fix.patch to fix this. -- Added file: http://bugs.python.org/file44207/bot_failure_fix.patch ___ Python tracker ___ __

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0effb34f3276 by Martin Panter in branch 'default': Issue #12319: Support for chunked encoding of HTTP request bodies https://hg.python.org/cpython/rev/0effb34f3276 -- nosy: +python-dev ___ Python tracker

[issue12319] [http.client] HTTPConnection.request not support "chunked" Transfer-Encoding to send data

2016-08-23 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thank you and great work everyone involved with this change. Regards. -- ___ Python tracker ___ ___

<    1   2