[issue29608] pip_gui

2017-02-20 Thread Berker Peksag
Changes by Berker Peksag : -- type: performance -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29608] pip_gui

2017-02-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- pull_requests: -170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29585] site.py imports relatively large `sysconfig` module.

2017-02-20 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29592] abs_paths() in site.py is slow

2017-02-20 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread pyguy
New submission from pyguy: When I use the subprocess module to run a another process, I expect to be able to read the STDOUT and STDERR of the other process. This is not possible on Mac OS X. The attached test program has been tested on Linux and Windows and does work as expected. It pauses at

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread Ned Deily
Ned Deily added the comment: Sorry, your program works for me on macOS 10.12.3 with the current python.org 2.7.13, the Apple-supplied system Python 2.7.10, and, with adding a decode to the readline, with 3.6.0. -- resolution: -> works for me status: open -> pending __

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread pyguy
pyguy added the comment: The program failed for me on Mac OS 10.4.11 using Python 2.7.12 and Mac OS 10.6.8 using Python 2.7.13. -- status: pending -> open ___ Python tracker ___

[issue29575] doc 17.2.1: basic Pool example is too basic

2017-02-20 Thread Davin Potts
Davin Potts added the comment: When passing judgement on what is "too basic", the initial example should be so basic as to be immediately digestible by as many people as possible. Some background: All too many examples mislead newcomers into believing that the number of processes should (a) ma

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2017-02-20 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread Ned Deily
Ned Deily added the comment: There certainly could be differences in behavior considering how old 10.6.8 and 10.4.11 are. I'm not a subprocess expert but it seems to me that, if your program hangs doing a readline from process.stdout, chances are you are running into a pipe buffer deadlock as

[issue29581] __init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta)

2017-02-20 Thread Kevin Shweh
Kevin Shweh added the comment: Doesn't that ignore_extra_args thing prevent InitX.__init_subclass__ from receiving the x argument it wanted? It doesn't seem like a solution. -- nosy: +Kevin Shweh ___ Python tracker

[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: It was a little mind-numbing to check this code, but it looks correct. Please fix two nits for better readability. For review purposes, it was nice to have changes stand-out, but for the final code I would like to combine the two comments and the two new_

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread pyguy
pyguy added the comment: Using communicate fixed the problem. Here is the program that works for me on Mac OS 10.4.11 with Python 2.7.12: import subprocess import time print("Launch started") program_name = "top" list = [program_name] process = subprocess.Popen(list) while process.poll() == No

[issue29355] sqlite3: remove sqlite3_stmt_readonly()

2017-02-20 Thread Ma Lin
Ma Lin added the comment: > Is there currently a solution to build Python 3.6 with sqlite3 support? I installed SQLite 3.16.2 on a Debian-based system with this way: http://stackoverflow.com/questions/26261080 No idea whether it will work on RHEL 6. -- _

[issue29610] ssl do_handshake fails on https-proxy (aka. https over https-proxy)

2017-02-20 Thread Phus Lu
New submission from Phus Lu: Background: I'm working on adding https-proxy[1] support to python-requests https://github.com/phuslu/requests_httpsproxy Issue: ssl module(python 2.7) counld establish ssl handshakes over a https-proxy Reproduce Steps: I setup a https-proxy in bwg.phus.lu:443 >>

[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize

2017-02-20 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for your time Raymond. :-) I applied your suggestions in the PR. -- ___ Python tracker ___ ___ P

[issue29603] More informative Queue class: new method that returns number of unfinished tasks

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I'm sure that exposing the number of unfinished tasks > (unfinished_tasks class variable) can be very useful in many situations Sorry, but I don't share your certainty of the usefulness of this method. Since the task_done/join API was added many years ago

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread Ned Deily
Changes by Ned Deily : -- resolution: fixed -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue10701] Error pickling objects with mutating __getstate__

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with Antoine that, "As the name suggests, __getstate__ should probably not mutate anything." Unless a problematic non-mutating example can be found, I suggest this be closed. For the most part, our rule has been that pure python code doesn't have

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread pyguy
pyguy added the comment: The program does not work the way I wanted it to. I want the output of the top command to be seen only by the python program. The program I made causes the top command to print its output to the terminal. Using subprocess.Popen() with stdout=subprocess.PIPE does preven

