API : constness ?
Andrea Griffini
agriff at tin.it
Tue Jun 1 17:28:35 EDT 2004
More information about the Python-list mailing list
Tue Jun 1 17:28:35 EDT 2004
- Previous message (by thread): API : constness ?
- Next message (by thread): API : constness ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 01 Jun 2004 11:42:03 -0700, Erik Max Francis <max at alcyone.com> wrote: >Yes. And if a were declared > > static const int a = 3; > >it would be illegal. That is the case that I was discussing. I completely missed the original poster point. Re-reading it indeed the literals could be in read-only memory, and the pointers to those literals could be too (if declared const). Sorry for all the nonsense babbling I posted... Andrea
- Previous message (by thread): API : constness ?
- Next message (by thread): API : constness ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list