[issue27025] More human readable generated widget names

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 304c61263ae6 by Serhiy Storchaka in branch 'default': Issue #27025: Generated names for Tkinter widgets are now more meanful https://hg.python.org/cpython/rev/304c61263ae6 -- nosy: +python-dev ___ Python

[issue26867] test_ssl test_options fails on ubuntu 16.04

2016-06-13 Thread Matthias Klose
Matthias Klose added the comment: Description: properly handle Ubuntu's openssl having OP_NO_SSLv3 forced on by default Author: Marc Deslauriers Forwarded: yes, http://bugs.python.org/issue25724 Index: b/Lib/test/test_ssl.py

[issue27025] More human readable generated widget names

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ` and ^ LGTM. We can change this in any time if it looks bad. -- assignee: -> serhiy.storchaka ___ Python tracker

[issue10839] email module should not allow some header field repetitions

2016-06-13 Thread Berker Peksag
Berker Peksag added the comment: I don't think a new API is needed. But we need to promote the policy keyword better in docs. See https://twitter.com/aksiksi/status/741769504817045508 for an example of confusion. I don't know if it's a good idea or API but can we add a 'policy' keyword

[issue26867] test_ssl test_options fails on ubuntu 16.04

2016-06-13 Thread Larry Hastings
Larry Hastings added the comment: That does seem like it'd make the test failure go away. But the fix seems a little Ubuntu-specific. Is it reasonable to do that when testing on every platform? -- ___ Python tracker

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-06-13 Thread Steven Barker
Changes by Steven Barker : Added file: http://bugs.python.org/file43372/Python 3.5.2rc1 (64-bit)_20160613002148_008_launcher_AllUsers.log ___ Python tracker

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-06-13 Thread Steven Barker
Steven Barker added the comment: I've just encountered this error when trying to update to the 3.5.2rc1 release (64-bit Python, Windows 10). I'd already had the 3.5.1 release installed, so I suppose it could have been an issue with the older installer trying to uninstall the old version. I

[issue25413] ctypes (libffi) fails to compile on Solaris X86

2016-06-13 Thread Cristi Fati
Cristi Fati added the comment: Hi, sorry for spamming everyone, I couldn't find a way to reply to the last message directly on #25413 (https://bugs.python.org/issue25413). Looked over the current version (from MASTER) of the file: https://github.com/libffi/libffi/blob/master/src/x86/ffi.c, and

[issue27294] Better repr for Tkinter event objects

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Terry, this information is helpful. Mod1 is Alt on X11, but not on Windows. It looks to me that on Windows Mod1 is NumLock, Mod3 is ScrollLock, 0x2 is Alt, 0x4 is pad keyboard. It is not clear about Win. What events are emitted if your

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-06-13 Thread Steven Barker
Changes by Steven Barker : Added file: http://bugs.python.org/file43371/Python 3.5.2rc1 (64-bit)_20160613002950.log ___ Python tracker ___

[issue10839] email module should not allow some header field repetitions

2016-06-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 13, 2016, at 06:38 AM, Berker Peksag wrote: >I don't know if it's a good idea or API but can we add a 'policy' keyword >argument to email.mime.base.MIMEBase? Right now, this is the only way to >change the default policy without using high level

[issue10839] email module should not allow some header field repetitions

2016-06-13 Thread Berker Peksag
Berker Peksag added the comment: > I think we just need to plumb a `policy` argument through to the ultimate base > class, email.message.Message That's already possible: https://docs.python.org/dev/library/email.message.html#email.message.Message It would be nice to be able to customize

[issue10839] email module should not allow some header field repetitions

2016-06-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 13, 2016, at 08:34 AM, Berker Peksag wrote: >Berker Peksag added the comment: > >> I think we just need to plumb a `policy` argument through to the ultimate >> base class, email.message.Message > >That's already possible:

[issue27186] add os.fspath()

2016-06-13 Thread Martin Panter
Martin Panter added the comment: I went with os.name == "nt", which is what other scandir() tests use. I’m not sure there is a practical different. Anyway the buildbots seem happier now. -- ___ Python tracker

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread SilentGhost
SilentGhost added the comment: LGTM. -- stage: needs patch -> commit review ___ Python tracker ___ ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: I did wonder about that. It's good that we can reproduce the issue without pip, but it's probably going to be messy to debug! I've got VS 2008 on this machine but no time at the moment to build & debug. Don't know if Zach or Steve might be able to jump in. If not,

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: James, which installer did you use (just so I can try to reproduce as closely as possible)? -- ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Confirmed I can reproduce the issue on Windows 7, with Python 2.7.12rc1. I don't have C debugging capabilities on this PC, so that's as far as I can go for now. -- ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Re-opening at user's request on Paul Moore's advice. He's already nosy so can comment here if needed. It would be good to get independent verification. I'll try to install the rc for 2.7.12 to see if I can reproduce. -- resolution: third party -> stage:

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Thanks, Paul. Adding Benjamin as 2.7 release manager. This looks like a release blocker to me. -- nosy: +benjamin.peterson ___ Python tracker

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2016-06-13 Thread Tommy Beadle
New submission from Tommy Beadle: Support for unnumbered fields in string.Formatter.format was added in http://bugs.python.org/issue13598, however, it does not support accessing an index or attribute of an unnumbered field like str.format does. Instead, it raises an unhelpful "KeyError: ''":

[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2016-06-13 Thread Neil Schemenauer
Neil Schemenauer added the comment: This looks to be a good idea and a good time to merge it now the bytecode has changed to 16-bit. The increase in complexity to compile.c is not bad and reducing the complexity of the eval loop is worth it, IMHO. -- nosy: +nascheme

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: The problem appears to be related to https (maybe openssl?) I just did the following test: >py -2 Python 2.7.12rc1 (v2.7.12rc1:13912cd1e7e8, Jun 12 2016, 05:57:31) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Donald Stufft
Changes by Donald Stufft : -- priority: normal -> release blocker ___ Python tracker ___

[issue27288] secrets should use getrandom() on Linux

2016-06-13 Thread Ned Deily
Ned Deily added the comment: Setting this to "deferred blocker" priority to note that it needs to be resolved prior to feature code cutoff for 3.6.0, which is at 3.6.0b1 currently planned for 2016-09-07. -- priority: release blocker -> deferred blocker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread SilentGhost
SilentGhost added the comment: pip is not part of standard library, its issue tracker is at https://github.com/pypa/pip/issues -- nosy: +SilentGhost resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue27163] IDLE entry for What's New in Python 3.6

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Provisional addition a bit revised from above. I did not markup idlelib as a module because there is currently no section to link to. I don't know if or how IDLE can be linked to the IDLE doc. I linked to the name change issue that started the change

[issue24254] Make class definition namespace ordered by default

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

[issue27186] add os.fspath()

2016-06-13 Thread Brett Cannon
Brett Cannon added the comment: Thanks for catching my screw-up, Martin; I misread the checks in the file by noticing the "nt" bit but not picking up it was comparing against sys.name instead of sys.platform. -- ___ Python tracker

[issue24869] shlex lineno inaccurate with certain inputs

2016-06-13 Thread Gareth Rees
Gareth Rees added the comment: A third alternative: 3. Add a method whose effect is to consume comments and whitespace, but which does not yield a token. You could then call this method, and then look at shlex.lineno, which will be the line number of the first character of the next token (if

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread Gareth Rees
Gareth Rees added the comment: Here's a patch improving the grammar in the tarfile documentation. -- keywords: +patch nosy: +Gareth.Rees Added file: http://bugs.python.org/file43375/issue27306.patch ___ Python tracker

[issue27131] Unit test random shuffle

2016-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Yes -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27272] random.Random should not read 2500 bytes from urandom

2016-06-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
James Paget added the comment: I have submitted this to pip as you have suggested (see pip Issue #3795), but feel that Python.exe should not crash even if there is a problem with a third-party package. -- ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
James Paget added the comment: Python Packaging Authority member pfmoore from pypa/pip says "there's no ctypes-based code that could be causing the error" and "Python appears to be crashing as a result of pure Python code" and "there's no way that I can see how pip could be triggering a crash

[issue26686] email.parser stops parsing headers too soon.

2016-06-13 Thread Martin Panter
Martin Panter added the comment: FWIW in the HTTP bug , David said “when seeing a line that doesn't look like a header the error recovery is to treat that line as the beginning of the body (ie: assume the blank line is missing).” I have no

[issue27131] Unit test random shuffle

2016-06-13 Thread Jonathan Kross
Jonathan Kross added the comment: Just checking in on this patch. Any chance of getting it applied within the next few days? -- ___ Python tracker ___

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-13 Thread Martin Panter
Martin Panter added the comment: Failures from AMD64 Snow Leop buildbots: == FAIL: test_nonascii_history (test.test_readline.TestHistoryManipulation) --

[issue16182] readline: Wrong tab completion scope indices in Unicode terminals

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0794bbfceec6 by Martin Panter in branch '3.5': Issue #16182: Attempted workarounds for Apple Editline https://hg.python.org/cpython/rev/0794bbfceec6 New changeset a1ca9c0ebc05 by Martin Panter in branch 'default': Issue #16182: Merge test_readline

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Tim, I just got the issue with the x64 installer from python.org (https://www.python.org/ftp/python/2.7.12/python-2.7.12rc1.amd64.msi) -- ___ Python tracker

[issue27307] string.Formatter does not support key/attribute access on unnumbered fields

2016-06-13 Thread Tommy Beadle
Changes by Tommy Beadle : -- keywords: +patch Added file: http://bugs.python.org/file43376/0001-Issue-27307-Support-index-attribute-access-for-unnum.patch ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread James Paget
New submission from James Paget: On Windows 10 Professional 64-bit, typing "pip list --outdated" or "python -m pip install -U pip" at the Windows command prompt causes Python 2.7.12rc1 to crash. I get the standard "python.exe has stopped working" crash notification from Windows. I am

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread Phil Jeffes
New submission from Phil Jeffes: On the tarfile page (https://docs.python.org/3.5/library/tarfile.html) there is a line which reads: mode is either 'r' to read from an existing archive, 'a' to append data to an existing file, 'w' to create a new file overwriting an existing one or 'x' to

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread SilentGhost
SilentGhost added the comment: There are more occurrences of "it is already exists" in the first table. -- nosy: +SilentGhost stage: -> needs patch versions: +Python 3.6 ___ Python tracker

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Paul Moore
Paul Moore added the comment: Thanks Tim. To clarify, the only 2 places that pip calls ctypes is to get the user application directory (and we've confirmed that doesn't error when called direct from Python), and in the vendored colorama package (which we removed and still got the crash, so

[issue24869] shlex lineno inaccurate with certain inputs

2016-06-13 Thread Gareth Rees
Gareth Rees added the comment: Just to restate the problem: The use case is that when emitting an error message for a token, we want to include the number of the line containing the token (or the number of the line where the token started, if the token spans multiple lines, as it might if

[issue27263] Tkinter sets the HOME environment variable, breaking scripts

2016-06-13 Thread Jarrod Petz
Jarrod Petz added the comment: eryksun, now I understand this is a bit more challenging because tkinter is the underlying library doing this and it is shared by other apps. Though I still don't feel that just because its been like this since 1995 means it should stay this way. This is

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-13 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: ncoghlan -> gregory.p.smith ___ Python tracker ___

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread Berker Peksag
Berker Peksag added the comment: Thank you all! -- nosy: +berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The first line of the last message should have said 'in addition to' instead of 'rather than', In the following expanded table, Key is the number of pseudoevents with configurable and fixed key bindings. Gen is the number of General pseudoevents. (Current,

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, I reread #20580. It reminds me that both Control and Alt are problems. In built-in config-extensions.def, the builtin fixed bindings and one of the configurable bindings are: autocomplete: calltips: parenmatch: runscript: (configurable) I

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: Built 64-bit 2.7 but can't reproduce on tip, 2.7.12rc1 or 2.7.11 tags. -- ___ Python tracker ___

[issue20580] IDLE should support platform-specific default config defaults

2016-06-13 Thread Ned Deily
Ned Deily added the comment: "I have the impression from what you wrote above that every 'Control' should be 'Command'." I'm not sure where I gave that impression but, no, the default IDLE keyset on OS X has command accelerators with Command- modifiers and some with Control- modifiers, as is

[issue27306] Grammatical Error in Documentation - Tarfile page

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 48052a140eed by Berker Peksag in branch '3.5': Issue #27306: Fix typo in tarfile documentation https://hg.python.org/cpython/rev/48052a140eed New changeset 9c9ed326d981 by Berker Peksag in branch 'default': Issue #27306: Merge from 3.5

[issue27309] Visual Styles support

2016-06-13 Thread [HYBRID BEING]
New submission from [HYBRID BEING]: This answer (http://stackoverflow.com/questions/33792008/python-tkinter-ttk-themed-message-box/33801260#33801260) to the Stack Overflow question states that Tkinter's messageboxes use non-themed controls due to the fact that python.exe and pythonw.exe lack

[issue27173] Modern Unix key bindings for IDLE

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, Serhiy's patch 4 solves one of your concerns in #20580 with +@staticmethod +def DefaultKeys(): +if sys.platform[:3] == 'win': +return 'IDLE Classic Windows' +elif sys.platform == 'darwin': +return 'IDLE

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks Serhiy. I've attached a new file (issue27122_broken_cm.py) with a context manager that is deliberately buggy in the same way as contextlib._GeneratorContextManager is currently, so the new test can be made independent of #27122 being fixed (Greg Smith

[issue20580] IDLE should support platform-specific default config defaults

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, looking at config-keys.def, the Mac and Osx sections have a mixture of 'Command' and 'Control'. I have the impression from what you wrote above that every 'Control' should be 'Command'. Why are the sections as they are? --

[issue27173] Modern Unix key bindings for IDLE

2016-06-13 Thread Ned Deily
Ned Deily added the comment: "Please confirm that Classic OSX is the right choice over Classic Mac" It is. At least, when we install IDLE on OS X, Clsssic OS X is the default set. I don't know why Classic Mac exists; I'm guessing it is left over from Mac OS 9 days (pre OS X). --

[issue19570] distutils' Command.ensure_dirname fails on Unicode

2016-06-13 Thread Adam Bartoš
Adam Bartoš added the comment: Recently, I was also hit by this when trying to autoset `sys.argv` to a list of Unicode string (see https://github.com/Drekin/win-unicode-console/issues/20#issuecomment-225638271 ). It would be nice to have this fixed. It seems to me (I may be wrong) that every

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte issue.

2016-06-13 Thread Marcel Hellkamp
New submission from Marcel Hellkamp: Discovered here: https://github.com/bottlepy/bottle/issues/856 If a multipart section has a "Content-Length" header, but no "filename" attribute in the "Content-Disposition" header, cgi.FieldStorage tries to write binary data to a temporary file opened in

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
Changes by Marcel Hellkamp : -- title: Inconsistency in cgi.FieldStorage() causes unicode/byte issue. -> Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError. ___ Python tracker

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
Marcel Hellkamp added the comment: This should fix the issue. -- keywords: +patch Added file: http://bugs.python.org/file43378/foo.patch ___ Python tracker

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Yury Selivanov
Yury Selivanov added the comment: > Yury's raises a RuntimeError in the loop situation. > Serhiy's simply reorders the exception context to put the referred to one at > the front of the chain in the event of a loop. Right, and I believe that my solution is more Pythonic. Reordering feels

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: For both of the proposed patches, could we add a test case based on contextlib.ExitStack and a variant of Victor's #27122 reproducer script at http://bugs.python.org/file42999/hang_bug2.py that uses a deliberately broken __exit__ implementation that always

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-13 Thread Nick Coghlan
Nick Coghlan added the comment: Greg, I think you should apply your change to eliminate the regression and get us back to the state of all stdlib context managers being well-behaved in this regard (we unfortunately missed the 3.5.2 release, but that will ensure it's fixed for 3.5.3). Given

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: I can reproduce with the download build but not with a freshly-built executable -- ___ Python tracker ___

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch. From a quick look, the patch looks fine but we need a test case. You can see Lib/test/test_cgi.py for existing tests. -- stage: needs patch -> patch review ___ Python tracker

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: crash -> behavior versions: +Python 3.6 -Python 3.4 ___ Python tracker

[issue27294] Better repr for Tkinter event objects

2016-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file43377/tk-win-key-events2.txt ___ Python tracker ___

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
Marcel Hellkamp added the comment: Looks like this is a duplicate to #24764 and already fixed. Sorry for the noise. -- ___ Python tracker ___

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: LGTM, but after applying to all 3, leave open (or open new issue) to replace patch in 3.6 (before beta 1). Change signature to *items. That will automatically make a single string become a len 1 tuple. For selection (list the 4 selops and) add a note.

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With reordering the issue27122 test is passed without changes. No changes in ExitStack is needed. Here is updated patch. -- Added file: http://bugs.python.org/file43380/set_context_reordering2.patch ___ Python

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With Yury's path the issue27122 test need to be changed (RuntimeError is now raised instead of original exception). Here is updated patch. -- Added file: http://bugs.python.org/file43381/Issue25782_5.patch ___

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Tim Golden
Tim Golden added the comment: The crash is actually happening in Modules/_ssl.c:_get_peer_alt_names. > _ssl.pyd!_get_peer_alt_names(x509_st * certificate) Line 810 + 0x2 bytes C _ssl.pyd!_decode_certificate(x509_st * certificate) Line 1187 + 0x8 bytes C

[issue26262] Cannot compile with /fp:strict with MSVC

2016-06-13 Thread Nathan Harold
Nathan Harold added the comment: Here's a patch with those three replacements and related comments. -- keywords: +patch nosy: +nharold Added file: http://bugs.python.org/file43379/constants.patch ___ Python tracker

[issue25782] CPython hangs on error __context__ set to the error itself

2016-06-13 Thread Yury Selivanov
Yury Selivanov added the comment: > issue27122_broken_cm.py also shows why I think "make it work" is the right > answer here [..] But fixing this issue by reordering the exception chain will only mask bugs that just better to be fixed. And sometimes, this will cause weird exceptions chains,

[issue22636] avoid using a shell in ctypes.util: replace os.popen with subprocess

2016-06-13 Thread Martin Panter
Martin Panter added the comment: An Open Indiana buildbot failed. The old code let the shell print any errors about missing programs to /dev/null, so I will change the subprocess calls to handle OSError. == ERROR: setUpModule

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, from your response on 20580, there appears to be no conversion rule. Perhap you could go throuch config-main.def and make a list of what you want for Mac and Unix respectively, if different from the current binding. Serhiy, should anything be different

[issue27305] Crash with "pip list --outdated" on Windows 10 with Python 2.7.12rc1

2016-06-13 Thread Eryk Sun
Eryk Sun added the comment: I get an access violation due to calling the ASN1_ITEM pointer as a function: > 810: ASN1_ITEM_ptr(method->it))); _ssl!_get_peer_alt_names+0x12a: 7ffe`17b1225a ffd0callrax