[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mariatta, would you like to run this against the test suite and then apply it. I don't think a MISC/NEWS entry is needed (it is just a code simplification) and Xiang is already in MISC/ACKS. -- assignee: rhettinger -> Mariatta nosy: +Mariatta

[issue29610] ssl do_handshake fails on https-proxy (aka. https over https-proxy)

2017-02-20 Thread Phus Lu
Changes by Phus Lu : -- assignee: -> christian.heimes components: +SSL nosy: +christian.heimes versions: +Python 3.5 ___ Python tracker ___ _

[issue29394] Cannot tunnel TLS connection through TLS connection

2017-02-20 Thread Martin Panter
Changes by Martin Panter : -- stage: -> needs patch versions: +Python 2.7, Python 3.5, Python 3.7 ___ Python tracker ___ ___ Python-b

[issue29610] ssl do_handshake fails on https-proxy (aka. https over https-proxy)

2017-02-20 Thread Martin Panter
Martin Panter added the comment: It looks like you are trying to tunnel one SSL or TLS connection through another SSL/TLS connection (instead of through a plain OS socket). There is already a bug recently opened about this: Issue 29394. Basically, the SSL module doesn’t support this, and the d

[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize

2017-02-20 Thread Xiang Zhang
Xiang Zhang added the comment: Sorry, I have the commit bit and know what to do with a commit. So I assign it to myself and wait someone approve the PR on GitHub. -- assignee: Mariatta -> xiang.zhang stage: patch review -> commit review ___ Python tr

[issue29554] profile/pstat doc clariification

2017-02-20 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue29554] profile/pstat doc clariification

2017-02-20 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02 by Berker Peksag in branch 'master': bpo-29554: Improve docs for pstat module and profile. (#88) https://github.com/python/cpython/commit/8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02 -- __

[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize

2017-02-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Okay, go ahead. I was hoping to give Mariatta some practice applying C patches (she's new). -- ___ Python tracker ___ _

[issue29603] More informative Queue class: new method that returns number of unfinished tasks

2017-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Raymond. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mail

[issue29347] Python could crash while creating weakref for a given object

2017-02-20 Thread Saida Dhanavath
Saida Dhanavath added the comment: Hi Xiang, Sorry for the delay. I have not checked my inbox since last week. The proposed fix works for me. -- ___ Python tracker ___ ___

[issue29347] Python could crash while creating weakref for a given object

2017-02-20 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks for your confirmation Saida! :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11572] bring Lib/copy.py to 100% coverage

2017-02-20 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +176 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue11572] bring Lib/copy.py to 100% coverage

2017-02-20 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29453] Remove reference to undefined dictionary ordering in Tutorial

2017-02-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb by Mariatta in branch 'master': bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140) https://github.com/python/cpython/commit/32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb --

[issue29532] functools.partial is not compatible between 2.7 and 3.5

2017-02-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29453] Remove reference to undefined dictionary ordering in Tutorial

2017-02-20 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue10938] Provide links to system specific strftime/ptime docs

2017-02-20 Thread Berker Peksag
Berker Peksag added the comment: I agree with Jim's review comment at https://github.com/python/cpython/pull/155#pullrequestreview-22646534 Those links will quickly get outdated and I'm sure that we will get reports like "this link doesn't work for my $PLATFORM $PLATFORM_VERSION". I suggest t

[issue29575] your closing of issue29575

2017-02-20 Thread Joachim
Joachim added the comment: Dear Davin, since I am new to the Python bug tracker, I have to asked a stupid question: are you the benevolent dictator of the Python Standard Library? Otherwise, how can it be that one and the same person in one and the same intervention adds new arguments to the de

[issue29609] Receiving messages from subprocess does not work on Mac OS X

2017-02-20 Thread Berker Peksag
Berker Peksag added the comment: Please use Stack Overflow or python-list for usage questions (and please do not reopen this issue again) -- nosy: +berker.peksag resolution: works for me -> not a bug status: open -> closed ___ Python tracker

[issue28814] Deprecation notice on inspect.getargvalues() is incorrect

2017-02-20 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue29165] Use forward compatible macro in example code for creating new type

2017-02-20 Thread INADA Naoki
Changes by INADA Naoki : -- pull_requests: +179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

<    1   2