A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/046678.html below:

[Python-checkins] python/dist/src/Objects listobject.c, 2.218, 2.219

[Python-Dev] RE: [Python-checkins] python/dist/src/Objects listobject.c, 2.218, 2.219Raymond Hettinger python at rcn.com
Mon Aug 2 19:11:49 CEST 2004
>   	 * complain about the unused name.
>   	 */
> ! 	return status, v;
>   }
> 
> --- 863,867 ----
>   	 * complain about the unused name.
>   	 */
> ! 	return status++, v;

Does anyone else see this as perverse?  I have to think hard about
whether all the compilers are smart enough to optimize this away
(probably, but maybe not).  More importantly, it is obfuscated C and
makes my stomach churn.  This particular case introduces several lines
for an assertion that is probably not worth the surrounding mess.  Does
anyone have a better way?


Raymond

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4