[issue28438] Wrong link in pkgutil.get_data doc

2016-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. Thank you, Xiang. I will apply it. -- nosy: +orsenthil ___ Python tracker ___

[issue18844] allow weights in random.choice

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4e715e725ef by Raymond Hettinger in branch '3.6': Issue #18844: Add more tests https://hg.python.org/cpython/rev/d4e715e725ef -- ___ Python tracker

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki
INADA Naoki added the comment: I hit this issue27705, and I have no time to reinstall Visual Studio 2015 Community today. I'll try test on Windows later. -- ___ Python tracker

[issue28438] Wrong link in pkgutil.get_data doc

2016-10-13 Thread Xiang Zhang
New submission from Xiang Zhang: The get_data link in pkgutil.get_data doc refers to itself which does not help reading. I think it's better for it to refer to importlib.abc.ResourceLoader.get_data. -- assignee: docs@python components: Documentation files: pkgutil.get_data_doc.patch

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki
INADA Naoki added the comment: > Any reason why this module doesn't use argument clinic? No reason. But I don't want to do in this issue, since I don't know how to generate good patch file for file rename + change in file. I'll do it in future issue. --

[issue28424] pkgutil.get_data() doesn't work with namespace packages

2016-10-13 Thread Xiang Zhang
Xiang Zhang added the comment: The doc says: "If the package cannot be located or loaded, or it uses a loader which does not support get_data(), then None is returned". Namespace package gets a ``None`` loader and then does not support get_data. -- nosy: +brett.cannon, eric.snow,

[issue28426] PyUnicode_AsDecodedObject can only return unicode now

2016-10-13 Thread Xiang Zhang
Xiang Zhang added the comment: +1 for 2). Patch looks good. -- ___ Python tracker ___ ___ Python-bugs-list

[issue28435] test_urllib2_localnet.ProxyAuthTests fails with no_proxy and NO_PROXY env

2016-10-13 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +martin.panter ___ Python tracker ___ ___

[issue28437] Class definition is not consistent with types.new_class

2016-10-13 Thread Neil Girdhar
Neil Girdhar added the comment: Oops, I meant: MyDerived = new_class("MyDerived", (MyClass,), dict(metaclass=metaclass_callable)) Nevertheless, the exception line number is totally off because it's tripping in the C code rather than in the Python code of the types library. --

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Steve Dower
Steve Dower added the comment: Any reason why this module doesn't use argument clinic? -- ___ Python tracker ___

[issue28437] Class definition is not consistent with types.new_class

2016-10-13 Thread Neil Girdhar
New submission from Neil Girdhar: Minimum working example: class MyMetaclass(type): pass class OtherMetaclass(type): pass def metaclass_callable(name, bases, namespace): return OtherMetaclass(name, bases, namespace) class MyClass(metaclass=MyMetaclass): pass try: class

[issue28333] input() with Unicode prompt produces mojibake on Windows

2016-10-13 Thread Eryk Sun
Eryk Sun added the comment: MultibyteToWideChar includes the trailing NUL when it gets the string length, so the WriteConsoleW call needs to use (wlen - 1). -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-10-13 Thread Ned Deily
Ned Deily added the comment: (From https://github.com/curl/curl/issues/1057, the curl project has also seen this and opened an issue with Apple against macOS 10.12, RADAR 28372390.) -- ___ Python tracker

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list

[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-10-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list

[issue28422] multiprocessing Manager mutable type member access failure

2016-10-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18789] XML Vunerability Table Unclear

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 760403522d6b by Guido van Rossum in branch '2.7': Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (backport to 2.7) https://hg.python.org/cpython/rev/760403522d6b --

[issue18789] XML Vunerability Table Unclear

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e05c546062a1 by Guido van Rossum in branch '3.5': Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. https://hg.python.org/cpython/rev/e05c546062a1 New changeset beed43d7dc46 by Guido van Rossum in branch '3.6':

[issue18789] XML Vunerability Table Unclear

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks again! -- nosy: +gvanrossum resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue28435] test_urllib2_localnet.ProxyAuthTests fails with no_proxy and NO_PROXY env

2016-10-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil stage: -> patch review ___ Python tracker ___

[issue26869] unittest longMessage docs

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: Done. Thanks! -- nosy: +gvanrossum resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26869] unittest longMessage docs

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7eb4fe57492f by Guido van Rossum in branch '3.5': Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) https://hg.python.org/cpython/rev/7eb4fe57492f New changeset d7279d803d1d by Guido van Rossum in branch '3.6': Issue #26869: Document

[issue28393] Update encoding lookup docs wrt #27938

2016-10-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Thanks, Ville. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28436] GzipFile doesn't properly handle short reads and writes on the underlying stream

2016-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +martin.panter ___ Python tracker ___ ___

[issue28425] Python3 ignores __init__.py that are links to /dev/null

2016-10-13 Thread Douglas Greiman
Douglas Greiman added the comment: See associated bug filed against Bazel: https://github.com/bazelbuild/bazel/issues/1458 As for why Bazel does that, it's related to the sandboxing implementation but I don't know any details beyond that. -- ___

[issue21443] asyncio logging documentation clarifications

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Applied to 3.5, 3.6, 3.7. (We don't change 3.4 any more except for security fixes.) -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: enhancement -> behavior ___ Python

[issue21443] asyncio logging documentation clarifications

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e68b1b2515e9 by Guido van Rossum in branch '3.5': Issue #21443: Show how to change log level for asyncio. https://hg.python.org/cpython/rev/e68b1b2515e9 New changeset 660058d76788 by Guido van Rossum in branch '3.6': Issue #21443: Show how to

[issue15013] smtplib: add low-level APIs to doc?

2016-10-13 Thread Maciej Urbański
Maciej Urbański added the comment: I guess documenting `data` method may still be needed after all. For now I followed the suggestions from comments to best of my ability. Please see attached patch. -- keywords: +patch nosy: +rooter Added file:

[issue28393] Update encoding lookup docs wrt #27938

2016-10-13 Thread Ville Skyttä
Ville Skyttä added the comment: codecs-doc-3 contains a versionadded note about us-ascii. I think that's the only end user visible change in the new implementation. -- Added file: http://bugs.python.org/file45085/codecs-doc-3.patch ___ Python

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread STINNER Victor
STINNER Victor added the comment: "Don't want to add too much noise, but this issue also affects the manylinux project build compiler (gcc 4.8.2)." Can you elaborate on these issues? Are you getting the same errors than the error described in the initial message with GCC 4.2? If not, you may

[issue28436] GzipFile doesn't properly handle short reads and writes on the underlying stream

2016-10-13 Thread Марк Коренберг
Марк Коренберг added the comment: And also issue26877 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28436] GzipFile doesn't properly handle short reads and writes on the underlying stream

2016-10-13 Thread Марк Коренберг
Марк Коренберг added the comment: Also see issue16859 -- nosy: +mmarkk ___ Python tracker ___ ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks everyone! Applied to 2.7, so closing as fixed now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue15994] memoryview to freed memory can cause segfault

2016-10-13 Thread Evgeny Kapun
Changes by Evgeny Kapun : -- nosy: +abacabadabacaba ___ Python tracker ___ ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc8a4b121aec by Guido van Rossum in branch '2.7': Issue #24452: Make webbrowser support Chrome on Mac OS X (backport to 2.7) https://hg.python.org/cpython/rev/bc8a4b121aec -- ___ Python tracker

[issue28436] GzipFile doesn't properly handle short reads and writes on the underlying stream

2016-10-13 Thread Evgeny Kapun
New submission from Evgeny Kapun: GzipFile's underlying stream can be a raw stream (such as FileIO), and such streams can return short reads and writes at any time (e.g. due to signals). The correct behavior in case of short read or write is to retry the call to read or write the remaining

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: OK will do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Марк Коренберг
Марк Коренберг added the comment: Well, I created discussion at https://groups.google.com/forum/#!topic/python-ideas/CoRe1gThnd8 -- ___ Python tracker

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Марк Коренберг
Марк Коренберг added the comment: https://groups.google.com/forum/#!searchin/python-ideas/sorted|sort:relevance/python-ideas/dy3Thu-PXSM/mTqEduXE4GYJ ? @serhiy.storchaka did not rejected idea. Anyway, I still can not find message in python-ideas which describe why such idea may be rejected.

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: @rgbecker: Are you able to pull out the config.log generated by running python's ./configure script, and post that somewhere? -- ___ Python tracker

[issue26513] platform.win32_ver() broken in 2.7.11

2016-10-13 Thread Scott Leerssen
Scott Leerssen added the comment: I just assumed it was fixed based on the 2.7.12 release notes. I missed the comment on msg277117 which describes the same problem, so clearly this is a known issue and I'll look forward to seeing the fix in 2.7.13. Thanks. --

