[issue25572] _ssl doesn't build on OSX 10.11

2016-06-22 Thread Caleb Hattingh
Caleb Hattingh added the comment: I struggled with this issue, and eventually found the recommendations about linking with homebrew's OpenSSL on StackOverflow or similar, and then only later found this issue here (and with it the link to the devguide); but the *first* places I looked were the

[issue21106] Updated Mac folder icon

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Closing as an out of date issue (greater than 2 years old). -- nosy: +willingc resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue13759] Python 3.2.2 Mac installer version doesn't accept multibyte character in interactive mode

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Ned, Closing as an out of date issue. -- nosy: +willingc resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue13829] exception error in _scproxy.so

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Closed as an out of date issue. -- nosy: +willingc resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Closed as an out of date issue. -- nosy: +willingc resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue16821] bundlebuilder broken in 2.7

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Closed as an out of date issue. -- nosy: +willingc resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue14354] Crash in _ctypes_alloc_callback

2016-06-22 Thread Carol Willing
Carol Willing added the comment: As per Ronald's last comment "close this as a duplicate of #16575 as that better explains the underlying problem". Closing this dated and duplicate issue. -- components: +Benchmarks -Macintosh, ctypes nosy: +brett.cannon, pitrou, willingc resolution: -

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as "universal"

2016-06-22 Thread Carol Willing
Carol Willing added the comment: Closing this out of date issue. -- nosy: +willingc resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue8406] Make some setup.py paths exclude-able

2016-06-22 Thread Carol Willing
Changes by Carol Willing : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8406] Make some setup.py paths exclude-able

2016-06-22 Thread Carol Willing
Carol Willing added the comment: This issue is languishing. Recommend closing the issue. -- nosy: +willingc ___ Python tracker ___ ___

[issue25572] _ssl doesn't build on OSX 10.11

2016-06-22 Thread Carol Willing
Carol Willing added the comment: After Ned's last message, perhaps it would be best to close this issue. -- nosy: +willingc ___ Python tracker ___ ___

[issue26547] Undocumented use of the term dictproxy in vars() documentation

2016-06-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review type: enhancement -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue27304] Create "Source Code" links in module sections, where relevant

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Three of the links are to one- or two- line modules that import the C implementation. I considered dropping them, but decided that the only way to know that they are not worth looking at is to let someone take a look. A counter argument is that we don't have

[issue27304] Create "Source Code" links in module sections, where relevant

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e3b4033e0ea7 by Terry Jan Reedy in branch '3.5': Issue #27304: Source code links for sub-packages in the same file. https://hg.python.org/cpython/rev/e3b4033e0ea7 -- nosy: +python-dev ___ Python tracker

[issue27370] Inconsistency in docs for list.extend

2016-06-22 Thread Martin Panter
Martin Panter added the comment: The t vs x mixup was introduced by my sloppy backport in Issue 16701. The other problem here is x is generally defined as any arbitrary object, but redefined as an iterable in the footnote. I think we should use t instead, as in the other two slice assignment o

[issue26243] zlib.compress level as keyword argument

2016-06-22 Thread Martin Panter
Martin Panter added the comment: The patch (with Berker’s fix) looks okay. Personally, I don’t see a big problem with the first argument also having a keyword name, but I don’t mind if it doesn’t either. -- ___ Python tracker

[issue27370] Inconsistency in docs for list.extend

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset c91007ab3fda by Martin Panter in branch '2.7': Issue #27370: Use t for an iterable in mutable sequence ops https://hg.python.org/cpython/rev/c91007ab3fda -- nosy: +python-dev ___ Python tracker

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-22 Thread Martin Panter
Martin Panter added the comment: It looks like ctypes uses ffi_closure_alloc() to allocate an executable function on demand. So it should be possible for readline to also call libffi and do this, but certainly not trivial. >>> from ctypes import * >>> @CFUNCTYPE(c_int, c_int, c_int) ... def op

[issue27304] Create "Source Code" links in module sections, where relevant

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks good at first review on Rietveld. Will test next. -- ___ Python tracker ___ ___ Python-bugs-l

[issue25588] Run test suite from IDLE idlelib.run subprocess

2016-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25588] Run test suite from IDLE idlelib.run subprocess

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The premise of the issue is this: if IDLE is started with 'pythonx', then running 'filex' from a IDLE editor is equivalent to running "python x -i filex" at a command line. For instance, loading test.__main__ into an editor and running should give the same re

