[Python-3000] PEP 3131 - the details

"Martin v. Löwis" martin at v.loewis.de
Thu May 17 17:28:14 CEST 2007


Leonardo Santagada schrieb:
> Here are the rules for identifiers in javascript in case someone  
> wants to know:
> http://interglacial.com/javascript_spec/a-7.html#a-7.6

In all these reports, part of the analysis is also to determine
how those specifications deviate (or not) from PEP 3131.

In this case, it seems that:
- JS additionally allows $
- PEP 3131 additionally considers the stability extensions
  (Other_ID_{Start|Continue}). That may be because the JS
  specification was based on an earlier version of UAX#31,
  which perhaps didn't had the need for this stability
  feature.
- JS uses Unicode 3.0, whereas Python uses whatever Unicode
  version lives in unicodedata.

Regards,
Martin



More information about the Python-3000 mailing list