Re: updated pre-PEP: The create statement

2006-04-11 Thread Steven Bethard
Michele Simionato wrote: > Peter Hansen wrote: >> Michele Simionato wrote: >> > You can pull out the example in the official >>> PEP, if you like. >> Please do. If this is supposed to have anything to do with namespaces, >> it has nothing to do with the type of data structures XML is capable of >

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Peter Hansen wrote: > Michele Simionato wrote: > > You can pull out the example in the official > > PEP, if you like. > > Please do. If this is supposed to have anything to do with namespaces, > it has nothing to do with the type of data structures XML is capable of > and the presence of this exa

Re: updated pre-PEP: The create statement

2006-04-11 Thread Peter Hansen
Michele Simionato wrote: > Honestly, I don't want the 'create' statement to be used to write XML > in Python. > I think this would be a misuse of the functionality. OTOH I believe > that the main selling point for the 'create' statements is that it make > it easy to implement declarative minilangua

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Steven Bethard wrote: > Azolex wrote: > > Steven Bethard wrote: > >> and named, nested hierarchies like XML documents could be created > >> like:: > >> > >> create ETobject html: > >> "This statement would generate an ElementTree object" > >> > >> create ETobject head: > >>

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Steven Bethard wrote: > Azolex wrote: > > Steven Bethard wrote: > >> and named, nested hierarchies like XML documents could be created > >> like:: > >> > >> create ETobject html: > >> "This statement would generate an ElementTree object" > >> > >> create ETobject head: > >>

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Steven Bethard wrote: > Azolex wrote: > > Steven Bethard wrote: > >> and named, nested hierarchies like XML documents could be created > >> like:: > >> > >> create ETobject html: > >> "This statement would generate an ElementTree object" > >> > >> create ETobject head: > >>

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Steven Bethard wrote: > Azolex wrote: > > Steven Bethard wrote: > >> and named, nested hierarchies like XML documents could be created > >> like:: > >> > >> create ETobject html: > >> "This statement would generate an ElementTree object" > >> > >> create ETobject head: > >>

Re: updated pre-PEP: The create statement

2006-04-11 Thread Michele Simionato
Steven Bethard wrote: > Azolex wrote: > > Steven Bethard wrote: > >> and named, nested hierarchies like XML documents could be created > >> like:: > >> > >> create ETobject html: > >> "This statement would generate an ElementTree object" > >> > >> create ETobject head: > >>

Re: updated pre-PEP: The create statement

2006-04-10 Thread Michael Spencer
Steven Bethard wrote: > Azolex wrote: >> Steven Bethard wrote: >>> and named, nested hierarchies like XML documents could be created >>> like:: >>> >>> create ETobject html: >>> "This statement would generate an ElementTree object" >>> >>> create ETobject head: >>> "

Re: updated pre-PEP: The create statement

2006-04-10 Thread Steven Bethard
Azolex wrote: > Steven Bethard wrote: >> and named, nested hierarchies like XML documents could be created >> like:: >> >> create ETobject html: >> "This statement would generate an ElementTree object" >> >> create ETobject head: >> "generate the head" >>

Re: updated pre-PEP: The create statement

2006-04-10 Thread Azolex
Steven Bethard wrote: > I've updated the PEP based on a number of comments on comp.lang.python. > The most updated versions are still at: > > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html > > In this post, I

Re: updated pre-PEP: The create statement

2006-04-07 Thread Steven Bethard
Carl Banks wrote: > Steven Bethard wrote: >> I've updated the PEP based on a number of comments on comp.lang.python. >> The most updated versions are still at: >> >> http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt >> http://ucsu.colorado.edu/~bethard/py/pep_create_statement.

Re: updated pre-PEP: The create statement

2006-04-06 Thread Carl Banks
Steven Bethard wrote: > I've updated the PEP based on a number of comments on comp.lang.python. > The most updated versions are still at: > > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html > > In this post, I'

Re: updated pre-PEP: The create statement

2006-04-06 Thread Steven Bethard
[EMAIL PROTECTED] wrote: > Steven> Optional Extensions > Steven> === > > Steven> Remove the create keyword > Steven> - > > Steven> It might be possible to remove the create keyword so that such > Steven> statements would begin with t

Re: updated pre-PEP: The create statement

2006-04-06 Thread skip
Steven> Optional Extensions Steven> === Steven> Remove the create keyword Steven> - Steven> It might be possible to remove the create keyword so that such Steven> statements would begin with the callable being called, e.g.:: Ste

Re: updated pre-PEP: The create statement

2006-04-06 Thread Steven Bethard
Steven Bethard wrote: > I've updated the PEP based on a number of comments on comp.lang.python. > The most updated versions are still at: > > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html > > In this post, I

Re: updated pre-PEP: The create statement

2006-04-06 Thread Steven Bethard
Michele Simionato wrote: > Steven Bethard wrote: >> I've updated the PEP based on a number of comments on comp.lang.python. >> The most updated versions are still at: >> >> http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt >> http://ucsu.colorado.edu/~bethard/py/pep_create_sta

Re: updated pre-PEP: The create statement

2006-04-06 Thread Michele Simionato
Steven Bethard wrote: > I've updated the PEP based on a number of comments on comp.lang.python. > The most updated versions are still at: > > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt > http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html > > In this post, I'

updated pre-PEP: The create statement

2006-04-06 Thread Steven Bethard
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html In this post, I'm especially soliciting review of