[issue28369] Raise RuntimeError when transport's FD is used with add_reader etc

2016-10-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28372] Fix asyncio to support formatting of non-python coroutines

2016-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7bacd209ac4f by Yury Selivanov in branch '3.5': Issue #28372: Fix asyncio to support formatting of non-python coroutines https://hg.python.org/cpython/rev/7bacd209ac4f New changeset f7550d535878 by Yury Selivanov in branch '3.6': Merge 3.5 (issue

[issue24697] Add CoroutineReturn and CoroutineExit builtin exceptions for coroutines

2016-10-05 Thread Yury Selivanov
Yury Selivanov added the comment: Closing this one. Seems we can live just fine without these new exceptions. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue28371] Deprecate passing asyncio.Handles to run_in_executor

2016-10-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28371] Deprecate passing asyncio.Handles to run_in_executor

2016-10-05 Thread Yury Selivanov
New submission from Yury Selivanov: Proxy issue for https://github.com/python/asyncio/issues/334 -- assignee: yselivanov components: asyncio messages: 278156 nosy: gvanrossum, yselivanov priority: normal severity: normal stage: resolved status: open title: Deprecate passing

[issue28369] Raise RuntimeError when transport's FD is used with add_reader etc

2016-10-05 Thread Yury Selivanov
New submission from Yury Selivanov: Proxy issue for https://github.com/python/asyncio/pull/420 -- assignee: yselivanov components: asyncio messages: 278152 nosy: gvanrossum, yselivanov priority: normal severity: normal stage: resolved status: open title: Raise RuntimeError when

[issue28371] Deprecate passing asyncio.Handles to run_in_executor

2016-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8e71ddf1db5 by Yury Selivanov in branch '3.5': Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. https://hg.python.org/cpython/rev/c8e71ddf1db5 New changeset c0d84c091db0 by Yury Selivanov in branch '3.6': Merge 3.5 (issue

[issue28372] Fix asyncio to support formatting of non-python coroutines

2016-10-05 Thread Yury Selivanov
New submission from Yury Selivanov: Like the ones that were compiled with Cython. -- assignee: yselivanov components: asyncio messages: 278159 nosy: gvanrossum, yselivanov priority: normal severity: normal stage: resolved status: open title: Fix asyncio to support formatting of

[issue28372] Fix asyncio to support formatting of non-python coroutines

2016-10-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue27286] str object got multiple values for keyword argument

2016-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: The magic number change in a minor release was a mistake. Let's not do that with 3.6.x releases. Since Python doesn't check if there's a corresponding .py file that can be used to rebuild the .pyc file, we shouldn't reject existing .pyc files on the basis that

[issue27168] Comprehensions and await need more unittests

2016-10-05 Thread Yury Selivanov
Yury Selivanov added the comment: Closing this one. We added a lot of tests as part of the PEP 530 implementation. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue23749] asyncio missing wrap_socket (starttls)

2016-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3771a6326725 by Yury Selivanov in branch '3.5': asyncio: Add "call_connection_made" arg to SSLProtocol.__init__ https://hg.python.org/cpython/rev/3771a6326725 New changeset 3e6739e5c2d0 by Yury Selivanov in branch '3.6': Merge 3.5 (issue #23749)

[issue23749] asyncio missing wrap_socket (starttls)

2016-10-05 Thread Yury Selivanov
Yury Selivanov added the comment: With the latest change it's possible to implement starttls as a separate package on PyPI, or even by copying/pasting a small snipped of code in your project. It's expected that we'll figure out the API design for starttls during 3.6, so that we can add it in

[issue25292] ssl socket gets into broken state when client exits during handshake

2016-10-05 Thread Yury Selivanov
Yury Selivanov added the comment: Christian, would you be able to look into this before b2? -- ___ Python tracker ___

[issue28370] Speedup asyncio.StreamReader.readexactly

2016-10-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28370] Speedup asyncio.StreamReader.readexactly

