Message83604
Either Brandl or Peterson can and typically will change the .rst source
if given the exact new text. For me to write that, I need to know the
grammar you actually implemented. Did you, in essence, simply change
field_name ::= (identifier | integer) ("." attribute_name | "["
element_index "]")*
to (in essence)
field_name ::= (identifier | integer | ) ("." attribute_name |
"[" element_index "]")*
with the proviso that integers and blanks not be mixed in the same
string, so that{.attr} and {[dex]} become legal? Or are those still
illegal because only totally blank field names are allowed, so that the
new field_name rule is essentially
field_name ::= ((identifier | integer) ("." attribute_name | "["
element_index "]")*) | ( )
(with the same proviso).
The existing doc text after the grammar box is slightly ambiguous or
contradictory in that it first says that field names *are* ints or names
and then says, correctly, that they *begin* with an int or name. (I
would like to fix this in addition to adding a sentence.) Hence 'blank
field name' can have two slightly different meanings and hence the
question above. |
|
Date |
User |
Action |
Args |
2009-03-14 21:30:57 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, mark.dickinson, ncoghlan, orsenthil, pitrou, eric.smith, LambertDW, ezio.melotti |
2009-03-14 21:30:57 | terry.reedy | set | messageid: <1237066257.41.0.746524329466.issue5237@psf.upfronthosting.co.za> |
2009-03-14 21:30:50 | terry.reedy | link | issue5237 messages |
2009-03-14 21:30:49 | terry.reedy | create | |
|