[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- dependencies: +IDLE: Use text widget for code context instead of label widget nosy: +cheryl.sabella ___ Python tracker ___

[issue33768] IDLE: click on context line should jump to line, at top of window

2018-06-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : Item 8. on #33610. Clicking on a line in the context box jumps the editor to that line, displayed as the first line. If we do item 11, replace Label with Text, this has to start after #33763 is merged. We could determine the context line clicked from

[issue33767] Improper use of SystemError in the mmap module

2018-06-03 Thread Zackery Spytz
Zackery Spytz added the comment: It doesn't look like it. I've updated the PR. -- ___ Python tracker ___ ___ Python-bugs-list

[issue33766] Grammar Incongruence

2018-06-03 Thread Ammar Askar
Ammar Askar added the comment: Sorry, I was already working on the patch by the time you posted the comment. If we see above, it seems like the tokenize module doesn't correctly mirror the behavior of the C tokenizer. Do you want to try fixing that as a bug? That would involve making a new

[issue33766] Grammar Incongruence

2018-06-03 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +7009 stage: -> patch review ___ Python tracker ___ ___

[issue33766] Grammar Incongruence

2018-06-03 Thread Isaac Elliott
Isaac Elliott added the comment: Cool, thanks for the help. Should I submit a PR with the updated documentation? -- ___ Python tracker ___

[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset e292b75e3ecdc6bbe81cda09de836dc9e27ab9e6 by Ned Deily (Victor Stinner) in branch 'master': bpo-33509: Fix test_warnings for python3 -Werror (GH-7365) https://github.com/python/cpython/commit/e292b75e3ecdc6bbe81cda09de836dc9e27ab9e6 --

[issue33767] Improper use of SystemError in the mmap module

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your PR Zackery! I concur that an alternative would be to remove mmap_concat() and mmap_repeat(). Why not use this simpler way? Are there any drawbacks? -- nosy: +serhiy.storchaka ___ Python

[issue33766] Grammar Incongruence

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good point Ammar. Seems there is also a missing corner case in the definition of a physical line: https://docs.python.org/3.8/reference/lexical_analysis.html#physical-lines """ A physical line is a sequence of characters terminated by an end-of-line

[issue33766] Grammar Incongruence

2018-06-03 Thread Ammar Askar
Ammar Askar added the comment: Relevant bit of the parser that emits a fake newline at the end of the file if not present: https://github.com/python/cpython/blob/master/Parser/tokenizer.c#L1059-L1069 -- ___ Python tracker

[issue33766] Grammar Incongruence

2018-06-03 Thread Ammar Askar
Ammar Askar added the comment: Actually, echo implicitly puts a newline at the end. If you run with echo -n, this is the output: $ echo -n 'print("a");print("b")' | python3 -m tokenize 1,0-1,5:NAME 'print' 1,5-1,6:OP '(' 1,6-1,9:

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset b8f2fb52007f6d0d9eacfb459a9e813678f55f7e by Ned Deily in branch '3.6': bpo-33764: Appveyor fixes (GH-7364) (GH-7379) https://github.com/python/cpython/commit/b8f2fb52007f6d0d9eacfb459a9e813678f55f7e --

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 1cbdbf35db16f2b06c0974b711c4d8b840c8a264 by Ned Deily in branch '2.7': bpo-33764: Appveyor fixes (GH-7364) (GH-7380) https://github.com/python/cpython/commit/1cbdbf35db16f2b06c0974b711c4d8b840c8a264 --

[issue33766] Grammar Incongruence

2018-06-03 Thread Isaac Elliott
Isaac Elliott added the comment: I went through that document before I created this issue. I can't find anything which describes this behavior - could you be more specific please? -- ___ Python tracker

[issue33767] Improper use of SystemError in the mmap module

2018-06-03 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7008 stage: -> patch review ___ Python tracker ___ ___

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7007 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33766] Grammar Incongruence

2018-06-03 Thread Ammar Askar
Ammar Askar added the comment: https://docs.python.org/3.8/reference/lexical_analysis.html -- nosy: +ammar2 ___ Python tracker ___

[issue33767] Improper use of SystemError in the mmap module

2018-06-03 Thread Zackery Spytz
New submission from Zackery Spytz : Both mmap_concat() and mmap_repeat() raise a SystemError when invoked. -- components: Extension Modules messages: 318623 nosy: ZackerySpytz priority: normal severity: normal status: open title: Improper use of SystemError in the mmap module type:

[issue33766] Grammar Incongruence

2018-06-03 Thread Isaac Elliott
Isaac Elliott added the comment: Thanks for the clarification. Is there a reference to this in the documentation? -- ___ Python tracker ___

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka
Manjusaka added the comment: Finally, I must say when I first build the Python 3.7.0b5, I don't use Pyenv or others tools. As you say, It should be a PATH problem. I build success without no patch in a clean Mac. I think I will figure out what's wrong. But just as what I say, You can't

[issue33766] Grammar Incongruence

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: NEWLINE is not a newline. It is the NEWLINE token. And it is generated at the end of file. $ echo 'print("a");print("b")' | ./python -m tokenize 1,0-1,5:NAME 'print' 1,5-1,6:OP '(' 1,6-1,9:

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7006 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33751] Failed separate testTruncateOnWindows in test_file

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7005 stage: -> patch review ___ Python tracker ___ ___

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily
Ned Deily added the comment: As I said, I do not recall ever seeing a failure like this before and I regularly build and test Python on macOS in many different versions and environments. It would be very time-consuming to try to debug your environment remotely, time that would be better

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka
Manjusaka added the comment: it seems like what you say but I think that you can't ensure everyone has a clean path especially when people use some tools such as pyenv or others to build Python from source code, but not get the binary package directly. Anyway, it's just a personal idea.

[issue33766] Grammar Incongruence

2018-06-03 Thread Isaac Elliott
New submission from Isaac Elliott : echo 'print("a");print("b")' > test.py This program is grammatically incorrect according to the specification (https://docs.python.org/3.8/reference/grammar.html). But Python 3 runs it without issue. It's this production here simple_stmt: small_stmt

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily
Ned Deily added the comment: The only really suspicious thing I see is that your shell PATH is *gigantic*. pulling things in from all over the place including Homebrew. If you want to pursue further, suggest you try a clean build from the tarball without the modification and use a simple

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka
Manjusaka added the comment: The result in here https://gist.github.com/Zheaoli/86b04395748b998ad7d870a927a95aea -- ___ Python tracker ___

[issue33753] Leaked file in test_nextfile_oserror_deleting_backup in test_fileinput

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7004 stage: -> patch review ___ Python tracker ___ ___

[issue33752] Leaked file in test_anydbm_creation_n_file_exists_with_invalid_contents in test_dbm

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7003 stage: -> patch review ___ Python tracker ___ ___

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 93ba6da27eed980600a874dfeffb2856fe1d4126 by Ned Deily (Serhiy Storchaka) in branch '2.7': [2.7] bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) (GH-7374)

[issue33760] Leaked files in test_io

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset b02ceb57d23c26acab3a9f4c5b7d84d0ea0a by Ned Deily (Serhiy Storchaka) in branch '2.7': [2.7] bpo-33760: Fix file leaks in test_io. (GH-7361). (GH-7373) https://github.com/python/cpython/commit/b02ceb57d23c26acab3a9f4c5b7d84d0ea0a --

[issue33752] Leaked file in test_anydbm_creation_n_file_exists_with_invalid_contents in test_dbm

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The file was leaked because it was created in the database's close() method which was called after deleting temporary files in tearDown(). -- ___ Python tracker

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 2e601c54d9d5f03f1fe1f7b4a1f2cb8e843fdeae by Ned Deily (Serhiy Storchaka) in branch '3.6': [3.6] bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) (GH-7375)