2016-10-05 Thread Yury Selivanov
New submission from Yury Selivanov: Proxy for https://github.com/python/asyncio/pull/395 -- assignee: yselivanov components: asyncio messages: 278154 nosy: gvanrossum, yselivanov priority: normal severity: normal stage: resolved status: open title: Speedup

[issue13631] readline fails to parse some forms of .editrc under editline (libedit) emulation on Mac OS X

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.6, Python 3.7 -Python 3.4 ___ Python tracker ___

[issue28331] "CPython implementation detail:" is removed when contents is translated

2016-10-05 Thread INADA Naoki
INADA Naoki added the comment: Yes. Actually speaking, this patch is almost copy from VersionChanged directive. See here: https://github.com/sphinx-doc/sphinx/blob/master/sphinx/directives/other.py#L216-L221 -- ___ Python tracker

[issue28331] "CPython implementation detail:" is removed when contents is translated

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: I couldn't find any dummy HTML in the Sphinx codebase. Wouldn't something like work without a dummy HTML? from sphinx.locale import versionlabels, l_ versionlabels['cpythonimpldetail'] = l_('CPython implementation detail') Then use it in

[issue28231] zipfile does not support pathlib

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) nosy: +berker.peksag versions: +Python 3.7 ___ Python tracker ___

[issue28230] tarfile does not support pathlib

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___

[issue17345] Portable and extended type specifiers for array module

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: This looks like a duplicate of issue 9066. -- nosy: +berker.peksag resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> Standard type codes for array.array, same as struct

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: -easy nosy: +davin versions: +Python 3.7 -Python 3.3 ___ Python tracker ___

[issue12274] "Print window" menu on IDLE aborts whole application

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue28230] tarfile does not support pathlib

2016-10-05 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Library (Lib) ___ Python tracker ___ ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44957/other_rst_version_3_5.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44958/other_rst_version_3_6.diff ___ Python tracker ___

[issue21626] Add options width and compact to pickle cli

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, but the pickle CLI is not part of the public API and I don't think these new options are going to be useful for general use. Closing this as 'rejected'. Please re-open if Serhiy (or others) would find this a reasonable improvement.

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44956/other_rst_version_2_7.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44952/Doc_library_ctypes_rst_version_2_7.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44953/Doc_library_ctypes_rst_version_3_5.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44955/other_rst_default.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44954/Doc_library_ctypes_rst_version_3_6.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44971/v_2_7_conflict_files.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Removed file: http://bugs.python.org/file44951/Doc_library_ctypes_rst_default.diff ___ Python tracker ___

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Changes by Jaysinh shukla : Added file: http://bugs.python.org/file44970/all_rst_patch_default.diff ___ Python tracker ___

[issue12706] timeout sentinel in ftplib and poplib documentation

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: Documentation changes look good to me. However, I'd prefer using socket._GLOBAL_DEFAULT_TIMEOUT in the timeout parameter of FTP.connect(). -- keywords: +easy nosy: +berker.peksag versions: +Python 3.5, Python 3.6, Python 3.7 -Python 2.7, Python 3.2,

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-05 Thread Peter Lovett
Peter Lovett added the comment: I see that pydoc still useful, and have 6 points I'd like to work on with pydoc. Is this too much for one issue? Should I break bits out to another issue(s)? Although it would make sense to do it all in one go. ---

[issue28353] os.fwalk() unhandled exception when error occurs accessing symbolic link target

2016-10-05 Thread Samson Lee
Samson Lee added the comment: This is definitely a bug because there is no way an unhandled exception like this is acceptable behaviour. The behaviour is that the fwalk iteration will stop and there is no way to recover / continue. Also fwalk takes an onerror callback function that won't be

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2016-10-05 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: -petri.lehtinen ___ Python tracker ___ ___

[issue28369] Raise RuntimeError when transport's FD is used with add_reader etc

