[issue30707] Incorrect description of "async with" in PEP492 and documentation

2017-06-19 Thread Nick Coghlan
Nick Coghlan added the comment: The specific issue is that early exits from an "async with" statement are actually defined the same way they for synchronous with statements: exiting early via return, break, or continue, is the same as reaching the end of the try block. However, that's not

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2333 ___ Python tracker ___ ___

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The second parameter of the PyUnicode_AsWideCharString() function wchar_t* PyUnicode_AsWideCharString(PyObject *unicode, Py_ssize_t *size) is a pointer to Py_ssize_t. The size of created wchar_t array is saved on this pointer if it is not NULL. If

[issue30707] Incorrect description of "async with" in PEP492 and documentation

2017-06-19 Thread Damien George
New submission from Damien George: The behaviour of the "async with" statement in CPython does not match the description of it in PEP492, nor the language documentation. The implementation uses a try/except/finally block, while the PEP and documentation describe the behaviour using a

[issue30707] Incorrect description of "async with" in PEP492 and documentation

2017-06-19 Thread Damien George
Changes by Damien George : -- assignee: docs@python components: Documentation nosy: Damien George, docs@python priority: normal severity: normal status: open title: Incorrect description of "async with" in PEP492 and documentation type: behavior versions:

[issue13617] Reject embedded null characters in wchar* strings

2017-06-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue30629] lower() is called twice

2017-06-19 Thread 成瀬基樹
Changes by 成瀬基樹 : -- pull_requests: +2332 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2017-06-19 Thread Vedran Čačić
Vedran Čačić added the comment: I'd just like to say that I like A configuration preference that permits writing and running test programs from the editor without having to save the file (you're warned upon quitting whether to save). very much, it would save me a lot of time, and

[issue30629] lower() is called twice

2017-06-19 Thread 成瀬基樹
成瀬基樹 added the comment: It will be highlight of my programmer life. Thank you. That pull request is just the beginning, not the last. -- ___ Python tracker

[issue5680] Command-line arguments when running in IDLE

2017-06-19 Thread veganaiZe
Changes by veganaiZe : -- nosy: +veganaiZe ___ Python tracker ___ ___

[issue30701] Exception parsing certain invalid email address headers

2017-06-19 Thread Tim Bell
Tim Bell added the comment: I'm using the email package to ingest a firehose of spam; spammers aren't known for following norms or standards, so it's not surprising that I'm discovering lots of edge cases. I'll supply fixes for what I find where I can, time permitting. --

[issue30420] Clarify kwarg handing for subprocess convenience APIs

2017-06-19 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 0a4fe1d8578fa59004518f8deef137282be4d71a by Mariatta in branch '3.6': [3.6] bpo-30420: List cwd parameter in subprocess convenience APIs (GH-1685) (GH-2253) https://github.com/python/cpython/commit/0a4fe1d8578fa59004518f8deef137282be4d71a

[issue17583] IDLE HOWTO

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. This is helpful and got me started thinking. I don't want to duplicate the reference doc too much, but a reference is just that, a reference. The menu items are discussed in the order they appear, not the order a beginner might use the most common

[issue17583] IDLE HOWTO

2017-06-19 Thread Cheryl Sabella
Cheryl Sabella added the comment: I think it's a good start, but may need some tweaking. For example, the Menu options should probably somehow stand out from the rest of the text. I think it would be useful for a beginner, depending on how much of a beginner they are and how they got to this

[issue18152] Idle: add 2.7 backport script

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue18316] Idle 2.7: update to simplify cross-version patches

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am no longer patching IDLE for 2.7, partly because of the testing issue. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue18583] Idle: enhance FormatParagraph

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.7 ___ Python tracker ___ ___

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2017-06-19 Thread Ned Deily
Ned Deily added the comment: House cleaning: much time has passed since this issue was originally opened and the state of IDLE development has changed dramatically for the better since then, thanks, in large part, to Terry taking charge. I suspect that nearly all of the individual items here

[issue18583] Idle: enhance FormatParagraph

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue20403] Idle options dialog: add help

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Help has been restored, but perhaps not with this patch. Before closing, I should check if there is anything I want to use. -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4

