[issue25765] Installation error

2015-11-30 Thread Eryk Sun
Eryk Sun added the comment: > The error code is from Windows Update (which we sometimes need to > run as part of the install), and there's so much spam out there > these days that it is impossible to find out what it means. The error is WU_E_NOT_INITIALIZED [1], "the object could not be

[issue25765] Installation error

2015-11-30 Thread Steve Dower
Steve Dower added the comment: Hard to tell, but you may just need to reboot. I'd also make sure you've installed all Windows Updates that you need, as the one we're trying to install should be in there (which means our installer doesn't have to do it). The error code is from Windows Update

[issue25759] Python 2.7.11rc1 not building with Visual Studio 2015

2015-11-30 Thread Kovid Goyal
Kovid Goyal added the comment: No worries, as I said, I understand, I would probably do the same, were I in your shoes. I have found that being a maintainer of a complex software project tends to naturally increase conservatism :) -- ___ Python

[issue25718] itertools.accumulate __reduce__/__setstate__ bug

2015-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 095d21df9374 by Serhiy Storchaka in branch '3.4': Issue #25718: Fixed copying object with state with boolean value is false. https://hg.python.org/cpython/rev/095d21df9374 New changeset 3d39e1e2dcb3 by Serhiy Storchaka in branch '2.7': Issue

[issue25718] itertools.accumulate __reduce__/__setstate__ bug

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The bug in the copy module is fixed. As for accumulate's __reduce__, I don't think we can do something. -- ___ Python tracker

[issue25751] ctypes.util , Shell Injection in find_library()

2015-11-30 Thread Martin Panter
Martin Panter added the comment: I do not believe 3.5 is fixed either: $ python3.5 Python 3.5.0 (default, Sep 20 2015, 11:28:25) [GCC 5.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes.util >>> ctypes.util.find_library("; echo Hello shell

[issue25770] expose name, args, and kwargs from methodcaller

2015-11-30 Thread Emanuel Barry
Changes by Emanuel Barry : -- nosy: +ebarry stage: -> patch review ___ Python tracker ___

[issue25764] PyObject_Call() is called with an exception set in subprocess

2015-11-30 Thread Martin Panter
Martin Panter added the comment: This patch fixes the exception when releasing the import lock. I also moved the Py_XDECREF(gc_module) back out to where it was to keep the patch to a minimum, but I don’t really see a way to simplify it much more. Apparently Solaris supports posix_spawn(),

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I set a breakpoint where the error occurs. I'm in test_cpickle.py dumps(). Doing cPickle.dumps(arg) in the bp, I get the error. arg is: (Pdb) arg {<__main__.H object at 0x7ff8e2a870d0>: None} (Pdb) type(arg) Look again at the AttributeError: (Pdb)

[issue25751] ctypes.util , Shell Injection in find_library()

2015-11-30 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Whilst fixed in 3.5, it is not fixed in 2.7. And the reporter believes this is a security vulnerability. Can this be cherry-picked into the 2.7 branch? -- nosy: +xnox ___ Python tracker

[issue22636] avoid using a shell in ctypes.util: replace os.popen with subprocess

2015-11-30 Thread Martin Panter
Martin Panter added the comment: Marking for bug fix in 2.7, requested in Issue 25751. -- type: enhancement -> behavior versions: +Python 2.7, Python 3.4, Python 3.6 ___ Python tracker

[issue25770] expose name, args, and kwargs from methodcaller

2015-11-30 Thread Joe Jevnik
New submission from Joe Jevnik: This patch adds 3 properties to methodcaller objects for inspecting the object at runtime: 1. 'name': the name of the method to call 2. 'args': the position arguments to pass to the method 3. 'keywords': the keyword arguments to pass to the method args and

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please add debugging output to check that the copy_reg module is empty if tests failed? -- ___ Python tracker

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This seems entirely reproducible in a local Xenial sbuild using the source packages in https://launchpad.net/~doko/+archive/ubuntu/toolchain/+packages Interestingly, inspection of the built artifacts in the schroot after all is done yields: # find . -name

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: But if I just run test_cpickle.py, it succeeds! -- ___ Python tracker ___

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Default __reduce_ex__ and __reduce__ implementations call copy_reg._reduce_ex. cPickle.dumps({}) works because __reduce_ex__ is not called, dict is supported by pickle directly. -- ___ Python tracker

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: First failure in test run afaict: == ERROR: test_recursive_dict_subclass_and_inst (test.test_cpickle.cStringIOCPicklerFastTests)

[issue25698] test regressions introduced with the fix for #22995

2015-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ... for protocols < 2. -- ___ Python tracker ___ ___ Python-bugs-list

[issue14285] Traceback wrong on ImportError while executing a package

2015-11-30 Thread Martin Panter
Martin Panter added the comment: I suspect a proper solution of this bug would also help with Issue 16217 (provide only the relevant traceback for exceptions from user code). -- ___ Python tracker

[issue25767] asyncio documentation section 18.5.2.3.1. (Windows) links to French Wikipedia in English docs

2015-11-30 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the report! -- nosy: +zach.ware ___ Python tracker ___ ___

[issue25767] asyncio documentation section 18.5.2.3.1. (Windows) links to French Wikipedia in English docs

2015-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset f475379bf22c by Zachary Ware in branch '3.4': Issue #25767: Link to English Wikipedia instead of French. https://hg.python.org/cpython/rev/f475379bf22c New changeset fee19d2d7713 by Zachary Ware in branch '3.5': Issue #25767: Merge with 3.4

[issue25708] runpy hides traceback for some exceptions

2015-11-30 Thread Martin Panter
Martin Panter added the comment: I think there are a couple of related bugs here, with open reports: 1. Issue 14285: runpy catches various exceptions including AttributeError, and incorrectly assumes this means you gave it a bad module or package name. 2. Issue 19771: runpy incorrectly

[issue25771] importlib: '.submodule' is not a relative name (no leading dot)

2015-11-30 Thread Martin Panter
New submission from Martin Panter: >>> import importlib.util >>> importlib.util.resolve_name(".submodule", None) Traceback (most recent call last): File "", line 1, in File "/home/proj/python/cpython/Lib/importlib/util.py", line 26, in resolve_name '(no leading dot)'.format(name))

[issue15500] Python should support exporting thread names to the OS

2015-11-30 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch title: Python should support naming threads -> Python should support exporting thread names to the OS versions: +Python 3.6 -Python 3.4 ___ Python tracker