[issue27369] [PATCH] Tests break with --with-system-expat and Expat 2.2.0

2016-06-22 Thread Martin Panter
Martin Panter added the comment: Thanks for the patches. This test was added in r74435, presumably to test for a crash. IMO it would be sufficient to test for the first part of the error message, without checking the column number. The test could also use assertRaisesRegex(). Should this actu

[issue22115] Add new methods to trace Tkinter variables

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I gather that 'add', 'delete', and 'info' replace 'variable', 'vdelete', and 'vinfo'. Also see review. Deprecation period should be fairly long. Of course, a currently hypothetical tcl/tk 9.0 with old stuff gone would make it immediate for users of 9.0. Ap

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-22 Thread R. David Murray
R. David Murray added the comment: Pretty much any project that makes non-trivial use of json ends up implementing a jsonification protocol, usually by creating either a __json__ method or (more commonly, I think) a to_json method. But, yeah, this is python-ideas material and would get into th

[issue20350] Replace tkapp.split() to tkapp.splitlist()

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: FWIW, patch applies cleanly to 3.6 on Windows and test_idle passes. -- versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4 ___ Python tracker

[issue27196] Eliminate 'ThemeChanged' warning when running IDLE tests

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only thing I still see is a pair of ThemeChanged warnings from 2.7. Using binary search, I identified test_editmenu as the culprit. This in spite of all the cleanup I can think of @classmethod def tearDownClass(cls): del cls.text, cls.ent

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: As a practical matter, I have no plans to backport except in exceptional cases. If the regression had only affected 3.6, I would have left 2.7 and 3.5 alone. -- ___ Python tracker

[issue27372] Test_idle should stop changing locale

2016-06-22 Thread Terry J. Reedy
New submission from Terry J. Reedy: test.test_idle has long resulted in warnings about the locale being changed. In 3.6, this warning causes test_idle to be tagged a failure. Though this does not (yet) turn the overall run of a buildbot from green to red, it is annoying to have success report

[issue27371] Runaway memory consumption using update()

2016-06-22 Thread Jeremy Blow
New submission from Jeremy Blow: Hi folks, While going about running tkinter's update() call within a coroutine/asyncio event loop in lieu of using mainloop(), I came across odd memory behavior on MacOS where the cpython process gradually increases memory consumption. Suspicious that there m

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Nick Coghlan
Nick Coghlan added the comment: OK, so maybe the right answer here is to officially undeprecate inspect.getfullargspec(), as we definitely *don't* want people feeling obliged to write their own version of that, and potentially introducing inconsistencies between different tools. Then the depr

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Larry Hastings
Larry Hastings added the comment: You speak confidently, for a guy who hasn't seen any sort of schedule from the 3.5 RM. :-O After 3.6 comes out, I expect 3.5 to get one more "bug fix" release. And *then* it will transition to "security fixes only" mode. Six months is the absolute minimum,

[issue27139] Increased test coverage for statistics.median_grouped

2016-06-22 Thread Julio C Cardoza
Julio C Cardoza added the comment: Hi Steve! Just giving you a hello! and, like you asked, to remind you about my case. Thanks men! On Thu, Jun 16, 2016 at 1:17 PM, Steven D'Aprano wrote: > > Steven D'Aprano added the comment: > > Thanks Julio, > > I hope to get to this over the next week. P

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Ryan Petrello
Ryan Petrello added the comment: Nick, My main reasoning for not using it is that it's marked as deprecated in the docstring, and I want to avoid relying on it if disappears in the future :) Warnings or not, the shim that I wrote doesn't use any deprecated code, so that's why I took that appr

[issue16218] Python launcher does not support unicode characters

2016-06-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Nick Coghlan
Nick Coghlan added the comment: Are you able to use inspect.getfullargspec() on Python 3 rather than inspect.getargspec()? While both are technically deprecated, only inspect.getargspec() actually emits a deprecation warning - inspect.getfullargspec() still works without complaint and is in n

[issue27370] Inconsistency in docs for list.extend

2016-06-22 Thread Andrew Cameron
New submission from Andrew Cameron: The documentation for Mutable Sequence Types states that, for operation: s.extend(x) or s += t the expected result is: for the most part the same as s[len(s):len(s)] = x Note that if you perform operation 's += t' the result is not the same as 's[len(s):len(

[issue27369] [PATCH] Tests break with --with-system-expat and Expat 2.2.0

