Terry J. Reedy <[email protected]> added the comment:
Fred: yes, specifically the 3.x versions.
I just noticed that the currently specification is 'IntegerType", which was
never used in Python, rather than IntType, which was.
The dead link you refer to is this at the top:
"Python Language Mapping Specification
This specifies the mapping from OMG IDL to Python."
The current non-working link is
http://www.omg.org/docs/formal/02-11-05.pdf
The new link, which works, is
http://www.omg.org/cgi-bin/doc?formal/02-11-05.pdf
I found this on
http://www.omg.org/cgi-bin/apps/doclist.pl
This should be fixed in all versions.
Antoine: the 3.x version is "Additionally, the DOMString defined in the
recommendation is mapped to a bytes or string object. Applications should be
able to handle Unicode whenever a string is returned from the DOM." Assuming
the first sentence is true, I would just delete the second (for 3.x) as just
about every 3.x app must deal with 3.x (unicode) strings.
Summary of recommendations:
1. Replace dead link with new version.
2. Replace 'IntegerType' with 'int' except that entry for IDL boolean should be
'bool or int'.
3a. Could not first sentence referred to above be replaced by a line in the
table mapping 'DOMString' to 'string or bytes'? Or is DOMString not an IDL
type? Even so, I would put it in the table with a footnote.
3b. Delete obsolete second sentence.
4. Should not the final sentence "The IDL null value is mapped to None, which
may be accepted or provided by the implementation whenever null is allowed by
the API." be replaced by an additional line in the table
(IDL Type) null .... (Python Type) None
I do not see that rest of sentence adds anything.
Once a set of changes is agreed on, this issue could be reassigned to doc
maintainer Georg Brandl to make changes and close this.
Note: my personal concern is with 3.x docs, except that bad link should be
fixed for 2.6,7 also.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1495229>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com