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/2001-June/015630.html below:

[Python-Dev] unicode, "const"s and lvalues

[Python-Dev] unicode, "const"s and lvaluesGuido van Rossum guido@digicool.com
Wed, 27 Jun 2001 17:57:16 -0400
> Unreasonable as it may seem, my compiler really expects that entities
> declared as const's not be used in contexts where a modifiable lvalue is
> required. It gets all huffy, and refuses to continue compiling, even if
> I speak nicely (in unicode) to it. I'll file a bug report. On the code,
> not the compiler <wink>.

VC++ also warns about this.

I think the declaration of the Character Type APIs in unicodeobject.h
really shouldn't include either register or char.

Then their implementations should also lose the 'const'.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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