[issue28435] test_urllib2_localnet.ProxyAuthTests fails with no_proxy and NO_PROXY env

2016-10-13 Thread Stefan Prawda
Changes by Stefan Prawda : -- nosy: +lukasz.langa ___ Python tracker ___ ___

[issue28435] test_urllib2_localnet.ProxyAuthTests fails with no_proxy and NO_PROXY env

2016-10-13 Thread Stefan Prawda
New submission from Stefan Prawda: test_urllib2_localnet.ProxyAuthTests fails with no_proxy and NO_PROXY env set: NO_PROXY=localhost,127.0.0.0/8,::1 no_proxy=localhost,127.0.0.0/8,::1 Patch attached. Run: ./python -m unittest test.test_urllib2_localnet.ProxyAuthTests -v

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread Robin Becker
Robin Becker added the comment: I executed gcc --version ( --version) in the do_cpython_build function immediately prior to the make -j2 that builds python noth show 4.8.2. I see the exact same errors as in the initial report. If the makefile or the configure is doing something special then I

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread R. David Murray
R. David Murray added the comment: I'm going to close it as rejected. If you surprise us and get a positive response on python-ideas we can always reopen. But, adding a btree would probably require a PEP anyway. -- nosy: +r.david.murray resolution: -> rejected stage: -> resolved

[issue26513] platform.win32_ver() broken in 2.7.11

2016-10-13 Thread Steve Dower
Steve Dower added the comment: Did you get the fixed version from what will become 2.7.13? It doesn't get magically fixed in existing releases. -- ___ Python tracker

[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Ned Deily
Ned Deily added the comment: The EYE code point was added in Unicode 7.0 which was first supported in Python 3.5.0. -- nosy: +ned.deily resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Mark Shoulson
Mark Shoulson added the comment: Sorry, NOSE is U+1F443; I should have used EAR which is U+1F442. The result is the same. -- ___ Python tracker ___

[issue28434] U+1F441 EYE Missing in unicodedata

2016-10-13 Thread Mark Shoulson
New submission from Mark Shoulson: Python3.4 does not appear to know about the Unicode character U+1F441 EYE, although it does know about nearby characters which were added to Unicode at the same time: >>> "\N{EYES}" # This is character U+1F440 '' >>> "\N{NOSE}" # This is U+1F442 '' >>>

[issue28424] pkgutil.get_data() doesn't work with namespace packages

2016-10-13 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___

[issue28425] Python3 ignores __init__.py that are links to /dev/null

2016-10-13 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Eric V. Smith
Eric V. Smith added the comment: I'm sure this has been discussed before and rejected. I suggest you search the python-ideas mailing list archives, and if you do not find something in the archives, raise the issue on python-ideas. -- nosy: +eric.smith

[issue11429] ctypes is highly eclectic in its raw-memory support

2016-10-13 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue17182] signal.default_int_handler should set signal number on the raised exception

2016-10-13 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue12660] test_gdb fails when installed

2016-10-13 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Ivan Levkivskyi
Changes by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: Applying on 2.7 seems alright. Bug fix. -- ___ Python tracker ___ ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: The documentation seems to indicate that chrome MacOS is supposed to work in 2.7, which makes this a bug. https://docs.python.org/2.7/library/webbrowser.html?highlight=webbrowser#module-webbrowser But... it could also be a documentation bug. --

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +abarnert, rhettinger ___ Python tracker ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: I applied this to 3.5, 3.6 and 3.7. I'm not sure we should also apply this to 2.7 -- optinions? Bug or feature? -- versions: +Python 3.5 ___ Python tracker

[issue28427] WeakValueDictionary next bug (with multithreading)

2016-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is simpler reproducer for Python 3. One thread updates WeakValueDictionary in a loop, other threads runs garbage collecting in a loop. Values are collected asynchronously and this can cause removing new value by old key. Following patch fixes this

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd0f502c5eea by Guido van Rossum in branch '3.5': Issue #24452: Make webbrowser support Chrome on Mac OS X. https://hg.python.org/cpython/rev/bd0f502c5eea New changeset 64a38f9aee21 by Guido van Rossum in branch '3.6': Issue #24452: Make webbrowser

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e2cce65e522 by Guido van Rossum in branch 'default': Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.6->3.7) https://hg.python.org/cpython/rev/4e2cce65e522 -- ___ Python tracker

