Re: [Python-ideas] Decorator to avoid a mistake

2016-11-25 Thread Nick Coghlan
On 26 November 2016 at 13:26, Guido van Rossum wrote: > I think one reason why such proposals are unwelcome to experienced users may > be that when done right this is totally legitimate, and the requirement to > use an @override decorator is just making code more verbose with

Re: [Python-ideas] Python Documentation

2016-11-25 Thread Wes Turner
- I can't open this .odt OpenOffice Document on my phone; or with GitHub. The CPython docs are here: - Src: https://hg.python.org/cpython - Src: https://hg.python.org/cpython/file/tip/Doc - Src: https://github.com/python/cpython - Src: https://github.com/python/cpython/tree/master/Doc The

[Python-ideas] Python Documentation

2016-11-25 Thread Stephen J. Turnbull
I've redirected to core-mentorship where we'll clarify the proposed contribution and explain requirements for contribution to Python. Steve adil gourinda writes: > This is a small example of my idea, ___ Python-ideas mailing list

Re: [Python-ideas] Decorator to avoid a mistake

2016-11-25 Thread Guido van Rossum
This idea is being kicked around from forum to forum and nobody wants to have it. Here it's brought up from time to time and the response is usually "let a linter do it". In mypy (which is essentially a powerful linter) it was proposed ( https://github.com/python/mypy/issues/1888) and the

Re: [Python-ideas] Distribution agnostic Python project packaging

2016-11-25 Thread James Pic
PS: FTR, pyinstaller seems widely use by a part of our community, but wasn't represented in this thread, perhaps this can give some good thinking to our devops community too :) http://www.pyinstaller.org/​ ___ Python-ideas mailing list

Re: [Python-ideas] Distribution agnostic Python project packaging

2016-11-25 Thread James Pic
Hi all, Please let me thank you for sharing some of your insight and passion, and for your tolerance, I'm sorry I thought it would be the best mailing list to go ahead and bluntly propose to have something like jars in python core. It's really great to see such a variety of solutions, and I've

Re: [Python-ideas] Decorator to avoid a mistake

2016-11-25 Thread Nick Timkovich
You can do it at run-time, if you so desire, without a measurable performance hit with a metaclass. Here's a hacky demo: https://gist.github.com/nicktimko/5f08d6adfa1dbe1319c3bfc715ec0aa4#file-override_guard-ipynb (Pedants: Any performance hit will be constant-time and probably less than a stray

[Python-ideas] Python Documentation

2016-11-25 Thread adil gourinda
This is a small example of my idea, If you appreciate my little work I will continue working on it. If no, thank you for your attention and your comprehension :-) Python Library Reference's Notes (v0.0).odt Description: Python Library Reference's Notes (v0.0).odt