[Python-Dev] Re: [Python-checkins] python/dist/src/Python compile.c, 2.306, 2.307 (original) (raw)
A.M. Kuchling amk at amk.ca
Fri Jul 16 15🔞11 CEST 2004
- Previous message: [Python-Dev] bdist_wininst
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python compile.c, 2.306, 2.307
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jul 16, 2004 at 05:13:41AM -0700, rhettinger at users.sourceforge.net wrote:
Treat None as a constant.
This is probably something stupid on my part, but in my copy of the built tree it's still a syntax warning:
Python 2.4a1+ (#13, Jul 16 2004, 09:11:38) [GCC 3.3.2 (Debian)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
None = 0 :1: SyntaxWarning: assignment to None print None # But assignment has no effect... perhaps due to this optim.? None def f(): ... None = 0 ... :2: SyntaxWarning: assignment to None f()
My CVS tree is up-to-date, and I did a "make clean". Is everyone else getting the SyntaxError for this?
--amk
- Previous message: [Python-Dev] bdist_wininst
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Python compile.c, 2.306, 2.307
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]