[issue28427] WeakValueDictionary next bug (with multithreading)

2016-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch Added file: http://bugs.python.org/file45083/issue28427.patch ___ Python tracker

[issue28433] Add sorted (ordered) containers

2016-10-13 Thread Марк Коренберг
New submission from Марк Коренберг: I mean mutable containers that are always sorted when iterating over them. i.e. * SortedSet (sorted unique elements, implemented using (rb?)tree instead of hash) * SortedList (sorted elements, the same as SortedSet, but without uniquiness constraint) -

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-13 Thread Guido van Rossum
Guido van Rossum added the comment: OK, this seems to work for me. I'm, applying this to 3.5, 3.6 and 3.7 (default). -- nosy: +gvanrossum ___ Python tracker

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread thewtex
Changes by thewtex : -- nosy: +thewtex ___ Python tracker ___ ___ Python-bugs-list

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Would it be possible to upgrade the "manylinux" compiler (take a more recent > GCC version)? No, it's possible :-(. 4.8.2 is the very most modern version of GCC you can use if you want to build binaries to run on CentOS/RHEL 5. (And "binaries should run

[issue28432] Fix doc of PyUnicode_EncodeLocale

2016-10-13 Thread Xiang Zhang
New submission from Xiang Zhang: The doc of PyUnicode_EncodeLocale conflicts between signature and content. In content, it should be *unicode* not *str*. -- assignee: docs@python components: Documentation files: PyUnicode_EncodeLocale_doc.patch keywords: patch messages: 278583 nosy:

[issue28431] socket gethostbyaddr returns IPv6 names for 127.0.0.1

2016-10-13 Thread R. David Murray
R. David Murray added the comment: I believe that you will find that the same thing happens if you call gethostbyaddr from C. So this either isn't a bug, or it isn't a bug in Python :) (Correct me if I'm wrong; I don't have time to actually test it myself, but gethostbyaddr is a fairly

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2016-10-13 Thread orban
orban added the comment: Here this is a patch to added vietnamese codec tcvn. I am not sure about the name of the codecs...tcvn5712, tcvn5712_3 ? test_xml_etree, test_codesc, test_unicode is running. Is it enough for the doc? -- keywords: +patch nosy: +matorban Added file:

[issue28431] socket gethostbyaddr returns IPv6 names for 127.0.0.1

2016-10-13 Thread Nick Carboni
New submission from Nick Carboni: socket.gethostbyaddr seems to be equating loopback addresses regardless of IP protocol version. In both versions tested (2.7.5 and 3.4.3) the ordering of the entries in my /etc/hosts file determines the result I get, rather than what address I'm querying

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread Cassaigne
Cassaigne added the comment: I add a crosslink to WEXITSTATUS function. According David Murray advices. -- Added file: http://bugs.python.org/file45079/issue22635-4.diff ___ Python tracker

[issue8376] Tutorial offers dangerous advice about iterators: “__iter__() can just return self”

2016-10-13 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue27141] Fix collections.UserList shallow copy

2016-10-13 Thread Bar Harel
Bar Harel added the comment: Bumposaurus Rex -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17305] IDNA2008 encoding missing

2016-10-13 Thread Sam Whited
Changes by Sam Whited : -- nosy: +SamWhited ___ Python tracker ___ ___ Python-bugs-list

[issue26513] platform.win32_ver() broken in 2.7.11

2016-10-13 Thread Scott Leerssen
Scott Leerssen added the comment: It looks like there may still be an issue in Python 2.7.12 on Windows 2008 R2 (Datacenter Edition). On an Amazon instance (tried t2.micro and m4.large) we are seeing the following: In 2.7.11 (correct) C:\Users\Administrator>python Python 2.7.11

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread R. David Murray
R. David Murray added the comment: Ah, I see. So the function's name is wrong now, too :(. OK, I guess using exitcode is more accurate then. Surprising that the original docs did not link to os.WEXITSTATUS. Maybe we could make a crosslink in the versionchanged entry to os.WEXITSTATUS in

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread STINNER Victor
STINNER Victor added the comment: issue22635-3.diff: LGTM. R. David Murray: "I disagree with Victor. The name of the function is "getstatusoutput". I think the docs should continue to use (status, output) as the names for the return values." In Python, we use "exitcode" or "returncode"

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread R. David Murray
R. David Murray added the comment: I disagree with Victor. The name of the function is "getstatusoutput". I think the docs should continue to use (status, output) as the names for the return values. The clarification is that 'status' is now the raw return code, not the shifted return code

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread Cassaigne
Cassaigne added the comment: According to the Victor's review, I remove "Pay attention" words and change exit code by returncode. -- Added file: http://bugs.python.org/file45078/issue22635-3.diff ___ Python tracker

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: patch review -> commit review ___ Python tracker ___

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have reviewed your patch, seems to be fine. And thank you for your new patch without the --git flag. -- ___ Python tracker

