[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4175 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: > Or maybe just repeat the test if EADDRNOTAVAIL is raised? I don't think that it's worth it. -- ___ Python tracker ___ _

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Michael Selik
Michael Selik added the comment: Ok, pull request submitted: https://github.com/python/cpython/pull/4205 -- ___ Python tracker ___ _

[issue31890] Please define the flag METH_STACKLESS for Stackless Python

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Hi Anselm, What is the status of Stackless Python? I didn't hear about Stackless for 5 years. Is the project still alive? I see some activity on https://bitbucket.org/stackless-dev/stackless/wiki/Home and http://www.stackless.com/pipermail/stackless/ --

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: While the commit b484d5606ca76f9bbd0f5de7a6ef753400213e94 fixes a crash on OpenBSD and makes the code "correct" on any platforms, I still see it as a feature regression. Detecting buffer overflow and using freed memory are feature of debug hooks. https://doc

[issue31915] (list).insert() not working

2017-10-31 Thread Michael Selik
New submission from Michael Selik : What behavior did you expect from your code? What behavior did you get instead? It looks like you're not calling the list copy method correctly. Try writing "tables2.copy()" instead of "tables2.copy". It also looks like you have other bugs in your code. Thi

[issue31916] ensurepip not honoring value of $(DESTDIR) - pip not installed

2017-10-31 Thread multimiler
New submission from multimiler : I am building python from source for installation at /opt/python-3.6.3. The result of the build will be installed in /somewhere/deb-pkg-build-dir. I configure, build, and install, the package as follows: ./configure --prefix=/opt/python-$VER --enable-optimiza

[issue31917] Add time.CLOCK_PROF constant

2017-10-31 Thread STINNER Victor
New submission from STINNER Victor : The CLOCK_PROF clock is used internally by time.process_time(). It may be interesting to expose this constant if available. -- components: FreeBSD, Library (Lib) messages: 305352 nosy: haypo, koobs priority: normal severity: normal status: open title

[issue31917] Add time.CLOCK_PROF constant

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4176 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 280c22a82a6756e9caffef031c564fd98f1b50e7 by Victor Stinner in branch 'master': Fix test_socket.test_create_connection() (#4206) https://github.com/python/cpython/commit/280c22a82a6756e9caffef031c564fd98f1b50e7 -- __

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18534] State clearly that open() 'file' param is "name" attr of the result

2017-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed it's too subtle to change the behavior. > We may also want to explicitly point out that using os.fsdecode(name) before > passing it to open() will ensure that the name attribute is set to a string > rather than a bytes object. Not sure. Are there ca

[issue31915] (list).insert() not working

2017-10-31 Thread Steven D'Aprano
Steven D'Aprano added the comment: Thank you for taking the time to report what you thought was a bug, but your example is way too complicated for a bug report. We shouldn't have to study your entire program to understand what the problem is. I can see at least one bug in your code: tble

[issue31915] (list).insert() not working

2017-10-31 Thread Steven D'Aprano
Change by Steven D'Aprano : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue31454] Include "import as" in tutorial

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: I just reviewed Mario's pull request. Should we mention the "from fibo import fib as fibonacci" syntax too? -- nosy: +berker.peksag ___ Python tracker ___

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31916] ensurepip not honoring value of $(DESTDIR) - pip not installed

2017-10-31 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: This is a pip bug https://github.com/pypa/pip/issues/3063 -- nosy: +Chi Hsuan Yen ___ Python tracker ___ __

[issue30824] Add mimetype for extension .json

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: 3.5 is now in security-fix-only mode so I'm closing this one as 'fixed'. Thank you, all. -- nosy: +berker.peksag resolution: -> fixed stage: backport needed -> resolved status: open -> closed versions: -Python 3.5

[issue31298] Error when calling numpy.astype

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: Chris is right. Please report this to numpy developers. We can always reopen this issue if they decide that this is an issue in Python. Thank you. By the way, I cannot reproduce the crash with numpy 1.13.3. -- nosy: +berker.peksag resolution: -> third

<    1   2