2016-06-22 Thread sping
Changes by sping : Added file: http://bugs.python.org/file43515/0001-Fix-Python-3.x.x-tests-for-Expat-2.2.0.patch ___ Python tracker ___ ___

[issue27369] [PATCH] Tests break with --with-system-expat and Expat 2.2.0

2016-06-22 Thread sping
New submission from sping: Expat commit https://sourceforge.net/p/expat/code_git/ci/550eb6bbaa7e6efc44e94cab945fe9c781c01211 introduced with the recent release of Expat 2.2.0 fixed a bug that the current Python test suite relies on. Attached you find patches to fix the test suite for all versi

[issue17909] Autodetecting JSON encoding

2016-06-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.6 -Python 3.5 Added file: http://bugs.python.org/file43513/json_detect_encoding_3.patch ___ Python tracker ___ __

[issue27345] GzipFile's readinto() reads gzip data instead of file data.

2016-06-22 Thread Ryan Birmingham
Ryan Birmingham added the comment: It seems to work as expected in python 3.5 (and at least up, presumably). I'll close it. Thank you. -- status: open -> closed ___ Python tracker _

[issue4945] json checks True/False by identity, not boolean value

2016-06-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file43512/json_doc_truefalse-2.7_2.patch ___ Python tracker ___ ___ Python-bug

[issue4945] json checks True/False by identity, not boolean value

2016-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patches are synchronized with current sources and address Ezio's comments (sorry for the delay Ezio, I missed your comments). -- versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file43511/json_doc_truefalse_3.patch ___

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, it ends with the last 3.5 maintenance release in about 6 months. When I did it right, as in #27245, which was otherwise a clean single file merge, there was no problem and it took at most an extra 30 seconds. I know what I did wrong this time, starting w

[issue25548] Show the address in the repr for class objects

2016-06-22 Thread Tim Graham
Tim Graham added the comment: I'll echo what Peter said and say that this breaks 5 tests in Django's test suite which are checking error messages. If it stays, perhaps it could be added to the release notes instead of just NEWS. -- nosy: +Tim.Graham ___

[issue27152] Additional assert methods for unittest

2016-06-22 Thread R. David Murray
R. David Murray added the comment: I would expect it to be assertEndswith, etc. You will note that all the other cases of multiple capitals are either englishification of symbolic operators or concatenations of separate type words and/or syntactically distinct operators. -- _

[issue27345] GzipFile's readinto() reads gzip data instead of file data.

2016-06-22 Thread R. David Murray
R. David Murray added the comment: Probably not in 2.7. It may be broken, but what if someone is depending on it? (Unlikely, but the chance of it outweighs the benefit of changing it in a mainteance release.) Does the same problem exist in 3.6? That's probably the only version where we wou

[issue27350] Compact and ordered dict

2016-06-22 Thread INADA Naoki
INADA Naoki added the comment: FYI, bench result of USABLE_FRACTION(n) = (n/2): Report on Linux ip-10-0-1-249 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 Total CPU cores: 2 +--+-++--++ | Benchmark| defau

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Ryan Petrello
Ryan Petrello added the comment: Nick, My use case is an issue of backwards compatibility and multiple Python version support for a library that makes prolific use of the legacy argspec (args, varargs, varkw, defaults) namedtuple, *including* the bound self argument behavior. argspec and sig

[issue20674] Update comments in dictobject.c

2016-06-22 Thread Jaysinh shukla
Jaysinh shukla added the comment: Submitting patch which tries to cover mentioned change. I request Core-developers to verify the approach I took for fixing this change. Thanks! -- keywords: +patch nosy: +jaysinh.shukla Added file: http://bugs.python.org/file43510/issue20674_patch_v1.di

[issue27350] Compact and ordered dict

2016-06-22 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file43509/compact-dict.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this dance with renaming forever? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-

[issue27350] Compact and ordered dict

2016-06-22 Thread INADA Naoki
INADA Naoki added the comment: Thank you, mark. I've added PY_INT16_T and PY_UINT16_T for windows, too. https://github.com/methane/cpython/pull/1/commits/dfaa44c051b2dbf580701729944cd0fda00cb541 https://github.com/methane/cpython/pull/1/commits/af80dc27dd381af9d211792963a23c5cecfa7009 I'll pos

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Suspicion wrong. idle_test and hand tests pass. Larry, I am done with this. I left it open until you are also. -- resolution: -> fixed stage: test needed -> resolved ___ Python tracker

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33769ce40b47 by Terry Jan Reedy in branch 'default': Issue #27365: Finish merge so tests pass. https://hg.python.org/cpython/rev/33769ce40b47 -- ___ Python tracker ___

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Because of the case conflict I did not notice soon enough, the rest of the patch and merge did not go well and I got this test test_idle crashed -- Traceback (most recent call last): File "F:\Python\dev\36\lib\test\libregrtest\runtest.py", line 180, in runte

