LWN.net Logo

Proposal: Moratorium on Python language changes

Proposal: Moratorium on Python language changes

Posted Oct 22, 2009 16:01 UTC (Thu) by tjc (subscriber, #137)
In reply to: Proposal: Moratorium on Python language changes by cortana
Parent article: Proposal: Moratorium on Python language changes

Did C99 deprecate anything that was in C89?
Implicit int and adjacent string concatenation where declared obsolescent at some point.


(Log in to post comments)

Proposal: Moratorium on Python language changes

Posted Oct 22, 2009 16:39 UTC (Thu) by nye (guest, #51576) [Link]

Are you sure about the latter? I'm fairly certain string literal concatenation is still considered kosher (I've certainly seen it used without generating warnings, let alone errors).

Proposal: Moratorium on Python language changes

Posted Nov 1, 2009 23:05 UTC (Sun) by vonbrand (subscriber, #4458) [Link]

String concatenation in C is recent, it wasn't in K&R. And I doubt it will go away (it is way too useful, the previous way using '\' at the end of the line was bletcherous)

Proposal: Moratorium on Python language changes

Posted Nov 2, 2009 0:25 UTC (Mon) by nix (subscriber, #2304) [Link]

Adjacent string concatenation via comments, e.g.

#define PASTE(a,b) a/**/b

PASTE("foo","bar")

was thankfully broken when cpp was defined in terms of tokens rather than
in terms of text-stream transformation. But that was C89...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds