[issue28770] Update python-gdb.py for fastcalls

2016-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 752863f96fb8 by Victor Stinner in branch 'default': Issue #28770: Update python-gdb.py for fastcalls https://hg.python.org/cpython/rev/752863f96fb8 -- nosy: +python-dev ___ Python tracker

[issue28770] Update python-gdb.py for fastcalls

2016-11-22 Thread STINNER Victor
STINNER Victor added the comment: I keep the issue open until the 3.6 branch is reopened for regular bug fixes, like this one. Then I will backport the fix to 3.6. -- ___ Python tracker ___

[issue28765] _sre.compile(): be more strict on types of indexgroup and groupindex

2016-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1addc5d2c246 by Victor Stinner in branch 'default': Issue #28765: _sre.compile() now checks the type of groupindex and indexgroup https://hg.python.org/cpython/rev/1addc5d2c246 -- nosy: +python-dev ___ Py

[issue28765] _sre.compile(): be more strict on types of indexgroup and groupindex

2016-11-22 Thread STINNER Victor
STINNER Victor added the comment: sre_compile_remove_groups.patch removes the groups parameter from _sre.compile(). A first step to simplify the API. I prefer to keep most of the code in pure Python, to have code easier to maintain. So I prefer to not accept only groupindex. I prefer to build

[issue28776] Duplicate method names should be an error

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Yes, IMO this is something that needs to go into a linter, > not Python itself. I concur with David Murray. This would break too many classes and is at odds with the design of Python where code inside a class definition is executed in its own namespace w

[issue28776] Duplicate method names should be an error

2016-11-22 Thread Peter Inglesby
Peter Inglesby added the comment: Victor, I'm not talking about redefining a method, and David, I don't think I'm talking about changing dynamic nature of the class dictionary. All I'm suggesting is that if some code contains a class whose body defines the same method twice, Python should trea

[issue28773] typing.FrozenSet missing in documentation.

2016-11-22 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: The patch looks good, I left just one small comment in Rietveld. -- nosy: +levkivskyi ___ Python tracker ___ __

[issue28776] Duplicate method names should be an error

2016-11-22 Thread R. David Murray
R. David Murray added the comment: It isn't ignored. The first definition is entered into the class dictionary, then the second definition replaces it. That's why Victor talked about redefining a method, because that's what happens. You can't really disentangle the two cases except by sourc

[issue28776] Duplicate method names should be an error

2016-11-22 Thread Peter Inglesby
Peter Inglesby added the comment: OK, I'll defer to your collective decades of experience and wisdom! Thanks for all you all do for Python. -- ___ Python tracker ___ __

[issue28757] Installation Failure

2016-11-22 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the bug report. However, 3.2 is no longer supported. If you can reproduce this with 3.5 or 3.6, then please list the exact steps, including: OS version where you got the file you downloaded what steps you took to install it I'm closing this, but feel

[issue28773] typing.FrozenSet missing in documentation.

2016-11-22 Thread Manuel Krebber
Manuel Krebber added the comment: I updated the patch to add reflect the covariance. -- Added file: http://bugs.python.org/file45606/frozenset-doc.patch ___ Python tracker ___ __

[issue28772] Bus error in Python 3.6.0beta

2016-11-22 Thread Julien Palard
Julien Palard added the comment: I can't reproduce the issue: $ ./python Python 3.6.0b4+ (default, Nov 23 2016, 00:23:59) [GCC 5.4.1 20160904] on linux Type "help", "copyright", "credits" or "license" for more information. >>> open('./python', 'rb') <_io.BufferedReader name='./

[issue28757] Installation Failure

2016-11-22 Thread Ned Deily
Ned Deily added the comment: Just FYI, older python.org installer downloads for macOS, such as those provided for Python 3.2.x, used a now-obsolete installation package format that is no longer supported by the macOS installer app. Those installer downloads have file names that end with .dmg.

[issue10414] Python does not work on an IPv6 only host

2016-11-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: Reopening to expand upon this issue which is still a large problem: If you run on an IPv6-only Linux host, the following standard library tests all fail: test_asynchat, test_asyncio, test_asyncore, test_docxmlrpc, test_epoll, test_httpservers, test_logging,

[issue28777] asinc iter queue

2016-11-22 Thread Georgy
New submission from Georgy: adding to asyncio.Queue class following methods: def __aiter__(self): return self async def __anext__(self): return await self.get() let use asyncio.Queue follow: queue = asyncio.Queue() ... async for item in queue: do_something_with(item)

[issue17343] Add a version of str.split which returns an iterator

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: No one has submitted a patch for this or has expressed an interest in a long time. Perhaps the use case is already served by re.finditer() Unassigning. Feel free to push this forward or to close due to lack on interest. -- assignee: rhettinger ->

[issue17577] Add lookahead/peek wrapper to itertools

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This doesn't seem to have gained any traction and I haven't interest in the subject for years. Marking this as closed. If the topic takes on a new life, this can be reopened and we can revisit the idea. I don't think it would be hard to patch itertools.te

[issue17343] Add a version of str.split which returns an iterator

2016-11-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue5384] mmap and exception type

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Though the changes look like they would nicely harmonize mmap with other modules, I'm going to decline this patch. No one else has stepped forward to offer agreement and it likely isn't worth the disruption that would come from breaking existing code. Unf

[issue17528] Implement dumps/loads for lru_cache

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Marking this as rejected for the reasons mentions by me and Antoine. -- resolution: -> rejected status: open -> closed ___ Python tracker __

[issue17528] Implement dumps/loads for lru_cache

2016-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the idea did have some merit and I appreciate your submitting it. The issues are that the net gain likely isn't worth the API complication, that it opens a can worms (about manipulating the cache contents beyond load and store), and that it is at odds

<    1   2