[issue33760] Leaked files in test_io

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset d18b13d36a22f93050a9d7cdfce594002f69236f by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-33760: Fix file leaks in test_io. (GH-7361) (GH-7372) https://github.com/python/cpython/commit/d18b13d36a22f93050a9d7cdfce594002f69236f --

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 7453caedbb42dd16e069dd08009f0317f7a9abc9 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) (GH-7371) https://github.com/python/cpython/commit/7453caedbb42dd16e069dd08009f0317f7a9abc9

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7002 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33760] Leaked files in test_io

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 4d11fe7cad9e138423e16338c88908f24a55f1cf by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33760: Fix file leaks in test_io. (GH-7361) (GH-7370) https://github.com/python/cpython/commit/4d11fe7cad9e138423e16338c88908f24a55f1cf --

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7001 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7000 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily
Ned Deily added the comment: That change should not have affected the macOS build. Now that you have a working python, can you please run: ./python.exe -m test.pythoninfo and report the results here? -- ___ Python tracker

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka
Manjusaka added the comment: Actually, I found some interesting problem. In Python 3.6.5 has declared the `extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);` in here https://github.com/python/cpython/blob/3.6/Include/pyport.h#L532 and I add it into the Python

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6998 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33760] Leaked files in test_io

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6999 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2 by Ned Deily (Serhiy Storchaka) in branch 'master': bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) https://github.com/python/cpython/commit/7cfd8c6a1b53a7dbdea14b6f414f2629dcd130a2

[issue33760] Leaked files in test_io

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6997 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33760] Leaked files in test_io

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset e36837cb71032ccfa713e75623b314f091dc22bb by Ned Deily (Serhiy Storchaka) in branch 'master': bpo-33760: Fix file leaks in test_io. (GH-7361) https://github.com/python/cpython/commit/e36837cb71032ccfa713e75623b314f091dc22bb -- nosy:

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: Steve, what do you think about a similar change to the VSTS Windows CI builds to disable the "longfile" resource for the tests? test_mmap seems to take a long time. -- nosy: +steve.dower ___ Python tracker

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily
Ned Deily added the comment: Sorry, I can't reproduce it and I do not recall every seeing a failure like that. Just to be sure, you do mean ".configure" and not "./configuration"? Perhaps you are picking up an old, third-party version of libutil from /usr/local/lib and/or

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Manjusaka
Manjusaka added the comment: Sure, I already set "xcode-select --install" in terminal Python 3.6.5 build success with a default setting when running ./configuration" command Xcode version is 9.3 System version 10.13.4 -- ___ Python tracker

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 37343a2db8763a114e63ac63a249603b1df2554d by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33764: Appveyor fixes (GH-7364) (GH-7369) https://github.com/python/cpython/commit/37343a2db8763a114e63ac63a249603b1df2554d --

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6996 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

What is the "Unpacking Arguments List" rule?

2018-06-03 Thread Jach Fong
I had read "More on Defining Functions" sections of "The Python Tutorial" carefully yesterday. One thing in the example code(Re: How can an int be '+' with a tuple?) puzzles me again. It's the line 19: def progress(*any): threadQueue.put((onProgress, any + context))

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 47a6c79f0986ce9a84d0efc3c565b28255042911 by Ned Deily (Zachary Ware) in branch 'master': bpo-33764: Appveyor fixes (GH-7364) https://github.com/python/cpython/commit/47a6c79f0986ce9a84d0efc3c565b28255042911 --

[issue33765] AppVeyor didn't start on my PR 7365

2018-06-03 Thread STINNER Victor
STINNER Victor added the comment: > See also bpo-33764. Some AppVeyor builds failed recently with: "Build exceeded allowed resource quotas. Fix your build to consume less resources or contact AppVeyor support to request quotas increase." Maybe we reached quotas and so AppVeyor will no

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +6995 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor
STINNER Victor added the comment: > We discussed this earlier: https://bugs.python.org/issue33355#msg317587 At that time, I didn't know that AppVeyor was impacted. In my mind, the bug was specific to buildbots on slow cloud providers (slow cloud flavors). --

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6994 stage: -> patch review ___ Python tracker ___ ___

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor
STINNER Victor added the comment: > Looks like this was another case of test_mmap on Windows taking a long time. Ah yes, bpo-33355. -- ___ Python tracker ___

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: Looks like this was another case of test_mmap on Windows taking a long time. If the change has now been made to disable tests with "largefile" resources, test_mmap should no longer be a hangup. -- ___ Python tracker

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: We discussed this earlier: https://bugs.python.org/issue33355#msg317587 -- ___ Python tracker ___ ___

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread Ned Deily
Ned Deily added the comment: Clicking on the Messages tab: https://ci.appveyor.com/project/python/cpython/build/3.8build16878/messages "Build exceeded allowed resource quotas. Fix your build to consume less resources or contact AppVeyor support to request quotas increase." -- nosy:

[issue33765] AppVeyor didn't start on my PR 7365

2018-06-03 Thread STINNER Victor
New submission from STINNER Victor : I created the PR 7365: https://github.com/python/cpython/pull/7365 AppVeyor job is required to pass to allow me to merge my PR. But AppVeyor job didn't start: "continuous-integration/appveyor/pr Expected — Waiting for status to be reported" I cannot

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-33765: "AppVeyor didn't start on my PR 7365". -- ___ Python tracker ___ ___

[issue33764] AppVeyor builds interrupted before tests complete

2018-06-03 Thread STINNER Victor
New submission from STINNER Victor : While looking at AppVeyor history, I saw two builds which seem like interrupted in the middle of the test 3.6: https://ci.appveyor.com/project/python/cpython/build/3.6build16876/job/t9nyt59wkwcn68nk ... 0:04:32 [312/407] test_genexps passed -- running:

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: For item 11 - #33763 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-03 Thread Cheryl Sabella
Change by Cheryl Sabella : -- dependencies: +IDLE: Use text widget for code context instead of label widget ___ Python tracker ___

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-03 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +6993 stage: -> patch review ___ Python tracker ___ ___

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-06-03 Thread Steven D'Aprano
On Sun, 03 Jun 2018 16:36:12 -0700, bellcanadardp wrote: > hello peter ...how exactly would i solve this issue .i have a script > that works in python 2 but not pytho3..i did 2 to 3.py ...but i still > get the errro...character undefieed..unicode decode error cant decode > byte 1x09 in line

[issue33763] IDLE: Use text widget for code context instead of label widget

2018-06-03 Thread Cheryl Sabella
New submission from Cheryl Sabella : Item 11 from #33610. Use read-only Text instead of Label for context. * Change widget type from Label to Text and remove Label-only arguments. * Add height and state arguments. * Change widget name from self.label to self.context. * Tests: change widget

Re: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 10442: character maps to

2018-06-03 Thread bellcanadardp
On Tuesday, 22 May 2018 17:23:55 UTC-4, Peter J. Holzer wrote: > On 2018-05-20 15:43:54 +0200, Karsten Hilbert wrote: > > On Sun, May 20, 2018 at 04:59:12AM -0700, bellcanada...@gmail.com wrote: > > > > > On Saturday, 19 May 2018 19:48:20 UTC-4, Skip Montanaro wrote: > > > > As Chris indicated,

[issue17909] Autodetecting JSON encoding

2018-06-03 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +6992 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread R. David Murray
Change by R. David Murray : -- superseder: -> can cmd.py's API/docs for the use of an alternate stdin be improved? ___ Python tracker ___

[issue33749] pdb.Pdb constructor stdout override required to disable use_rawinput

2018-06-03 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of 2571 and 10396. As I commented in 10396, if you want to work on an enhancement request (for cmd) that improves the situation, it will be welcome; but as you observed what to do isn't immediately obvious, so discussion before

[issue33509] warnings.warn_explicit with module_globals=True raises a SystemError

2018-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6991 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33713] memoryview can set an exception in tp_clear

2018-06-03 Thread Stefan Krah
Stefan Krah added the comment: Okay that makes sense. :) I looked a bit at the gc code. A consumer object always has one reference to a memoryview with an export, which isn't visited. So it looks to me that the gc_refs of that memoryview cannot fall to 0. So memory_clear() isn't called in

Re: tkinter (ttk) combobox dropdown text is white on white