2016-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b502f624753 by Yury Selivanov in branch '3.5': Issue #28369: Raise an error when transport's FD is used with add_reader https://hg.python.org/cpython/rev/2b502f624753 New changeset f3c1d8869dd5 by Yury Selivanov in branch '3.6': Merge 3.5 (issue

[issue28370] Speedup asyncio.StreamReader.readexactly

2016-10-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3ef922e6f26 by Yury Selivanov in branch '3.5': Issue #28370: Speedup asyncio.StreamReader.readexactly https://hg.python.org/cpython/rev/b3ef922e6f26 New changeset b76553de3a29 by Yury Selivanov in branch '3.6': Merge 3.5 (issue #28370)

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-10-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Well... I created a patch based on Ned's code :) This now works in the default branch Python 3.7.0a0 (default:f2204eaba685+, Oct 5 2016, 20:43:44) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin Type "help", "copyright", "credits" or

[issue27825] Make the documentation for statistics' data argument clearer.

2016-10-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Updated the docs and updated the example codes as well. Please review :) -- keywords: +patch nosy: +Mariatta Added file: http://bugs.python.org/file44979/issue27825.patch ___ Python tracker

[issue28201] dict: perturb shift should be done when first conflict

2016-10-05 Thread INADA Naoki
INADA Naoki added the comment: While I think this patch is safe, I need LGTM from another committer because I'm new committer. Could Tim or Raymond review the patch before 3.6beta2? -- ___ Python tracker

[issue28201] dict: perturb shift should be done when first conflict

2016-10-05 Thread Tim Peters
Tim Peters added the comment: LGTM! Ship it :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24459] Mention PYTHONFAULTHANDLER in the man page

2016-10-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hi Joshua, Seems like your latest patch doesn't apply cleanly to the default branch. Can you rebase and upload a new patch? Thanks. -- nosy: +Mariatta ___ Python tracker

[issue28201] dict: perturb shift should be done when first conflict

2016-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. -- ___ Python tracker ___ ___

[issue28201] dict: perturb shift should be done when first conflict

2016-10-05 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44981/dict-perturb-shift4.patch ___ Python tracker ___

[issue21140] Idle: saving Shell or an OutputWindow should default to .txt

2016-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing #28365 in favor of this. As noted there, Shell is a subclass of OutputWindow is a subclass of EditorWindow, so Shell should inherit new behavior from OutputWindow instead of both from EW. Change to the patch: I think .py should not even be a

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since David added me as nosy, I will address the IDLE issues raised above. But first, a question. Does 'deprecating HTML output' merely mean deprecating the old output in favor of new and better HTML output, or deprecating having any html output, which would

[issue27859] argparse - subparsers does not retain namespace

2016-10-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Seems like this can be closed. Thanks. -- nosy: +Mariatta ___ Python tracker ___

[issue28201] dict: perturb shift should be done when first conflict

2016-10-05 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44980/dict-perturb-shift3.patch ___ Python tracker ___

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2016-10-05 Thread STINNER Victor
STINNER Victor added the comment: > We're running into this building python 3.4.3 on EL6 ppc64. The os kernel is > 4.7.2-201.fc24.ppc64, but the EL6 chroot kernel-headers are > 2.6.32-642.4.2.el6. Any progress here? Sorry, but if I'm unable to reproduce the issue, I cannot make progress on

[issue28331] "CPython implementation detail:" is removed when contents is translated

2016-10-05 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44969/impl-detail2.patch ___ Python tracker ___

[issue28362] Deprecation warning doesn't stand out enough

2016-10-05 Thread INADA Naoki
INADA Naoki added the comment: default.css was changed? https://docs.python.org/3.3/_static/default.css https://docs.python.org/3.4/_static/default.css -- nosy: +inada.naoki ___ Python tracker

