[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ankit: the issue is where do they fail, why, and how to fix. Are you running Ubuntu also? G.C. How do you start IDLE? Is the problem with exactly those three chars? Do they fail in the Shell? an editor? search box? other entry box such as you get with Alt-M?

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Gian Carlo Martinelli
Gian Carlo Martinelli added the comment: Terry, first of all thanks for trying to solve this. I usually start IDLE using Ubuntu's dash. The problem is with more than just the three characters. Others that I have tested and that don't work include "ç", "`", umlauts... There work in others plac

[issue25344] Enhancement to Logging - Logging Stack

2015-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ad8a2d34d01 by Vinay Sajip in branch '2.7': Closes #25344: Added cookbook recipe to show buffering of logging events. https://hg.python.org/cpython/rev/3ad8a2d34d01 New changeset 7cc3a8141022 by Vinay Sajip in branch '3.4': Closes #25344: Added coo

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Martin Panter
Martin Panter added the comment: Okay I plan to commit a modified version where I moved the input() test methods that use pseudo terminals to a new PtyTests class. The test_input() method stays in the original class, because it shares a helper method with other tests. I am resisting dropping t

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 425d81d10b13 by Martin Panter in branch '3.4': Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun https://hg.python.org/cpython/rev/425d81d10b13 New changeset e97d940a6543 by Martin Panter in branch '3.5': Issue #24402: Merge

[issue24978] Contributing to Python 2x and 3x Documentation. Translation to Russian.

2015-10-09 Thread Sebastian A. Brachi
Sebastian A. Brachi added the comment: > I wrote a proposal to the board a while ago I couldn't find that proposal, could you post a link to it? Thanks! -- nosy: +Sebastian A. Brachi ___ Python tracker

[issue22413] Bizarre StringIO(newline="\r\n") translation

2015-10-09 Thread Martin Panter
Martin Panter added the comment: Thanks for the feedback. Yeah, 2.7 is an independent branch, but I will try porting the changes there. -- assignee: docs@python -> martin.panter nosy: +berker.peksag stage: patch review -> commit review ___ Python tra

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not surprised that non-ascii chars fail also. But, all? or just a few (all symbol? or only diacriticals)? My first thought was that you have a european keyboard that is does not match your Ubuntu configuration. Or that you had an older tcl/tk that did no

[issue25360] pyw should search for pythonw to implement #!/usr/bin/env python

2015-10-09 Thread eryksun
New submission from eryksun: The Windows launcher searches PATH to implement the shebang "#!/usr/bin/env". Given "#!/usr/bin/env python", it always searches for L"python" (see issue 17903), even in pyw.exe. maybe_handle_shebang in PC/launcher.c should instead use a macro that's conditionally d

[issue25360] pyw should search for pythonw to implement #!/usr/bin/env python

2015-10-09 Thread eryksun
Changes by eryksun : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-10-09 Thread Nick Coghlan
Nick Coghlan added the comment: The attached "Final draft" patch is the version I plan to commit tomorrow. Major differences from the previous draft: * accepted MAL's suggestion of using alphabetical order * as RDM suggested, explained the rationale for the cases where we encourage people to p

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Martin Panter
Martin Panter added the comment: Seems my test hangs the Free BSD 9 buildbot, although Free BSD 10 apparently passed. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.4/builds/1128/steps/test/logs/stdio [390/390] test_builtin Timeout (1:00:00)! Thread 0x000801407400 (most

[issue25357] Add an optional newline parameter to binascii.b2a_base64() to not add a newline

2015-10-09 Thread Martin Panter
Martin Panter added the comment: The “newline” name seems as good as any. The patch looks good in general. I left a few comments. I agree with not bothering for the UU encoder. That encoding has an embedded line length byte at the start of each line, so it makes less sense to omit newlines. B

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Ankit Baruah
Ankit Baruah added the comment: Yes,i am using ubuntu. Thank you Terry for guiding me really appreciate your help. Sorry for not replying fell asleep. -- ___ Python tracker __

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Xiang Zhang
Xiang Zhang added the comment: This test also fails on Ubuntu. [1/1] test_builtin test test_builtin failed -- Traceback (most recent call last): File "/home/angwer/my-cpython/Lib/test/test_builtin.py", line 1588, in test_input_no_stdout_fileno self.assertEqual(status, 0, output) Assertion

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Ankit Baruah
Ankit Baruah added the comment: Find in Files (grep) Yes can type `'^~. Output Window Yes seems to work can type `'^~ and other characters. -- ___ Python tracker ___ __

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Martin Panter
Martin Panter added the comment: I wrote this on Arch Linux, so I doubt your Ubuntu failure is valid. The error you see is what I would expect if the bug were not actually fixed. I suspect you need to recompile /Python/bltinmodule.c, which contains the bug fix. However, the test also hangs OS

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Xiang Zhang
Xiang Zhang added the comment: It's my fault. I forget to recompile. Now it works. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt

2015-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8dd9015b086 by Martin Panter in branch '3.4': Issue #24402: Factor out PtyTests.run_child() in input() tests https://hg.python.org/cpython/rev/d8dd9015b086 New changeset 6a8f96b46dce by Martin Panter in branch '3.5': Issue #24402: Merge potential t

[issue25356] Idle (Python 3.4 on Ubuntu) does not allow typing accents

2015-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you have problems with ASCII characters "'", "^", "~", or with combining accents in "á", "â", "ã"? -- nosy: +serhiy.storchaka ___ Python tracker __

[issue25357] Add an optional newline parameter to binascii.b2a_base64() to not add a newline

2015-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With Martin's comments the patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25359] io.open() fails to open ascii file if LANG env not set

2015-10-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Can't reproduce on Linux. $ python2.7 io.openBugEx.py Local pref: UTF-8 LANG env: uk_UA.utf8 Local pref: ANSI_X3.4-1968 LANG env has key: False ANSI_X3.4-1968 What

[issue24848] Warts in UTF-7 error handling

2015-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff1366ff2761 by Serhiy Storchaka in branch '2.7': Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character https://hg.python.org/cpython/rev/ff1366ff2761 -- ___ Python tracker

<    1   2