[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-10-13 Thread R. David Murray
Changes by R. David Murray : -- stage: patch review -> needs patch ___ Python tracker ___

[issue28291] urllib/urllib2 AbstractDigestAuthHandler locked to retried count of 5

2016-10-13 Thread R. David Murray
R. David Murray added the comment: Well, it's missing doc changes and tests, so even if it is still applicable it isn't ready for merge yet. -- ___ Python tracker

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread Cassaigne
Cassaigne added the comment: I improve the patch a little bit, following the recommendations of the Stinner's review. I replace "status" mention by "exit code". -- Added file: http://bugs.python.org/file45077/issue22635-2.diff ___ Python tracker

[issue28430] asyncio: C implemeted Future cause Tornado test fail

2016-10-13 Thread INADA Naoki
New submission from INADA Naoki: https://travis-ci.org/tornadoweb/tornado/jobs/167252979 -- assignee: inada.naoki components: asyncio messages: 278569 nosy: gvanrossum, inada.naoki, yselivanov priority: high severity: normal status: open title: asyncio: C implemeted Future cause Tornado

[issue28427] WeakValueDictionary next bug (with multithreading)

2016-10-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +fdrake, serhiy.storchaka versions: +Python 3.7 -Python 3.3 ___ Python tracker ___

[issue28092] Build failure for 3.6 on Centos 5.11

2016-10-13 Thread STINNER Victor
STINNER Victor added the comment: > Don't want to add too much noise, but this issue also affects the manylinux > project build compiler (gcc 4.8.2). Would it be possible to upgrade the "manylinux" compiler (take a more recent GCC version)? -- ___

[issue28429] ctypes fails to import with grsecurity's TPE

2016-10-13 Thread Glandos
New submission from Glandos: When using a grsecurity kernel with TPE enabled, the following happens with an untrusted user: Python 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160914] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from ctypes

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki
INADA Naoki added the comment: Since this patch renames file, I used --git option of hg diff. But Rietvelt seems doesn't accept git format patch. Attached patch is same to previous, but generated without --git option. -- Added file:

[issue17182] signal.default_int_handler should set signal number on the raised exception

2016-10-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Basically it allows you to call sys.exit() with the right error code. -- ___ Python tracker ___

[issue17182] signal.default_int_handler should set signal number on the raised exception

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Antoine and Mark, What's the interest of this "feature" ? Thank you -- nosy: +matrixise ___ Python tracker ___

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have read and tested your patch (with the tests) and you can merge it. But I can't review it via retvield. -- ___ Python tracker

[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

2016-10-13 Thread Cassaigne
Cassaigne added the comment: I correct the doc concerning subprocess.getstatusoutput(cmd) function. More specifically the part on examples and I add a quick explanation about how are manage the return code. -- keywords: +patch nosy: +acassaigne versions: +Python 3.6, Python 3.7 Added

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki
INADA Naoki added the comment: Because: * The "futures" name is used in concurrent.futures too. This module is for asyncio. * Currently, this module has only Future class. But there are several ideas about adding C speedup to improve asyncio performance. (e.g. buffer slicing and Task class).

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Why do you need to rename the module ? -- nosy: +matrixise ___ Python tracker ___

[issue24381] Got warning when compiling ffi.c on Mac

2016-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have reviewed the patch, the first "#if defined" was not complete. -- nosy: +matrixise ___ Python tracker ___

[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki
New submission from INADA Naoki: Before adding more speedup functions for asyncio, I want to rename the module. Attached patch is tested on Mac 10.11. I'll test it on Windows later. -- files: asyncio-speedups.patch keywords: patch messages: 278558 nosy: inada.naoki, yselivanov

[issue13927] Extra spaces in the output of time.ctime

2016-10-13 Thread Harmandeep Singh
Changes by Harmandeep Singh : -- hgrepos: -360 ___ Python tracker ___ ___

  1   2   >