[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 i

[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 be

[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 ___ __

[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 ___

[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 pre

[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 functions

[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 'polic

[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: >https://docs.python.org/dev/li

[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

[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 running

[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 crea

[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 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

[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 experien

[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

[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 ___ __

[issue27131] Unit test random shuffle

2016-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Yes -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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 ___ ___ Python-bugs-list mailing

[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

[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

[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 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 it

[issue27306] Grammatical Error in Documentation - Tarfile page

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

[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 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 __

[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 ___ _

[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 infor

[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: ''":

[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 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, I

[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 ___ ___ Python-bugs-list mailing list Unsubscribe

[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 it's

[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

[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 _

[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

[issue24254] Make class definition namespace ordered by default

2016-06-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 proces

[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 t

[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 Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch type: crash -> behavior versions: +Python 3.6 -Python 3.4 ___ Python tracker ___ ___

[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

[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 ___ ___ Python-bugs-list ma

[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 ___ __

[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 th

[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 ___ __

[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 hig

[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

[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 re-ra

[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 ___

[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 ___ Python t

[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 _ssl.pyd!PyS

[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. "For

[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 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 trac

[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 ___ Pyth

[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 https://hg.py

[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 ___ _

[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 somethin

[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 Classi

[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, fr

[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? -- _

[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

[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). -- __

[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 ___ ___ Pyt

[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

[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 has

[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 ___ ___ Python-bugs-list mailing list Unsubscrib

[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: Mer

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

2016-06-13 Thread Ned Deily
New submission from Ned Deily: For 3.6.0a2, when attempting to launch IDLE.app on OS X (for example, by double-clicking the IDLE icon in the "/Applications/Python 3.6" folder), IDLE does not launch. In the system.log there will be a log message similar to: (org.python.IDLE.917792[45897]): Ser

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

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 675569bee37f by Ned Deily in branch '2.7': Issue #27310: remove vestigial import in IDLE.app https://hg.python.org/cpython/rev/675569bee37f New changeset 0cf4bda2882c by Ned Deily in branch '3.5': Issue #27310: remove vestigial import in IDLE.app ht

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

2016-06-13 Thread A. Jesse Jiryu Davis
A. Jesse Jiryu Davis added the comment: Thank you Martin! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[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 ___ ___ Pytho

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-13 Thread John Hagen
New submission from John Hagen: The function signature and description for zipfile.writestr is incorrect: https://docs.python.org/3.5/library/zipfile.html#zipfile.ZipFile.writestr See: https://github.com/python/cpython/blob/master/Lib/zipfile.py#L1610 The documentation calls the parameter 'byt

[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 eac

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

2016-06-13 Thread Ned Deily
Ned Deily added the comment: Without looking closely at it, I would speculate that the failures are due to trying to test code in overrideRootMenu() that was previously only called once during execution and may not be re-enterant: # Remove the last 3 items of the file menu: a separator, cl

[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
New submission from Ned Deily: On 3.6.0a2, 3.5.2rc1, and 2.7.12rc1: == FAIL: test_identify (tkinter.test.test_ttk.test_widgets.ComboboxTest) -- Traceback (most

[issue27311] Incorrect documentation for zipfile.writestr()

2016-06-13 Thread Martin Panter
Martin Panter added the comment: Looks like you are right. The change in the implementation happened in revision 19196cce1431. -- keywords: +easy nosy: +martin.panter stage: -> needs patch versions: -Python 3.4 ___ Python tracker

[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 ig

[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 mailing list Unsubscribe: h

[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 mailing list Unsubscribe: https://mail.pytho

[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 ___

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

2016-06-13 Thread Martin Panter
Martin Panter added the comment: I get two other test suite failures if I set PYTHONIOENCODING, so I am not going to bother addressing this in test_readline :) FAIL: test_forced_io_encoding (test.test_capi.EmbeddingTests) FAIL: test_7 (test.test_pkg.TestPkg) -- ___

[issue27314] Cannot install 3.5.2 with 3.6.0a1 installed

2016-06-13 Thread Steve Dower
New submission from Steve Dower: (Originally posted as a comment to issue26631 but confirmed separately.) For 3.5.2 and 3.6.0a2, I updated the installer for the launcher so that it is always shared between Python versions (i.e. if you install 3.6 followed by 3.5, it won't touch the launcher be

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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: Launcher issue is issue27314 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27314] Cannot install 3.5.2 with 3.6.0a1 installed

2016-06-13 Thread Steve Dower
Steve Dower added the comment: Okay, it's not an issue with the newer versions, and I don't see any reason to worry about 3.6.0a1. One issue that remains is that installing the launcher with 3.6.0 creates a separate add-remove programs entry and doesn't remove the 3.5.2rc1 entry, but the refe

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

2016-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_setupapp calls setupApp with body if isAquaTk(): hideTkConsole(root) overrideRootMenu(root, flist) addOpenEventSupport(root, flist) fixb2context(root) isAquaTk should be True exactly twice, and it failed both times. The

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

2016-06-13 Thread Steve Dower
Steve Dower added the comment: It seems to work fine on my build machine (Win Server 2012) but not my laptop (Win 10 Home). I suspect there's a different certificate being loaded that's causing the crash, but until I get a chance to debug properly I can't be sure. Hopefully I'll get a chance t

[issue17500] move PC/icons/source.xar to http://www.python.org/community/logos/

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset d9090aa75607 by Martin Panter in branch 'default': Issue #17500: Remove merge conflict scar tissue https://hg.python.org/cpython/rev/d9090aa75607 -- ___ 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 0715d403cae2 by Martin Panter in branch '3.5': Issue #22636: avoid using a shell in the ctypes.util module https://hg.python.org/cpython/rev/0715d403cae2 New changeset 60613ecad578 by Martin Panter in branch 'default': Issue #22636: Merge ctypes.uti

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

2016-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5122b3465a38 by Martin Panter in branch '3.5': Issue #16182: Fix readline begidx, endidx, and use locale encoding https://hg.python.org/cpython/rev/5122b3465a38 New changeset 2ae2657d87a6 by Martin Panter in branch 'default': Issue #16182: Merge rea

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

2016-06-13 Thread Martin Panter
Martin Panter added the comment: Updated Py 2 patch to v5 with the added GCC comment -- Added file: http://bugs.python.org/file43383/ctypes_util_popen-5.py2.patch ___ Python tracker

[issue27314] Cannot install 3.5.2 with 3.6.0a1 installed

2016-06-13 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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

  1   2   >