[issue21359] IDLE Redo command accelerator acts as Undo with current OS X Cocoa Tk 8.5.15

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE nosy: +terry.reedy stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue21473] Idle: test startup scripts.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue18504] IDLE: Improve Mock_Text

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: IDLE:Improvements- Improving Mock_Text -> IDLE: Improve Mock_Text ___ Python tracker ___

[issue18504] IDLE:Improvements- Improving Mock_Text

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue21632] Idle: sychronize text files across versions as appropriate.

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Help.txt has been replaced by help.html, generated from idle.html, generated from idle.rst, which is so far kept in sync for current maintenance and feature versions. Readme.txt has been replaced and is in sync for 3.6 and 7. The 3.6 and 3.7 code have one

[issue21632] Idle: sychronize text files across versions as appropriate.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue30706] EmailMessage Object Creation

2017-06-19 Thread R. David Murray
R. David Murray added the comment: This isn't the place to get help on Python coding, but since this is a relatively new API I'll give you a pointer, and then you can tell me where the docs need improvement :) If you do message_from_string(yourstring, policy=email.policy.default), you should

[issue21673] Idle: hilite search terms in hits in Find in Files output window

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue21624] Idle: polish htests

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue21787] Idle: make 3.x Hyperparser.get_expression recognize ...

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue17506] Improve IDLE news handling

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: To minimize news merge headaches, I have been pushing news items separately from IDLE patches, usually in batches of at least two. It has not been too much bother to copy from NEWS.txt to NEWS. If and when news handling is automated, I will request that

[issue30576] http.server should support HTTP compression (gzip)

2017-06-19 Thread Glenn Linderman
Glenn Linderman added the comment: @martin sez: It may be reasonable to serve the Content-Encoding field based on the stored file though. If the client requests file “xyz”, there should be no encoding, but if the request was explicitly for “xyz.gz”, the server could add Content-Encoding. But

[issue30689] len() and iter() of ChainMap don't work with unhashable keys

2017-06-19 Thread R. David Murray
R. David Murray added the comment: IMO, it would actually be surprising for ChainMap to support unhashable keys. In Python, as Raymond indicates, "mapping" is pretty much synonymous with 'dict-like', and it would be where that was *not* true that we might add extra documentation. --

[issue22010] Idle: better management of Shell window output

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue22209] Idle: add better access to extension information

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue14944] Setup & Usage documentation for pydoc, IDLE, & 2to3

2017-06-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-06-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: The two issues you are refering to are the instruments that are needed to reproduce the problem. The reference to PR 2035 is only made here to argue about the question of the correct way to control the successive calls to PyErr_NormalizeException(). This

[issue30495] IDLE: modernize textview module

2017-06-19 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Terry. I've pulled the textview changes out and made a PR. I know you had said there can be more than one PR for a bug, so I did it under this number. Hope that was the right thing to do. I'll take a look at help_about separately. On Mon, Jun 19,

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I wanted this for the same reason you backported test.__main__ in #30223, but I'm not going to fix the problems. -- ___ Python tracker

[issue30495] IDLE: modernize textview module

2017-06-19 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2331 ___ Python tracker ___ ___

[issue17583] IDLE HOWTO

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, what do you think of the revised patch? I imagine it needs some updating for *nix, but does it seem useful to a beginner? -- nosy: +csabella versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4

[issue14944] Setup & Usage documentation for pydoc, IDLE, & 2to3

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not sure where installed scripts are documented in Using Python. 'idle' and 'idle3' are not installed on Windows. -- title: Setup & Usage documentation for pydoc, idle & 2to3 -> Setup & Usage documentation for pydoc, IDLE, & 2to3 versions:

[issue23431] Idle Application Not Responding

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: No followup, no issue. If IDLE did not run but python did, the next thing to have tried would have been .../python3.4 -c "import tkinter; tkinter.Tk()" -- nosy: +terry.reedy resolution: -> out of date stage: -> resolved status: open -> closed

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2017-06-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue18330] Fix idlelib.PyShell.build_subprocess_arglist use of __import__

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue24212] Idle, 2.7, backport idlelib.__main__, enable py -m idlelib

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am no longer patching IDLE for 2.7. -- assignee: -> terry.reedy components: +IDLE resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue30706] EmailMessage Object Creation

2017-06-19 Thread Michael Salsone
New submission from Michael Salsone: I am looking to use the get_body() method from email.message.EmailMessage, but I am unable to create an object of this type. I am attempting to create an object of this from message_from_string (as well as some of the other email.parser methods). But it

[issue24936] Idle: handle 'raise' properly when running with subprocess (2.7)

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The Runtime error is what current py 3 raises. TypeError is what 2.7.13 raises. Since the only problem is for someone who read the doc running 'raise' in IDLE 2.7 in -n mode, closing. -- assignee: -> terry.reedy components: +IDLE resolution: ->

[issue30703] regrtest hangs on the master branch

2017-06-19 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_multiprocessing_forkserver hangs on x86-64 Sierra 3.x. buildbot -> regrtest hangs on the master branch ___ Python tracker

[issue30703] test_multiprocessing_forkserver hangs on x86-64 Sierra 3.x. buildbot

2017-06-19 Thread STINNER Victor
STINNER Victor added the comment: Different issue, but same behaviour: test hangs and then killed by buildbot, whereas a single test was still running. See also bpo-30351 which tracks similar bugs, but on Python 2.7. I really hate such bugs :-(

[issue24996] IDLE: debugger local/global vars should not be editable

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe an Entry validator can reject all keystrokes. It seem feasible that globals could be changed. I could look at what pdb can do and if so, how. -- ___ Python tracker

[issue24996] IDLE: debugger local/global vars should not be editable

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE stage: -> test needed versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue25015] Idle: scroll Text faster with mouse wheel

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue25031] IDLE - file list improvements

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue25036] IDLE - infrastructure changes so editors don't assume they're in a toplevel

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue20917] Idle: Enhance font change notification system

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE stage: -> test needed versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #17060 as a duplicate of this. Roger Serwy there said "The .home_callback() in Lib/idlelib/EditorWindow.py contains the logic from #3851 for placing the cursor at the beginning of the prompt, but it requires that a key combination be bound to the

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4 ___ Python tracker ___

[issue17060] IDLE -- jump to home should not go past the PS1 and PS2 prompts

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this instead of #18444 because the latter has more extensive discussion. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the

[issue25090] IDLE: remove noisy icons from class (module) browser

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> test needed versions: +Python 3.7 -Python 2.7, Python 3.5 ___ Python tracker

[issue18064] IDLE: add current directory to open_module

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue18064] IDLE: add current directory to open_module

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: For IDLE development, I would love to have idlelib and idlelib.idle_test on the open line. Perhaps this should be user configurable: Favorite directories for opening files. -- ___ Python tracker

[issue18318] Idle: stop depending on console output

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___

[issue21674] Idle: Add 'find all' in current file

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___

[issue30698] asyncio sslproto do not shutdown ssl layer cleanly

2017-06-19 Thread Alexander Mohr
Changes by Alexander Mohr : -- nosy: +thehesiod ___ Python tracker ___ ___

[issue30701] Exception parsing certain invalid email address headers

2017-06-19 Thread R. David Murray
R. David Murray added the comment: Yep, you found an edge case I didn't write a test for. The defect should get added to the header object during parsing. (Those are supposed to get copied to the message object...) -- ___ Python tracker

[issue30495] IDLE: modernize textview module

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: You were waiting on my review of the revised patch. 1. Remove the help_about changes. Reworking help_about is #24813. I just reviewed Mark Roseman's patch. I do not want the button frames because I would like to get rid of the buttons. Besides that, I

[issue25218] Automate creation of idlelib/help.html from Doc/.../idle.html

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Build, IDLE ___ Python tracker ___ ___

[issue25219] Update doc for Idle command line options.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue25198] Idle: improve idle.html help viewer.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue25244] Idle: refine right-click behavior

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue25522] IDLE: warn if save-as name matches stdlib name

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue22742] IDLE shows traceback when printing non-BMP character

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE -Library (Lib) versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue26353] IDLE: Saving Shell should not add \n

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___

[issue22893] Idle: __future__ does not work in startup code.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker ___

[issue27099] IDLE: turn builting extensions into regular modules

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue27388] IDLE configdialog: reduce multiple references to Var names

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue27452] IDLE: Cleanup config code

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue27465] IDLE:Make help source menu entries unique and sorted.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue27477] IDLE: Switch search dialogs to ttk widgets, and other refinement

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Steve Dower added the comment: Ned - this has been merged into 3.6 branch and the buildbots look good. Feel free to move the NEWS item around and/or cherrypick into 3.6.2 at your leisure. -- nosy: +ned.deily ___ Python tracker

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset 2c899ccffda92a7f3d4e7a01f14a666504db07b5 by Steve Dower in branch '3.5': bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252) (#2281)

[issue28572] IDLE: add tests for config dialog.

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: #25488 and #26143 address related issues of sys.path as seen by IDLE and user code. #26143 focuses on what IDLE sees, and user modules shadowing IDLE modules, #25488 focuses on what user code sees, and the presence of idlelib in sys.path making buggy code

[issue25488] IDLE: Remove '', user_dir, and idlelib from sys.path when added

2017-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: #25488 and #26143 address related issues of sys.path as seen by IDLE and user code. #26143 focuses on what IDLE sees, and user modules shadowing IDLE modules, #25488 focuses on what user code sees, and the presence of idlelib in sys.path making buggy code

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-19 Thread Steve Dower
Steve Dower added the comment: Zach, I just spotted this build log, that appears to have failed to download nuget.exe: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.6/builds/339/steps/compile/logs/stdio Guessing the bot is only succeeding because it currently has all the

[issue30671] dict: improve lookup function

2017-06-19 Thread Tim Peters
Tim Peters added the comment: BTW, I should have spelled this out earlier: recall that x and y collide on the first probe if and only if x = y (mod 2**k) [1] The second probe never happens unless they do collide on the first probe, so when looking at the second probe we can assume

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset 06d6e3d0bb5b8a3d3105289034953a8014356a0b by Steve Dower in branch '3.6': bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252) (#2280)

[issue26143] Ensure that IDLE's stdlib imports are from the stdlib

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue30422] Add roadmap.txt section to idlelib

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue27609] IDLE completions: format, factor, and fix

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2330 ___ Python tracker ___ ___

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2329 ___ Python tracker ___ ___

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset 40a23e88994aca92c83c8e84ab8b8cdc11d7ec54 by Steve Dower in branch 'master': bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252)

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2017-06-19 Thread R. David Murray
R. David Murray added the comment: I'll make one argument in favor of retaining the exception, and if that doesn't fly then I agree to the solution and will try to review the PR soon. The argument is this: if parsedate_to_datetime raises an error, you get information about *why* the date was

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-19 Thread Nikolay Kim
Nikolay Kim added the comment: Let’s close this issue then. I don’t like it anyway. > On Jun 19, 2017, at 10:21 AM, Grzegorz Grzywacz > wrote: > > > Grzegorz Grzywacz added the comment: > > This is not problem with madis-data.ncep.noaa.gov not doing ssl shutdown, >

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2017-06-19 Thread Grzegorz Grzywacz
Grzegorz Grzywacz added the comment: This is not problem with madis-data.ncep.noaa.gov not doing ssl shutdown, this is problem with asyncio not doing it. Patch from this #30698 issue fix this too. -- nosy: +grzgrzgrz3 ___ Python tracker

[issue30697] segfault in PyErr_NormalizeException() after memory exhaustion

2017-06-19 Thread Brett Cannon
Brett Cannon added the comment: So is PR 2035 a fix for this? This discussion on this exact problem seems to have ended up spanning a couple issues and a PR so I'm losing track of where things sit at the moment. -- ___ Python tracker

  1   2   >