[issue28721] Fix asynchronous generators athrow() and aclose() to handle StopAsyncIteration

2016-11-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f12a1d3a737 by Yury Selivanov in branch '3.6': Issue #28721: Fix asynchronous generators aclose() and athrow() https://hg.python.org/cpython/rev/0f12a1d3a737 New changeset 22cd78026ad1 by Yury Selivanov in branch 'default': Merge 3.6 (issue #28721)

[issue28717] rounding error in % operator

2016-11-16 Thread William McIlhagga
William McIlhagga added the comment: Thanks, maybe I should get off my ass and contribute to the documentation then ... On 16 November 2016 at 22:30, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > > Is this behaviour documented? Or are you just expected to know what C > does?

[issue28710] Sphinx incompatible markup in configparser.ConfigParser.

2016-11-16 Thread Patrick Lehmann
Patrick Lehmann added the comment: Here is the patch file created with: PS> git diff > docstring_markup.patch This patchfile effects all files with this markup in the CPython repository. Kind regards Patrick -- keywords: +patch Added file: http://bugs.python.org/file45515/docstrin

[issue28720] Add collections.abc.AsyncGenerator

2016-11-16 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue28720] Add collections.abc.AsyncGenerator

2016-11-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae1dba7e7d04 by Yury Selivanov in branch '3.6': Issue #28720: Add collections.abc.AsyncGenerator. https://hg.python.org/cpython/rev/ae1dba7e7d04 New changeset fb9c8fdef3ec by Yury Selivanov in branch 'default': Merge 3.6 (issue #28720) https://hg.py

[issue28721] Fix asynchronous generators athrow() and aclose() to handle StopAsyncIteration

2016-11-16 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28720] Add collections.abc.AsyncGenerator

2016-11-16 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks Ned. I went ahead and committed the patch. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue28712] Non-Windows mappings for a couple of Windows code pages

2016-11-16 Thread Mingye Wang
Mingye Wang added the comment: > Codecs are strict by default in Python. Call MultiByteToWideChar() with the > MB_ERR_INVALID_CHARS flag as Python does. Great catch. Without MB_ERR_INVALID_CHARS or WC_NO_BEST_FIT_CHARS Windows would perform the "best fit" behavior described in the BestFit file

[issue28722] doctest example exit status

2016-11-16 Thread Rajiv Bakulesh Shah
New submission from Rajiv Bakulesh Shah: It might be nice if the doctest example set the appropriate exit status. Apologies if this is beyond the scope of the example, but I thought it might be good practice. Here is the file: https://github.com/python/cpython/blob/master/Doc/library/doctest.

[issue26072] pdb fails to access variables closed over

2016-11-16 Thread Chun-Yu Tseng
Chun-Yu Tseng added the comment: Your solution is quite neat. But it still misses use cases of the `global` statement: 1 y = 2 2 3 def f(): 4 y = 9 5 -> import pdb; pdb.set_trace(); 6 7 f() (Pdb) global y; y 9 (Pdb) global y; y += 1; y 10 (Pdb) globals

[issue28718] '*' matches entire path in fnmatch.translate

2016-11-16 Thread Josh Rosenberg
Josh Rosenberg added the comment: Presumably something like: r'(?:' + r'|'.join({re.escape(os.path.sep), re.escape(os.path.altsep)}) + r')' would cover it completely. I switched to using non-capturing groups over a character class both to deal with the fact that escaping doesn't work the same

[issue28718] '*' matches entire path in fnmatch.translate

2016-11-16 Thread Josh Rosenberg
Josh Rosenberg added the comment: Oops, altsep is None, not the empty string when there is only one separator. And I didn't handle inverting the match. Sigh. You get the idea. -- ___ Python tracker ___

[issue28712] Non-Windows mappings for a couple of Windows code pages

2016-11-16 Thread Eryk Sun
Eryk Sun added the comment: The ANSI and OEM codepages are conveniently supported on a Windows system as the encodings 'mbcs' and 'oem' (new in 3.6). The best-fit mapping is used by the 'replace' error handler (see the encode_code_page_flags function in Objects/unicodeobject.c). For other Wind

[issue28699] Imap from ThreadPool behaves unexpectedly

2016-11-16 Thread Davin Potts
Davin Potts added the comment: Though it still lacks a proper test, I'm attaching a preliminary patch to address the problematic behavior in 3.5/3.6/default in the hopes that others might help test it. -- keywords: +patch Added file: http://bugs.python.org/file45516/issue_28699_lacks_

[issue28670] PEP 235: Implement on every POSIX system, and clean up the C code for `import'

2016-11-16 Thread Nick Coghlan
Nick Coghlan added the comment: Michael, you seem to be operating under the assumption that the fact that the CPython VM assumes by default that Linux systems use consistent filesystem semantics is an accidental oversight. It's not - it's a pervasive simplifying assumption that runs throughout

[issue28723] tkinter, radiobutton, indicatoron=0 has no effect.

2016-11-16 Thread Simon Holland
New submission from Simon Holland: tkinters radiobutton's have an option 'indicatoron=0' which should display Radio Buttons as actual labelled buttons. button = tk.Radiobutton(self, text=option, variable = var, value = answer, indicatoron=0) Screenshots of expected and actual results ... h

[issue28712] Non-Windows mappings for a couple of Windows code pages

2016-11-16 Thread STINNER Victor
STINNER Victor added the comment: Windows API doc is not easy to understand. I wrote this doc when I fixed code pages in Python 3: http://unicodebook.readthedocs.io/operating_systems.html#windows -- ___ Python tracker

[issue18235] _sysconfigdata.py wrong on AIX installations

2016-11-16 Thread Michael Felt
Michael Felt added the comment: FYI: after manually creating the .../libpython3.5/config directory and copying three files (see below) I was able to "pip3 install cython" as test. At the packing area: michael@x071:[/data/prj/python3/python3-3.5.2]ls Xany/opt/lib/python3.5/config ld_so_aix ma

[issue28723] tkinter, radiobutton, indicatoron=0 has no effect.

2016-11-16 Thread Simon Holland
Changes by Simon Holland : -- nosy: +gpolo, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

<    1   2