[issue28362] Deprecation warning doesn't stand out enough

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: It was rendered in a red box, because we were using an old Sphinx CSS file (Doc/tools/static/basic.css) [1] We are using Sphinx defaults now and Python specific tweaks are located at Doc/tools/pydoctheme/static/pydoctheme.css. We usually prefer to use less

[issue28331] "CPython implementation detail:" is removed when contents is translated

2016-10-05 Thread Berker Peksag
Berker Peksag added the comment: Does Sphinx use a dummy HTML file like you did in the patch? -- nosy: +berker.peksag ___ Python tracker ___

[issue28331] "CPython implementation detail:" is removed when contents is translated

2016-10-05 Thread INADA Naoki
INADA Naoki added the comment: Ah, I misunderstood your comment is about Sphinx's internal DOM. Sphinx has own pot and po files. In case of custom extension, `sphinx-build -b gettext` doesn't extract messages from Python code. That's why I used dummy html template. Another way is adding

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-05 Thread STINNER Victor
STINNER Victor added the comment: > In scanning over issue 8828, I see no discussion of the consequences of not > using MOVEFILE_COPY_ALLOWED in Antoine's patch, so it appears that this > behavior change was unintentional. Depending on your point of view, it *can* be seen as an enhancement.

[issue24098] Multiple use after frees in obj2ast_* methods

2016-10-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue28329] Add support for customizing scheduler's timefunc and delayfunc using subclassing

2016-10-05 Thread Jaysinh shukla
Jaysinh shukla added the comment: Hey Raymond, Since you rejected the issue, I would like to mention two points. 1. I believe Threading does have the similar interface. https://docs.python.org/3/library/threading.html where `Thread.target` and `Tread.run()` behaves same. 2.

[issue17188] Document 'from None' in raise statement doc.

2016-10-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: reuploaded thomir's patch issue17188_3.4.patch as is. I take no credit for this. -- Added file: http://bugs.python.org/file44967/issue17188_by_thomir.patch ___ Python tracker

[issue20491] textwrap: Non-breaking space not honored

2016-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The code of the textwrap module was changed since publishing the last patch. Proposed patch resolves conflicts and addresses Eric's comments. Maybe add breaking Unicode spaces (OGHAM SPACE MARK, EN QUAD, etc) to _whitespace? I think in future we should

[issue28363] -D_LARGE_FILES not exported to modules (for AIX)

2016-10-05 Thread Michael Felt
New submission from Michael Felt: I was asked to assist with some problems with a "pip install numpy" and - maybe I am barking up the wrong tree. However, in the thread https://github.com/numpy/numpy/issues/8118 in short, if "python" is responsible for providing the -D flags "extensions"

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I disagree with deprecating HTML output. Pydoc has builtin HTTP server, it provides the documentation with hyperlinks. It would be nice if IDLE use this feature for displaying interactive help. I think we should enhance HTML output not just by making it

[issue28315] incorrect "in ?" output in 'divide' example at "Defining Clean-up Actions" in tutorial

2016-10-05 Thread Jaysinh shukla
Jaysinh shukla added the comment: Hello Terry, According to your instructions I had uploaded two patch files. The file named `all_rst_patch_default.diff` is applicable for version `default`, `3.5`, `3.6` and for most files of `2.7`. The file named `v_2_7_conflict_files.diff` is a correct

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-05 Thread R. David Murray
R. David Murray added the comment: You sound like you think we want to get rid of pydoc, which is certainly not true :). As I understand it it is only the *html* output of pydoc that we are considering deprecating. Yes, you should open separate issues for your proposed changes. 1 and 2

[issue28259] Ctypes bug windows

2016-10-05 Thread Steve Dower
Steve Dower added the comment: Ultimately we need something to put in the test suite to make sure it's fixed and doesn't regress in the future. It's asking a lot of our volunteers to investigate a bug on very little information. -- stage: -> test needed

[issue28362] Deprecation warning doesn't stand out enough

2016-10-05 Thread R. David Murray
R. David Murray added the comment: Agreed. The removal of the red was a conscious choice. As I remember it, that choice got reflected into the Sphinx defaults, rather than the other way around :) -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open ->

[issue24632] Improve documentation about __main__.py

2016-10-05 Thread Dima Tisnek
Dima Tisnek added the comment: +1, I too would like to see this documented -- nosy: +Dima.Tisnek ___ Python tracker ___

[issue10716] Modernize pydoc to use better HTML and separate CSS

2016-10-05 Thread R. David Murray
R. David Murray added the comment: That sounds like a reasonable argument to me. To clarify something in my last post: 5 should be skipped in terms of opening new issues because it is already covered by this issue. If Terry would like to see pydoc enhanced to support idle, then I think that

[issue28366] Syntax issue

2016-10-05 Thread A.J.
Changes by A.J. : -- files: image1.jpeg, image2.jpeg, unnamed, unnamed nosy: radialbeast priority: normal severity: normal status: open title: Syntax issue Added file: http://bugs.python.org/file44972/image1.jpeg Added file: http://bugs.python.org/file44973/unnamed

[issue28366] Syntax issue

2016-10-05 Thread Zachary Ware
Zachary Ware added the comment: Let's consolidate this to #28365. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 3.5.2 syntax issue ___ Python tracker

[issue2897] Deprecate structmember.h

2016-10-05 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a proposed doc patch for Python 3.5+. For 2.7 we should probably just add a versionchanged note explaining "restricted mode" has been deprecated in Python 2.3. -- Added file:

[issue28366] Syntax issue

2016-10-05 Thread Steven D'Aprano
New submission from Steven D'Aprano: Did you take a picture of the screen with your iPhone? Why didn't you take a screenshot? Or better still, since this is a text-based medium not a graphics error, copy and paste the text involved? That's easier for people to work with, including those who

[issue28366] Syntax issue

2016-10-05 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.5 ___ Python tracker

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread Steven D'Aprano
Steven D'Aprano added the comment: See #28366 -- nosy: +steven.daprano ___ Python tracker ___ ___

[issue25720] Fix curses module compilation with ncurses6

2016-10-05 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: I tried to build curses module on Cygwin (Vista x86) using #25720 patch. And it has been succeeded. When test_curses ran without skip condition, it was same result as msg278060 (#28190). I found out build success reasons for cases of applying patch: #25720

[issue28364] Windows - Popen (subprocess.py) does not call _handle.Close() at all

2016-10-05 Thread Mateusz Klatt
New submission from Mateusz Klatt: _subprocess.TerminateProcess(self._handle, 1) is not enough, on windows need to call self._handle.Close() after that self._handle.Close() should be also called in __del__ - for the process es that ware not killed bu user, but terminated by themselves. To

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread Zachary Ware
Zachary Ware added the comment: Hi A.J., What you're describing isn't really possible, so you're going to need to provide some more detail. Please copy and paste your Command Prompt session into a message here to show us what's going on. -- ___

[issue24632] Improve documentation about __main__.py

2016-10-05 Thread Nick Coghlan
Nick Coghlan added the comment: In the same vein of "I never worked out a good offical home for it", a couple of the "Traps for the Unwary" I describe for Python's import system are closely related to __main__ module execution and the impact that has on sys.path and sys.modules: *

[issue24632] Improve documentation about __main__.py

2016-10-05 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- nosy: +Mariatta ___ Python tracker ___ ___

[issue24632] Improve documentation about __main__.py

2016-10-05 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I never found a good place to document this, hence the relatively sparse references in the "using" docs. The most complete official docs for these features are actually in runpy: * https://docs.python.org/3/library/runpy.html#runpy.run_module *

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread Tim Golden
Tim Golden added the comment: This sometimes happens when someone copies from a book or a tutorial and includes as though code the banner header which is only meant to illustrate the context. -- ___ Python tracker

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread A.J.
New submission from A.J.: whenever I go to run a program no matter what I do it always says syntax error and highlights the 5 in the 3.5.2 version banner -- components: Windows messages: 278132 nosy: paul.moore, radialbeast, steve.dower, tim.golden, zach.ware priority: normal severity:

[issue28240] Enhance the timeit module: display average +- std dev instead of minimum

2016-10-05 Thread STINNER Victor
STINNER Victor added the comment: Oh, cfbolz just modified timeit in PyPy to display average (mean) and standard deviation: https://bitbucket.org/pypy/pypy/commits/fb6bb835369e Moreover, PyPy timeit now displays the following warning: --- WARNING: timeit is a very unreliable tool. use perf or

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread Paul Moore
Paul Moore added the comment: I can recreate this (based on the screenshots from #28366). To reproduce, open IDLE. You get the console banner and prompt. Save that file using File-Save. The close IDLE. Reopen it, do File-Open to open your saved console session, then use the "Run" menu to run

[issue28365] 3.5.2 syntax issue

2016-10-05 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue28365] idle forgets that saved console session is not a python file after restart

2016-10-05 Thread R. David Murray
R. David Murray added the comment: I'm retitling the issue. The new title doesn't necessary represent the "bug" that needs to be fixed, but it does seem to represent the *apparent* error. -- nosy: +r.david.murray title: 3.5.2 syntax issue -> idle forgets that saved console session is

[issue28259] Ctypes bug windows

2016-10-05 Thread Aristotel
Aristotel added the comment: I will write (as short as possible) example. Hope to finish it in ~ 1 week. -- ___ Python tracker ___

[issue25720] Fix curses module compilation with ncurses6

2016-10-05 Thread Mark Dickinson
Mark Dickinson added the comment: > Mark, do you have relation to this? Sorry, no. Whatever ncurses knowledge I may once have had has long since vanished. -- ___ Python tracker

[issue28367] Add more standard baud rate constants to "termios"

2016-10-05 Thread Andrey Smirnov
New submission from Andrey Smirnov: Termios magic constants for the following baud rates: - B50 - B576000 - B921600 - B100 - B1152000 - B150 - B200 - B250 - B300 - B350 - B400 in Linux are different between various architectures (i. e.

[issue28364] Windows - Popen (subprocess.py) does not call _handle.Close() at all

2016-10-05 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior ___ Python tracker

[issue28365] idle forgets that saved console session is not a python file after restart

2016-10-05 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: -> terry.reedy components: +IDLE -Windows ___ Python tracker ___

[issue28363] -D_LARGE_FILES not exported to modules (for AIX)

2016-10-05 Thread Michael Felt
Michael Felt added the comment: Now they notice the defines are coming from their project. closing... -- resolution: -> third party status: open -> closed ___ Python tracker

[issue28368] Refuse monitoring processes if the child watcher has no loop attached

2016-10-05 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28368] Refuse monitoring processes if the child watcher has no loop attached

2016-10-05 Thread Yury Selivanov
New submission from Yury Selivanov: Proxy issue for https://github.com/python/asyncio/pull/391 -- assignee: yselivanov components: asyncio messages: 278148 nosy: gvanrossum, yselivanov priority: normal severity: normal stage: resolved status: open title: Refuse monitoring processes if

[issue27998] Bytes paths now are supported in os.scandir() on Windows

2016-10-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka stage: needs patch -> patch review title: Remove support of bytes paths in os.scandir() -> Bytes paths now are supported in os.scandir() on Windows ___

[issue28364] Windows - Popen (subprocess.py) does not call _handle.Close() at all

2016-10-05 Thread Eryk Sun
Eryk Sun added the comment: In 2.7, the _handle attribute is a _subprocess_handle object, which automatically calls CloseHandle when deallocated. For example: >>> p = subprocess.Popen('python -c "import time; time.sleep(120)"') CreateProcess returns both the process handle and the thread

  1   2   >