[issue27136] sock_connect fails for bluetooth (and probably others)

2016-06-13 Thread Martin Panter
Martin Panter added the comment: Buildbots look happy with test_asyncio now, so closing again. -- status: open -> closed ___ Python tracker ___

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These tests are not new. Are failures stable? What version of Tk is used? -- ___ Python tracker ___

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2016-06-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, sorry, I missed the version in the title. -- ___ Python tracker ___

[issue22636] avoid using a shell in ctypes.util: replace os.popen with subprocess

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 96d297e9a8a8 by Martin Panter in branch '3.5': Issue #22636: Handle OSError from subprocess, e.g. if command not found https://hg.python.org/cpython/rev/96d297e9a8a8 New changeset a6a36bb6ee50 by Martin Panter in branch 'default': Issue #22636:

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-13 Thread Ned Deily
Ned Deily added the comment: Terry, I don't know that much about the history of the config files. I do know that during framework installs of Python on OS X, the "install_IDLE" recipe in Mac/Makefile.in (which ./configure uses to produce a configured Mac/Makefile) has some editing steps,

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-13 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file43385/config-main.def ___ Python tracker ___

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ac9e7466d8b by Terry Jan Reedy in branch 'default': Issue #27245: revert temporary rename https://hg.python.org/cpython/rev/3ac9e7466d8b -- ___ Python tracker

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c8cddc4a8ee by Terry Jan Reedy in branch '2.7': Issue #27245: IDLE: Cleanly delete custom themes and key bindings. https://hg.python.org/cpython/rev/5c8cddc4a8ee New changeset 438359d00a83 by Terry Jan Reedy in branch '3.5': Issue #27245: IDLE:

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch amounts to putting 3 lines of apply inline and moving the first up to where is it needed. Serhiy, thanks for discovering the simple fix. It worked for me so I pushed it. I backported because the cascade of error messages is nasty when visible and

[issue27313] test case failures in test_widgets.ComboboxTest.of test_ttk_guionly on OS X with Cocoa Tk 8.5.18

2016-06-13 Thread Ned Deily
Ned Deily added the comment: For example, the tests pass in 3.5.1 but fail in 3.5.2rc1. I see that the changesets associated with Issue26177 altered them. -- ___ Python tracker

[issue27136] sock_connect fails for bluetooth (and probably others)

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e032ffd5ae84 by Martin Panter in branch '3.5': Issue #27136: Change test to use ::1 for better OS X Tiger compatibility https://hg.python.org/cpython/rev/e032ffd5ae84 New changeset f31b6c3e41f7 by Martin Panter in branch 'default': Issue #27136:

[issue27310] 3.6.0a2 IDLE.app on OS X fails to launch, use command line idle3.6 instead

2016-06-13 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue12855] linebreak sequences should be better documented

2016-06-13 Thread Martin Panter
Martin Panter added the comment: Alexander: does my latest patch linebreakdoc.v5.py2.7.patch address your concerns about the 2.7 documentation? If so, I can push it to the repository. -- ___ Python tracker

[issue27312] test_setupapp (idlelib.idle_test.test_macosx.SetupTest) fails on OS X

2016-06-13 Thread Ned Deily
New submission from Ned Deily: Running tests of 3.6.0a2 with gui enabled on OS X result in various failures of the form: == ERROR: test_setupapp (idlelib.idle_test.test_macosx.SetupTest) (tktype='carbon') Call setupApp with

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-13 Thread John Hagen
John Hagen added the comment: I'll submit a patch shortly. -- ___ Python tracker ___ ___ Python-bugs-list

[issue27310] 3.6.0a2 IDLE.app on OS X fails to launch, use command line idle3.6 instead

2016-06-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list

[issue27263] Tkinter sets the HOME environment variable, breaking scripts

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: How about wrapping the appropriate tkinter code with (untested yet) import os HOME = os.environ['HOME'] try: finally" os.environ['HOME'] = HOME # will this unset? or use a restore_env('HOME', ...) context manager? Revising os.expanduser or apps to

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-06-13 Thread Steve Dower
Steve Dower added the comment: The launcher issue is different from the original one posted here, so I'll create a separate issue to track it. -- ___ Python tracker

[issue27314] Cannot install 3.5.2 with 3.6.0a1 installed

2016-06-13 Thread Steve Dower
Changes by Steve Dower : -- nosy: +Steven.Barker ___ Python tracker ___ ___

  1   2   >