[issue12374] Execution model should explain compile vs definition vs execution time

2019-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: Cheryl has started the conversion process for the old user reference manuscript [1], so I think it makes sense to mark this as "postponed" for now, until we see how far we can get with this more usage-centric level of explanation as a separate project from the

[issue12374] Execution model should explain compile vs definition vs execution time

2019-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: https://github.com/ncoghlan/python-userref/blob/master/ODF/Chapter01_EssentialConcepts.odt is the Chapter 1 userref link now that the PSF SVN server has shut down. Depending on what you mean by "Pursuing this...": 1. I'd definitely still love to see the conten

[issue12374] Execution model should explain compile vs definition vs execution time

2019-02-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Nick, Would you be able to update the link as http://svn.python.org/view/sandbox/trunk/userref/ODF/ isn't valid anymore? Have things changed even more since you created this issue or are you still interested in pursuing this? Thanks! -- nosy:

[issue12374] Execution model should explain compile vs definition vs execution time

2011-07-09 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-25 Thread R. David Murray
R. David Murray added the comment: You could try the mentors list or Doug Hellman's volunteer group, too. -- ___ Python tracker ___ _

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: Oh, agreed - the quotes above are from the "Python's User Reference" I wrote several years back, but never got around to converting from ODF and subsequently updating and publishing in a more accessible way. It was designed to fill the gap that exists in the do

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread R. David Murray
R. David Murray added the comment: My understanding is that the language reference is a purposefully minimalist document that specifies the language (insofar as anything other than the CPython implementation does so). So while better explanations of the implications of the language design ar

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Nick Coghlan
Nick Coghlan added the comment: The other directly relevant part is in section 5: 5.1.3 Evaluating Default Arguments In static languages such as C, function definitions are instructions to the compiler rather than executable statements. This leads to such languages making distinctions between

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Nick Coghlan
Nick Coghlan added the comment: Most of my thoughts on this topic can be found at http://svn.python.org/view/sandbox/trunk/userref/ODF/ (that was written ~2.5, so some parts of it are a little dated, but the Essential Concepts section is still fairly accurate). The most relevant part to the

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume we are discussing Chapter 4. Execution model. I do not see any mention there of the difference between function definition and body execution time. The section of def statements (7.6) has this: "The function definition does not execute the function

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-24 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-20 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> docs@python components: +Documentation nosy: +docs@python, eric.araujo stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker _

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-20 Thread R. David Murray
R. David Murray added the comment: Isn't 'definition time' vs 'execution time' an artificial distinction? I'm surprised that the main module is compiled differently than a regular module. Is that an artifact of the CPython implementation or a part of the language? If the latter it should c

[issue12374] Execution model should explain compile vs definition vs execution time

2011-06-20 Thread Nick Coghlan
New submission from Nick Coghlan : The current execution model documentation in the Language Reference doesn't clearly explain the multiple phases of code execution: 1. Compilation time (statement by statement in the main module and at the interactive prompt, all at once for module import and