[issue27368] os.mkdir is not working for multiple level of directory creation in windows environment

2016-06-22 Thread SilentGhost
SilentGhost added the comment: You need to use os.makedirs -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker ___

[issue26923] asyncio.gather drops cancellation

2016-06-22 Thread Johannes Ebke
Johannes Ebke added the comment: Attached is a new version of the patch incorporating the review results. -- Added file: http://bugs.python.org/file43508/fix_and_test_26923_reviewed.patch ___ Python tracker ___

[issue27368] os.mkdir is not working for multiple level of directory creation in windows environment

2016-06-22 Thread Chandrajyoti
New submission from Chandrajyoti: Problem: os.mkdir is not working for multiple level of directory creation in windows environment. Explanation: Suppose there is a directory whose path is "D:\Output" Now to create 2 levels of directory in side the path "D:\Output", when os.mkdir("D:\Output\Di

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49323bb44229 by Terry Jan Reedy in branch 'default': Issue #27365: revert temporary rename https://hg.python.org/cpython/rev/49323bb44229 -- ___ Python tracker __

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3a122d0e4187 by Terry Jan Reedy in branch 'default': Issue #27365: add chunk https://hg.python.org/cpython/rev/3a122d0e4187 -- ___ Python tracker _

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54dde0cb10f9 by Terry Jan Reedy in branch 'default': Issue #27365: revert temporary rename https://hg.python.org/cpython/rev/54dde0cb10f9 New changeset be0dec826982 by Terry Jan Reedy in branch 'default': Issue #27365: add chunk https://hg.python.o

[issue27367] Windows buildbot: random timeout failure on test_threading

2016-06-22 Thread STINNER Victor
New submission from STINNER Victor: test_threading fails with a timeout, but it is probably a random failure caused by a slow Windows buildbot. http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/7871/steps/test/logs/stdio 0:21:16 [351/401] test_threading crashed -- run

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5ee1e5c1ac0 by Terry Jan Reedy in branch '3.5': Issue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names. https://hg.python.org/cpython/rev/d5ee1e5c1ac0 New changeset e7ecad98a785 by Terry Jan Reedy in branch 'default': Issue #27365

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 783dfd77e4c1 is the one to pick for 3.5, then null merge if you merge to 3.6. -- ___ Python tracker ___

[issue26859] unittest fails with "Start directory is not importable" when trying to run sourceless tests

2016-06-22 Thread Xavier de Gaye
Xavier de Gaye added the comment: > the list_dir() nested function is never called Verifying that load_tests is called is the purpose of this test. In this case should_recurse is false in _find_tests() and os.listdir() is not invoked by this method. This new patch does not use vfs and list_dir

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 783dfd77e4c1 by Terry Jan Reedy in branch '3.5': Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2. https://hg.python.org/cpython/rev/783dfd77e4c1 New changeset b8926908d2a0 by Terry Jan Reedy in branch 'default': Issue #273

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was wondering if splitting the patch would be better. Shelve makes it easy. -- ___ Python tracker ___ ___

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should mention that I have separate 3.5 and 3.6 patches because I know that the merge will not work. -- ___ Python tracker ___ __

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-22 Thread Larry Hastings
Larry Hastings added the comment: If the diff is literally changing two lines, I'll accept it. Guido relaxed the rules for IDLE changes. If it breaks something it's on *your* head ;-) Please just check it in normally. Either I'm going to use hg to cherry-pick the changes for 3.5.2 final, or

[issue27366] PEP487: Simpler customization of class creation

2016-06-22 Thread Martin Teichmann
New submission from Martin Teichmann: This is the implementation of PEP 487. It adds a metaclass to types that calls a method on a class once it is subclassed. This way one can customize the creation of classes without the need to write an own metaclass. As a second functionality, it calls a me

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-22 Thread Lele Gaifax
Lele Gaifax added the comment: I addressed Martin's comments (thank you!) in https://github.com/lelit/cpython/commits/issue8_2, removing pointless usage of a macro and avoiding usage of module's state to store the "next line index", keeping it in a plain static variable. Let me know how it l