Python segfault

Peter Schneider-Kamp petersc at stud.ntnu.no
Fri Jun 16 09:59:30 EDT 2000


Thomas Wouters wrote:
> 
> On Fri, Jun 16, 2000 at 02:19:03PM +0200, Hans-Joachim Widmaier wrote:
> 
> > Why not simply make 'n_nchildren' an (32 bit) int? And, while at it,
> > 'n_lineno' also? It would cost some memory, though.
> 
> Why bother ? It would do nothing to solve the real problem, which is that
> there is a finite number of direct children to a node. The current number is
> practically unreachable -- the example case of ('+'.join(['2+2'] * 8193)) is
> hardly reminiscent of real code.

Well, what about the n_lineno? Isn't that going to overflow
in more realistic situations? 

Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list