Message153470
| Author |
loewis |
| Recipients |
lnenov, loewis |
| Date |
2012年02月16日.09:22:54 |
| SpamBayes Score |
0.0007224408 |
| Marked as misclassified |
No |
| Message-id |
<1329384174.89.0.802238495704.issue14029@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's not a bug. The specification of identifiers refers only to the places where they appear in the language grammar, i.e. what you can put into source code. What parameters objects accept in __setattr__ is an entirely different question. Some objects may check for well-formedness, some objects may accept only a small number of identifiers (e.g. when they use __slots__), some may accept non-strings as attribute names. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月16日 09:22:54 | loewis | set | recipients:
+ loewis, lnenov |
| 2012年02月16日 09:22:54 | loewis | set | messageid: <1329384174.89.0.802238495704.issue14029@psf.upfronthosting.co.za> |
| 2012年02月16日 09:22:54 | loewis | link | issue14029 messages |
| 2012年02月16日 09:22:54 | loewis | create |
|