2018-06-03 Thread Christian Gollwitzer
Am 03.06.18 um 21:54 schrieb Jim Lee:> import tkinter as tk from tkinter import ttk root = tk.Tk() cb = ttk.Combobox(root) cb.grid(row=0, column=0, sticky='NSEW') cb['values'] = ['one', 'two', 'three', 'four'] root.mainloop() The text of the values in the combobox dropdown list is white on

[issue33762] temp file isn't IOBase

2018-06-03 Thread Dutcho
New submission from Dutcho : I'd expect isinstance(tempfile.TemporaryFile(), io.IOBase) to be True as you can read() from and write() to the temp file. However, on Python 3.6.5 64 bit on Windows 7 above isinstance() == False and and type(tempfile.TemporaryFile()) ==

[issue33756] Python 3.7.0b5 build error

2018-06-03 Thread Ned Deily
Ned Deily added the comment: Have you run "xcode-select --install" to ensure system header files are installed? If so, what compiler are you using from what source? What version of macOS are you using? https://devguide.python.org/setup/#macos -- nosy: +ned.deily

[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6990 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

tkinter (ttk) combobox dropdown text is white on white

2018-06-03 Thread Jim Lee
Given the following snippet (Python 3.6.5, Tk 8.6.8): import tkinter as tk from tkinter import ttk root = tk.Tk() cb = ttk.Combobox(root) cb.grid(row=0, column=0, sticky='NSEW') cb['values'] = ['one', 'two', 'three', 'four'] root.mainloop() The text of the values in the combobox dropdown list

[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I can take a look at this tomorrow. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9141] Allow objects to decide if they can be collected by GC

2018-06-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's hard to say as I never fully understood the underlying intent. Perhaps Kristján or some other developer who better understood than me can chime in. -- ___ Python tracker

[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests are passed if run the whole test_importlib. They are failed only when run the test_resource subset of them. This means that test_resource tests depend on the global environment changed by other tests. And this also means that some changes of the

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: So this is in 2.7 finally. Closing again. -- stage: patch review -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker

[issue33759] Failed separate ServerProxyTestCase tests in test_xmlrpc

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6989 stage: -> patch review ___ Python tracker ___ ___

[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington
miss-islington added the comment: New changeset 2332fedb8d7037172946520bb1a552c7018261d5 by Miss Islington (bot) in branch '3.7': bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358) https://github.com/python/cpython/commit/2332fedb8d7037172946520bb1a552c7018261d5

[issue32584] Uninitialized free_extra in code_dealloc

2018-06-03 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +dino.viehland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Brett Cannon
Brett Cannon added the comment: Was this on your machine or has this started across CI or buildbots? And was this from a build or installed copy? -- ___ Python tracker ___

[issue33755] Failed separate tests in test_importlib

2018-06-03 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ded666ff0ce44785a495ff89b676ca68e4cc08e8 by Antoine Pitrou in branch '2.7': [2.7] bpo-30654: Do not reset SIGINT handler to SIG_DFL in finisignal (GH-7146) (GH-7347)

Attachments (was: How can an int be '+' with a tuple?)

2018-06-03 Thread Peter J. Holzer
On 2018-06-03 13:57:26 +1000, Ben Finney wrote: > (For good reasons, attachments are dropped when messages are distributed > on the forum.) By "the forum" you mean Gmane? (I got the attachment over the mailing list) hp -- _ | Peter J. Holzer| we build much bigger, better

[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Tests stage: patch review -> versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue33760] Leaked files in test_io

2018-06-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6988 stage: -> patch review ___ Python tracker ___ ___

[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6987 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 13f51d9eec569e08475390e2a8f49f4afed1ea06 by Serhiy Storchaka in branch 'master': bpo-33761: Fix a file leak in test_iterparse in test_xml_etree. (GH-7358) https://github.com/python/cpython/commit/13f51d9eec569e08475390e2a8f49f4afed1ea06

[issue33761] Leaked file in test_iterparse in test_xml_etree

2018-06-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +6986 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33750] Failed separate test_from_tuple in test_decimal

2018-06-03 Thread Stefan Krah
Stefan Krah added the comment: OK, thanks for checking the other tests! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

  1   2   >