|
Re: ugly pie: a "var" keyword: msg#00046python.python-3000.devel
Antoine Pitrou <solipsis@xxxxxxxxxx> writes: > Which is a sure way to cause all kind of frigging bugs if you forget to > put "var", because then your variable is global, which is fine when it's > a plain int or string, not when it's a complex object whose mere > existence changes lots of things. When it's not specified in which scope a variable is created, it should be an error. "When in doubt, refuse the temptation to guess". -- __("< Marcin Kowalczyk \__/ qrczak@xxxxxxxxxx ^^ http://qrnik.knm.org.pl/~qrczak/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ugly pie: a "var" keyword: 00046, Georg Brandl |
|---|---|
| Next by Date: | Re: Sky pie: a "var" keyword: 00046, Josiah Carlson |
| Previous by Thread: | Re: ugly pie: a "var" keywordi: 00046, Georg Brandl |
| Next by Thread: | Re: ugly pie: a "var" keyword: 00046, Neil Toronto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |