Message273594
| Author |
terry.reedy |
| Recipients |
ppperry, steven.daprano, terry.reedy |
| Date |
2016年08月24日.21:04:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1472072691.69.0.782723468817.issue25564@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Steven: "You should use `__builtin__` in Python 2 and `builtins` in Python 3." I presume this is for import statements.
ppperry: Titles should fit in the box, so they fit in search listing results.
I am thinking of something like "Since Python inserts '__builtins__' into the exec global namespace when not present and IDLE uses exec, '__builtins__' is defined at the start of each statement or file even when it otherwise would not be." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年08月24日 21:04:51 | terry.reedy | set | recipients:
+ terry.reedy, steven.daprano, ppperry |
| 2016年08月24日 21:04:51 | terry.reedy | set | messageid: <1472072691.69.0.782723468817.issue25564@psf.upfronthosting.co.za> |
| 2016年08月24日 21:04:51 | terry.reedy | link | issue25564 messages |
| 2016年08月24日 21:04:51 | terry.reedy | create |
|