[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 _

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 i

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 be

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 Python-ideas@pytho

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

2016-11-25 Thread Steven D'Aprano
On Fri, Nov 25, 2016 at 02:21:28PM -0500, Nick Timkovich wrote: > 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 All I get at t

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 respons

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

2016-11-25 Thread Nick Timkovich
Here's hopefully a working link; GitHub's rendering seems to be iffy: https://nbviewer.jupyter.org/urls/gist.githubusercontent.com/nicktimko/5f08d6adfa1dbe1319c3bfc715ec0aa4/raw/37dd95cd92be7b7e5af01b98ce9e8e00a705b3f7/override_guard.ipynb Knowing how to do some introspection with dunder magic att

[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 [email protected]

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

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

2016-11-25 Thread François Leblanc
Le 26 nov. 2016 4:27 AM, "Guido van Rossum" a écrit : > > This idea is being kicked around from forum to forum and nobody wants to have it. Sorry, I want to have it but I dont want to pay the price in performance cost.. > Here it's brought up from time to time and the response is usually "let a

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 very little > benefit