Gabriel Genellina wrote:
> About the generated page: I think it would be more useful if each symbol
> links to its definition, instead of showing an alert(). This way it's
> easier to navigate the tree, specially with complex declarations.
That was my first shot. It didn't work. (Every line is it
En Fri, 29 Feb 2008 15:01:49 -0200, <[EMAIL PROTECTED]> escribió:
> _OFILE, by the way, is the output file. It's contract with the rest of
> the module was
> to be available for writing to anyone with data to write. I use the
> Java convention
> of ALLCAPS for naming things that I would declare as
Paul McGuire wrote:
< plus sundry other parts of the kitchen
> sink) that was passed BY PROJECT CODING STANDARDS to EVERY FUNCTION IN
> EVERY MODULE! Supposedly, this was done to cure access problems to a
> global data structure.
Beautiful example of how totally stupid actions can be taken in t
Steve Holden wrote:
> I wish you'd stop trying to defend this code and simply admit that it's
> just a throwaway program to which no real significance should be
> attached. *Then* I'll leave you alone ;-)
You're hurting my program's feelings!
Actually, I intend to keep this program as the nice H
On Feb 29, 7:21 am, [EMAIL PROTECTED] wrote:
> So, as a nod to the anti-global school of thought, I changed 'ofile'
> to 'OFILE' so that it would at least look like a global constant.
Unfortunately, it's not constant at all. Actually, what you have done
is worse. Now you have taken a variable th
[EMAIL PROTECTED] wrote:
> Gabriel and Steve,
>
> Poor globals! They take such a beating and they really don't deserve
> it.
>
> The use of globals was deprecated, if memory serves, during the
> structured design craze. Using globals is now considered bad practice,
> but it's considered bad pract
Gabriel and Steve,
Poor globals! They take such a beating and they really don't deserve
it.
The use of globals was deprecated, if memory serves, during the
structured design craze. Using globals is now considered bad practice,
but it's considered bad practice for reasons that don't stand close
sc
[EMAIL PROTECTED] wrote:
> Implemented all your suggestions, with two exceptions.
>
> Changed file read to readlines(), but not open(...).readlines(). I
> love to say file.close(). Gives me a feeling of security. (We could
> discuss RAM waste v. I/O speed but this input file is just 10KB, so
> nei
En Thu, 28 Feb 2008 12:33:33 -0200, <[EMAIL PROTECTED]> escribi�:
> Implemented all your suggestions, with two exceptions.
>
> Changed file read to readlines(), but not open(...).readlines(). I
> love to say file.close(). Gives me a feeling of security. (We could
> discuss RAM waste v. I/O speed b
Implemented all your suggestions, with two exceptions.
Changed file read to readlines(), but not open(...).readlines(). I
love to say file.close(). Gives me a feeling of security. (We could
discuss RAM waste v. I/O speed but this input file is just 10KB, so
neither matters.)
Removed one of the th
Thanks so much Gabriel.
--
http://mail.python.org/mailman/listinfo/python-list
En Wed, 27 Feb 2008 15:23:01 -0200, <[EMAIL PROTECTED]> escribi�:
> I spent too long Googling for Python's BNF. Eventually found it at
> Python.org, but only by accident.
>
> There's a link to the program, top-right of page. If anyone wants to
> look at this no-long
[EMAIL PROTECTED] writes:
> No, Google, I didn't want the Botswana daily news with its article
> on the Botswana National Front and another on a fellow arrested for
> having contraband python skins.
+1 QOTW
--
\ “I thought ’'d begin by reading a poem by Shakespeare, but then |
`\
On Feb 27, 5:23 pm, [EMAIL PROTECTED] wrote:
> I spent too long Googling for Python's BNF. Eventually found it at
> Python.org, but only by accident.
http://www.google.com/search?q=python+grammar
--
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list
I spent too long Googling for Python's BNF. Eventually found it at
Python.org, but only by accident.
I've put Python's BNF here:
http://www.martinrinehart.com/articles/python-parse-bnf.html
Extensively cross-referenced.
Addenda:
No, Google, I didn't want the Botswana
15 matches
Mail list logo